Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-08-12 05:49:27

Bazon
Member
Registered: 2014-08-12
Posts: 19

XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

Hello,
this is really a minor issue, but nonetheless, I would be interested in a solution:
When I use XFCE4 with another windowmanager than xfwm4 (so kwin or compiz), keyboard shortcuts (assigned in xfce4-settings-manager) only work after at least one window is open. I also tried assigning keyboard shortcuts via kde-systemsettings or ccsm (Compiz-config-settings-manager), but it's the same for them: No window, no shortcuts.
As I said, the issue is minor as the workaround is: "open a window!" (so I do now with a terminal at session startup), but does anyone know a solution anyhow?

I'm using XFCE 4.10.1, kwin 4.11.11 and/or compiz 0.9.12
I'm starting kwin with kwin --replace and/or compiz with compiz --replace ccp.

Offline

#2 2014-08-12 10:31:38

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,998

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

xfsettingsd manages and applies keyboard shortcuts (among other things). Does it automatically start on startup for you if you don't autostart a terminal session?


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 2014-08-12 11:46:22

Bazon
Member
Registered: 2014-08-12
Posts: 19

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

Yes xfsettingsd starts and is running.
I also tested this by the opposite way: Have xfsettingsd running and then close all windows:
I closed all windows --> Shortcuts like Alt+F2 don't work anymore
I changed to tty5 by Ctrl+Alt+F5 (that works), typed "pidof xfsettingsd" and got an ID of a running process.

Last edited by Bazon (2014-08-12 13:18:30)

Offline

#4 2014-08-12 12:44:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,998

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

Does running xfsettingsd in debug mode:

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon

...before opening any windows, provide any useful information?

I've had a look through the xfsettingsd bug reports and there isn't anything related there. You should probably create a bug report.


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 2014-08-12 13:12:42

Bazon
Member
Registered: 2014-08-12
Posts: 19

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

Ehm, I don't know how I can run

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon

before opening any windows:
The terminal-window is a window and switching to another virtual terminal is not useful, because XFCE is not running there: "Gtk-Warning: Can not open Display:"

Apart from that, I'll file the bug as soon as I have enough time for that. Thanks for the hint.

Offline

#6 2014-08-12 13:15:52

Bazon
Member
Registered: 2014-08-12
Posts: 19

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

PS:
Output of that command in terminal-window:

$ XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon
xfce4-settings(xsettings): _XSETTINGS_S0 registered on screen 0
xfce4-settings(xsettings): 26 settings changed (serial=0, len=1032)
xfce4-settings(xsettings): resource manager (xft) changed (len=124)
xfce4-settings(pointers): initialized xi 2.3
xfce4-settings(pointers): [SynPS/2 Synaptics TouchPad] Changed device property Synaptics_Edge_Scrolling
xfce4-settings(pointers): [SynPS/2 Synaptics TouchPad] Changed device property Synaptics_Two-Finger_Scrolling
xfce4-settings(keyboards): initialized xkb 1.0
xfce4-settings(keyboards): set auto repeat on
xfce4-settings(keyboards): set key repeat (delay=500, rate=50)
xfce4-settings(keyboards): set numlock off
xfce4-settings(accessibility): stickykeys disabled
xfce4-settings(accessibility): slowkeys disabled
xfce4-settings(accessibility): bouncekeys disabled
xfce4-settings(accessibility): mousekeys disabled
xfce4-settings(keyboard-shortcuts): 17 shortcuts loaded
xfce4-settings(keyboard-layout): set model to "pc104"
xfce4-settings(keyboard-layout): set layouts to "de"
xfce4-settings(keyboard-layout): set variant to "legacy"
xfce4-settings(fontconfig): monitoring 48 paths
xfce4-settings(workspaces): 8 desktop names set from xfconf
xfce4-settings(keyboard-shortcuts): activated "Super_L" (command="xfce4-appfinder", snotify=0, stamp=1011237)

The last line was prompted by successfully using a keyboard shortcut.

Offline

#7 2014-08-12 14:15:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,998

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

Bazon wrote:

Ehm, I don't know how I can run

XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon

before opening any windows:
The terminal-window is a window and switching to another virtual terminal is not useful, because XFCE is not running there: "Gtk-Warning: Can not open Display:"

Apart from that, I'll file the bug as soon as I have enough time for that. Thanks for the hint.

Good point.
How about creating a script like:

#!/bin/bash
sleep 10
XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon > /tmp/xfsettingsd.log 2>&1

...and adding it to your startup applications? Wait 10 seconds after log in, try to use some keyboard shortcuts keys, then review /tmp/xfsettingsd.log to see if there is anything interesting. Delete the startup entry when you are done.

It would be interesting to see if there are any error messages when the keyboard shortcuts don't work.


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

#8 2014-08-12 21:23:23

Bazon
Member
Registered: 2014-08-12
Posts: 19

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

Thanks, the outputs don't indicate anything spectacular I think:

xfce4-settings(xsettings): _XSETTINGS_S0 registered on screen 0
xfce4-settings(xsettings): 26 settings changed (serial=0, len=1032)
xfce4-settings(xsettings): resource manager (xft) changed (len=124)
xfce4-settings(pointers): initialized xi 2.3
xfce4-settings(pointers): [SynPS/2 Synaptics TouchPad] Changed device property Synaptics_Edge_Scrolling
xfce4-settings(pointers): [SynPS/2 Synaptics TouchPad] Changed device property Synaptics_Two-Finger_Scrolling
xfce4-settings(keyboards): initialized xkb 1.0
xfce4-settings(keyboards): set auto repeat on
xfce4-settings(keyboards): set key repeat (delay=500, rate=50)
xfce4-settings(keyboards): set numlock off
xfce4-settings(accessibility): stickykeys disabled
xfce4-settings(accessibility): slowkeys disabled
xfce4-settings(accessibility): bouncekeys disabled
xfce4-settings(accessibility): mousekeys disabled
xfce4-settings(keyboard-shortcuts): 17 shortcuts loaded
xfce4-settings(keyboard-layout): set model to "pc104"
xfce4-settings(keyboard-layout): set layouts to "de"
xfce4-settings(keyboard-layout): set variant to "legacy"
xfce4-settings(fontconfig): monitoring 48 paths
xfce4-settings(workspaces): 8 desktop names set from xfconf

While this was logged, no window was opened and I tried several shortcuts like Alt+F2, Alt+F1 or Super_L (self assigned), they didn't work.

I'll file that bug.

Offline

#9 2014-08-12 21:44:50

Bazon
Member
Registered: 2014-08-12
Posts: 19

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

Offline

#10 2016-08-05 11:06:55

grimscythe
Member
Registered: 2016-08-05
Posts: 1

Re: XFCE4+ other windowmanager: no keyboard shortcuts until 1st window

I am currently on XFCE4 + Compiz after moving away from Gnome 3. I have encountered the exact same issue. It was bugging me for a few days, but the problem went away when I went back to Gnome 3 and deleted all of my custom shortcuts from Gnome. Somehow when you have two (or more?) Desktop Environments installed, custom shortcuts may clash even though, the other Environment is not running.

Offline

Board footer

Powered by FluxBB