OpenSUSE Linux Rants

OpenSUSE Linux Tips, tricks, how-tos, opinions, and news

My Resume  -  My LinkedIn Profile - twitter: @scottmmorris

December 8, 2009

openSUSE Linux: Shortcut to Software Management

by @ 12:42 pm. Filed under How-To, SUSE Tips & Tricks

Today, we’re gonna shoot for another one of those dumb little “cool openSUSE Linux tips” that allow one to get *DIRECTLY* to what it is that one needs.

As you may or may not know, openSUSE’s YaST tool has a number of modules. Well, when you open YaST, and you click on something like “Software Management”, it really just runs another command in the background, as many gui-based apps do. When you specifically click on that exact option in YaST, the command “yast2 sw_single &” is executed.

However, this must be executed as root.

Sure would be nice to put that in our quick launch bar so we can skip having to open two windows when we could just go straight to the one we want because we already know the command required to summon it.

Except that we are not logged in as privileged users. Hhmm. Is there a solution?

Apologies for the anti-climactic introduction because logic screams that if there was not a solution, I wouldn’t be writing this entry. Sorry, best I could muster this morning.

The solution is that you create a shortcut button in the panel of whatever desktop environment/windows manager you use. Add your favorite icon that means “Manage software in YaST.” As the commandline, you put in the following:

xdg-su -c "/sbin/yast2 sw_single"

 

Click on your shortcut button. It should prompt for the root password. Upon entering the correct password, direct access to the Software Management module is granted.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Diigo
  • email
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • Twitter
  • Yahoo! Buzz
If you enjoyed this post, make sure you subscribe to my RSS feed!

4 Responses to “openSUSE Linux: Shortcut to Software Management”

  1. Ben Says:

    You can actually list all the modules you want via:

    yast2 –list

    Also, aside of xdg-su -c there is:
    kdesu and gnomesu

    yast2 –help can show you how to switch between GTK and QT Versions of YaST and much more.. :o )

  2. Scott Morris Says:

    Ben,
    Right on, man. You’re absolutely right. Thanks for the additional info. Thanks for stopping by!

  3. Novell News Summary – Part I: New OpenSUSE Board, KDE 4.4, and Site Changes | Boycott Novell Says:

    [...] Morris, who wrote for Linux Journal last week, is still writing about OpenSUSE but not as often as he used [...]

  4. munchkin Says:

    I don’t know.. but I’ve got it under – KDE Menu / System / Configuration / Install software (11.2)

Leave a Reply

OpenSUSE Linux Rants
Official OpenSUSE Linux Site

internal links:

categories:

SUSE Resources

search blog:

rss feeds

news & syndication

archives:

March 2010
S M T W T F S
« Feb    
 123456
78910111213
14151617181920
21222324252627
28293031  

latest tweets:

  • Anyone have a 350Z/370Z that I can drive around for a few hours? 1 day ago
  • The skunk thunk the sunk sump pump in the stump stunk. 1 day ago
  • Five Tools for Measuring and Improving Linux System Performance | Linux.com http://tinyurl.com/yd8wglz 1 week ago
  • Beginner's Guide to Nmap | Linux.com http://ow.ly/1pEKDr 1 week ago
  • The Church History Symposium on Fri was spectacular. Vaughn J. Featherstone and Pres. Kimball's son were highlights for me. Fully loved it! 1 week ago
  • A magician was driving down the road... then he turned into a drive way. 2 weeks ago
  • No cavities for me. Yay! :) 2 weeks ago
  • Just finishing getting our proprietary Windows software humming along on wine. At 1:00 AM. 2 weeks ago
  • More updates...

51 queries. 0.650 seconds