Command line options to change gedit preferences

Asked by Marco Lackovic

Are there command line options to change gedit preferences?

For example something like this:

gedit --set-bracket_matching=1 --set-auto_indent=1

Question information

English Edit question
gedit Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan (jancborchardt-deactivatedaccount) said :

I don’t know of any flags but if you want command line options to change program preferences try gconf-editor. The specific commands for your example would be:
gconftool-2 --set /apps/gedit-2/preferences/editor/auto_indent/auto_indent
 --type bool true
gconftool-2 --set /apps/gedit-2/preferences/editor/bracket_matching/bracket_matching --type bool false

They are persistent and can be changed easily by just exchanging false with true at the end.

Can you help with this problem?

Provide an answer of your own, or ask Marco Lackovic for more information if necessary.

To post a message you must log in.