Changing the shorcut key for Rox's 'Terminal here' option
Changing the shorcut key for Rox's 'Terminal here' option
I'd like to change the shorcut or keybinding -if its that the right word for that- to 'terminal here' option. Opening a directory in Rox, right click on an empty area to get a contextual menu, choosing 'Window > 'Terminal here' it opens the console on the dir path.
By default, the backquote "`" is the shortcut-key. The thing is that i'd like to change it and I don't know how to do it, or if its even possible.
Why?
On a spanish keymap, as far as I know, you have to press one key and then the Space to write a backquote. Thus, Rox wont open urxvt.
So...
How can I change it?
By default, the backquote "`" is the shortcut-key. The thing is that i'd like to change it and I don't know how to do it, or if its even possible.
Why?
On a spanish keymap, as far as I know, you have to press one key and then the Space to write a backquote. Thus, Rox wont open urxvt.
So...
How can I change it?
Last edited by GustavoYz on Mon 21 Mar 2011, 03:51, edited 1 time in total.
Simply press the key that you want to use, while hovering your mouse over the "terminal here" option in the right-click menu.
There is a GTK setting that controls whether or not this works - let me know if it doesn't and I'll have a look for the setting.
There is a GTK setting that controls whether or not this works - let me know if it doesn't and I'll have a look for the setting.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Thanks, at least works in this way (doesn't knew that ).
Now, let's take the 'Shell Command' by example: If I press Shift + 1 it works without the need of open the contextual menu...
I assume that the backquote its an 'only-one-key-symbol' on an english keymap (right?), but its not on a spanish one thus the shorcut its useless; that's the whole issue...
Now, let's take the 'Shell Command' by example: If I press Shift + 1 it works without the need of open the contextual menu...
I assume that the backquote its an 'only-one-key-symbol' on an english keymap (right?), but its not on a spanish one thus the shorcut its useless; that's the whole issue...
Sorry, I may not have been clear enough.
My explanation was for how to change the keyboard shortcut.
If it doesn't work, add this line to /root/.gtkrc.mine
And check that /root/.gtkrc-2.0 says to include .gtkrc.mine
Rox probably won't notice the GTK setting change until it is restarted after all Rox instances have been closed - the easiest thing to do is probably to restart X.
My explanation was for how to change the keyboard shortcut.
If it doesn't work, add this line to /root/.gtkrc.mine
Code: Select all
gtk-can-change-accels = 1
Rox probably won't notice the GTK setting change until it is restarted after all Rox instances have been closed - the easiest thing to do is probably to restart X.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Please make a new post - if you edit the old one I probably won't see it, because I won't get a topic reply notification.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
I like to use JWM keybindings (in /root/.jwm/.jwmrc-personal) , which are independent of ROX and allow you set the terminal colors:
Code: Select all
<Key mask="CA" key="t">exec:xterm -bg black -fg white</Key>
The point of the Rox feature is that it opens the terminal in whatever directory Rox is currently displaying.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
ROX defers to user home set in /etc/passwdjpeps wrote:interesting...I wonder why mine doesn't. Mine opens to /mnt/sda2/Desktop regardless of what ROX window I'm in.disciple wrote:The point of the Rox feature is that it opens the terminal in whatever directory Rox is currently displaying.
Code: Select all
spot:x:502:502:Linux User,,,:/mnt/sda2/Desktop:/bin/bash
If that was the case mine should always open to /root, but it doesn't.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
@disciple: Thanks!!! It works like a charm...
Here is what I did:
As I don't have a "/root/.gtkrc.mine" file, just add the line into /root/.gtkrc-2.0 right after the last line (which is a comment).
Then, I restart X -just in case- and made the test...
Success! While hovering the option, could grab a new key-shortcut (see the attached cap).
Thanks buddy.
Regards.
Here is what I did:
As I don't have a "/root/.gtkrc.mine" file, just add the line into /root/.gtkrc-2.0 right after the last line (which is a comment).
Then, I restart X -just in case- and made the test...
Success! While hovering the option, could grab a new key-shortcut (see the attached cap).
Thanks buddy.
Regards.
- Attachments
-
- Works.jpg
- (20.16 KiB) Downloaded 1172 times
Should already be there ??GustavoYz wrote: Here is what I did:
As I don't have a "/root/.gtkrc.mine" file, just add the line into /root/.gtkrc-2.0 right after the last line (which is a comment).
Code: Select all
#gtk-font-name="DejaVu Sans 11"
include "/root/.gtkrc.mine"
# -- THEME AUTO-WRITTEN DO NOT EDIT
I think you're missing the point. The line is already there, so doesn't need to be added. Also, comments in the file clearly tell you NOT to edit it.GustavoYz wrote:No, the edited line its still there...jpeps wrote:If it's the same .gtkrc-2.0 file that's in LUPU it is..also, it's auto-written, so doesn't get edited.GustavoYz wrote:You mean by default?
Everything works without issues. I'm using LuPu 520.
No, you're wrong: the line WASN'T there and I've to write it into the file.
The comment could say wherever it wants, this method works.
And yes, I was missing the point, because I've assume that your file was exactly equal that mine and you doesn't told me that yours its different. Mine doesn't include this line.
If you already knew the solution of this issue from the very begging, why don't you post it?
The comment could say wherever it wants, this method works.
And yes, I was missing the point, because I've assume that your file was exactly equal that mine and you doesn't told me that yours its different. Mine doesn't include this line.
If you already knew the solution of this issue from the very begging, why don't you post it?