simple application menu
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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
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
- Attachments
-
- smenu-0.1.pet
- (11.55 KiB) Downloaded 773 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Nice...image provided below...changed default colors to BGCOLOR="steelblue" and FGCOLOR="black".
- Attachments
-
- snap0000.png
- (16.61 KiB) Downloaded 1670 times
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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
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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
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.
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.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
those features aren't yet implementedJasper 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.
... 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)
- Attachments
-
- smenu-0.2.pet
- does not include 9menu - install v0.1 first or use your own 9menu package
- (5.13 KiB) Downloaded 704 times
Last edited by technosaurus on Wed 18 Apr 2012, 17:19, edited 3 times in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
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,
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,
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
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)
- Attachments
-
- smenu.png
- (30.94 KiB) Downloaded 1553 times
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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)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,
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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
(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)
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 knowPosted on 29 Mar 2012, 4:03 by rodin.s
"*international: true"
Cyrillic is displayed in xmessage with "*international: true".
(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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
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?
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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Any updates on this?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)
3.01 Fat Free / Fire Hydrant featherweight/ TXZ_pup / 431JP2012
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.
----------------------------------------------------------------------------------------
Peace and Justice are two sides of the same coin.
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
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
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: Select all
Graphic=" \"< Main Menu:smenu\" ${GraphicGraphics} ${GraphicEdit} ${GraphicUtility} " \
My regards
- Attachments
-
- Amended.jpg
- (55.5 KiB) Downloaded 954 times
-
- Original.jpg
- (55.65 KiB) Downloaded 988 times
Hi technosaurus et al,
Observation No 2 is to me most unusual.
To test if you can replicate it kindly delete ".gz" from the pet below after download and install it.
Now if you run it from Simple Memu > Graphics and choose a suitable directory then type something in the File Name box e.g. technosaurus as in the screenshot below and then click save.
It is the File/screenshot name that matters not what is being saved.
My screenshot will be given the program's standard file name of hhmmss-image size, but if I load EasyShot in any way other than using Simple Menu and type "technosaurus (or whatever)" then as Argolance intended that is the file/screenshot name.
My regards
If you already use Simple Menu and the French or English version of EasyShot it's a really quick test.
Edit above: ".gz" has replaced ".TZ" which was a typo.
.
Observation No 2 is to me most unusual.
To test if you can replicate it kindly delete ".gz" from the pet below after download and install it.
Now if you run it from Simple Memu > Graphics and choose a suitable directory then type something in the File Name box e.g. technosaurus as in the screenshot below and then click save.
It is the File/screenshot name that matters not what is being saved.
My screenshot will be given the program's standard file name of hhmmss-image size, but if I load EasyShot in any way other than using Simple Menu and type "technosaurus (or whatever)" then as Argolance intended that is the file/screenshot name.
My regards
If you already use Simple Menu and the French or English version of EasyShot it's a really quick test.
Edit above: ".gz" has replaced ".TZ" which was a typo.
.
- Attachments
-
- screenshot.2.jpg
- (103.9 KiB) Downloaded 598 times
Last edited by Jasper on Sun 19 Aug 2012, 08:02, edited 1 time in total.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
Sounds like a bug in 9menu, but I won't be able to test it for a while. What happens if you launch it from 9menu outside of my wrapper?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Hi technosaurus et al,
It is quite possible that I have made an exceptional and foolish mistake and unless someone can replicate the "problem" then the ball is likely in my court
Would any tester please be so kind as to report the result of their test?
My regards
@technosaurus, Thank you very much for your reply and there is not the slightest urgency. I have tried for quite a while, but I have not managed to get any menu using a separate install of 9menu
et al.
so if someone can replicate my result perhaps they would also be so very kind as to answer the 9menu question from technosaurus.
It is quite possible that I have made an exceptional and foolish mistake and unless someone can replicate the "problem" then the ball is likely in my court
Would any tester please be so kind as to report the result of their test?
My regards
@technosaurus, Thank you very much for your reply and there is not the slightest urgency. I have tried for quite a while, but I have not managed to get any menu using a separate install of 9menu
et al.
so if someone can replicate my result perhaps they would also be so very kind as to answer the 9menu question from technosaurus.
Jasper
I've done as requested and get the same results as you.
Looks like the $FILE_NAME is not getting written to 'shot_name' in the .easyshot directory.
The console shows this error;
This refers to line 148 in easyshot.sh.
Tried the line on its own in a terminal
I've done as requested and get the same results as you.
Looks like the $FILE_NAME is not getting written to 'shot_name' in the .easyshot directory.
The console shows this error;
Code: Select all
sed: -e expression #1, char 82: strings for `y' command are different lengths
Tried the line on its own in a terminal
Code: Select all
#echo "WhereAmI" | sed "s/ /-/g" | sed "s/'/_/g" | sed "y/àçéèëêïîöôùüûÀÇÉÈËÊ