Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 06-14-2010, 11:35 AM   #1
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 714
Blog Entries: 1

Rep: Reputation: 33
Post gnome-terminal:keyboard shortcut launches terminal with / directory default!

Hello ,
I ran this 'gconf-cleaner' just for the sake() on My Debian Box.

If I launch "gnome-terminal" from Applications Menu or from a panel icon ,it works with default $HOME directory(default behaviour).
But ,with custom keyboard shortcut for Gnome Terminal in Gnome-2.30(Can set via menu System>Preferences>Keyboard Shortcuts),it opens in root directory.I mean in "/" directory.
The Easy fix is to assign 'gnome-terminal --working-directory=%f ' or something similar.

Is there a way to fix this Behaviour without adding any lines to ~/.bashrc etc ?

BTW ,$HOME variable is everything is Fine.
Old 06-21-2010, 11:48 AM   #2
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,308

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
One fix would be to use the configuration editor. Under Apps - Metacity - Global keybindings, you could unset run_command_terminal (which is clearly broken) and assign the keystroke you use to run_command_1. Then go to Global commands and set command_1 to gnome-terminal, with parameters if required.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
change default bash directory in gnome-terminal ming0 Linux - Software 5 10-01-2009 06:54 PM
Keyboard Shortcut to Terminal Kyrocera Linux - Newbie 4 12-18-2006 02:42 AM
Changing default terminal login directory mareid Linux - General 1 06-17-2006 10:31 PM
Terminal shortcut in gnome canyon289 Fedora 3 03-21-2006 08:42 AM
gnome-terminal default geometry dunric Linux - Software 1 11-09-2005 02:02 AM

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration