LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-14-2010, 11:35 AM   #1
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
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 correct.rest everything is Fine.
 
Old 06-21-2010, 11:48 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,140

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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

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