Registered Member
|
Konsole successfully searches $XDG_DATA_HOME (~/.local/) then $XDG_DATA_DIRS (~/usr/share/my-distro-package/) for its konsole/ data directory, finding my `Shell.profile`, which is for my distro's users (Whonix).
The problem is `.konsolerc`. Konsole searches $XDG_CONFIG_HOME (~/.config/) for .konsolerc. If it doesn't find it there (which it won't upon first use), it *should* then search $XDG_CONFIG_DIRS. However, it does not. Instead it creates a default `.konsolerc` in $XDG_CONFIG_HOME. I even did `chmod -rw .konsolerc`. This makes Konsole complain, but it will never find my distro's .konsolerc via $XDG_CONFIG_DIRS. There's more strangeness: There seems to be a "hidden" config file somewhere for Konsole. If I go into Konsole settings, I can see that Shell.profile is listed. Despite being the only profile, it is not used by default. Instead, some hardcoded profile named "Default" is used. The weirdness? If I set Shell.profile to be the active and default profile, I can see that this change is written to `~/.config/konsolerc`. If I then delete `~/.config/konsolerc` and restart Konsole, `Shell.profile` is still active! (Quite misleading for me while debugging)! Note: `Shell.profile` simply enables unlimited scrollback. I want this to be the default upon bootup for our users, configured via XDG and not /etc/skel or by changing files in ~. |
Registered Member
|
It sounds like you didn't report this as a bug? Bug reports go to https://userbase.kde.org/KonsoleDevelopment
Anyhow, I'm not planning to use Konsole in the long-run (planning to use to https://github.com/zeit/hyper altho it's still in need of more polish), so I'm not real motivated to help. But I came across this because it does seem like Konsole is doing weird things with .konsolerc. I also don't like how profiles are located under .local/. |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]