Registered Member
|
hello there,
my first post and sorry if misplaced i have little problem with dota2 on linux, so i need to change visibility of bottom panel i want to create script that will switch visibility of bottom panel from 'always visible' to 'windows can cover' and backwards also i want enable/disable desktop effects with this script to get some performance boost i cant find any info about how to use kde api to change it. i know i can use gui to change values but it is annoying to enable/disable each time i need it to |
Administrator
|
With regards to Desktop Effects, you can use the following command to toggle the state of compositing.
To determine the current state of compositing, you can run this command, which will return "true" or "false" depending on the status of compositing.
As for changing the display preferences for the Plasma panel - all I can suggest is Plasma Javascript Scripting, however it cannot be invoked automatically - you will still have to press "Run" for it to be processed.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
oke, compositing is quite simple but im concerned about this part
so basicly, if i run command
|
Administrator
|
Yes - it should load your script for you, but you will need to select Run / Execute for it to be actually performed.
If you wanted, you could probably use X automation tools to carry that part out for you if you wished.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Evergrowing, Google [Bot]