Tuesday, July 5, 2022

gEdit via rdesktop

 gedit via rdesktop unable to change the preference, this is valid if installed in wsl2 on Windows 11 (that support WSLg).

In such cases we can change the gEdit settings via terminal using gsettings command. Following command will output all the available keys in all schemas.


for example,

gsettings list-recursively | grep 'org.gnome.gedit.preferences.editor'

  • schema:  org.gnome.gedit.preferences.editor
  • key      :  insert-spaces
  • value   :  true

It is useful to quickly set up gedit on newly installed machine by keeping settings in a bash shell scrip and execute it. Here is my custom gedit settings.