Hi,
CODE: SELECT ALL
#leafpad --codeset=zh_CN-utf8 filename
Above command can show the file correctly
And how to write the codeset option to ~/.config/leafpad/leafpadrc or other configuration file
That I do not have to input the codeset option everytime.
Thanks
How to configure codeset option for leafpad?
-
- Posts: 1
- Joined: Wed Aug 07, 2019 3:26 am
Re: How to configure codeset option for leafpad?
looks to me like leafpadrc is not meant to be edited by humans.
In other words, no, you can't.
One workaround would be to do copy /usr/share/applications/leafpad.desktop to ~/.local/share/applications and change the Exec line accordingly.
In other words, no, you can't.
One workaround would be to do copy /usr/share/applications/leafpad.desktop to ~/.local/share/applications and change the Exec line accordingly.