Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-06-2013, 02:39 PM
|
#1
|
LQ Newbie
Registered: Dec 2012
Posts: 9
Rep: 
|
Create desktop shortcut for alsamixer?
Hellos there,
I am trying to create a desktop shortcut for alsamixer so I don't have to open konsole and type alsamixer every time.
I've tried:
1. right-clicking on the desktop > Create new > Link to application - no luck
2. ln -s /usr/bin/alsamixer /root/Desktop/alsamixer - no luck
The problem is that even when I go to /usr/bin and click on 'alsamixer' notning happens. The only way to start it is to type 'alsamixer in the konsole.
Please help (Slax 12, KDE). Thanks in advance
|
|
|
10-06-2013, 02:57 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
You have to start konsole and tell it to run alsamixer in it:
Code:
konsole -e alsamixer
If you create a shortcut to that command it will work.
|
|
1 members found this post helpful.
|
10-06-2013, 03:15 PM
|
#3
|
LQ Newbie
Registered: Dec 2012
Posts: 9
Original Poster
Rep: 
|
Thank you! Could you just please explain how to create a shortcut for a command? I didn't even know you could do that
|
|
|
10-06-2013, 03:49 PM
|
#4
|
Member
Registered: Mar 2009
Location: Gold Coast, Queensland, Australia
Distribution: Slackware
Posts: 97
Rep:
|
Take a look at some of the DOT desktop files in /usr/share/applications/ directory. Copy a simple one to your home and modify it until you are satisfied or make a file and brew your own. Change the Exec= to whatever command works for you, (TobiSGD's example should work but I would add the full path). Change the other entries to suit yourself, Icon= and so on. Change the name of it to "alsamixer" (or whatever you want; the .desktop extension is not required). When done, drag it to the desktop.
Have fun with that!
Last edited by 01micko; 10-06-2013 at 03:51 PM.
|
|
|
10-06-2013, 08:38 PM
|
#5
|
Senior Member
Registered: Dec 2008
Posts: 1,201
|
Quote:
Originally Posted by wsurfer0
...
1. right-clicking on the desktop > Create new > Link to application - no luck
...
|
... > Link to application -> Advanced -> Run in terminal
|
|
|
10-07-2013, 01:23 AM
|
#6
|
LQ Newbie
Registered: Dec 2012
Posts: 9
Original Poster
Rep: 
|
Thanks guanx, that works perfectly! (Just in case somebody needs this in the future, the steps are:
right-click on desktop > Create new > Link to application > write name (Alsamixer) in General tab > open Application tab, write 'alsamixer' in Command field > click on Advanced options > check Run in terminal
@ 01micko- thanks for the advice, will give it a shot when I catch a moment
|
|
|
All times are GMT -5. The time now is 09:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|