[Konsole-devel] [Bug 222370] New: Wrong $PS1 expansion in auto-started konsole

Vadym Krevs vkrevs at yahoo.com
Tue Jan 12 12:49:02 UTC 2010


           Summary: Wrong $PS1 expansion in auto-started konsole
           Product: konsole
           Version: 2.3.3
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: vkrevs at yahoo.com

Version:           2.3.3 (using 4.3.4 (KDE 4.3.4) "release 2",
KDE:KDE4:STABLE:Desktop / openSUSE_11.2)
Compiler:          gcc
OS:                Linux (x86_64) release

For various reasons, my system has two users with the same UID, say user1 and
user2. Both users use bash, and and the PS1 variable is set to
"\n\[\033]0;\w\007\033[32m\]\u@\h \[\033[33m\w\033[0m\]\n$ ". 

I always login into KDE as user1. However, when Konsole is automatically
started after login, the prompt in all KOnsole tabs displays "user2 at hostname
/some/path" not "user1 at hostname /some/path". 

Both "id" and "whoami" confirm that I am user1. All other KDE programs see me
as user1 not user2. If I start xterm or another konsole instance, then they use
user1 as expected.

So the question is: why does the auto-started konsole pick user2 instead of

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the konsole-devel mailing list