OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Customising Icon Order, in openbox/matchbox menu
Meanie
post Nov 26 2006, 08:28 PM
Post #1





Group: Members
Posts: 2,803
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



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?
Go to the top of the page
 
+Quote Post
daniel3000
post Nov 27 2006, 01:22 AM
Post #2





Group: Members
Posts: 1,001
Joined: 28-April 05
From: Germany
Member No.: 7,027



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
Go to the top of the page
 
+Quote Post
Meanie
post Nov 27 2006, 01:59 AM
Post #3





Group: Members
Posts: 2,803
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2018 - 01:23 PM