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 Wed 26 Nov 2014, 13:38
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
SimplePuppyMenu
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
dejan555


Joined: 30 Nov 2008
Posts: 2717
Location: Montenegro

PostPosted: Sat 16 Jan 2010, 15:01    Post_subject:  

Screenie of karmen wm /w simple menu:
http://murga-linux.com/puppy/viewtopic.php?p=382504#382504

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
musher0


Joined: 04 Jan 2009
Posts: 4339
Location: Gatineau (Qc), Canada

PostPosted: Sat 16 Jan 2010, 16:28    Post_subject:  

Nice! Smile

Q.: I believe the karmen wm allows for only one desktop?

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
dejan555


Joined: 30 Nov 2008
Posts: 2717
Location: Montenegro

PostPosted: Sat 16 Jan 2010, 16:50    Post_subject:  

Hmm, I think so, didn't find any configuration options, it's really basic wm, has no taskbar/tray/menu or anything, only two buttons on titlebar for minimize/close, plus double clicking titlebar maximizes window. right click on titlebar gives list of running windows though so you can raise another window even if one is already maximized.
_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Sun 17 Jan 2010, 10:13    Post_subject:  

dejan, nice screenie.

how did you call the menu within karmen? i know i've used it before, but cannot remember...

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
dejan555


Joined: 30 Nov 2008
Posts: 2717
Location: Montenegro

PostPosted: Sun 17 Jan 2010, 10:21    Post_subject:  

i put command in script and place it in rox panel (first icon)
_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Mon 18 Jan 2010, 05:19    Post_subject:  

dejan555 wrote:
i put command in script and place it in rox panel (first icon)

thanks, seeing the answer i thought "what a dumb question" Rolling Eyes

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Mon 18 Jan 2010, 10:25    Post_subject:  

uploaded version 0.3.

changelog:
- changed fixed path /root to $HOME to support multiuser-environments.
- moved SAMPLEspm-bottom and SAMPLEspm-top from /root/.config/spm to /usr/share/doc/spm.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Tue 19 Jan 2010, 10:34    Post_subject:  

uploaded version 0.4.

changelog:
- apps are now sorted case-insensitive.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
musher0


Joined: 04 Jan 2009
Posts: 4339
Location: Gatineau (Qc), Canada

PostPosted: Tue 19 Jan 2010, 11:50    Post_subject:  

A little but noticeable improvement! Thanks! Smile
_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Wed 20 Jan 2010, 05:20    Post_subject:  

musher0 wrote:
A little but noticeable improvement! Thanks! Smile

this has bugged me for some time, but finding a solution for the sorting in perl needed time with google...

i think i have now implemented all needed features and will go for a little code cleanup...

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2278

PostPosted: Wed 20 Jan 2010, 08:16    Post_subject:  

Aragon, I just want to thank you for using version numbres and for leaving your original versions available! You are a true open-source adherent.
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Wed 20 Jan 2010, 10:07    Post_subject:  

amigo wrote:
Aragon, I just want to thank you for using version numbres and for leaving your original versions available! You are a true open-source adherent.


trying to get there as part of my learning curve... Very Happy

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send_private_message 
dejan555


Joined: 30 Nov 2008
Posts: 2717
Location: Montenegro

PostPosted: Thu 26 Aug 2010, 17:55    Post_subject:  

Hey aragon, haven't forgot about your handy utility here, check out this post in metacity thread, I made a systray icon to launch it for panels that don't have menu/configurable launchers:

http://murga-linux.com/puppy/viewtopic.php?p=445646#445646

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
technosaurus


Joined: 18 May 2008
Posts: 4379

PostPosted: Thu 26 Aug 2010, 19:34    Post_subject:  

I threw together a "proof of concept" little menu generator in gtkdialog a while back - the generated menu file in a standard puppy install ends up being close to 30kb so it is really slow this way (it would be faster if icons and mouse-over tooltips were removed, but i figured it would be easier for people to subtract code than recode it)

delete the quotes from /usr/share/applications/ayttm.desktop Category="..." or it won't run as written (fixes anyone)
Code:

#!/bin/ash
# can't use entries with " (double quote) in the comment section maybe others - Ayttm is one example
[ -f /var/locatedb ] && echo file database detected, skipping updatedb for finding of icons || updatedb --localpaths=/usr
[ -f /tmp/.pgtkmenu ] && Xdialog --infobox "generating gui" 0 0 10000 & gtkdialog3 -f /tmp/.pgtkmenu -G 300x600 && exit
Xdialog --msgbox "building menu" 0 0
for x in `ls /usr/share/applications/*.desktop`; do
   EXE="`grep "^Exec=" $x |cut -d = -f 2`"
   CAT="`grep "^Categories=" $x |cut -d = -f 2`"
   NAM="`grep "^GenericName=" $x |cut -d = -f 2`"
   [ "$NAM" = "" ] && NAM="`grep "^Name=" $x |cut -d = -f 2 |cut -d " " -f 1`"
   ICO="`grep "^Icon=" $x |cut -d = -f 2`"
   ##needs full path to icon - will rework later
   COM="`grep "^Comment=" $x |cut -d = -f 2`"
   NEW="<hbox tooltip-text=\"$COM\"><button><label>$NAM</label><input file>$ICO</input><action>$EXE &</action></button></hbox>"
   case $CAT in
      *alculat*|*inance|*heet|ProjectManagement)   BUS=$BUS$NEW;;
      *eskto*|*creensave*|*ccessib*)   DSK=$DSK$NEW;;
      *ocumen*|*ordProcessor|*ebDevelo*)   DOC=$DOC$NEW;;
      *ile*)   FIL=$FIL$NEW;;
      *Game|*olePla*|*imulation|*musement)   FUN=$FUN$NEW;;
      *raphics|*hotography|*resent*|*art)   GFX=$GFX$NEW;;
      *udio*|*ideo*|*layer|*ecorder|*usic|*idi|*ixer|*equencer|*uner|TV|*iskBurning)   MED=$MED$NEW;;
      Dialup|Network|HamRadio|RemoteAccess)   NET=$NET$NEW;;
      X-PersonalUtility|X-Personal|Calendar|ContactManagement)   PER=$PER$NEW;;
      *etup*|PackageManager)   SET=$SET$NEW;;
      *onitor|*ecurity|*ardware*|*ore|*ystem)   SYS=$SYS$NEW;;
      Utility|Viewer|Development|Building|Debugger|IDE|Profiling|Translation|GUIDesigner|Archiving|TerminalEmulator|Shell)   UTL=$UTL$NEW;;
      *nternet|*rowser|*mail|*ews|*essaging|*elephony|*lient|*ransfer|P2P)   WEB=$WEB$NEW;;
      *) MSC=$MSC$NEW;;
   esac
   
done
DLG="<notebook page=\"0\" tab-pos=\"1\" enable-popup=\"true\" labels=\"Business|Desktop|Document|File|Fun|Graphics|Media|Network|Personal|Setup|System|Utility|Web|Miscellaneous\">
<frame Business>$BUS</frame>
<frame Desktop>$DSK</frame>
<frame Document>$DOC</frame>
<frame File>$FIL</frame>
<frame Fun>$FUN</frame>
<frame Graphics>$GFX</frame>
<frame Media>$MED</frame>
<frame Network>$NET</frame>
<frame Personal>$PER</frame>
<frame Setup>$SET</frame>
<frame System>$SYS</frame>
<frame Utility>$UTL</frame>
<frame Web>$WEB</frame>
<frame Misc>$MSC</frame>
</notebook>"
echo $DLG >/tmp/.pgtkmenu
$0
menuish-thing.png
 Description   
 Filesize   29.66 KB
 Viewed   1269 Time(s)

menuish-thing.png


_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
dejan555


Joined: 30 Nov 2008
Posts: 2717
Location: Montenegro

PostPosted: Fri 27 Aug 2010, 01:04    Post_subject:  

Het technosaurus, that's cool, I had a small Xdialog dropdown thing, it's a two-liner only, here's the code: http://www.murga-linux.com/puppy/viewtopic.php?p=381560#381560
_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
Display_posts:   Sort by:   
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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