Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 844500

Summary: terminal programs in KDE start in the wrong directory
Product: Red Hat Enterprise Linux 6 Reporter: bugz
Component: kdelibsAssignee: Jan Grulich <jgrulich>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: rvokal, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 10:49:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The file showing where I think changes should be made none

Description bugz 2012-07-30 22:59:51 UTC
Description of problem:
Terminal applications includ konsole and gnome terminal start in ${HOME}/Documents

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


How reproducible:
Always

Steps to Reproduce:
1. install RHEL+KDE
2.Login
3.Start any console app using the menu system
  
Actual results:
Terminal apps start in ${HOME}/Documents

Expected results:
Terminal apps start in ${HOME}

Additional info:

If I login at a Linux console, or remotely using ssh or telnet, or in any other desktop environment, users' sessions begin in ${HOME}. this is true on Linux distros, its true on MAC OSX.

I am running CentOS, but I built these parts of KDE from RHEL source myself. Just to be sure.

The attached file shows what I think needs to be patched.


Oh, one unsatisfactory workaround is to edit all the relevant desktop files an add Path=%HOME. That works in KDE, but GNOME won't use them.

ItÅ› also unsatisfactory becase all the files are in /usr, and the next KDE update will clobber the changes.

Comment 1 bugz 2012-07-30 23:03:08 UTC
Created attachment 601353 [details]
The file showing where  I think changes should be made

Comment 3 Than Ngo 2012-08-13 12:10:00 UTC
The default start folder is $HOME, i think it's a problem in your kde config file. Could you please try with a new fresh user and see if this issue still shows up?

Could you please attach the file $HOME/.kde/share/config/konsolrc and direcrory $HOME/.kde/share/config/konsole ?

thanks

Comment 4 bugz 2012-08-13 13:17:01 UTC
The problem arises also in current Debian Stable, and this was a fresh install.

20:49 john@Boomer$ cat /home/john/.kde/share/config/konsolerc
[Desktop Entry]
DefaultProfile=Shell.profile

[Favorite Profiles]
Favorites=/home/john/.kde/share/apps/konsole/Shell.profile

[MainWindow]
Height 1200=666
Height 1920=1870
State=AAAA/wAAAAD9AAAAAAAAApMAAAKEAAAABAAAAAQAAAAIAAAACPwAAAAA
Width 1200=1201
Width 1920=659

[Notification Messages]
CloseAllTabs=true
20:50 john@Boomer$ 

It's not just konsole, it's all of the terminal apps that have menu entries.


Do you think the source I highlighted is not the error?

I created a user, test.
I opened a terminal app, I guess not konsole.
As predicted, it started in ~/Documents
The new user has no konsolerc file.
The new user's directory contains these:
[test@Boomer ~]$ ls -l /home/test/.kde/share/config/k*
-rw-------. 1 test test    32 Aug 13 21:08 /home/test/.kde/share/config/kabcdistlistupdaterrc
-rw-------. 1 test test   126 Aug 13 21:08 /home/test/.kde/share/config/kalarmrc
-rw-------. 1 test test    67 Aug 13 21:08 /home/test/.kde/share/config/kcalcrc
-rw-------. 1 test test    41 Aug 13 21:08 /home/test/.kde/share/config/kcharselectrc
-rw-------. 1 test test    37 Aug 13 21:08 /home/test/.kde/share/config/kcmaudiocdrc
-rw-------. 1 test test    71 Aug 13 21:08 /home/test/.kde/share/config/kcmcddbrc
-rw-------. 1 test test    45 Aug 13 21:08 /home/test/.kde/share/config/kcmdisplayrc
-rw-------. 1 test test    56 Aug 13 21:08 /home/test/.kde/share/config/kcminputrc
-rw-------. 1 test test  1194 Aug 13 21:08 /home/test/.kde/share/config/kcmnspluginrc
-rw-------. 1 test test  4746 Aug 13 21:08 /home/test/.kde/share/config/kconf_updaterc
-rw-------. 1 test test    76 Aug 13 21:08 /home/test/.kde/share/config/kcookiejarrc
-rw-------. 1 test test    39 Aug 13 21:08 /home/test/.kde/share/config/kdedrc
-rw-------. 1 test test   166 Aug 13 21:10 /home/test/.kde/share/config/kdeglobals
-rw-------. 1 test test    55 Aug 13 21:08 /home/test/.kde/share/config/kfmclientrc
-rw-------. 1 test test 12099 Aug 13 21:08 /home/test/.kde/share/config/kglobalshortcutsrc
-rw-------. 1 test test 30482 Aug 13 21:08 /home/test/.kde/share/config/khotkeysrc
-rw-------. 1 test test   223 Aug 13 21:10 /home/test/.kde/share/config/kickoffrc
-rw-------. 1 test test    24 Aug 13 21:08 /home/test/.kde/share/config/kio_desktoprc
-rw-------. 1 test test    69 Aug 13 21:08 /home/test/.kde/share/config/kio_httprc
-rw-------. 1 test test    92 Aug 13 21:08 /home/test/.kde/share/config/kioslaverc
-rw-------. 1 test test   117 Aug 13 21:10 /home/test/.kde/share/config/klipperrc
-rw-------. 1 test test    59 Aug 13 21:08 /home/test/.kde/share/config/kmail.eventsrc
-rw-------. 1 test test   725 Aug 13 21:08 /home/test/.kde/share/config/kmailrc
-rw-------. 1 test test  3051 Aug 13 21:10 /home/test/.kde/share/config/kmixctrlrc
-rw-------. 1 test test  1630 Aug 13 21:10 /home/test/.kde/share/config/kmixrc
-rw-------. 1 test test    66 Aug 13 21:08 /home/test/.kde/share/config/knoderc
-rw-------. 1 test test    60 Aug 13 21:08 /home/test/.kde/share/config/konqsidebartng.rc
-rw-------. 1 test test    55 Aug 13 21:08 /home/test/.kde/share/config/konquerorrc
-rw-------. 1 test test   491 Aug 13 21:08 /home/test/.kde/share/config/kopeterc
-rw-------. 1 test test   237 Aug 13 21:08 /home/test/.kde/share/config/korganizerrc
-rw-------. 1 test test    77 Aug 13 21:08 /home/test/.kde/share/config/kpatrc
-rw-------. 1 test test   158 Aug 13 21:08 /home/test/.kde/share/config/kpgprc
-rw-------. 1 test test    57 Aug 13 21:08 /home/test/.kde/share/config/kpilot_addressconduitrc
-rw-------. 1 test test    57 Aug 13 21:08 /home/test/.kde/share/config/kpilot_docconduitrc
-rw-------. 1 test test    57 Aug 13 21:08 /home/test/.kde/share/config/kpilot_mailconduitrc
-rw-------. 1 test test    57 Aug 13 21:08 /home/test/.kde/share/config/kpilot_malconduitrc
-rw-------. 1 test test    57 Aug 13 21:08 /home/test/.kde/share/config/kpilot_notesconduitrc
-rw-------. 1 test test    79 Aug 13 21:08 /home/test/.kde/share/config/kpilotrc
-rw-------. 1 test test    57 Aug 13 21:08 /home/test/.kde/share/config/kpilot_sysinfoconduitrc
-rw-------. 1 test test    57 Aug 13 21:08 /home/test/.kde/share/config/kpilot_vcalconduitsrc
-rw-------. 1 test test   107 Aug 13 21:10 /home/test/.kde/share/config/krunnerrc
-rw-------. 1 test test  1332 Aug 13 21:10 /home/test/.kde/share/config/ksmserverrc
-rw-------. 1 test test   121 Aug 13 21:08 /home/test/.kde/share/config/ktimezonedrc
-rw-------. 1 test test    58 Aug 13 21:08 /home/test/.kde/share/config/kuriikwsfilterrc
-rw-------. 1 test test    81 Aug 13 21:08 /home/test/.kde/share/config/kwin.eventsrc
-rw-------. 1 test test   226 Aug 13 21:08 /home/test/.kde/share/config/kwinrc
-rw-------. 1 test test   180 Aug 13 21:10 /home/test/.kde/share/config/kwinrulesrc

/home/test/.kde/share/config/kresources:
total 12
drwxrwxr-x. 2 test test 4096 Aug 13 21:08 calendar
drwxrwxr-x. 2 test test 4096 Aug 13 21:08 contact
drwxrwxr-x. 2 test test 4096 Aug 13 21:08 notes
[test@Boomer ~]$ 

Did you get different results when you tested it?

Comment 14 Than Ngo 2014-11-11 13:49:34 UTC
grant devel ack

Comment 17 Jan Grulich 2015-11-09 09:10:07 UTC
Not reproducible on fresh RHEL 6.7 installation with KDE. Tested with konsole and xterm and both are opened in $HOME directory.

Comment 19 Jan Kurik 2017-12-06 10:49:18 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/