LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux
User Name
Password
antiX / MX Linux This forum is for the discussion of antiX and MX Linux.

Notices


Reply
  Search this Thread
Old 04-30-2020, 04:34 AM   #1
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 86

Rep: Reputation: Disabled
Making a starter on the desktop


I want to start jstock from the desktop. At the moment, I ve to start the prog from the folder jstock with jstock.sh. How can I make a starter which starts the prog. from the desktop with clicking an icon, making a file like jstock.desktop?

Last edited by saturn1955; 04-30-2020 at 04:36 AM.
 
Old 04-30-2020, 05:08 AM   #2
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 86

Original Poster
Rep: Reputation: Disabled
I got it runnung with creating the file jstock.desktop

Code:
[Desktop Entry]
Name=Jstock
Exec=/home/madmax/jstock/jstock.sh
Icon=/home/madmax/jstock/jstock-icon.png
Terminal=false
Type=Application
which I saved in the folder /usr/share/applications.

from the roxpanel I drew it to the desktop. I only would like to know how I can make my own symbols.
 
Old 04-30-2020, 07:59 AM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,678

Rep: Reputation: Disabled
I'd say ~/.local/share/applications is a better place for something started from your home directory.
 
Old 04-30-2020, 02:09 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by saturn1955 View Post
I only would like to know how I can make my own symbols.
You mean the icon?
Referenced as "Icon=..." in that .desktop file?
Are you asking how to make icons?
 
Old 06-26-2020, 04:23 AM   #5
saturn1955
Member
 
Registered: Nov 2019
Location: Berlin
Distribution: AntiX 19
Posts: 86

Original Poster
Rep: Reputation: Disabled
I asked how to make a shortcut on the desktop for progs, that aren t in local/share/applications. But I could solve that prob..
 
Old 06-26-2020, 04:36 AM   #6
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,678

Rep: Reputation: Disabled
Quote:
Originally Posted by saturn1955 View Post
I asked how to make a shortcut on the desktop for progs, that aren t in local/share/applications.
You misunderstood. To put it simply:

~/.local/share/applications/*.desktop are .desktop files for apps in your home directory such as /home/madmax/jstock/jstock.sh.

/usr/share/applications/*.desktop are .desktop files for apps in default system locations such as /usr/bin/firefox.

/usr/local/share/applications/*.desktop are .desktop files for apps installed to /usr/local/bin. Local system administrators may also put there custom .desktop files that override those in /usr/share/applications.

More correctly, those are the default values for $XDG_DATA_HOME and $XDG_DATA_DIRS. See the XDG Base Directory Specification.

Last edited by shruggy; 06-26-2020 at 05:00 AM.
 
Old 06-27-2020, 02:22 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by saturn1955 View Post
I asked how to make a shortcut on the desktop for progs, that aren t in local/share/applications.
Likely your desktop already has a GUI for that: right-click empty part of desktop => Create new Launcher (or some such)
If not, just copy any .desktop file to your desktop, open it in a text editor, and make the desired changes.
Quote:
Originally Posted by saturn1955 View Post
But I could solve that prob..
That's the spirit!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gdesklet Iconbar : creating new starter in starter bar impossible, permission denied cloudmilk Linux - Desktop 1 03-09-2010 12:54 PM
Linux Newbie starter guide deepsix Linux - Software 4 08-21-2003 06:19 PM
Can a thread starter close the thread? ppuru LQ Suggestions & Feedback 3 07-26-2003 06:51 PM
Total Linux Starter Need Help! millenco Linux - Newbie 2 03-31-2003 12:45 AM
Allow thread starter to indicate problem solved Griffon26 LQ Suggestions & Feedback 3 05-16-2002 08:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > antiX / MX Linux

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration