I have a script that uses gedit to open text file in Ubuntu. That script does not work under Lubuntu. What command is required to execute the default text editor?
I want to make the script usable under Ubuntu and Lubuntu.
|
I have a script that uses gedit to open text file in Ubuntu. That script does not work under Lubuntu. What command is required to execute the default text editor? I want to make the script usable under Ubuntu and Lubuntu. |
|||||
|
|
You might get somewhere with Just to supplement Dennis' answer, with respect to Lubuntu 12.10, if one runs
And, as Dennis suggested, |
|||||
|
|
In addition to Dennis Kaarsemaker's answer, you could try using Cf. the update-alternatives manpage. |
|||||||||
|
|
Or you can install gedit
Then:
|
|||