Author Topic: Customising Icon Order  (Read 1354 times)

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Customising Icon Order
« on: November 26, 2006, 11:28:08 pm »
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?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Customising Icon Order
« Reply #1 on: November 27, 2006, 04:22:04 am »
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
« Last Edit: November 27, 2006, 04:22:22 am by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Customising Icon Order
« Reply #2 on: November 27, 2006, 04:59:20 am »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147314\"][{POST_SNAPBACK}][/a][/div]


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
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K