Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Wed 18 Apr 2012, 01:38 Post subject:
simple application menu |
|
This uses 9menu (included with debian patches) to display an application menu for window managers that do not have one. Since it is pretty fast, I just have it rebuild the menus each time it runs, so you never need to run fixmenus or anything complicated.
Just set it to run with a keybinding, mouse button or via another app (such as wbar or dmenu)
... for whatever reason I decided not to make a menu entry for it
sorry no screen shot at the moment - my left mouse button is broken, so proper cropping is near impossible
Description |
|

Download |
Filename |
smenu-0.1.pet |
Filesize |
11.55 KB |
Downloaded |
620 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 904
|
Posted: Wed 18 Apr 2012, 10:21 Post subject:
|
|
Nice...image provided below...changed default colors to BGCOLOR="steelblue" and FGCOLOR="black".
Description |
|
Filesize |
16.61 KB |
Viewed |
1607 Time(s) |

|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Wed 18 Apr 2012, 10:43 Post subject:
|
|
thanks for the screenie, nice color choice (I haven't played with the font settings or adding submenus yet btw)
with jwm I gave 9menu the same group settings as xmessage (notitle, nolist) - works really nicely, but some minimalistic window managers don't even have a built-in pager or title bars
p.s. as per usual - released to public domain and any OSI approved license with no warranties
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Jasper
Joined: 25 Apr 2010 Posts: 1350 Location: England
|
Posted: Wed 18 Apr 2012, 11:59 Post subject:
|
|
Hi technosaurus,
Thank you - I have it added it to my System Tray (in Slacko 5.3.1 with jwm).
When I click on any of the categories - I expect there a way to go back to your Main Menu without closing and restarting, but I failed to find how and, although not vital, I would appreciate advice.
My regards
PS Perhaps I have a faulty download as nothing shows when I click Settings, Help or Shutdown whilst all other categories seem fine with the minor exception that "GNOME MPlayer" appears 5 times under Multimedia.
IT IS REFRESHINGLY FAST - so I do hope many readers will try it.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Wed 18 Apr 2012, 12:43 Post subject:
|
|
Jasper wrote: | Hi technosaurus,
Thank you - I have it added it to my System Tray (in Slacko 5.3.1 with jwm).
When I click on any of the categories - I expect there a way to go back to your Main Menu without closing and restarting, but I failed to find how and, although not vital, I would appreciate advice.
My regards
PS Perhaps I have a faulty download as nothing shows when I click Settings, Help or Shutdown whilst all other categories seem fine with the minor exception that "GNOME MPlayer" appears 5 times under Multimedia.
IT IS REFRESHINGLY FAST - so I do hope many readers will try it. |
those features aren't yet implemented
... the help and shutdown stuff, I may just remove (holdovers from jwm)
...Settings was a typo - should have been System
... as for going back to the main menu, I could add a "< Main Menu:smenu" to the top of each category
... the duplicate menu fix got missed ... I need to do it a bit differently here than I did for jwm
... I didn't mention having some support for localization (de,es,fr,ru)
... any non-english speakers care to test it?
(IIRC there was a recent post on Barry's blog explaining how to get X apps localization working)
Description |
does not include 9menu - install v0.1 first or use your own 9menu package
|

Download |
Filename |
smenu-0.2.pet |
Filesize |
5.13 KB |
Downloaded |
583 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
Last edited by technosaurus on Wed 18 Apr 2012, 13:19; edited 3 times in total
|
Back to top
|
|
 |
Jasper
Joined: 25 Apr 2010 Posts: 1350 Location: England
|
Posted: Wed 18 Apr 2012, 13:06 Post subject:
|
|
Hi technosaurus,
Thank you for your explanations. I am happy with your pet as is, but I'll watch out for any update(s).
My regards
PS I have now installed your version 02 update now added in your post immediately above and thank you for fixing everything except, unimportantly, the Help and Shutdown items,
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Wed 18 Apr 2012, 14:09 Post subject:
simple application menu |
|
technosaurus wrote: |
... I didn't mention having some support for localization (de,es,fr,ru)
... any non-english speakers care to test it?
(IIRC there was a recent post on Barry's blog explaining how to get X apps localization working) |
Description |
|
Filesize |
30.94 KB |
Viewed |
1492 Time(s) |

|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Wed 18 Apr 2012, 14:23 Post subject:
|
|
yes, localization is still a work in progress ... still need to add the ":echo Desktop/System/etc..." parts to the translations too (the echo part needs to be the same as the english one - it is used in the submenu function ... I started localizing too early -oops)`
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Wed 18 Apr 2012, 14:42 Post subject:
|
|
Jasper wrote: | PS I have now installed your version 02 update now added in your post immediately above and thank you for fixing everything except, unimportantly, the Help and Shutdown items, |
I haven't 100% decided what to do with help and shutdown ... perhaps add them to the rc file ??? however I may ping Barry on whether we should add a special category for DOT_desktop files so that they can be generated automagically regardless of wm (just by modifying the default xdg template and hierarchy) - at any rate, I'll leave at least something in there as a stub for wm packagers to utilize/remove - leaning toward using the rc file and then have a commented out line in the rc file with the applicable entries from jwm (I am not adding them by default, just as an example, so it will work in other distros)
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 3431 Location: www.eussenheim.de/
|
Posted: Thu 19 Apr 2012, 01:54 Post subject:
|
|
technosaurus wrote: | ...still need to add the ":echo Desktop/System/etc..." parts to the translations too ... |
Yes i see now.
I have wanted to show that there is no utf8 (or wide char....)
That´s the bigger problem, or is it just a question of configuration?
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Thu 19 Apr 2012, 11:07 Post subject:
|
|
http://bkhome.org/blog/?viewDetailed=02763 ... was the post I was referring to re: xmessage and localization - I'd really prefer that we get X11 language support fixed if possible, rather than switching to a more resource hungry alternative
Quote: | Posted on 29 Mar 2012, 4:03 by rodin.s
"*international: true"
Cyrillic is displayed in xmessage with "*international: true". |
I believe they are referring to $HOME/.Xresources ... This should apply to all x11-only apps, but may also need other entries for language/charset/font/encoding? I don't really know
(I am currently looking into dzen and dmenu as alternatives to 9menu - gtkdialog1/2/3/4 would be easier, I know they support localization - all just cut and paste with a few minor code tweaks, but I want to minimize resource load for something stupid simple like a start menu)
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Sat 21 Apr 2012, 10:54 Post subject:
|
|
apparently it is possible to get x11 apps to display LANG=ru
http://www.gentoo.ru/node/17367
I think ... can't read russian to fully figure it out, but it appears we may need different fonts?
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Sat 21 Apr 2012, 12:26 Post subject:
|
|
Try the "unifont". It's 3MB unfortunately. But it has characters for pretty much every language. It just needs to be installed, not necessarily selected, and you should stop seeing those boxes that appear for unicode characters.
|
Back to top
|
|
 |
harii4

Joined: 30 Jan 2009 Posts: 449 Location: La Porte City, IA , U.S.A.
|
Posted: Mon 16 Jul 2012, 23:23 Post subject:
|
|
Quote: | I haven't 100% decided what to do with help and shutdown ... perhaps add them to the rc file ??? however I may ping Barry on whether we should add a special category for DOT_desktop files so that they can be generated automagically regardless of wm (just by modifying the default xdg template and hierarchy) - at any rate, I'll leave at least something in there as a stub for wm packagers to utilize/remove - leaning toward using the rc file and then have a commented out line in the rc file with the applicable entries from jwm (I am not adding them by default, just as an example, so it will work in other distros) |
Any updates on this?
_________________ 3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.
|
Back to top
|
|
 |
Jasper
Joined: 25 Apr 2010 Posts: 1350 Location: England
|
Posted: Sat 18 Aug 2012, 21:09 Post subject:
|
|
Hi technosaurus et al.
Observation No 1
The screenshots below show my Graphics section of Simple Menu.
Originally, before any change
and
after adding the first $ to usr/bin/smenu > line 78
Code: | Graphic=" \"< Main Menu:smenu\" ${GraphicGraphics} ${GraphicEdit} ${GraphicUtility} " \
|
This is a trivial change since I always click my screenshots to load "Viewnior image viewer" rather than loading a blank Viewnior from the Graphics menu.
My regards
Description |
|
Filesize |
55.5 KB |
Viewed |
896 Time(s) |

|
Description |
|
Filesize |
55.65 KB |
Viewed |
930 Time(s) |

|
|
Back to top
|
|
 |
|