This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE Session Manager Config

Tags: kde, session, manager, config kde, session, manager, config kde, session, manager, config
(comma "," separated)
akrock
Registered Member
Posts
1
Karma
0

KDE Session Manager Config

Fri Nov 27, 2015 11:06 am
Hello everybody,

i want to write a script which changes the settings at the KDE Session Manager, so that a selected application will be excluded of the restoring at the log in.

I cant find the path of the config file.

Can someone help me out?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: KDE Session Manager Config

Fri Nov 27, 2015 11:55 am
folder is ~/.kde[4]/share/config, file is kmserverrc, section is [general], line is excludeApps=

in 5 the folder will be ~/.config


OpenSuse Leap 42.1 x64, Plasma 5.x

wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: KDE Session Manager Config

Fri Nov 27, 2015 10:42 pm
You can also use this to read the setting:
Code: Select all
kreadconfig5 --file ksmserverrc --group General --key excludeApps

and this to write it:
Code: Select all
kwriteconfig5 --file ksmserverrc --group General --key excludeApps _value_

(where _value_ is the actual value you want to set of course)

For KDE4, replace kreadconfig5 with kreadconfig, and kwriteconfig5 with kwriteconfig...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]