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 Mon 22 Dec 2014, 09:38
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
JWM panel button using script
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
fixit

Joined: 16 Mar 2013
Posts: 930
Location: El Lago, Texas

PostPosted: Mon 30 Jun 2014, 17:54    Post subject:  JWM panel button using script  

Does a script not work as a JWM panel button ?

exec:./my-applications/bin/PowerOff.sh

The scripts works otherwise.

_________________
Thanks,
Andy

Primary O.S. Tahr Puppy 6.0 Thunar is file manager.
Puppy 5.9.3 ( Beta )
Windows XP SP3
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 4139
Location: World_Hub

PostPosted: Mon 30 Jun 2014, 18:14    Post subject:  

Since it's already in the path, your included line's optional. Oh, and >> lose the dot.
Code:
exec:PowerOff.sh

_________________
>>>Punctuation Crash Course<<<
Back to top
View user's profile Send private message 
fixit

Joined: 16 Mar 2013
Posts: 930
Location: El Lago, Texas

PostPosted: Mon 30 Jun 2014, 19:00    Post subject:  

thanks.
_________________
Thanks,
Andy

Primary O.S. Tahr Puppy 6.0 Thunar is file manager.
Puppy 5.9.3 ( Beta )
Windows XP SP3
Back to top
View user's profile Send private message 
fixit

Joined: 16 Mar 2013
Posts: 930
Location: El Lago, Texas

PostPosted: Wed 02 Jul 2014, 17:30    Post subject:  

It looks like there is a limit of 3 buttons. Sad

I added a forth, but it does not show up.

_________________
Thanks,
Andy

Primary O.S. Tahr Puppy 6.0 Thunar is file manager.
Puppy 5.9.3 ( Beta )
Windows XP SP3
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 4139
Location: World_Hub

PostPosted: Wed 02 Jul 2014, 17:35    Post subject:  

Very Happy Wrong-O! My guess? You've either got a syntax error or spec'd a non-existent icon.
Code:
<!-- Additional TrayButton attribute: label -->
      <TrayButton label="Menu" icon="logo-mini.png" border="true">root:3</TrayButton>
      <TrayButton popup="Show Desktop" icon="mini-desktop.xpm" border="true">showdesktop</TrayButton>
      <TrayButton popup="Browser" icon="/usr/local/lib/X11/pixmaps/www24.png" border="true">exec:defaultbrowser</TrayButton>
      <TrayButton popup="Terminal" icon="/usr/local/lib/X11/pixmaps/console24.png" border="true">exec:urxvt</TrayButton>
      <TrayButton popup="Big FOUR" icon="/usr/local/lib/X11/mini-icons/glade-3.png" border="false">exec:anything_really</TrayButton>
jwm-tray_four.png
 Description   
 Filesize   3.71 KB
 Viewed   133 Time(s)

jwm-tray_four.png


_________________
>>>Punctuation Crash Course<<<
Back to top
View user's profile Send private message 
fixit

Joined: 16 Mar 2013
Posts: 930
Location: El Lago, Texas

PostPosted: Wed 02 Jul 2014, 17:57    Post subject:  

It is working.

I had the case wrong for one letter in my icon.

_________________
Thanks,
Andy

Primary O.S. Tahr Puppy 6.0 Thunar is file manager.
Puppy 5.9.3 ( Beta )
Windows XP SP3
Back to top
View user's profile Send private message 
oui

Joined: 20 May 2005
Posts: 2169
Location: near Woof (Germany) :-) Acer Laptop emachines 2 GB RAM AMD64. franco-/germanophone, +/- anglophone

PostPosted: Fri 04 Jul 2014, 17:48    Post subject:  

Related pages: see more here
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0482s ][ Queries: 12 (0.0033s) ][ GZIP on ]