Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How to make shortcuts for YaST and Sysconfig Editor?

  1. #1
    Join Date
    Aug 2008
    Location
    Republic of Lakotah
    Posts
    84

    Question How to make shortcuts for YaST and Sysconfig Editor?

    Though
    Code:
    yast
    and
    Code:
    /etc/sysconfig editor
    work when ran from command line, shortcuts with these commands don't work. I make shortcuts in Configure Desktop --> Shortcuts and Gestures --> Custom Shortcuts.

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    > work when ran from command line, shortcuts with these commands don't
    > work.


    what do you mean when you write "shortcut"?

    are you wanting to place an icon on your desktop (or panel) to launch a
    application (like YaST)?

    if so, please state the operating systems and version you are using as
    well as the desktop environment and version (since each has a different
    method of achieving what you want)..

    --
    DD
    openSUSE®, the "German Engineered Automobiles" of operating systems!

  3. #3
    Join Date
    Aug 2008
    Location
    Republic of Lakotah
    Posts
    84

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    It's openSUSE 12.1 AMD64 and KDE 4.7.2.
    By "shortcut" I mean a key combination. For instance, I'd like to use Meta+Y shortcut to run YaST.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,136

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    When I run /etc/sysconfig editor from the command line:
    Code:
    henk@boven:~> /etc/sysconfig editor
    bash: /etc/sysconfig: is een map
    henk@boven:~>
    Now you say it "works". Of course it does. But I doubt that this working is the working you are after.

    And when I look in my Kmenu (right click on the green ball and then Configure programs and then look for YaST) the command that is executed when one starts YaST via the Kmenu is:
    Code:
    /usr/bin/xdg-su -c /sbin/yast2
    It may be cleverer to use the same.
    Henk van Velden

  5. #5
    Join Date
    Aug 2008
    Location
    Republic of Lakotah
    Posts
    84

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    Thanks for the valuable Kmenu tip, Hank. I didn't find Sysconfig Editor in "Applications" section of Kmenu, but I found it using "Search" and made a desktop shortcut to it. Then I copied the command from this shortcut to my own. Here it is:
    Code:
    xdg-su -c "/sbin/yast2 sysconfig"

  6. #6
    Join Date
    Mar 2009
    Location
    sri mayapur, west bengal, india
    Posts
    958

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    On Thu, 24 Nov 2011 19:26:02 +0530, hcvv <hcvv@no-mx.forums.opensuse.org>
    wrote:

    >
    > When I run- /etc/sysconfig editor -from the command line:
    >
    > Code:
    > --------------------
    > henk@boven:~> /etc/sysconfig editor
    > bash: /etc/sysconfig: is een map
    > henk@boven:~>
    > --------------------
    >
    > Now you say it "works". Of course it does. But I doubt that this
    > working is the working you are after.
    >
    > And when I look in my Kmenu (right click on the green ball and then
    > Configure programs and then look for YaST) the command that is executed
    > when one starts YaST via the Kmenu is:
    >
    > Code:
    > --------------------
    > /usr/bin/xdg-su -c /sbin/yast2
    > --------------------
    >
    > It may be cleverer to use the same.
    >


    you can find shortcuts to most installed programs, including yast & co,
    under /usr/share/applications. yast has it's own subfolder, as have kde4
    programs. these directories contain desktop shortcuts that can be copied
    to your desktop (or whichever folder you chose). most yast shortcuts may
    need to have "kdesu " prefixed to the application they call, in order to
    start with system admin. (root) privileges.

    --
    phani.

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,136

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    Quote Originally Posted by Wayra View Post
    Thanks for the valuable Kmenu tip, Hank. I didn't find Sysconfig Editor in "Applications" section of Kmenu, but I found it using "Search" and made a desktop shortcut to it. Then I copied the command from this shortcut to my own. Here it is:
    Code:
    xdg-su -c "/sbin/yast2 sysconfig"
    Yes, because this onee of the functions of yast. There are many more. See:
    Code:
    man yast
    and you can make "shortcuts" to any one of them. I rahter stick to simply clicking on the YaST icon in my panel.
    Henk van Velden

  8. #8
    Join Date
    Aug 2008
    Location
    Republic of Lakotah
    Posts
    84

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    Thanks phani. It helps very much.

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    On 11/24/2011 12:16 PM, Wayra wrote:
    > By "shortcut" I mean a key combination. For instance, I'd like to use
    > Meta+Y shortcut to run YaST.


    yet all the answers you got while i was away was for how to make an icon
    to click on!! and you seem happy with the answers!!

    color me confused. very!!!

    --
    DD

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,136

    Default Re: How to make shortcuts for YaST and Sysconfig Editor?

    Quote Originally Posted by DenverD View Post
    On 11/24/2011 12:16 PM, Wayra wrote:
    > By "shortcut" I mean a key combination. For instance, I'd like to use
    > Meta+Y shortcut to run YaST.


    yet all the answers you got while i was away was for how to make an icon
    to click on!! and you seem happy with the answers!!

    color me confused. very!!!

    --
    DD
    My assumption is you miss something crucial. What his is about is what command to use to start the applications wanted.
    It does not matter if this command is then condifured in some menu-item or icon, or coupled to a key-combination. The OP likes key-combinations and knows very well how to configure them. But he lacked the knowledge of which commands to use. What we basicaly did is show where he can find the commands as used in the menu-items/icons. He can now happily copy them for his own usage in the key-combinations.
    Henk van Velden

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •