Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-02-01 08:55:23

adamovic
Member
Registered: 2017-02-01
Posts: 13

shortcut for minimizing all windows not working

In "Window Manager" app I have Keyboard action "Show desktop" configured to Super+M (I reconfigured it), but it's not working to me, I want to minimize all windows. Default for that action is Super+D but it was not working as well.

Why is that not working for me? I want to minimize my windows. Shortcut for lock screen is working for me.

Offline

#2 2017-02-01 14:22:42

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: shortcut for minimizing all windows not working

I want to minimize all windows

Does this mean that some are and some aren't minimized?

Try using a shortcut that doesn't use the Super key to see if that works. The Super key is funky in Xfce and I'm not sure how Manjaro deals with that.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2017-02-01 15:07:54

adamovic
Member
Registered: 2017-02-01
Posts: 13

Re: shortcut for minimizing all windows not working

It works if i configure it differently without super key, but I got used to certain shorcuts. I have in "application shortcuts" Super-1 etc. configured and it is working properly.

Do you have an idea why is it not working properly, Super key?

Anyway, I did file a bug: https://bugzilla.xfce.org/show_bug.cgi?id=13325
since this feature is important to many users who got used to certain shortcuts.

Offline

#4 2017-02-01 15:22:02

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: shortcut for minimizing all windows not working

If Super+1 works, then Super+M should as well. Can you post back all of your keyboard shortcuts?

xfconf-query -c xfce4-keyboard-shortcuts -lv

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2017-02-02 23:48:27

rfet35
Member
Registered: 2017-01-23
Posts: 21

Re: shortcut for minimizing all windows not working

Apart from sending a keystroke is there also a terminal command to invoke "show desktop"?

Offline

#6 2017-02-03 00:04:48

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: shortcut for minimizing all windows not working

Had a look at Manjaro, and it looks like they assign the super key only to open the menu. This will negate any other super key combinations from working, because the shortcut is processed on key press. There are a few bug reports about this, including some patches, but nothing has been made official.

Apart from sending a keystroke is there also a terminal command to invoke "show desktop"?

wmctrl -k on

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2017-02-03 10:25:22

adamovic
Member
Registered: 2017-02-01
Posts: 13

Re: shortcut for minimizing all windows not working

I have a super-1 and super-l (for locking) working. Basically, users who came from various other installs (Ubuntu, Gnome 3, Windows, whatever) they want keyboard shortcuts they used to use, so it has to work in XFCE as well. So this seems a problem on my machine config or XFCE bug.

bash: wmctrl: command not found
[mladen@mladen-pc ~]$ xfce4-wmctl
bash: xfce4-wmctl: command not found
[mladen@mladen-pc ~]$ locate wmctrl
[mladen@mladen-pc ~]$ 

Configured with super:

[mladen@mladen-pc ~]$ xfconf-query -c xfce4-keyboard-shortcuts -lv | grep "Super"
/commands/custom/<Super>1                  /hd/Documents/displays_sitting.sh
/commands/custom/<Super>2                  /hd/Documents/displays_standing.sh
/commands/custom/<Super>3                  /hd/Documents/displays_watching.sh
/commands/custom/<Super>l                  xflock4
/commands/custom/Super_L                   xfce4-popup-whiskermenu
/commands/custom/Super_R                   xfce4-popup-whiskermenu
/commands/default/<Super>p                 xfce4-display-settings --minimal
/xfwm4/custom/<Super>m                     show_desktop_key
/xfwm4/custom/<Super>Tab                   switch_window_key
/xfwm4/default/<Super>Tab                  switch_window_key

All config:

[mladen@mladen-pc ~]$ xfconf-query -c xfce4-keyboard-shortcuts -lv 
/commands/custom/<Alt>F2                   xfce4-appfinder --collapsed
/commands/custom/<Alt>F2/startup-notify    true
/commands/custom/<Alt>F3/startup-notify    true
/commands/custom/override                  true
/commands/custom/<Primary><Alt>f           exo-open --launch FileManager
/commands/custom/<Primary><Alt>m           xfce4-taskmanager
/commands/custom/<Primary><Alt>p           xfce4-display-settings --minimal
/commands/custom/<Primary><Alt>t           xfce4-terminal --drop-down
/commands/custom/<Primary><Alt>x           xkill
/commands/custom/<Primary>Escape           xfdesktop --menu
/commands/custom/Print                     xfce4-screenshooter -f
/commands/custom/<Super>1                  /hd/Documents/displays_sitting.sh
/commands/custom/<Super>2                  /hd/Documents/displays_standing.sh
/commands/custom/<Super>3                  /hd/Documents/displays_watching.sh
/commands/custom/<Super>l                  xflock4
/commands/custom/Super_L                   xfce4-popup-whiskermenu
/commands/custom/Super_R                   xfce4-popup-whiskermenu
/commands/custom/XF86Calculator            galculator
/commands/custom/XF86Mail                  exo-open --launch MailReader
/commands/custom/XF86WWW                   exo-open --launch WebBrowser
/commands/default/<Alt>F1                  xfce4-popup-applicationsmenu
/commands/default/<Alt>F2                  xfce4-appfinder --collapsed
/commands/default/<Alt>F2/startup-notify   true
/commands/default/<Alt>F3                  xfce4-appfinder
/commands/default/<Alt>F3/startup-notify   true
/commands/default/<Primary><Alt>Delete     xflock4
/commands/default/<Primary><Alt>l          xflock4
/commands/default/<Primary>Escape          xfdesktop --menu
/commands/default/<Super>p                 xfce4-display-settings --minimal
/commands/default/XF86Display              xfce4-display-settings --minimal
/commands/default/XF86Mail                 exo-open --launch MailReader
/commands/default/XF86WWW                  exo-open --launch WebBrowser
/providers                                 <<UNSUPPORTED>>
/xfwm4/custom/<Alt><Control>End            move_window_next_workspace_key
/xfwm4/custom/<Alt><Control>Home           move_window_prev_workspace_key
/xfwm4/custom/<Alt><Control>KP_1           move_window_workspace_1_key
/xfwm4/custom/<Alt><Control>KP_2           move_window_workspace_2_key
/xfwm4/custom/<Alt><Control>KP_3           move_window_workspace_3_key
/xfwm4/custom/<Alt><Control>KP_4           move_window_workspace_4_key
/xfwm4/custom/<Alt><Control>KP_5           move_window_workspace_5_key
/xfwm4/custom/<Alt><Control>KP_6           move_window_workspace_6_key
/xfwm4/custom/<Alt><Control>KP_7           move_window_workspace_7_key
/xfwm4/custom/<Alt><Control>KP_8           move_window_workspace_8_key
/xfwm4/custom/<Alt><Control>KP_9           move_window_workspace_9_key
/xfwm4/custom/<Alt>Delete                  del_workspace_key
/xfwm4/custom/<Alt>F10                     maximize_window_key
/xfwm4/custom/<Alt>F11                     fullscreen_key
/xfwm4/custom/<Alt>F12                     above_key
/xfwm4/custom/<Alt>F4                      close_window_key
/xfwm4/custom/<Alt>F6                      stick_window_key
/xfwm4/custom/<Alt>F7                      move_window_key
/xfwm4/custom/<Alt>F8                      resize_window_key
/xfwm4/custom/<Alt>F9                      hide_window_key
/xfwm4/custom/<Alt>Insert                  add_workspace_key
/xfwm4/custom/<Alt><Shift>Tab              cycle_reverse_windows_key
/xfwm4/custom/<Alt>space                   popup_menu_key
/xfwm4/custom/<Alt>Tab                     cycle_windows_key
/xfwm4/custom/<Control><Alt>Down           down_workspace_key
/xfwm4/custom/<Control><Alt>Left           left_workspace_key
/xfwm4/custom/<Control><Alt>Right          right_workspace_key
/xfwm4/custom/<Control><Alt>Up             up_workspace_key
/xfwm4/custom/<Control>F1                  workspace_1_key
/xfwm4/custom/<Control>F10                 workspace_10_key
/xfwm4/custom/<Control>F11                 workspace_11_key
/xfwm4/custom/<Control>F12                 workspace_12_key
/xfwm4/custom/<Control>F2                  workspace_2_key
/xfwm4/custom/<Control>F3                  workspace_3_key
/xfwm4/custom/<Control>F4                  workspace_4_key
/xfwm4/custom/<Control>F5                  workspace_5_key
/xfwm4/custom/<Control>F6                  workspace_6_key
/xfwm4/custom/<Control>F7                  workspace_7_key
/xfwm4/custom/<Control>F8                  workspace_8_key
/xfwm4/custom/<Control>F9                  workspace_9_key
/xfwm4/custom/<Control><Shift><Alt>Left    move_window_left_key
/xfwm4/custom/<Control><Shift><Alt>Right   move_window_right_key
/xfwm4/custom/<Control><Shift><Alt>Up      move_window_up_key
/xfwm4/custom/Down                         down_key
/xfwm4/custom/Escape                       cancel_key
/xfwm4/custom/Left                         left_key
/xfwm4/custom/override                     true
/xfwm4/custom/Right                        right_key
/xfwm4/custom/<Shift><Alt>Page_Down        lower_window_key
/xfwm4/custom/<Shift><Alt>Page_Up          raise_window_key
/xfwm4/custom/<Super>m                     show_desktop_key
/xfwm4/custom/<Super>Tab                   switch_window_key
/xfwm4/custom/Up                           up_key
/xfwm4/default/<Alt>Delete                 del_workspace_key
/xfwm4/default/<Alt>F10                    maximize_window_key
/xfwm4/default/<Alt>F11                    fullscreen_key
/xfwm4/default/<Alt>F12                    above_key
/xfwm4/default/<Alt>F4                     close_window_key
/xfwm4/default/<Alt>F6                     stick_window_key
/xfwm4/default/<Alt>F7                     move_window_key
/xfwm4/default/<Alt>F8                     resize_window_key
/xfwm4/default/<Alt>F9                     hide_window_key
/xfwm4/default/<Alt>Insert                 add_workspace_key
/xfwm4/default/<Alt><Shift>Tab             cycle_reverse_windows_key
/xfwm4/default/<Alt>space                  popup_menu_key
/xfwm4/default/<Alt>Tab                    cycle_windows_key
/xfwm4/default/Down                        down_key
/xfwm4/default/Escape                      cancel_key
/xfwm4/default/Left                        left_key
/xfwm4/default/<Primary><Alt>d             show_desktop_key
/xfwm4/default/<Primary><Alt>Down          down_workspace_key
/xfwm4/default/<Primary><Alt>End           move_window_next_workspace_key
/xfwm4/default/<Primary><Alt>Home          move_window_prev_workspace_key
/xfwm4/default/<Primary><Alt>KP_1          move_window_workspace_1_key
/xfwm4/default/<Primary><Alt>KP_2          move_window_workspace_2_key
/xfwm4/default/<Primary><Alt>KP_3          move_window_workspace_3_key
/xfwm4/default/<Primary><Alt>KP_4          move_window_workspace_4_key
/xfwm4/default/<Primary><Alt>KP_5          move_window_workspace_5_key
/xfwm4/default/<Primary><Alt>KP_6          move_window_workspace_6_key
/xfwm4/default/<Primary><Alt>KP_7          move_window_workspace_7_key
/xfwm4/default/<Primary><Alt>KP_8          move_window_workspace_8_key
/xfwm4/default/<Primary><Alt>KP_9          move_window_workspace_9_key
/xfwm4/default/<Primary><Alt>Left          left_workspace_key
/xfwm4/default/<Primary><Alt>Right         right_workspace_key
/xfwm4/default/<Primary><Alt>Up            up_workspace_key
/xfwm4/default/<Primary>F1                 workspace_1_key
/xfwm4/default/<Primary>F10                workspace_10_key
/xfwm4/default/<Primary>F11                workspace_11_key
/xfwm4/default/<Primary>F12                workspace_12_key
/xfwm4/default/<Primary>F2                 workspace_2_key
/xfwm4/default/<Primary>F3                 workspace_3_key
/xfwm4/default/<Primary>F4                 workspace_4_key
/xfwm4/default/<Primary>F5                 workspace_5_key
/xfwm4/default/<Primary>F6                 workspace_6_key
/xfwm4/default/<Primary>F7                 workspace_7_key
/xfwm4/default/<Primary>F8                 workspace_8_key
/xfwm4/default/<Primary>F9                 workspace_9_key
/xfwm4/default/<Primary><Shift><Alt>Left   move_window_left_key
/xfwm4/default/<Primary><Shift><Alt>Right  move_window_right_key
/xfwm4/default/<Primary><Shift><Alt>Up     move_window_up_key
/xfwm4/default/Right                       right_key
/xfwm4/default/<Shift><Alt>Page_Down       lower_window_key
/xfwm4/default/<Shift><Alt>Page_Up         raise_window_key
/xfwm4/default/<Super>Tab                  switch_window_key
/xfwm4/default/Up                          up_key
[mladen@mladen-pc ~]$ 

Offline

#8 2017-02-03 13:41:29

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: shortcut for minimizing all windows not working

adamovic wrote:

or XFCE bug.

Have a read through this bug report to better understand the issue.

bash: wmctrl: command not found

You need to instal lthe wmctrl package from your repositories.

/commands/custom/Super_L                   xfce4-popup-whiskermenu
/commands/custom/Super_R                   xfce4-popup-whiskermenu

Because these two are set, what should happen (or at least it does on my system) is that on Super key press, whiskermenu is fired and then while still holding down the Super key you press another key (like '1' or 'm' for showdesktop), the second shortcut should be fired. The reason that "Super+1" works and the show desktop toggle "Super+m" doesn't, I believe, is because the whiskermenu popping up is interfering with the showdesktop action. Try deleting the whiskmenu shortcuts that use only the Suprer key (both Super_L and Super_R) and try the show desktop shortcut again.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2017-02-03 14:41:40

adamovic
Member
Registered: 2017-02-01
Posts: 13

Re: shortcut for minimizing all windows not working

Super_L , Super_R what does it actually mean? I tried to find an info using google and man pages but failed. I have a feeling it is something like key pressed and key released, but `L` is not short from `Pressed`.

I've noticed a difference from the one which is working to the one which is not working:

/commands/custom/<Super>l                  xflock4
/xfwm4/custom/<Super>m                     show_desktop_key

The first one is in /commands/ the second one is in /xfwm4/.

So I did go to Keyboard -> Application Shortcuts and configured custom shortcut Super-m to wmctrl -k on and that one is working (I installed wmctrl)

/commands/custom/<Super>m                  wmctrl -k on

although pressing the combination again doesn't do wmctrl -k off

Anyway, I came to xfce from Fedora 21 with Gnome 3 and I got used to the following shortcuts:
Super - show menu
Super typing ... find app
Super L - lock screen
Super M - minimize all windows

and this is a feature which would other "refugees" ask as well.

Offline

#10 2017-02-03 15:15:40

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: shortcut for minimizing all windows not working

Super_L , Super_R what does it actually mean?

Super_L is the super key on the left side of your keyboard, Super_R is the super key on the right side of your keyboard (if you have one).

although pressing the combination again doesn't do wmctrl -k off

Try this command (it toggles):

bash -c "if [ $(wmctrl -m | awk '/showing the desktop/ {print $7}') == 'OFF' ]; then wmctrl -k on; else wmctrl -k off; fi"

and this is a feature which would other "refugees" ask as well.

I see you have posted to the bug report. Lets see where it goes.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#11 2017-02-03 15:54:18

adamovic
Member
Registered: 2017-02-01
Posts: 13

Re: shortcut for minimizing all windows not working

ToZ wrote:

I see you have posted to the bug report. Lets see where it goes.

Hopefully not to /dev/null big_smile

And thanks for your AWK script. That's certainly a fix before Super behavior to mimic windows has been solved properly.

Last edited by adamovic (2017-02-03 16:00:38)

Offline

#12 2017-02-03 16:19:34

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,000

Re: shortcut for minimizing all windows not working

adamovic wrote:

And thanks for your AWK script. That's certainly a fix before Super behavior to mimic windows has been solved properly.

Credit where its due.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#13 2017-02-03 21:45:05

rfet35
Member
Registered: 2017-01-23
Posts: 21

Re: shortcut for minimizing all windows not working

ToZ wrote:
adamovic wrote:

And thanks for your AWK script. That's certainly a fix before Super behavior to mimic windows has been solved properly.

Credit where its due.

Credit back to its origin smile


adamovic wrote:

And thanks for your AWK script. That's certainly a fix before Super behavior to mimic windows has been solved properly.

Alternatively do

$ xdotool key ctrl+alt+d

Offline

#14 2017-02-03 22:33:08

adamovic
Member
Registered: 2017-02-01
Posts: 13

Re: shortcut for minimizing all windows not working

rfet35 wrote:

Alternatively do

$ xdotool key ctrl+alt+d

I don't think it is funny. If you think it will boot me into windows, you are wrong. I have been using Linux professionally since 2004 (as a software engineer),  and the reason "I have to use XFCE" is the following - I have to use bash (bad habits) and cutycapt, one package rarely anyone knows about. The reason I'm here is the following:

I used Fedora 21 Gnome 3 until recently I realized it's time to move on and bought a new SSD for fresh OS install.

In 4 days I installed 5 distros:
Fedora 25 - reboot after install, radeon drivers failure, didn't boot properly, decided to move on
Opensuse Tumbleweed - netbeans didn't work properly on gnome
Opensuse Leap 24.2 - small bugs, forums not so user friendly, old version of cutycapt (without smooth arg which I use), was the reason for me to try something else before settling
Fedora 24 - didn't want to install (!!!! unbelievable), ISO from their servers was currupt (twice I tried)
Ubuntu 16.10 - I haven't install Ubuntu for a while, and they got something better, new cutycapt was included (for example), but there was few issues (crash of their window software, it looks that xrandr might not working as intented)
Manjaro - the last one, forum seems much better than competitors, installer very good, and when you need to configure something arch wiki works (which is definitely most user friendly wiki, cannot say the same about the forum), but I have some things and bugs to configure.

I had to solve some things with Manjaro's default Window Manager (I don't like KDE flavor) and it's XFCE. That's why I came here.

So it's not that Windows users will ask for Windows shortcuts, but Ubuntu and Gnome 3 will as well.

Last edited by adamovic (2017-02-03 22:34:37)

Offline

#15 2017-02-03 22:52:02

rfet35
Member
Registered: 2017-01-23
Posts: 21

Re: shortcut for minimizing all windows not working

adamovic wrote:
rfet35 wrote:

Alternatively do

$ xdotool key ctrl+alt+d

I don't think it is funny. If you think it will boot me into windows, you are wrong.

lol

It's "ctrl+alt+d", not the delete key. It's the key combination to show the desktop not to boot into windows smile

Offline

#16 2017-02-03 22:54:08

adamovic
Member
Registered: 2017-02-01
Posts: 13

Re: shortcut for minimizing all windows not working

Oh god, it's too late here, I guess I'm tired. I thought it's ctrl+alt+delete, sounded like a joke. Or some kind of sarcasm.

Offline

Board footer

Powered by FluxBB