lite icon indicating copy to clipboard operation
lite copied to clipboard

Linux .desktop file / vector icon?

Open 6r1d opened this issue 5 years ago • 2 comments

Linux distros use .desktop files to add applications in a menu.

Default .ico file was a bit tiny for Ubuntu menu, so I made SVG version for it, no blur enabled. I'll attach icon file I'm using. lite.svg.zip

There is a .desktop file I am using:

[Desktop Entry]
Version=1.06
Type=Application
Terminal=false
Name=Lite
Exec=/home/grid/tools/lite/lite
GenericName=Lite text editor
Comment=A lightweight text editor written in Lua
Icon=/home/grid/tools/lite/lite.svg
Categories=programming
Name[en_US]=Lite

Would it be useful to have a script, which adds Lite in a menu by creating a Lite.desktop file in ~.local/share/applications?

6r1d avatar Jun 02 '20 11:06 6r1d

Question- When I do this, Lite then launches in it's build direqctory. How do you launch it via .desktop and open another code folder?

StarrKiss avatar Aug 16 '20 15:08 StarrKiss

@StarrKiss, please try something like this:

Path=/home/StarrKiss/lite

6r1d avatar Aug 17 '20 23:08 6r1d