Page 1 of 1

key binding in rox

Posted: Sun 25 Oct 2009, 11:43
by rubing
I am trying to bind the del key to delete from rox file menu by following the puppy linux mini how to:
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.

Posted: Mon 26 Oct 2009, 11:33
by CatDude
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: Select all

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
.

Posted: Mon 26 Oct 2009, 11:45
by dejan555
Nice themes on screenies CatDude, which gtk/wm themes do you use? Is that icewm?

Posted: Mon 26 Oct 2009, 12:08
by CatDude
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: Select all

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

Posted: Mon 26 Oct 2009, 12:44
by dejan555
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

Posted: Mon 26 Oct 2009, 16:39
by CatDude
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 :roll:
CatDude
.

Posted: Mon 26 Oct 2009, 21:19
by technosaurus
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)

Posted: Tue 27 Oct 2009, 10:07
by aragon
@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