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 21 Apr 2014, 04:11
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
key binding in rox
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
rubing

Joined: 19 Jul 2008
Posts: 63

PostPosted: Sun 25 Oct 2009, 07:43    Post subject:  key binding in rox  

I am trying to bind the del key to delete from rox file menu by following the puppy linux mini how to:

Quote:
Define Keys:

* You can bind keys to menu items. E.g, right-click a file, move the mouse over the Delete menu item, and press the D key. Now you can select any files and press D to delete them. To reset the keys press 'Backspace'.



Unfortunately, i can't get any key to bind with the Delete menu item.
Back to top
View user's profile Send private message 
CatDude


Joined: 03 Jan 2007
Posts: 1432
Location: UK

PostPosted: Mon 26 Oct 2009, 07:33    Post subject:  

Hello rubing

I have thought of doing this in the past, but never got around to it,
so i decided that now was as good a time as any to figure it out.

For your information, i am using Puppy-4.00 (just in case it makes a difference)

First off, i created a file: /root/.gtkrc.mine
with this line in it:
Code:

gtk-can-change-accels = 1

as informed by the dialog that appeared when i open ROX-Filer and right click: Options > Menus > Set keyboard shortcuts (see pic1)

I then restarted the X server.

Once again, open ROX-Filer and right click: Options > Menus > Set keyboard shortcuts (see pic2)
and do as it suggests, that is: Open ROX-Filer and right click in empty space (NOT on any of the icons)
Move the cursor over to Delete (see pic3)
Now press the Delete key, the menu will change to look like this (see pic4)
Press the Delete key again, the menu will change to look like this (see pic5)

If you do not want to be asked for confirmation each time you delete something,
then open ROX-Filer and right click: Options > Action windows and tick the box next to Delete. (see pic6)
Click OK to close the options window.

That's it,
all you need to do now is select the files/directories you wish to delete
and hit the Delete key and they are gone.

Hope this helps
CatDude
.
pic1.jpg
 Description   
 Filesize   58.78 KB
 Viewed   747 Time(s)

pic1.jpg

pic2.jpg
 Description   
 Filesize   60.18 KB
 Viewed   758 Time(s)

pic2.jpg

pic3.jpg
 Description   
 Filesize   76.72 KB
 Viewed   736 Time(s)

pic3.jpg

pic4.jpg
 Description   
 Filesize   75.12 KB
 Viewed   740 Time(s)

pic4.jpg

pic5.jpg
 Description   
 Filesize   75.75 KB
 Viewed   732 Time(s)

pic5.jpg

pic6.jpg
 Description   
 Filesize   60.37 KB
 Viewed   726 Time(s)

pic6.jpg


_________________

Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2594
Location: Montenegro

PostPosted: Mon 26 Oct 2009, 07:45    Post subject:  

Nice themes on screenies CatDude, which gtk/wm themes do you use? Is that icewm?
_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
CatDude


Joined: 03 Jan 2007
Posts: 1432
Location: UK

PostPosted: Mon 26 Oct 2009, 08:08    Post subject:  

Hello dejan555

dejan555 wrote:
Nice themes on screenies CatDude,..

Thank you very much mate, i like it.

dejan555 wrote:
which gtk/wm themes do you use? Is that icewm?


Gtk+2.0 Theme is called: Overglossed
I had to change some of the colours in this file: /root/.config/rox.sourceforge.net/ROX-Filer/Options
to make things easier to read in the ROX-Filer windows.

IceWM Theme is a copy of ttuuxxx's Odelite that i hacked.

Apparently i am using this version of IceWM
Code:

# icewm --version
IceWM 1.2.35, Copyright 1997-2003 Marko Macek,  2001 Mathias Hasselmann
#


CatDude
.

_________________

Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2594
Location: Montenegro

PostPosted: Mon 26 Oct 2009, 08:44    Post subject:  

thanks CatDude, btw you can change rox file colors in rox options dialog too, uncheck "Use colors by filetype" (something like that) under "Colours" tab
_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
CatDude


Joined: 03 Jan 2007
Posts: 1432
Location: UK

PostPosted: Mon 26 Oct 2009, 12:39    Post subject:  

Hi dejan

dejan555 wrote:
thanks CatDude, btw you can change rox file colors in rox options dialog too, uncheck "Use colors by filetype" (something like that) under "Colours" tab

Yes i realise that mate,
what i meant in a roundabout fashion, was that i backed up /root/.config/rox.sourceforge.net/ROX-Filer/Options
so i could easily restore the colours to their defaults, if ever i needed to.

Sorry for any confusion Rolling Eyes
CatDude
.

_________________

Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Mon 26 Oct 2009, 17:19    Post subject:  

Catdude - i second the theme appreciation - would be nice for the CE

keybindings is another thing on the list from 4.2.X that regressed - need to look at those again (especially the ctrl+alt+del dialog)

also watch that you don't mix and match jwm and rox keybindings (its not that big a deal but can get frustrating)

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1696
Location: Germany

PostPosted: Tue 27 Oct 2009, 06:07    Post subject:  

@techno
i'm actually assembling some jwm-keybindings. will pm you if ready. best bet (my observations) in not mixing wm-keybindings and app-keybindings is to use 'Alt-Shift + [KEY]' for the wm-keybindings. Good applications to test keybindings before assigning them to a wm (my observations) are browsers, rox and geany.

aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0687s ][ Queries: 13 (0.0152s) ][ GZIP on ]