LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2011, 01:51 AM   #16
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

Quote:
Originally Posted by Smokey_justme View Post
First of all can you tell me what are you using for your teminal. Are you using "konsole", "xterm", "xconsole" or do you mean an actual terminal (by pressing CTRL + ALT +F[1-6] keys from the KDE desktop)?
I use "terminal emulator" in KDE
xterm has the same problem.
konsole gives the correct path /home/repo

Kind regards
 
Old 02-05-2011, 02:25 AM   #17
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
It seems like this is the default behavior for "xterm".

The simplest way to override this without modifying your default "Documents" path (that might cause annoyances in xfce programs) is to create or edit the "~/.bashrc" file and append to it the following code:

Code:
if [ "$TERM" = "xterm" ]; then
cd ~
fi
 
Old 02-05-2011, 04:23 AM   #18
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
I wrote about this before: http://www.linuxquestions.org/questi...uments-831815/

This actually feels like a bug (feature?) in KDE. xterm is blameless: this affects every program you start from KDE, either via Alt-F2 or via a shortcut with empty work path setting. Konsole cheats by having its very own setting, so it basically cds when you start it. I guess, changing the work path of your terminal may be a better workaround. I changed Documents location because I don't use that folder at all.

Last edited by qweasd; 02-05-2011 at 04:27 AM.
 
  


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
xterm does not open in home folder, instead opens in Documents folder hsiu Linux - Desktop 5 01-16-2011 08:35 AM
gnome-terminal opens in ~/Documents when used in KDE krimsonking Linux - Software 2 08-17-2009 08:41 AM
Terminal opens on start up with PCLOS 09 skinheadwilli Linux - Newbie 1 07-05-2009 08:44 AM
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 10:34 AM
Terminal opens to ~/Desktop General Linux - Software 1 11-05-2005 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:41 AM.

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