[unknown] i dont find it to be.
How to Create a .desktop File For Your Application in Solus
[unknown] His tutorial is 1) create a file named XYZ. By definition that's not really complicated. It may be more typing than you'd like to do..but it's not complicated really
I have 2 non-repo apps now and I am sick of terminal cd then terminal output/XXX.
Let me understand. If desktop icons are enabled in Raven (mine are), then when Solus boots up there is a service that is going to look in /local/share/applications for a *.desktop file(s) to populate the desktop? And as long as there is a filepath to the .sh it is executable to desktop?
Is .sh 'always' the executable file or are there other names?
Earnest today and with two left feet go I......
To each his own. The more methods are available, the more likely someone finds something that works for them.
- Edited
Staudey And that is one of the greatest all time strengths of Linux, many ways to do any given task.
I prefer always learning the basic/hard way, because you never know when your GUI tool will be unavailable or broken, and you're left flat-footed. I got into an issue where I didn't even have 'vi' available last week. 'Cat', 'echo','sed', and redirection are your friend.
I right clicked both of my non-repo apps and put them on desktop. I rebooted, they are still there.
Yes, I have the ugly gear icon but I'm ok with it.
I need to write a desktop file to shoehorn the app into the menu? I can try that.
P.S.--neither of my executables were *.sh nor were there .sh files for my two apps.
I still didn't get naming of the icon. I got to dig thru the stacer and zygrib files to see if they furnished icons? And pick what I like?
I'm getting there, thanks for any clarity.
OK---followed the script above in Gedit.
`Zygrib
Type=Application
Version=8.0.1
Name=Zygrib
Comment=no stinkin tooltip
Path=/home/brent/Downloads/zyGrib-8.0.1
Exec=/root/zyGrib/bin
Icon=/home/brent/Downloads/zyGrib-8.0.1/data/img/zyGrib.icns
Terminal=false
Categories=weatherapp`
Saved where it told me to save.
Reboot.
No desktop icon.
No app menu prescence.
What did I do wrong? Take app out of root?
Giving up for a while.
Non-urgent. At your convenience, thank you.
Brent, do you have a category called weatherapp already? If you don't, that may take another file to setup (I don't know...just making assumption). If you put it as Utility or some other pre-defined category, and login/out of window manager, you should see it I would think.
[unknown] this tutorial asks you to navigate to a directory. Make a text file. Then copy and paste a template with comments on what exactly each do.
If this is to complicated for a beginner I'm not one to judge but we made need them to go back to the basics.
Chapter 1 - Word Processing and file structure
I'm sorry my tutorial is considered complicated. I don't speak English and use an online translator, so I was very brief.
- Edited
[Desktop Entry]
Name=Zygrib
Type=Application
Icon=/home/brent/Downloads/zyGrib-8.0.1/data/img/zyGrib.icns
Exec=/home/brent/Downloads/zyGrib-8.0.1/bin/zyGrib
Comment=no stinkin tooltip
Terminal=false
Keywords=Weather;
Categories=System;Settings;
save as <yourfilename>.desktop and place is in /usr/share/applications or ./local/share/applications (hope you knew that in case if you dont know)
Hope this will work for u. Exec is the executable file name with the path .
There is no Categories as Weather so it goes to Others . Check for categories.
https://developer.gnome.org/menu-spec/
https://developer.gnome.org/menu-spec/#additional-category-registry
So the weather goes as science/Education i guess. if you want to move it to Education then update with this
Categories=Education;
Category Directories are in ls /usr/share/desktop-directories
The main menus in cat ~/.config/menus/gnome-applications.menu