myGtkMenu with menu generating script

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
whoguy
Posts: 16
Joined: Tue 13 Mar 2012, 23:55
Location: Sydney, Australia

myGtkMenu with menu generating script

#1 Post by whoguy »

Hi all,

Frustrated about not having an independant menu which looked pretty, I've create a script to generate a menu for myGtkMenu.

It sorts the .desktop icons based on the xdg hierarchy file, so everything should look cool and nice. If any programs fall outside the hierarchy file, then they are assigned to Other... so nothing is left out!!! Yay!!!

To use it,

1. Install pet
2. Open a console and type

myGtkMeny /root/.config/myGtkMenu/myMenu.txt

3. Click Utility -> Generate myGtkMenu
4. Waite till Finish prompt appears.
5. To use the menu type

myGtkMeny /root/.config/myGtkMenu/myMenu.txt


If you use tint2, you can assign a desktop file filled with

[Desktop Entry]
Encoding=UTF-8
Name=myGtkMenu
Exec=myGtkMenu /root/.config/myGtkMenu/myMenu.txt
Terminal=false
Type=Application
Categories=X-Desktop

and add the line

launcher_item_app = /usr/share/applications/tint2.desktop

to your tint2rc file.

This is especially helpful if you want to use tint2 with beryl or compiz when running them as a sole window manager!!! like me!

Tested on Lucid and Precise... Enjoy!!!

Found a bug in 0.1- mini icons don't show
Fixed in 0.2
Attachments
myGtkMenu_generate02.pet
(44.19 KiB) Downloaded 682 times
Last edited by whoguy on Fri 23 Nov 2012, 23:35, edited 1 time in total.

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

#2 Post by nilsonmorales »

tnx passaggio puppy use tint2 and myGTKmenu
i will try
http://puppyes.com.ar/

User avatar
josejp2424
Posts: 556
Joined: Sun 01 Aug 2010, 22:35
Contact:

#3 Post by josejp2424 »

puppy Passaggio


Image


thanks for the script

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#4 Post by vicmz »

Is there a Beryl PET for either Precise or Slacko?
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
whoguy
Posts: 16
Joined: Tue 13 Mar 2012, 23:55
Location: Sydney, Australia

#5 Post by whoguy »

Nice desktop josejp2424!

vicmz, the lucid beryl pet works fine in precise, it can be found here

http://www.murga-linux.com/puppy/viewtopic.php?t=66371

Cheers

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#6 Post by vicmz »

Thanks! It's awesome :D
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

Post Reply