Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is kind of silly and petty when I think about it, but I am having trouble making a desktop link file for Azureus. The program starts by a shell script. I could easily make a link file to the desktop, but I wanted to use the .png icon file. Like I said, kind of silly.
After making the link, I renamed it to 'azureus.desktop' and was then allowed to change the icon. This put a [desktop configuration] (or something like that) into the .desktop file that identified the icon's location. The problem is that the original shell script also got this modification, making it inoperable. No matter what I change the desktop file to, the original script gets changed with it.
Any ideas, solutions, workarounds, etc. would be appreciated. Thanks.
I get that the destop file is not a shell script. That part of your post is clear. What I want to know is how do I make a .desktop file run a shell script that is already in existence.
Depending on the software installed in your system, this will return a number of .desktop files you can open in any text editor for reference in creating yours. For example, I have the following on my system:
Select New Item from the toolbar, or Click File > New Item
A box will come up that will ask you to name the item. Name it however you want and click ok.
The item name will appear at the top right of the menu editor. In the command box, select the folder to the right and you can then browse to the script you want. This is the path. When you have what you want, click the white box to the right of the description, and it will let you select an icon, or you can select other and browse to an icon you already have in your /home directory. Save it and exit.
Click on the K again, and you will find your new item! Drag it to the desktop and select copy. All done!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.