Sunday, April 28, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 402  / 3 Years ago, mon, november 8, 2021, 10:07:13

I am making a personal Desktop Environment and one of the programs I use is compiz. However, I need to execute all my components from a shell script, and every time I launch compiz it runs in its default mode. Is there any way to run Compiz from the terminal while telling it to use a CCSM profile? Thanks in advance.


More From » command-line

 Answers
0

No, you can't. So far, you can use ccsm with only one from the following four options:




  • -h (--help) - show the help message and exit


  • -p PLUGIN (--plugin=PLUGIN) -open ccsm to the page of PLUGIN. For example:



    ccsm -p expo

  • -c CATEGORY (--category=CATEGORY) - open ccsm directly to CATEGORY. For example:



    ccsm -c "Window Management"

  • -v (--version) -display the current version of ccsm and exit.




See man ccsm to check all of these.






Meanwhile, in your script, you can play with a command similar to the following:



(ccsm &) && sleep 2 && xdotool key Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Tab Return && sleep 2 && xdotool key Tab Tab Tab Tab Tab Tab Tab Return && sleep 2 && xdotool key slash p a t h slash t o slash y o u r underscore c c s m period p r o f i l e Return


You only need to adapt it to your system.


[#24843] Wednesday, November 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cretanol

Total Points: 320
Total Questions: 99
Total Answers: 115

Location: Australia
Member since Sat, May 27, 2023
1 Year ago
cretanol questions
Fri, Dec 2, 22, 13:30, 1 Year ago
Thu, Dec 8, 22, 03:00, 1 Year ago
Mon, Aug 1, 22, 03:21, 2 Years ago
Fri, Sep 24, 21, 16:28, 3 Years ago
Sun, Apr 24, 22, 06:37, 2 Years ago
;