Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-04-08 16:02:29

Danielsan
Member
Registered: 2017-11-22
Posts: 89

[SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

Hi Folks,

I am trying to break down this issue but I couldn't determine if this belongs to XFCE, X11(FreeBSD) or VirtualBox, but the problem is clicking three times the arrow button key makes the focus jumping to another window, you can cycle all the windows opened just continuing click down and it makes extremely complicated using the XFCE4.

I used XEV to capture the input but I couldn't find any hints:

KeyPress event, serial 36, synthetic NO, window 0x3c00001,
    root 0x51d, subw 0x0, time 11215413, (-538,-611), root:(45,154),
    state 0x10, keycode 116 (keysym 0xff54, Down), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 36, synthetic NO, window 0x3c00001,
    root 0x51d, subw 0x0, time 11215542, (-538,-611), root:(45,154),
    state 0x10, keycode 116 (keysym 0xff54, Down), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

FocusOut event, serial 36, synthetic NO, window 0x3c00001,
    mode NotifyNormal, detail NotifyNonlinear

On the FreeBSD forum I haven't received any help yet.

Thanks in advance,

D.

Last edited by Danielsan (2022-04-18 15:24:18)


Debian ~ Devuan & FreeBSD + XFCE = <3

Offline

#2 2022-04-08 17:29:05

Danielsan
Member
Registered: 2017-11-22
Posts: 89

Re: [SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

Apparently the issue was within VirtualBox...

For some unknown reason the mouse scroll-wheel causes Firefox to go back and forth on any tab history currently in use, to fix this I run this command at each login through xfce4-session:

/usr/local/bin/xmodmap -e "pointer = 1 2 3 4 5 6 7 0 0 0 11 12"

Disabling that command fixes the keyboard issue but reintroduces the Firefox bug. Running the same command manually after the login has fixed the Firefox issue without affecting the arrow down key!

Solution?

sh -c 'sleep 3 && /usr/local/bin/xmodmap -e "pointer = 1 2 3 4 5 6 7 0 0 0 11 12"'

Debian ~ Devuan & FreeBSD + XFCE = <3

Offline

#3 2022-04-11 18:32:36

Danielsan
Member
Registered: 2017-11-22
Posts: 89

Re: [SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

the fix is not working... ?


Debian ~ Devuan & FreeBSD + XFCE = <3

Offline

#4 2022-04-12 03:18:44

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: [SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

What's the output of:

xfconf-query --channel xfwm4 --list --verbose

and

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

from within your VM guest?


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#5 2022-04-12 13:24:49

Danielsan
Member
Registered: 2017-11-22
Posts: 89

Re: [SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

KBar wrote:

What's the output of:

xfconf-query --channel xfwm4 --list --verbose

and

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

from within your VM guest?


Thank you for helping me out!

xfconf-query --channel xfwm4 --list --verbose
/general/activate_action                 switch
/general/borderless_maximize             true
/general/box_move                        true
/general/box_resize                      false
/general/button_layout                   O|HMC
/general/button_offset                   0
/general/button_spacing                  0
/general/click_to_focus                  true
/general/cycle_apps_only                 false
/general/cycle_draw_frame                true
/general/cycle_hidden                    true
/general/cycle_minimized                 false
/general/cycle_minimum                   true
/general/cycle_preview                   false
/general/cycle_raise                     true
/general/cycle_tabwin_mode               0
/general/cycle_workspaces                false
/general/double_click_action             maximize
/general/double_click_distance           5
/general/double_click_time               250
/general/easy_click                      Alt
/general/focus_delay                     250
/general/focus_hint                      true
/general/focus_new                       false
/general/frame_border_top                0
/general/frame_opacity                   100
/general/full_width_title                true
/general/horiz_scroll_opacity            false
/general/inactive_opacity                100
/general/maximized_offset                0
/general/mousewheel_rollup               false
/general/move_opacity                    100
/general/placement_mode                  center
/general/placement_ratio                 20
/general/popup_opacity                   100
/general/prevent_focus_stealing          true
/general/raise_delay                     250
/general/raise_on_click                  true
/general/raise_on_focus                  true
/general/raise_with_any_button           false
/general/repeat_urgent_blink             false
/general/resize_opacity                  100
/general/scroll_workspaces               true
/general/shadow_delta_height             0
/general/shadow_delta_width              0
/general/shadow_delta_x                  0
/general/shadow_delta_y                  -3
/general/shadow_opacity                  50
/general/show_app_icon                   false
/general/show_dock_shadow                false
/general/show_frame_shadow               false
/general/show_popup_shadow               false
/general/snap_resist                     false
/general/snap_to_border                  true
/general/snap_to_windows                 false
/general/snap_width                      10
/general/theme                           Matcha-light-aliz
/general/tile_on_move                    true
/general/title_alignment                 center
/general/title_font                      Sans Bold 9
/general/title_horizontal_offset         0
/general/title_shadow_active             false
/general/title_shadow_inactive           false
/general/title_vertical_offset_active    0
/general/title_vertical_offset_inactive  0
/general/titleless_maximize              true
/general/toggle_workspaces               false
/general/unredirect_overlays             false
/general/urgent_blink                    false
/general/use_compositing                 true
/general/vblank_mode                     auto
/general/workspace_count                 2
/general/workspace_names                 <<UNSUPPORTED>>
/general/wrap_cycle                      true
/general/wrap_layout                     true
/general/wrap_resistance                 10
/general/wrap_windows                    true
/general/wrap_workspaces                 false
/general/zoom_desktop                    false
/general/zoom_pointer                    false

and

xfconf-query -c xfce4-keyboard-shortcuts -lv
/commands/custom/<Alt>F1                   xfce4-popup-applicationsmenu
/commands/custom/<Alt>F2                   xfce4-appfinder --collapsed
/commands/custom/<Alt>F2/startup-notify    true
/commands/custom/<Alt>F3                   xfce4-appfinder
/commands/custom/<Alt>F3/startup-notify    true
/commands/custom/<Alt>Print                xfce4-screenshooter -w
/commands/custom/<Primary><Alt>Delete      xfce4-session-logout
/commands/custom/<Primary><Alt>Escape      xkill
/commands/custom/<Primary><Alt>f           thunar
/commands/custom/<Primary><Alt>l           xflock4
/commands/custom/<Primary><Alt>t           exo-open --launch TerminalEmulator
/commands/custom/<Primary><Shift>Escape    xfce4-taskmanager
/commands/custom/<Primary>Escape           xfdesktop --menu
/commands/custom/<Shift>Print              xfce4-screenshooter -r
/commands/custom/<Super>e                  thunar
/commands/custom/<Super>p                  xfce4-display-settings --minimal
/commands/custom/<Super>r                  xfce4-appfinder -c
/commands/custom/<Super>r/startup-notify   true
/commands/custom/HomePage                  exo-open --launch WebBrowser
/commands/custom/Print                     xfce4-screenshooter
/commands/custom/XF86Display               xfce4-display-settings --minimal
/commands/custom/XF86Mail                  exo-open --launch MailReader
/commands/custom/XF86WWW                   exo-open --launch WebBrowser
/commands/custom/override                  true
/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/<Alt>Print               xfce4-screenshooter -w
/commands/default/<Primary><Alt>Delete     xfce4-session-logout
/commands/default/<Primary><Alt>Escape     xkill
/commands/default/<Primary><Alt>f          thunar
/commands/default/<Primary><Alt>l          xflock4
/commands/default/<Primary><Alt>t          exo-open --launch TerminalEmulator
/commands/default/<Primary><Shift>Escape   xfce4-taskmanager
/commands/default/<Primary>Escape          xfdesktop --menu
/commands/default/<Shift>Print             xfce4-screenshooter -r
/commands/default/<Super>e                 thunar
/commands/default/<Super>p                 xfce4-display-settings --minimal
/commands/default/<Super>r                 xfce4-appfinder -c
/commands/default/<Super>r/startup-notify  true
/commands/default/HomePage                 exo-open --launch WebBrowser
/commands/default/Print                    xfce4-screenshooter
/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><Shift>Tab              cycle_reverse_windows_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>Tab                     cycle_windows_key
/xfwm4/custom/<Alt>space                   popup_menu_key
/xfwm4/custom/<Primary><Alt>Down           down_workspace_key
/xfwm4/custom/<Primary><Alt>End            move_window_next_workspace_key
/xfwm4/custom/<Primary><Alt>Home           move_window_prev_workspace_key
/xfwm4/custom/<Primary><Alt>KP_1           move_window_workspace_1_key
/xfwm4/custom/<Primary><Alt>KP_2           move_window_workspace_2_key
/xfwm4/custom/<Primary><Alt>KP_3           move_window_workspace_3_key
/xfwm4/custom/<Primary><Alt>KP_4           move_window_workspace_4_key
/xfwm4/custom/<Primary><Alt>KP_5           move_window_workspace_5_key
/xfwm4/custom/<Primary><Alt>KP_6           move_window_workspace_6_key
/xfwm4/custom/<Primary><Alt>KP_7           move_window_workspace_7_key
/xfwm4/custom/<Primary><Alt>KP_8           move_window_workspace_8_key
/xfwm4/custom/<Primary><Alt>KP_9           move_window_workspace_9_key
/xfwm4/custom/<Primary><Alt>Left           left_workspace_key
/xfwm4/custom/<Primary><Alt>Right          right_workspace_key
/xfwm4/custom/<Primary><Alt>Up             up_workspace_key
/xfwm4/custom/<Primary><Alt>d              show_desktop_key
/xfwm4/custom/<Primary><Shift><Alt>Left    move_window_left_key
/xfwm4/custom/<Primary><Shift><Alt>Right   move_window_right_key
/xfwm4/custom/<Primary><Shift><Alt>Up      move_window_up_key
/xfwm4/custom/<Primary><Shift>Page_Down    tile_down_key
/xfwm4/custom/<Primary><Shift>Page_Up      tile_up_key
/xfwm4/custom/<Primary>F1                  workspace_1_key
/xfwm4/custom/<Primary>F10                 workspace_10_key
/xfwm4/custom/<Primary>F11                 workspace_11_key
/xfwm4/custom/<Primary>F12                 workspace_12_key
/xfwm4/custom/<Primary>F2                  workspace_2_key
/xfwm4/custom/<Primary>F3                  workspace_3_key
/xfwm4/custom/<Primary>F4                  workspace_4_key
/xfwm4/custom/<Primary>F5                  workspace_5_key
/xfwm4/custom/<Primary>F6                  workspace_6_key
/xfwm4/custom/<Primary>F7                  workspace_7_key
/xfwm4/custom/<Primary>F8                  workspace_8_key
/xfwm4/custom/<Primary>F9                  workspace_9_key
/xfwm4/custom/<Shift><Alt>Page_Down        lower_window_key
/xfwm4/custom/<Shift><Alt>Page_Up          raise_window_key
/xfwm4/custom/<Super>KP_End                tile_down_left_key
/xfwm4/custom/<Super>KP_Home               tile_up_left_key
/xfwm4/custom/<Super>KP_Left               tile_left_key
/xfwm4/custom/<Super>KP_Next               tile_down_right_key
/xfwm4/custom/<Super>KP_Page_Up            tile_up_right_key
/xfwm4/custom/<Super>KP_Right              tile_right_key
/xfwm4/custom/<Super>Tab                   switch_window_key
/xfwm4/custom/Down                         down_key
/xfwm4/custom/Escape                       cancel_key
/xfwm4/custom/Left                         left_key
/xfwm4/custom/Right                        right_key
/xfwm4/custom/Up                           up_key
/xfwm4/custom/override                     true
/xfwm4/default/<Alt><Shift>Tab             cycle_reverse_windows_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>Tab                    cycle_windows_key
/xfwm4/default/<Alt>space                  popup_menu_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><Alt>d             show_desktop_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/<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/<Shift><Alt>Page_Down       lower_window_key
/xfwm4/default/<Shift><Alt>Page_Up         raise_window_key
/xfwm4/default/<Super>KP_Down              tile_up_key
/xfwm4/default/<Super>KP_End               tile_down_left_key
/xfwm4/default/<Super>KP_Home              tile_up_left_key
/xfwm4/default/<Super>KP_Left              tile_left_key
/xfwm4/default/<Super>KP_Next              tile_down_right_key
/xfwm4/default/<Super>KP_Page_Up           tile_up_right_key
/xfwm4/default/<Super>KP_Right             tile_right_key
/xfwm4/default/<Super>KP_Up                tile_down_key
/xfwm4/default/<Super>Tab                  switch_window_key
/xfwm4/default/Down                        down_key
/xfwm4/default/Escape                      cancel_key
/xfwm4/default/Left                        left_key
/xfwm4/default/Right                       right_key
/xfwm4/default/Up                          up_key

Do you see anything unusual?


Debian ~ Devuan & FreeBSD + XFCE = <3

Offline

#6 2022-04-12 15:32:06

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: [SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

Try backing up the xfwm4 channel and reset it.


Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please! tongue

Offline

#7 2022-04-12 18:53:38

Danielsan
Member
Registered: 2017-11-22
Posts: 89

Re: [SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

KBar wrote:

Try backing up the xfwm4 channel and reset it.

Let's do it!


Debian ~ Devuan & FreeBSD + XFCE = <3

Offline

#8 2022-04-12 20:33:40

Danielsan
Member
Registered: 2017-11-22
Posts: 89

Re: [SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

It didn't work but resetting everything did...

I remade the same configuration I'll test it for a couple of days!

Thanks!


Debian ~ Devuan & FreeBSD + XFCE = <3

Offline

#9 2022-04-18 15:23:56

Danielsan
Member
Registered: 2017-11-22
Posts: 89

Re: [SOLVED] XFCE + FreeBSD + VirtualBox: Focus Issue!

Seems solved! ?


Debian ~ Devuan & FreeBSD + XFCE = <3

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 8 queries executed - Memory usage: 610.11 KiB (Peak: 626.59 KiB) ]