Hi to everyone,
I wonder if it is possible to create a new section with keyboard shortcuts (like desktop,sound etc) from a python skript (or any skript).
Someone know how to do that ?
I would also like to understand how to use the schema mechanism mint is using for configuration from my own skripts or programs. Maybe anyone post a link? Or even give some hints?
thank you for reading and even more for answering.
Howto edit mateconf.xml via skript
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
Howto edit mateconf.xml via skript
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Howto edit mateconf.xml via skript
You mean add some extra lines to any file? If so, you only need a command:
You can use the same command to add more lines. If you wish a python script, search a way to run commands from python (there is a way, I think).
Code: Select all
sudo echo "line to add" >> /path/to/file
Re: Howto edit mateconf.xml via skript
Hi thx for your answer, but I don't won't to know how I edit a file via commandline. I wan't to know how mateconf works. I see in /home/user/.mateconf a lot of %mateconf.xml . How is the syntax for those and by what are they read?