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 25 Oct 2014, 22:08
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 Posts_count  
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: 1485
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   1002 Time(s)

pic1.jpg

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

pic2.jpg

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

pic3.jpg

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

pic4.jpg

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

pic5.jpg

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

pic6.jpg


_________________

Back to top
View user's profile Send_private_message 
dejan555


Joined: 30 Nov 2008
Posts: 2691
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_website MSNM 
CatDude


Joined: 03 Jan 2007
Posts: 1485
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: 2691
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_website MSNM 
CatDude


Joined: 03 Jan 2007
Posts: 1485
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: 4353

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: 1698
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0764s ][ Queries: 13 (0.0154s) ][ GZIP on ]