Bug 209974 - konsole uses complete path to it's profiles for favorits and shortcuts in konsolerc
Summary: konsole uses complete path to it's profiles for favorits and shortcuts in kon...
Status: RESOLVED DUPLICATE of bug 283102
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.3.2
Platform: Ubuntu Unspecified
: NOR normal (vote)
Target Milestone: ---
Assignee: Konsole Developer
Depends on:
Reported: 2009-10-09 12:30 UTC by Achim Bohnet
Modified: 2011-10-03 06:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
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.

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

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