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 21 Oct 2014, 14:35
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Taskbar shortcut to a directory instead of a file? [SOLVED]
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
liro

Joined: 28 Jul 2012
Posts: 149

PostPosted: Sun 09 Dec 2012, 22:26    Post_subject:  Taskbar shortcut to a directory instead of a file? [SOLVED]  

This is a really basic question but I can't work out how to do it Rolling Eyes ...

In my /root/.jwmrc-tray file, the taskbar shortcuts are listed in this format:

<TrayButton popup="program_name" icon="/icons/icon.png">exec:program_name</TrayButton>

Instead of "exec:program_name", what would I have to put for the shortcut to open a specified directory when I click on it?

Thanks

Edited_time_total
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3380
Location: Oregon

PostPosted: Mon 10 Dec 2012, 02:40    Post_subject:  

How about <TrayButton popup="program_name" icon="/icons/icon.png">exec:program_name</TrayButton>
With exec:program_name being "exec:rox directory_name"

I tried it in a terminal with "rox /root/my-applications" and it opened that directory fine.
Back to top
View user's profile Send_private_message 
ETP


Joined: 19 Oct 2010
Posts: 552
Location: UK

PostPosted: Mon 10 Dec 2012, 02:58    Post_subject: Taskbar shortcut to a directory instead of a file?  

Hi liro,

Working example:

Code:
<TrayButton popup="Pictures and Wallpaper" icon="/usr/local/lib/X11/themes/faenza_lrx_new/qp-icon.png">exec:rox /usr/share/backgrounds</TrayButton>

_________________
Regards ETP
Accessibility Pups: -- Magoo -- The Pup With No Name -- MouseCam -- Obedient
Back to top
View user's profile Send_private_message 
liro

Joined: 28 Jul 2012
Posts: 149

PostPosted: Mon 10 Dec 2012, 11:52    Post_subject:  

Thanks to you both, working now : ).
Back to top
View user's profile Send_private_message 
Makoto


Joined: 03 Sep 2009
Posts: 1797
Location: Out wandering... maybe.

PostPosted: Mon 10 Dec 2012, 17:47    Post_subject:  

Just curious - would creating a symlink to the directory and pointing the exec: line to that symlink also work? Smile
_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0584s ][ Queries: 12 (0.0177s) ][ GZIP on ]