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 Thu 02 Oct 2014, 02:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Quickmount
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
WarMocK


Joined: 05 Jul 2007
Posts: 169

PostPosted: Sat 02 Apr 2011, 05:36    Post_subject:  Quickmount
Sub_title: mount and unmount devices on any window
 

Hello Puppy Linux users,
here's another little toy I've been working on recently: a mounting tool that works without the need of icons on a desktop, or clicking through various menu trees.
All you need to do is to bind the command "quickmount" to a hotkey, and whenever you press that hotkey a list of available mountpoints will popup right under the cursor, no matter what's under it (powered by apwal). Click an icon, and it'll mount a device automatically (if unmounted) or ask you if you want to unmount it (if mounted).

Please note that it's still a proof-of-concept. I wrote the source code for it yesterday in the evening, so I'll have to give it some touch-ups as soon as I got the time to work on it again. Wink
quickmount.png
 Description   
 Filesize   130.14 KB
 Viewed   1237 Time(s)

quickmount.png

Quickmount-1.0.pet
Description 
pet

 Download 
Filename  Quickmount-1.0.pet 
Filesize  52.59 KB 
Downloaded  465 Time(s) 

Edited_time_total
Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11083
Location: Arizona USA

PostPosted: Sat 02 Apr 2011, 08:17    Post_subject: Re: Quickmount
Sub_title: mount and unmount devices on any window
 

WarMocK wrote:
...All you need to do is to bind the command "quickpet" to a hotkey... Wink
Could you give a short description, or a link to a post where there is a description, of how to do that? Thanks Smile
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7805
Location: qld

PostPosted: Sat 02 Apr 2011, 08:30    Post_subject:  

..and I think it should be "quickmount" Wink

This works in openbox

/root/.config/openbox/rc.xml
Alt-q is the combo I used
Code:

    <keybind key="A-q">
      <action name="Execute">
      <command>quickmount</command>
     </action>   
    </keybind>

Put that somewhere near the bottom of the <keyboard> section (and restart X)

~

This works in JWM.. same key combo
Code:
<Key mask="A" key="q">exec:quickmount</Key>


That goes toward the bottom of /root/.jwm/jwmrc-personal, you'll see where, restart JWM


~
Warmock.. I only get a couple of seconds to make a choice then the icons vanish, also they are a bit faded and hard to see, but still a nice concept

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
WarMocK


Joined: 05 Jul 2007
Posts: 169

PostPosted: Mon 04 Apr 2011, 05:00    Post_subject:  

Oops ...
Yeah 01mick, you're right of course. Sorry, was in a rush when I uploaded it 'cause I was on my way back to the university. sorry, my bad. ^^

Also, I will try to edit the sourcecode of apwal a bit and add a longer timespan until the applications automatically closes again (maybe 60 seconds?). I could also try to remove the timeout function and add an icon for closing apwal over killall in the near future.
Back to top
View user's profile Send_private_message 
WarMocK


Joined: 05 Jul 2007
Posts: 169

PostPosted: Fri 08 Apr 2011, 14:36    Post_subject:  

Ok, problem with the timeout's solved. It's very simple.

- When the icons pop up, right-click on one of them to open the apwal-editor
- Under "Apwal Preferences", you can set the timeout to a maximum of 10 seconds.
For getting even longer timeouts, open /root/.apwalrc.xml and set the timeout value to whatever you want (in miliseconds). However, this value will be overridden whenever you call the apwal editor, so you will need to change the value manually again after the editor is closed.
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 » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
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.0505s ][ Queries: 13 (0.0039s) ][ GZIP on ]