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

Thread: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

  1. #1
    Join Date
    Dec 2014
    Location
    Atlanta, Georgia
    Posts
    70

    Default Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    I have always relied extensively on keyboard shortcuts, because I find them faster and more convenient than plowing through menus or chasing things down on the internet.

    I have searched quite a bit on how to do this in 13.2/KDE/Plasma and come up empty-handed.

    My preference would be to do it without also cluttering my desktop with icons, but if they have to be there, it is OK.

    And, as a more general question, where is the best place on this forum to ask questions about system/desktop/etc?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,161

    Default Re: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Quote Originally Posted by fohat View Post
    And, as a more general question, where is the best place on this forum to ask questions about system/desktop/etc?
    The best place isof course where you assume that fellow users with knowledge about your problem/question are frequently looking if they cn help.

    For KDE that is probably in most cases Applications. But a multimedia KDE application could be better handled in Multimedia.

    For system, there is the lot: Install/Boot/Login, Wireless, you name it. I assume that their titles (and the descriptions and sticky threads at their tops) give enough information to let you make an intelligent guess.
    Last edited by hcvv; 15-Jan-2015 at 08:51.
    Henk van Velden

  3. #3

    Default AW: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Quote Originally Posted by fohat View Post
    I have always relied extensively on keyboard shortcuts, because I find them faster and more convenient than plowing through menus or chasing things down on the internet.
    Have a look at "Configure Desktop"->Shortcuts and Gestures->Custom Shortcuts.

    You can run arbitrary commands via keyboard shortcuts, and even "remote-control" running ones via DBUS.

  4. #4
    Join Date
    Dec 2014
    Location
    Atlanta, Georgia
    Posts
    70

    Default Re: AW: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Quote Originally Posted by wolfi323 View Post

    Have a look at "Configure Desktop"->Shortcuts and Gestures->Custom Shortcuts.

    You can run arbitrary commands via keyboard shortcuts, and even "remote-control" running ones via DBUS.
    Thank you.

    I found the "Configure Desktop"->Shortcuts and Gestures->Custom Shortcuts" that you mentioned via Google, but I was not able to get it to accept a url.

    However, re-trying it for applications, it does seem to work for them, which is something. It is nice that a corresponding desktop icon is not required.

    Is there a way to make a shortcut to a url?

  5. #5

    Default Re: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Quote Originally Posted by fohat View Post
    However, re-trying it for applications, it does seem to work for them, which is something. It is nice that a corresponding desktop icon is not required.
    You can also assign shortcuts for applications that are listed in the K-menu via the menu editor (which actually created an entry in "Custom Shortcuts" then).

    Is there a way to make a shortcut to a url?
    Works fine here. If I enter an URL like http://kde.org into the "command/address" field, it is opened in Konqueror (my default web browser) when I press the shortcut.
    What happens for you instead? Is the URL not accepted, does pressing the shortcut have no effect, or what?

    At least you should be able to enter something like "firefox http://kde.org", does this work?

  6. #6
    Join Date
    Dec 2014
    Location
    Atlanta, Georgia
    Posts
    70

    Default Re: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Quote Originally Posted by wolfi323 View Post

    You can also assign shortcuts for applications that are listed in the K-menu via the menu editor (which actually created an entry in "Custom Shortcuts" then).

    Works fine here. If I enter an URL like http://kde.org into the "command/address" field, it is opened in Konqueror (my default web browser) when I press the shortcut.

    What happens for you instead? Is the URL not accepted, does pressing the shortcut have no effect, or what?

    At least you should be able to enter something like "firefox http://kde.org", does this work?
    I think that some of my trouble seems to be that things seem to be in unexpected places and have easily-confused names.

    Using the names I see in front of me, I went to the "Kickoff Application Launcher" and right-clicked on "Applications" to get "Application Editor" where I found the "KDE Menu Editor"

    There I was able to create a "new item" and entered the url into the "Command" box, which did not work. ("was not accepted" as you say)
    But with "firefox + url" in the box it worked properly. And I was able to assign a keyboard shortcut, which was what I really wanted.

    I appreciate your patience. This all seems for foreign to me, but it is because I have not figured out the mindset behind the structure of it, and I am only starting to learn the tricks.

    Since I am making a fresh start here, should I consider Plasma 5 as a way to get to the front of the curve to skip the learning and then re-learning?

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,748

    Default Re: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Plasma 5 is fine for testing but would not use it for a work a day machine. The basic ideas won't change too much any how. Learn 4.X and 5 will be easy.

  8. #8

    Default Re: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Quote Originally Posted by fohat View Post
    I think that some of my trouble seems to be that things seem to be in unexpected places and have easily-confused names.

    Using the names I see in front of me, I went to the "Kickoff Application Launcher" and right-clicked on "Applications" to get "Application Editor" where I found the "KDE Menu Editor"

    There I was able to create a "new item" and entered the url into the "Command" box, which did not work. ("was not accepted" as you say)
    But with "firefox + url" in the box it worked properly. And I was able to assign a keyboard shortcut, which was what I really wanted.
    But the menu editor is for creating/modifying menu entries in the "Kickoff Application Launcher".
    Not for creating keyboard shortcuts to open URLs, that's why the URL was not accepted as command (although you can of course create a new menu entry which runs a Webbrowser passing it an URL, as you did now).

    But you should be able to create a keyboard shortcut for opening an URL in the "Custom Shortcuts" settings modules, as mentioned earlier.
    Just create a new action and assign it a shortcut.

    Since I am making a fresh start here, should I consider Plasma 5 as a way to get to the front of the curve to skip the learning and then re-learning?
    Probably not. Plasma5 is still missing features (especially compared to KDE4).
    This part is already available, but has not changed at all anyway.

    PS: Have a look here:
    http://askubuntu.com/a/498816
    Last edited by wolfi323; 15-Jan-2015 at 11:40.

  9. #9
    Join Date
    Dec 2014
    Location
    Atlanta, Georgia
    Posts
    70

    Default Re: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Quote Originally Posted by wolfi323 View Post

    But you should be able to create a keyboard shortcut for opening an URL in the "Custom Shortcuts" settings modules, as mentioned earlier.
    This failed (or I failed) to create a working shortcut.

    Kickoff Application Launcher > Configure Desktop > Common Appearance and Behavior > Shortcuts and Gestures > Custom Shortcuts

    Yielded "Configure Input Actions Settings" which looks like a method to add new items to the menu.
    Am I supposed to create a new item in the menu, and then point the shortcut to it?

    I was under the impression that there was a way to do it directly, but I do not see a place to enter the arguments.

  10. #10

    Default Re: Keyboard shortcuts - how to create them for applications and urls in KDE/Plasma

    Quote Originally Posted by fohat View Post
    Yielded "Configure Input Actions Settings" which looks like a method to add new items to the menu.
    Am I supposed to create a new item in the menu, and then point the shortcut to it?
    No.

    You are supposed to click on "Edit" below the list which will open a popup menu. Select "New"->"Global Shortcut"->"Command/URL".
    Configure the keyboard combination that should trigger it on the "Trigger" tab, enter the URL into the "Command/URL" field on the "Action" tab.
    See also the screenshots in the link I posted.

    Then click "Apply" and the shortcut should work.

    Not exactly rocket science...

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
  •