Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-04-24 16:25:54

user19463714
Member
Registered: 2020-04-24
Posts: 4

Ctrl+F[1..12] doesn't work [SOLVED]

Hi, inside VMWare Fusion I have Ubuntu 18.04 + xfce4.12. Ctrl+F[1..12] doesn't work, xev output:

KeyPress event, serial 37, synthetic NO, window 0x2400001,
    root 0x32d, subw 0x0, time 42129, (-65,-346), root:(1126,408),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

FocusOut event, serial 37, synthetic NO, window 0x2400001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x2400001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  47  0   0   0   32  0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

KeyRelease event, serial 37, synthetic NO, window 0x2400001,
    root 0x32d, subw 0x0, time 47897, (-65,-346), root:(1126,408),
    state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

The same problem happens on latest XUbuntu 20.04 with xfce4 4.14 and on Ubuntu 16.04 with xfce4.12. No custom keybroad-specific settings, everything is mostly default on these systems except visual settings such as resolution, scaling etc.
Another combinations that include F[1..12] work OK, for example Ctrl+Shift+F1 works, Ctrl+F1 doesn't.
When login using default gnome it works as expected, and xev shows normal KeyPress/Release events so I suppose it's not vmware or xorg-server.
Might this be only my local problem or should I submit it as a bug to xfce bugzilla?

Last edited by user19463714 (2020-04-24 21:36:38)

Offline

#2 2020-04-24 17:05:20

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 415

Re: Ctrl+F[1..12] doesn't work [SOLVED]

When I press CRTL+F# I switch viewports/workspaces. CRTL+ALT+F# switches TTY.  CRTL+Shift+F# does nothing. What is your expectations? Does Gnome do something else by default?
Using xfce4 4.14 on MX-19.

Last edited by eriefisher (2020-04-24 17:06:01)


Siduction
Debian Sid
Xfce 4.18

Offline

#3 2020-04-24 17:51:11

user19463714
Member
Registered: 2020-04-24
Posts: 4

Re: Ctrl+F[1..12] doesn't work [SOLVED]

The problem is that no application can use these shortcuts because appropriate events are not emitted by the system.
Proper xev report when Ctrl+F5 is pressed should be like this: KeyPress(Ctrl) - KeyPress(F5) - KeyRelease(F5) - KeyRelease(Ctrl).
Now it's: KeyPress(Ctrl) - FocusIn - FocusOut - KeyRelease(Ctrl).
As you can see there's no event about F5 at all and it happens only with pressed Ctrl.

Offline

#4 2020-04-24 21:36:14

user19463714
Member
Registered: 2020-04-24
Posts: 4

Re: Ctrl+F[1..12] doesn't work [SOLVED]

After another hour of googling I found that FocusIn/Out means that another application already handled this shortcut, then I recall what you said about your system default binding and finally I realized that all Ctrl+F# are bound to switching workspaces and it prevents other applications to handle them.
The solution is to go to Settings->Window manager->Keyboard and clear corresponding shortcuts.
What a surprise for newcomer, install clean system and can't use VS Code default shortcuts))
Thank you eriefisher for your help smile

Offline

#5 2020-04-24 23:19:34

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 415

Re: Ctrl+F[1..12] doesn't work [SOLVED]

You still never mentioned what you where trying to achieve but I will take the thanks. Your welcome.


Siduction
Debian Sid
Xfce 4.18

Offline

#6 2020-04-25 00:09:59

MrEen
Member
Registered: 2019-04-19
Posts: 295

Re: Ctrl+F[1..12] doesn't work [SOLVED]

eriefisher wrote:

You still never mentioned what you where trying to achieve but I will take the thanks. Your welcome.

I just looked here and indeed Visual Studio Code has some keyboard shortcuts that won't work without the OP's changes.

Offline

#7 2020-04-25 10:08:49

user19463714
Member
Registered: 2020-04-24
Posts: 4

Re: Ctrl+F[1..12] doesn't work [SOLVED]

MrEen wrote:

I just looked here and indeed Visual Studio Code has some keyboard shortcuts that won't work without the OP's changes.

Exactly, I just tried to use shortcuts that work on Windows/default Ubuntu. If you google "xubuntu ctrl f5" you'll see a lot of similar problems, I was unlucky to go through tens of other pages and google requests and never saw them.

Offline

Board footer

Powered by FluxBB