Bug 209974

Summary: konsole uses complete path to it's profiles for favorits and shortcuts in konsolerc
Product: [Applications] konsole Reporter: Achim Bohnet <ach>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adaptee
Priority: NOR    
Version: 2.3.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Achim Bohnet 2009-10-09 12:30:28 UTC
Version:           2.3.2 (using KDE 4.3.1)
Installed from:    Ubuntu Packages

This bug is also reported at: https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/447079  There you can find further  information about the system, pkgs etc.

With latest KDE 3.4.2 if one manages to save the 'Manage Profiles...' settings (see https://bugs.launchpad.net/ubuntu/+source/kdebase/+bug/447065) konsole writes the complete path to the profiles into konsolerc. E.g.

[Favorite Profiles]
 Favorites=/home/allee/.kde/share/apps/konsole/root shell.profile,/home/allee/.kde/share/apps/konsole/root @ where-ever.profile,/home/allee/.kde/share/apps/konsole/secure remote.profile,/home/allee/.kde/share/apps/konsole/Shell.profile
 ...
 [Profile Shortcuts]
 Ctrl+(=/home/allee/.kde/share/apps/konsole/root @ where-ever.profile
 Ctrl+)=/home/allee/.kde/share/apps/konsole/root shell.profile
 Ctrl+*=/home/allee/.kde/share/apps/konsole/secure remote.profile

As profile are stored in apps/konsole/ that's not necessary and counterproductive:
 Using complete path one runs in trouble when username changes,
 or one sents ones profiles to other people.

Exactly for this problem type KDE3 introduced special methods in KConfig (AFAIR)
 to strip $HOME (and maybe(?) other well known places like appdata?)

Please strip the complete directory path or at least $HOME or $KDEDIR.

Achim
Comment 1 Jekyll Wu 2011-10-03 06:53:30 UTC

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