Bug 858587 - The working directory for Konsole is $HOME/Documents/ and not $HOME on Fedora 18 Alpha TC5 (up to date)
Summary: The working directory for Konsole is $HOME/Documents/ and not $HOME on Fedora...
Keywords:
Status: CLOSED DUPLICATE of bug 841471
Alias: None
Product: Fedora
Classification: Fedora
Component: konsole
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-19 07:49 UTC by xset1980
Modified: 2012-09-19 15:18 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-19 15:18:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
path error (924.56 KB, image/png)
2012-09-19 11:20 UTC, xset1980
no flags Details


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 108510 0 None None None 2012-09-19 12:38:55 UTC
KDE Software Compilation 183534 0 None None None 2012-09-19 12:21:20 UTC
KDE Software Compilation 302903 0 None None None 2012-09-19 12:39:22 UTC

Description xset1980 2012-09-19 07:49:52 UTC
Description of problem:

When konsole, xterm, etc is open, the default "pwd" is /home/user/Documents/ and not the tradicional /home/user/ path

Version-Release number of selected component (if applicable):

Fedora 18 Alpha KDE TC5 up to date

How reproducible:
always

Steps to Reproduce:
1.Open a terminal emulator
2.type pwd
3./home/user/Documents
  
Actual results:


Expected results:


Additional info:

Deleting all users (less root) and creating a new user, the problem persist

Comment 1 Roman Rakus 2012-09-19 08:07:21 UTC
Isn't that terminal just changing your working directory to ~/Documents? Or isn't there something in any of bashrc files?
Please, provide me an output of:
echo $HOME

Comment 2 xset1980 2012-09-19 11:19:42 UTC
 (In reply to comment #1)
> Isn't that terminal just changing your working directory to ~/Documents? Or
> isn't there something in any of bashrc files?
> Please, provide me an output of:
> echo $HOME

@Roman Rakus

No idea, if is a bug of bash or xterm, konsole, etc. I just report the error that i can see.
On a fresh install (now) using LiveCD KDE F18 Alpha, the same error again.

1.- alt+f2, xterm, intro = /home/user/Documents prompt
2.- echo $HOME = /home/nix
3.- pwd = /home/nix/Documents

Attach screenshot with identical steps

Comment 3 xset1980 2012-09-19 11:20:28 UTC
Created attachment 614306 [details]
path error

Comment 4 xset1980 2012-09-19 11:33:51 UTC
Modifing the "initial directory" on konsole, is solved, but, only on konsole, xterm no, so, is a system-wide variable that affect to all terminal emulators

Comment 5 Roman Rakus 2012-09-19 11:48:36 UTC
Reassigning to Konsole

Comment 6 Radek Novacek 2012-09-19 11:53:48 UTC
This is not a bug, it's expected behavior. You can change default directory for konsole, xterm and others by setting "Document Path" in System Settings -> Account Details -> Paths.

Comment 7 xset1980 2012-09-19 12:07:35 UTC
@Radek Novacek

Aha, changing the path of Documents, xterm and others are like the clasic terminal. But, the KDE settings are not relationed with this, of yes?. I have a box with F17 and the paths are configured by default, /home/user/documents, but when i open a terminal, the default directory is /home/user, no /home/user/documents

Comment 8 Radek Novacek 2012-09-19 12:28:47 UTC
Sorry, I misunderstand the bug report, the problem is that working directory is set to ~/Documents instead of ~ when running program (konsole, xterm, ...) from krunner, right?

Comment 9 Rex Dieter 2012-09-19 13:07:26 UTC
correct

Comment 10 Kevin Kofler 2012-09-19 15:18:26 UTC
So, as I said on IRC:
* The fact that the default working directory on application startup is ~/Documents is a feature, not a bug, see (non-)bug #571837.
* You also cannot expect the KDE Plasma Workspaces to automatically figure out that xterm is a terminal emulator. We are not going to hardcode a list of terminal emulators.
* What should, however be done, is for Konsole and xterm to specify ~ as the startup working directory, either in their .desktop file or elsewhere. For some reason, Konsole appears to start up in ~ on F16 and F17, but I cannot find where this is set, so I don't know what changed in F18 Alpha.

There's already a bug filed for the Konsole behavior change, I reopened it.

*** This bug has been marked as a duplicate of bug 841471 ***


Note You need to log in before you can comment on or make changes to this bug.