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

script to change kde's delayFocusInterval setting

Tags: None
(comma "," separated)
surpur
Registered Member
Posts
2
Karma
0
Hello,

This is my first post and I am not sure if this is the right category to place my quest either. Sorry if misplaced.

I am interested in changing a specific KDE setting by (xterm) command line execution, in this case the "Focus Delay" value of any KDE window.

I have found a post regarding the topic that I am interested in, yet it only touches one part of my quest: the post explains some of the qdbus command capabilities to either query or change configuration parameter values by command line. The post was only partially helpful to me, I want to change the value of property delayFocusInterval in particular, which is not discussed. So, after some more searches, I found that I can query all (?) KDE property values with the following command:
Code: Select all
qdbus org.kde.KWin /KWin supportInformation

The value of delayFocusInterval is prompted on the xterm, which is good for checking the current value as set. Does anyone know how I can change the value of this parameter with qdbus?

Thanks.
surpur
Registered Member
Posts
2
Karma
0
I created a script to extract all paths, methods and properties of my KDE system to a file, in the hopes to see something resembling property 'delayFocusInterval'. Anything that has a property tag, I also write out the value. I think I need to know where this parameter is located before I can set anything, no luck so far. The file content looks something like this:

Code: Select all
org.kde.ActivityManager org.kde.ActivityManager
  /ActivityManager
    method QString org.freedesktop.DBus.Introspectable.Introspect()
    method QString org.freedesktop.DBus.Peer.GetMachineId()
    method void org.freedesktop.DBus.Peer.Ping()
  /MainApplication
    method void org.kde.KApplication.quit()
    method void org.kde.KApplication.reparseConfiguration()
    method void org.kde.KApplication.updateUserTimestamp()
    method void org.kde.KApplication.updateUserTimestamp(int time)
    property readwrite bool org.qtproject.Qt.QApplication.autoSipEnabled = true
    property readwrite int org.qtproject.Qt.QApplication.cursorFlashTime = 1000
    property readwrite int org.qtproject.Qt.QApplication.doubleClickInterval = 400
    etc. etc.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]