You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Whisker Menu Keyboard Shortcut

Author (Read 12656 times)

0 Members and 1 Guest are viewing this topic.

Re: Whisker Menu Keyboard Shortcut
« Reply #12 on: November 30, 2014, 08:23:42 PM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 26
  • Linux Lite Enthusiast
    • View Profile
Good points. So how about Super+Space? :)
 

Re: Whisker Menu Keyboard Shortcut
« Reply #11 on: November 30, 2014, 08:09:02 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
The difference here seems to be how you hold the Super key. If I do Super + H both quickly, which is how I usually do key combos (quickly) then I get the Menu and Thunar. If like mentioned I hold Super key slightly longer then it's not an issue. Where I can see there being an issue is with 1000's of people using the OS, people will have different 'styles' of pressing key combos. For this reason, I'm reluctant to add it as a feature, as tempting as it is :) There are all sorts of really good suggestions that can be added as a feature to an OS, like this one by mlsmith, but we must weigh up a number of considerations first.
 

Re: Whisker Menu Keyboard Shortcut
« Reply #10 on: November 30, 2014, 03:26:18 PM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 26
  • Linux Lite Enthusiast
    • View Profile
That works too.  :)
 

Re: Whisker Menu Keyboard Shortcut
« Reply #9 on: November 30, 2014, 03:22:57 PM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
What's nice about it is that it doubles as an application launcher using just the keyboard. In addition, you could set up more search actions in the Whisker properties. One example could be to search the forums using the following command:

Code: [Select]
firefox -new-tab https://duckduckgo.com/?q="site:https://linuxliteos.com/forums %u"
I set that Search Action to !ll (lowercase L's for Linux Lite). So now when I press Super key the menu pops up and I begin typing !ll and then my search query. Firefox pops up (or a new tab if already open) and searches only the LL forums using DDG. This makes finding what I'm looking for a breeze.

This gave me an idea. :)
 It would be nice to add a keyboard shortcut that is going to run this script.
It will open a dialog and then you enter a search term.
If you click on Cancel or if you don't enter anything and click OK it stops.

Code: [Select]
#!/bin/bash
ENTRY=$(zenity --entry --text "Search DuckDuckGo" --title="Search")
if [[ "${PIPESTATUS[0]}" -ne "0" || -z $(echo $ENTRY) ]]; then
exit 0
fi

 sh -c 'firefox -new-tab https://duckduckgo.com/?q='"$(echo -n $ENTRY)"''
 

Re: Whisker Menu Keyboard Shortcut
« Reply #8 on: November 30, 2014, 09:29:45 AM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 26
  • Linux Lite Enthusiast
    • View Profile
What's nice about it is that it doubles as an application launcher using just the keyboard. In addition, you could set up more search actions in the Whisker properties. One example could be to search the forums using the following command:

Code: [Select]
firefox -new-tab https://duckduckgo.com/?q="site:https://linuxliteos.com/forums %u"
I set that Search Action to !ll (lowercase L's for Linux Lite). So now when I press Super key the menu pops up and I begin typing !ll and then my search query. Firefox pops up (or a new tab if already open) and searches only the LL forums using DDG. This makes finding what I'm looking for a breeze.
« Last Edit: November 30, 2014, 09:32:03 AM by mlsmith »
 

Re: Whisker Menu Keyboard Shortcut
« Reply #7 on: November 30, 2014, 08:47:52 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
While easy to add it on my own, I'd recommend adding a default Whisker Menu shortcut in the distro.

For others interested, I went to Keyboard settings and in the Applications Shortcuts tab I set the Super key to the command xfce4-popup-whiskermenu. Now I can quickly press Super and begin typing an application name.

The Super key alone shouldn't interfere with the combos including the Super key. It's only activated if you press and release immediately. I tested it just now. If I depress the Super key immediately I get the Whisker menu. If I keep it held down and press the h button then Thunar pops up but not the menu.

Edit: More testing...if I hold down the Super key longer than a second the Whisker menu doesn't activate even if I release the key. This tells me that after a second or so, the window manager waits for a combination rather than the single button shortcut. Kind of nice I think.

Not a bad idea.  Nice to have shortcut to pop-up Whisker Menu.

Just tested and confirmed this works well and does not interfere with other shortcuts.  Behavior is exactly as described above.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Whisker Menu Keyboard Shortcut
« Reply #6 on: November 30, 2014, 12:11:01 AM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 26
  • Linux Lite Enthusiast
    • View Profile
You can add the whisker menu to your panel.

I know, I just like the keyboard shortcut too.
 

Re: Whisker Menu Keyboard Shortcut
« Reply #5 on: November 29, 2014, 11:12:31 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
You can add the whisker menu to your panel.

right-click panel -> panel -> add new item  .

Scroll down alot.

Sheng-Chieh

The whiskermenu comes by default in LL via our own fork, there's no need to add it.
 

Re: Whisker Menu Keyboard Shortcut
« Reply #4 on: November 29, 2014, 10:43:14 PM »
 

shengchieh

  • Forum Regular
  • ***
  • 155
    Posts
  • Reputation: 46
  • Linux Lite Member
    • View Profile
    • Tux's Links
You can add the whisker menu to your panel.

right-click panel -> panel -> add new item  .

Scroll down alot.

Sheng-Chieh
 

Re: Whisker Menu Keyboard Shortcut
« Reply #3 on: November 29, 2014, 08:42:33 PM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 26
  • Linux Lite Enthusiast
    • View Profile
The Super key alone shouldn't interfere with the combos including the Super key. It's only activated if you press and release immediately. I tested it just now. If I depress the Super key immediately I get the Whisker menu. If I keep it held down and press the h button then Thunar pops up but not the menu.

Edit: More testing...if I hold down the Super key longer than a second the Whisker menu doesn't activate even if I release the key. This tells me that after a second or so, the window manager waits for a combination rather than the single button shortcut. Kind of nice I think.
« Last Edit: November 29, 2014, 08:47:03 PM by mlsmith »
 

Re: Whisker Menu Keyboard Shortcut
« Reply #2 on: November 29, 2014, 08:33:17 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
We already have a few commands tied to the Super key, adding this will cause both commands to run at the same time. See Keyboard shortcuts on the first page in the Help Manual for more info.
 

Whisker Menu Keyboard Shortcut
« Reply #1 on: November 29, 2014, 08:01:06 PM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 26
  • Linux Lite Enthusiast
    • View Profile
While easy to add it on my own, I'd recommend adding a default Whisker Menu shortcut in the distro.

For others interested, I went to Keyboard settings and in the Applications Shortcuts tab I set the Super key to the command xfce4-popup-whiskermenu. Now I can quickly press Super and begin typing an application name.
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section