Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux .desktop file / vector icon? #134

Open
6r1d opened this issue Jun 2, 2020 · 2 comments
Open

Linux .desktop file / vector icon? #134

6r1d opened this issue Jun 2, 2020 · 2 comments

Comments

@6r1d
Copy link
Contributor

6r1d commented Jun 2, 2020

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?

@StarrKiss
Copy link

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?

@6r1d
Copy link
Contributor Author

6r1d commented Aug 17, 2020

@StarrKiss, please try something like this:

Path=/home/StarrKiss/lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants