Would like to be able to reorder three Cinnamon buttons

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
lsatenstein
Level 1
Level 1
Posts: 16
Joined: Sat Dec 03, 2011 2:33 pm

Would like to be able to reorder three Cinnamon buttons

Post by lsatenstein » Sun Nov 17, 2013 11:43 am

Lowest to highest, logout, switch lockscreen, poweroff.

Currently it is shutdown, logout and lock screen

I like increasing order of importance.

I would even accept lockscreen, logout and shutdown.

The rearrangement could be put into the screen saver settins or even to Themes, (other settings)

User avatar
xenopeek
Level 24
Level 24
Posts: 24135
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Would like to be able to reorder three Cinnamon buttons

Post by xenopeek » Sun Nov 17, 2013 12:14 pm

Go ahead and do it :) The Cinnamon menu is just an applet, like all the other things on your panel. So you can write your own menu, pick an alternative menu applet that somebody else has already written (perhaps giving you this functionality, I haven't looked at 'em), or adjust the Cinnamon menu applet.

For the latter, the applet is the file /usr/share/cinnamon/applets/menu@cinnamon.org/applet.js. So make a backup of the file and then edit it. Search for "Lock screen" and you will find the lock screen, logout, and shutdown buttons being created after each other. Reorder these code fragments as desired to hack your menu to look like you want.
Image

Post Reply

Return to “Cinnamon”