change_default_text_editor_in_xubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

change_default_text_editor_in_xubuntu [07.09.2012 12:00] – created Pascal Suterchange_default_text_editor_in_xubuntu [07.09.2012 12:03] (current) Pascal Suter
Line 7: Line 7:
  
 so in order to switch from leafpad to gedit, simply <code>apt-get install gedit</code> and then edit the above file <code>sudo gedit /usr/share/xubuntu/applications/defaults.list</code> and replace all occurences of "leafpad" with "gedit" and you are done.  so in order to switch from leafpad to gedit, simply <code>apt-get install gedit</code> and then edit the above file <code>sudo gedit /usr/share/xubuntu/applications/defaults.list</code> and replace all occurences of "leafpad" with "gedit" and you are done. 
 +
 +===== change the default text editor on a per-user-basis =====
 +now since choosing the text editor is a religious thing among linux users, you might want to do this change for your own user only. if that is the case, copy all lines containing leafpad from the <code>/usr/share/xubuntu/applications/defaults.list</code> file to a file called <code>.local/share/applications/mimeapps.list</code> and change those lines to your liking
 +
  • change_default_text_editor_in_xubuntu.txt
  • Last modified: 07.09.2012 12:03
  • by Pascal Suter