kamhix / todoist-linux

The linux desktop application for todoist
http://todoistlinux.hakimouake.com
184 stars 17 forks source link

A way to start it other than in terminal? #32

Open NinjaTurtle007 opened 5 years ago

NinjaTurtle007 commented 5 years ago

I extracted the tar.gz made the todoist file executable and run it in the terminal with ./todoist

but is there a way to start it from the gnome overview like any other app?

lucasduete commented 5 years ago

You need create a .application file, i will suppose that you install location is /opt/todoist-client

Follow this steps:

cd /opt/todoist-client
wget -O logo.png https://avatars.slack-edge.com/2016-03-21/28174051188_215180e097a3dd513d6d_512.png
sudo nano /usr/share/applications/todoist.desktop

and put this:

[Desktop Entry]
Version=1.0
Name=Todoist
Comment=Todoist Client
Exec=/opt/todoist-client/todoist
Path=/opt/todoist-client/
Icon=/opt/todoist-client/logo.png
Terminal=false
Type=Application
Categories=Utility;

To use the desktop file from the Dash you will need create this file in /usr/share/applications for any user to be able to use it (you will need administrator permissions) or to ~/.local/share/applications (where ~ means your user directory) if you just want it to be available for one user.

Maybe you need reload your DE to have the icon appear