Help - Search - Members - Calendar
Full Version: Customising Icon Order
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
Meanie
Hi, I added a reboot option to the popup menu that you see when you click on the X on the lower left hand side of the taskbar by adding a reboot.desktop file unde /usr/share/applications and a Reboot directory under /usr/apps and the new Reboot option shows up as the last option. I want it to be the second last option, not the last one since I want to keep the Suspend option as the last one at the bottom. How can I change the order?
daniel3000
Hi Meanie,

I've also created a reboot icon, however, I didn't have to move it since it showed up nicely above the exit and Suspend menu entries.

As I understand the documentation of matchbox, it is not possible to determine the order of program (or action) icons using the .order files.
So there must be another way to determine the order, or at least, to influence it.

Now I tried to modify values inside the reboot.desktop file in order to change its position, but to no avail.

I think I have created it by copying the rotate.desktop file and modifying the copy accordingly. The reboot item shows up directly under the rotate icon. Maybe this is the key. However I don't know what should cause this. File creation date?

In order to test this, I created a new .desktop file with almost the same contents as the reboot.desktop file.
It shows up as the seecond from the bottom.
Rotate
Reboot
Exit X
Reboot Test
Suspend

I then renamed that file from test.desktop to 000test.desktop and it changed its position with Exit X.
So the file name seems to have an effect.

So much for now. Sorry I cannot help more.

daniel
Meanie
QUOTE(daniel3000 @ Nov 27 2006, 07:22 PM)
Hi Meanie,

I've also created a reboot icon, however, I didn't have to move it since it showed up nicely above the exit and Suspend menu entries.

As I understand the documentation of matchbox, it is not possible to determine the order of program (or action) icons using the .order files.
So there must be another way to determine the order, or at least, to influence it.

Now I tried to modify values inside the reboot.desktop file in order to change its position, but to no avail.

I think I have created it by copying the rotate.desktop file and modifying the copy accordingly. The reboot item shows up directly under the rotate icon. Maybe this is the key. However I don't know what should cause this. File creation date?

In order to test this, I created a new .desktop file with almost the same contents as the reboot.desktop file.
It shows up as the seecond from the bottom.
Rotate
Reboot
Exit X
Reboot Test
Suspend

I then renamed that file from test.desktop to 000test.desktop and it changed its position with Exit X.
So the file name seems to have an effect.

So much for now. Sorry I cannot help more.

daniel
*



in my case, the last created item is always the one at the bottom, so i created a new suspend item and deleted the old one smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.