Reply
Thread Tools
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#21
Linux isn't CLI only..
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...
 
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#22
It was a joke, obviously, but I do prefer editting text files (using ssh from my desktop) to dragging and dropping (and possibly scratching my ebook reader).
 
kopte3's Avatar
Posts: 270 | Thanked: 303 times | Joined on Sep 2009 @ Serbia, Belgrade
#23
Originally Posted by Matan View Post
I do prefer editting text files (using ssh from my desktop) to dragging and dropping (and possibly scratching my ebook reader).
And your TV remote is in plastic bag?
Btw how do you move from one desktop to another? Oh no! By dragging!?
So what if the N900 is running on Linux? I don't get your point. What's wrong with simple drag and drop? And don't give me that "use an iPhone" cr*p. I used that same option on Symbian device. If you don't want to help, that's fine.
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#24
Originally Posted by kopte3 View Post
Matan, can you report a bug, please?
I don't have my phone yet, so all you said i can only imagine right now.
That kind of a feature shouldn't be in a separate app, it should be implemented in the OS.
Thank you.
Please do not take this as semantic hair splitting, but a core part of unix philosophy is that everything beyond core functionality is provided by separate applications. (Some of these may be large and feature rich.)

I think what you are asking is that the ability to manage desktop icons be seamlessly integrated into the desktop application.

Nokia seems to have decided that this functionality to too confusing or error prone. They are not alone. See Amazon Kindle forums where users have been loudly and frequently begging for folders for years.

Fortunately for n900 users, only some simple and easy text editing is required. It is almost almost always much faster and much easier and much more portable to develop this sort of application.

Developing a good GUI application takes longer and requires different additional skills, which often means different people. It may be that a great GUI developer does not know the name and format of the files. This is what makes open development communities great. (And, in actuality, fast.)

I am grateful that Matan has provided the necessary information to the community. It is three years and counting for Kindle users, less than a month for n900 users. You are watching discoveries nearly as they happen.
 
kopte3's Avatar
Posts: 270 | Thanked: 303 times | Joined on Sep 2009 @ Serbia, Belgrade
#25
Ok, that's fine, but i find this feature to be absent because of their hurry to release the phone. I really can't imagine this kind of OS not to have that simple option. And yes, i know many features are missing, and the whole story about 4th of 5 steps, but i just find it very non-logical when you install many apps, nothing else.
 
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#26
Originally Posted by Matan View Post
In every menu section there is a line <Name>. Make sure it is different for each menu section. There is also a line <Directory>. Change the name. The original is applications.directory. In a menu I created I changed to my.directory (for example). Then I copied the file /usr/share/applications/hildon/applications.directory to the file /usr/share/applications/hildon/my.directory. Then in this text file I changed the fields Name= and Icon=.
In the applications.directory, I'm unsure what Name and Icon can be changed to...
This is what is currently states for the 2 fields. What can I change them to?

Name=tana_fi_applications
Icon=general_applications

Can it be changed like this?

Name=Games
Icon=general_applications


UPDATE: Okay. I did above and it works. Great. Thanks Matan.
(How can I change the icon? Is there a folder-looking icon instead?)


Last edited by jakiman; 2009-12-28 at 01:17.
 

The Following 3 Users Say Thank You to jakiman For This Useful Post:
Posts: 840 | Thanked: 823 times | Joined on Nov 2009
#27
don't quote me on this but to create an icon I think you need to create a 48x48 .png image e.g. games.png and save it to

/usr/share/icons/hicolor/48x48/hildon/

then where it says
Icon=general_applications

change it to

Icon=games

without the .png

I remember a post by archebyte outlining this method so credit goes to him.
 

The Following 3 Users Say Thank You to Cue For This Useful Post:
Posts: 840 | Thanked: 823 times | Joined on Nov 2009
#28
also, a folder icon most likely already exists so browse through them to see which you can use instead of having to draw one. to browse through them I recommend you open the default web browser and type / in the address bar. you can then navigate to the icons directory and view them right there in the browser.

as you probably already know you can quickly get to the icons in the browser by putting this in the address bar

file:///usr/share/icons/hicolor/48x48/hildon

for example
filemanager_media_folder.png
is a folder icon you can use.

Last edited by Cue; 2009-12-28 at 02:54.
 

The Following User Says Thank You to Cue For This Useful Post:
Posts: 4,556 | Thanked: 1,624 times | Joined on Dec 2007
#29
Originally Posted by j.s View Post
Please do not take this as semantic hair splitting, but a core part of unix philosophy is that everything beyond core functionality is provided by separate applications. (Some of these may be large and feature rich.)

I think what you are asking is that the ability to manage desktop icons be seamlessly integrated into the desktop application.

Nokia seems to have decided that this functionality to too confusing or error prone. They are not alone. See Amazon Kindle forums where users have been loudly and frequently begging for folders for years.

Fortunately for n900 users, only some simple and easy text editing is required. It is almost almost always much faster and much easier and much more portable to develop this sort of application.

Developing a good GUI application takes longer and requires different additional skills, which often means different people. It may be that a great GUI developer does not know the name and format of the files. This is what makes open development communities great. (And, in actuality, fast.)

I am grateful that Matan has provided the necessary information to the community. It is three years and counting for Kindle users, less than a month for n900 users. You are watching discoveries nearly as they happen.
True, often it's just faster to use the command line.

That being said, it would help if the instructions were gathered and sorted with comments into a single topic (and perhaps on the wiki too). As a resource.


Edit: For example...

You will first need root access (if you install rootsh from extras you can get root by typing in "sudo gainroot". Because the file in question is located in the /etc/ directory you will need root (or admin in the Windows world) to manipulate them.

The file we will be editting is "/etc/xdg/menus/hildon.menu"

I recommend installing leafpad from extras if you don't want to use vi (a text editor inside the command line). After becoming root you then type in the command

"leafpad /etc/xdg/menus/hildon.menu"

This will bringup the leafpad window with the file.

Alternatively you can try..

Originally Posted by Cue View Post
I prefer pyGTKeditor over leafpad since it supports syntax highlighting which makes things more readable, it also supports portrait mode which is handy if you just want to view the files, as well as hildon autocomplete. the default language for syntax highlighting can be changed by clicking on the title toolbar and clicking on settings.
from the commandline you can access pygtkeditor in the same way as leafpad.

pygtkeditor /etc/xdg/menus/hildon.menu

then for syntax highlighting choose xml or something similar from default language and this will highlight the tags.. if it doesnt highlight the first time, reopen the file after the language change.
Originally Posted by Matan
The <Filename>'s in the Include section set the icons to display, so you can rearrange them or remove the ones you don't want. Adding more Menu sections will add folders (the one there represents the More..). Replace the OnlyUnallocated/ and All/ with a list of Filenames for the apps you want in the folder (see the files in /usr/share/applications/hildon).
Originally Posted by Matan
In every menu section there is a line <Name>. Make sure it is different for each menu section. There is also a line <Directory>. Change the name. The original is applications.directory. In a menu I created I changed to my.directory (for example). Then I copied the file /usr/share/applications/hildon/applications.directory to the file /usr/share/applications/hildon/my.directory. Then in this text file I changed the fields Name= and Icon=.
Then if you want to change the icon for the categories you have created.

Originally Posted by Cue View Post
don't quote me on this but to create an icon I think you need to create a 48x48 .png image e.g. games.png and save it to

/usr/share/icons/hicolor/48x48/hildon/

then where it says
Icon=general_applications

change it to

Icon=games

without the .png

I remember a post by archebyte outlining this method so credit goes to him.
Originally Posted by Cue View Post
also, a folder icon most likely already exists so browse through them to see which you can use instead of having to draw one. to browse through them I recommend you open the default web browser and type // in the address bar. you can then navigate to the icons directory and view them right there in the browser.

as you probably already know you can quickly get to the icons in the browser by putting this in the address bar

file:///usr/share/icons/hicolor/48x48/hildon
Originally Posted by jakiman View Post

I've used "general_folders.png" which was already available at /usr/share/icons/hicolor/48x48/hildon/.

Now it looks better. Well, I like this folder icon better than what it was before.

When I have more time I'll actually turn this into a more well-written guide (or if somebody else wants to do it go ahead).
__________________
Originally Posted by ysss View Post
They're maemo and MeeGo...

"Meamo!" sounds like what Zorro would say to catherine zeta jones... after she slaps him for looking at her dirtily...

Last edited by Laughing Man; 2009-12-28 at 05:12.
 

The Following 12 Users Say Thank You to Laughing Man For This Useful Post:
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#30
Thank you laughing man. Didn't know about launching leafpad from the terminal.
Now it's MUCH easier while I don't have a remote ssh connection to my N900.

I've used "general_folders.png" which was already available at /usr/share/icons/hicolor/48x48/hildon/.

Now it looks better. Well, I like this folder icon better than what it was before.

 

The Following 2 Users Say Thank You to jakiman For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:47.