key binding in rox

Booting, installing, newbie
Post Reply
Message
Author
rubing
Posts: 70
Joined: Sat 19 Jul 2008, 21:52

key binding in rox

#1 Post 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.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#2 Post 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
.
Attachments
pic1.jpg
(58.78 KiB) Downloaded 1904 times
pic2.jpg
(60.18 KiB) Downloaded 1698 times
pic3.jpg
(76.72 KiB) Downloaded 1766 times
pic4.jpg
(75.12 KiB) Downloaded 1943 times
pic5.jpg
(75.75 KiB) Downloaded 1918 times
pic6.jpg
(60.37 KiB) Downloaded 1737 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#3 Post by dejan555 »

Nice themes on screenies CatDude, which gtk/wm themes do you use? Is that icewm?
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#4 Post 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
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#5 Post 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
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#6 Post 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
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#7 Post 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)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#8 Post 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

Post Reply