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 Sat 20 Dec 2014, 14:09
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 [5 Posts]  
Author Message
WarMocK


Joined: 05 Jul 2007
Posts: 169

PostPosted: Sat 02 Apr 2011, 05:36    Post subject:  Quickmount
Subject description: 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   1499 Time(s)

quickmount.png

Quickmount-1.0.pet
Description 
pet

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

Last edited by WarMocK on Mon 04 Apr 2011, 04:53; edited 1 time in total
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


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

PostPosted: Sat 02 Apr 2011, 08:17    Post subject: Re: Quickmount
Subject description: 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: 7841
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 poster's 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 from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
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.0514s ][ Queries: 13 (0.0043s) ][ GZIP on ]