| Author |
Message |
rubing
Joined: 19 Jul 2008 Posts: 63
|
Posted: 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
|
|
 |
CatDude

Joined: 03 Jan 2007 Posts: 1355 Location: UK
|
Posted: 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
.
| Description |
|
| Filesize |
58.78 KB |
| Viewed |
590 Time(s) |

|
| Description |
|
| Filesize |
60.18 KB |
| Viewed |
568 Time(s) |

|
| Description |
|
| Filesize |
76.72 KB |
| Viewed |
583 Time(s) |

|
| Description |
|
| Filesize |
75.12 KB |
| Viewed |
585 Time(s) |

|
| Description |
|
| Filesize |
75.75 KB |
| Viewed |
576 Time(s) |

|
| Description |
|
| Filesize |
60.37 KB |
| Viewed |
571 Time(s) |

|
_________________

|
|
Back to top
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2407 Location: Montenegro
|
Posted: 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
|
|
 |
CatDude

Joined: 03 Jan 2007 Posts: 1355 Location: UK
|
Posted: 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
|
|
 |
dejan555

Joined: 30 Nov 2008 Posts: 2407 Location: Montenegro
|
Posted: 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
|
|
 |
CatDude

Joined: 03 Jan 2007 Posts: 1355 Location: UK
|
Posted: 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
CatDude
.
_________________

|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: 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)
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
aragon
Joined: 15 Oct 2007 Posts: 1690 Location: Germany
|
Posted: 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
|
|
 |
|