https://bugs.kde.org/show_bug.cgi?id=510472
--- Comment #8 from Sebastian Sauer <[email protected]> --- Created attachment 188588 --> https://bugs.kde.org/attachment.cgi?id=188588&action=edit test.sh shell script > This can't be done via config file, because it would affect the user profile > in either the VT-replacement case or the full desktop one. I attached the test.sh shell script which looks like this (inlining to make it discoverable via search): > #!/bin/bash -e > prev_XDG_CONFIG_HOME=$XDG_CONFIG_HOME > prev_XDG_DATA_HOME=$XDG_DATA_HOME > prev_XDG_STATE_HOME=$XDG_STATE_HOME > prev_XDG_CACHE_HOME=$XDG_CACHE_HOME > export XDG_CONFIG_HOME=$HOME/.kiosk/.config > export XDG_DATA_HOME=$HOME/.kiosk/.local/share > export XDG_STATE_HOME=$HOME/.kiosk/.local/state > export XDG_CACHE_HOME=$HOME/.kiosk/.cache > konsolerc=$XDG_CONFIG_HOME/konsolerc > kioskprofile=$XDG_DATA_HOME/konsole/KonsoleKiosk.profile > mkdir -p $XDG_CONFIG_HOME 2>/dev/null > mkdir -p $XDG_DATA_HOME/konsole 2>/dev/null > /bin/cat <<EOM >$konsolerc > [Desktop Entry] > DefaultProfile=KonsoleKiosk.profile > [General] > ConfigVersion=1 > [MainWindow] > MenuBar=Enabled > [Notification Messages] > CloseAllEmptyTabs=true > CloseAllTabs=true > [TabBar] > CloseTabButton=None > CloseTabOnMiddleMouseButton=true > TabBarVisibility=AlwaysShowTabBar > [UiSettings] > ColorScheme= > EOM > /bin/cat <<EOM >$kioskprofile > [General] > Environment=TERM=xterm-256color,COLORTERM=truecolor,XDG_CONFIG_HOME=$prev_XDG_CONFIG_HOME,XDG_DATA_HOME=$prev_XDG_DATA_HOME,XDG_STATE_HOME=$prev_XDG_STATE_HOME,XDG_CACHE_HOME=$prev_XDG_CACHE_HOME > Name=KonsoleKiosk > Parent=FALLBACK/ > EOM > konsole --hide-menubar --hide-toolbars --hide-tabbar --notransparency & That works for me as expected. What it does is to use different XDG environments for KonsoleKiosk vs KonsoleNormal what means they will not affect each other. Also with that solution KonsoleKiosk can be preconfigured and the config+profile will always be restored. @ngompa Is that an acceptable solution? If not then it would be good to know why and/or how it should be so I understand better what is missing and what changes are needed to konsole and/or kiosk. Thanks in advance and best regards. -- You are receiving this mail because: You are watching all bug changes.
