Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 19:23
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
simple application menu
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [23 Posts]   Goto page: 1, 2 Next
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4283

PostPosted: 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 Smile

sorry no screen shot at the moment - my left mouse button is broken, so proper cropping is near impossible
smenu-0.1.pet
Description 
pet

 Download 
Filename  smenu-0.1.pet 
Filesize  11.55 KB 
Downloaded  405 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 779

PostPosted: Wed 18 Apr 2012, 10:21    Post subject:  

Nice...image provided below...changed default colors to BGCOLOR="steelblue" and FGCOLOR="black".
snap0000.png
 Description   
 Filesize   16.61 KB
 Viewed   1342 Time(s)

snap0000.png

Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4283

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1088
Location: England

PostPosted: 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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4283

PostPosted: 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)
smenu-0.2.pet
Description  does not include 9menu - install v0.1 first or use your own 9menu package
pet

 Download 
Filename  smenu-0.2.pet 
Filesize  5.13 KB 
Downloaded  390 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101

Last edited by technosaurus on Wed 18 Apr 2012, 13:19; edited 3 times in total
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1088
Location: England

PostPosted: 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
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: 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)

Crying or Very sad
smenu.png
 Description   
 Filesize   30.94 KB
 Viewed   1281 Time(s)

smenu.png

Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4283

PostPosted: 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)`
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4283

PostPosted: 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)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: 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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4283

PostPosted: 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)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4283

PostPosted: 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?

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: 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
View user's profile Send private message Visit poster's website 
harii4


Joined: 30 Jan 2009
Posts: 444
Location: La Porte City, IA , U.S.A.

PostPosted: 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
View user's profile Send private message Visit poster's website 
Jasper


Joined: 25 Apr 2010
Posts: 1088
Location: England

PostPosted: 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
Amended.jpg
 Description   
 Filesize   55.5 KB
 Viewed   689 Time(s)

Amended.jpg

Original.jpg
 Description   
 Filesize   55.65 KB
 Viewed   728 Time(s)

Original.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [23 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1282s ][ Queries: 13 (0.0469s) ][ GZIP on ]