Monday, August 8, 2011

Integrate adesk-menu in tint2

Source: http://crunchbanglinux.org/forums/topic/14259/my-little-adeskmenu-project/

All you need is the single page menu script and a .desktop pointing to it.
Here is the code for the menu script:

http://pastebin.com/bG4ugasC


and here is the .desktop file.

[Desktop Entry]

Type=Application
Name=menu
Exec=/usr/bin/adesk-menu2
Icon=/usr/share/pixmaps/debian-logo.png

Make the menu script executable and move it to /usr/bin "sudo chmod +x adesk-menu2 && sudo mv adesk-menu2 /usr/bin/"
After that put the .desktop file somewhere like ~/.scripts and point tint2 to it. After that you should be good to go. By default the menu opens in the top left corner of the screen. If you need to adjust where
the menu opens edit line 369 in the script.


No comments:

Blog Archive