I3-gaps keyboard shortcut issues

Hey Everyone,

Loving ArchLabs so far, especially the default I3-gaps config, but I’m having one issue I have noticed.

When pressing $Mod (default) + R and $Mod + E, I am getting an error where it is trying to find Thunar and Xfce4-appfinder, but I have no idea where this shortcut is configured. I am using PCManFM for my file manager and that opens fine with the default i3 shortcut $Mod + F.

Does anyone know if there is something that is installed outside of i3 that is keep an eye out for these shortcuts? I would line to remove it, or at least their bindings so I don’t get these popup errors.

I noticed Xfce being referenced, but I am not using that DE as far as I’m aware, just the i3-gaps that is included with ArchLabs.

Thanks,
Apologies if this is incorrect location, please tell me if not and I will modify.

Have you checked the configuration file? Can’t remember if it’s at ~/.i3/config or ~/.config/i3/config so check both locations.

If you’re not sure how to interpret the file then just post the whole thing here.

You can check what’s running with pstree (from the psmisc package). Remember to kill all the obvious stuff like the browsers & file manager first though to make the output more readable.

1 Like

Thanks for response!

I did check the location in my home folder (~/.config/i3/config), but didn’t check anywhere else. Maybe there is another config file that is also being loaded, I know there should be one in the /usr/local folder I believe.

Blockquote You can check what’s running with pstree (from the psmisc package). Remember to kill all the obvious stuff like the browsers & file manager first though to make the output more readable.

I will also give this a try.

Okay, ran pstree.

Looks like I have xfsettingsd running and that is causing the issue, not sure what is enabling that though. Will look further.

Thanks for suggestion!

So, looks like this service was being executed in the default config that comes with ArchLabs i3-gaps.

Line is:

exec --no-startup-id xfsettingsd

I have commented this line out, as I am not sure what it is used for, anyone have any idea?

See xfsettingsd(1) :slight_smile:

Strange that Arch doesn’t have a man page but Debian make a special effort in that respect.

If you’ve killed the settings manager then your desktop is now broken so you should probably un-comment the line again and try this instead:

xfce4-keyboard-settings

^ That might have the troublesome keybinding.

xfsettingsd also sets the GTK theme. What I use to do was just go in to XFCE Settings Manage, Keyboard, Application Shortcuts and then delete the offending shortcut from the list.

Have just checked the AL i3 config.

Why are you using a caps key after mod+ (don’t use a caps keys only lower case.)

ETC…

bindsym $mod+Shift+s exec --no-startup-id pcmanfm
bindsym $mod+t exec --no-startup-id thunar

Here is a copy of the original AL i3 config

# ArchLabs i3 config

# border & title
for_window [class="^.*"] border pixel 1, title_format "<b> %class >> %title </b>"

# gaps
gaps inner 8
gaps outer 0

# font
font pango:monospace 11

# mod key used for most binds
# Mod1 = Alt
# Mod4 = Super
set $Mod Mod4

# direction keys
set $up l
set $down k
set $left j
set $right semicolon

###############        Bar         ##################
bar {
        status_command i3status
}

###############     Autostart      ##################

# run with reload
exec_always --no-startup-id xrdb -load ~/.Xresources

# run once
exec --no-startup-id xfsettingsd

# needed for super to launch rofi through ksuperkey, see ~/.xprofile
bindsym Mod1+F1 exec --no-startup-id rofi_run -r

#############         Bindings           ##################

# kill focused window
bindsym $Mod+Shift+q kill
bindsym Mod1+q kill
bindsym Mod1+F4 kill

# launchers
bindsym Control+space exec --no-startup-id rofi_run -r

# core
bindsym $Mod+w          exec --no-startup-id exo-open --launch WebBrowser
bindsym $Mod+f          exec --no-startup-id exo-open --launch FileManager
bindsym $Mod+t          exec --no-startup-id exo-open --launch TerminalEmulator
bindsym $Mod+Return     exec --no-startup-id exo-open --launch TerminalEmulator
bindsym Control+Shift+t exec --no-startup-id exo-open --launch TerminalEmulator

# logout script
bindsym $Mod+x exec --no-startup-id rofi_run -l

# Screenshot
bindsym Print exec --no-startup-id "scrot '%S.png' -e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png ; feh $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"

# audio
bindsym XF86AudioPlay        exec --no-startup-id playerctl play-pause
bindsym XF86AudioNext        exec --no-startup-id playerctl next
bindsym XF86AudioPrev        exec --no-startup-id playerctl previous
bindsym XF86AudioStop        exec --no-startup-id playerctl stop
bindsym XF86AudioMute        exec --no-startup-id pamixer -t
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2

# backlight
bindsym XF86MonBrightnessUp   exec --no-startup-id xbacklight -inc 10
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10

###########          Workspace Bindings          ###############

# switch to workspace
bindsym $Mod+1 workspace 1
bindsym $Mod+2 workspace 2
bindsym $Mod+3 workspace 3
bindsym $Mod+4 workspace 4
bindsym $Mod+5 workspace 5
bindsym $Mod+6 workspace 6
bindsym $Mod+7 workspace 7
bindsym $Mod+8 workspace 8

# switch to workspace - numpad alternatives
bindsym $mod+Mod2+KP_1 workspace 1
bindsym $mod+Mod2+KP_2 workspace 2
bindsym $mod+Mod2+KP_3 workspace 3
bindsym $mod+Mod2+KP_4 workspace 4
bindsym $mod+Mod2+KP_5 workspace 5
bindsym $mod+Mod2+KP_6 workspace 6
bindsym $mod+Mod2+KP_7 workspace 7
bindsym $mod+Mod2+KP_8 workspace 8

# switch to next or previous workspace
bindsym $mod+Mod1+Left workspace prev
bindsym $mod+Mod1+Right workspace next

# move focused container to workspace
bindsym $Mod+Shift+1 move container to workspace 1; workspace 1
bindsym $Mod+Shift+2 move container to workspace 2; workspace 2
bindsym $Mod+Shift+3 move container to workspace 3; workspace 3
bindsym $Mod+Shift+4 move container to workspace 4; workspace 4
bindsym $Mod+Shift+5 move container to workspace 5; workspace 5
bindsym $Mod+Shift+6 move container to workspace 6; workspace 6
bindsym $Mod+Shift+7 move container to workspace 7; workspace 7
bindsym $Mod+Shift+8 move container to workspace 8; workspace 8

# move focused container to workspace - numpad alternatives
bindsym $Mod+Shift+Mod2+KP_End   move container to workspace 1; workspace 1
bindsym $Mod+Shift+Mod2+KP_Down  move container to workspace 2; workspace 2
bindsym $Mod+Shift+Mod2+KP_Next  move container to workspace 3; workspace 3
bindsym $Mod+Shift+Mod2+KP_Left  move container to workspace 4; workspace 4
bindsym $Mod+Shift+Mod2+KP_Begin move container to workspace 5; workspace 5
bindsym $Mod+Shift+Mod2+KP_Right move container to workspace 6; workspace 7
bindsym $Mod+Shift+Mod2+KP_Home  move container to workspace 7; workspace 7
bindsym $Mod+Shift+Mod2+KP_Up    move container to workspace 8; workspace 8


##############     Reload configs           ################

# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $Mod+Shift+r restart

# reload the configuration file
bindsym $Mod+Shift+c reload

############      Container/Window control  ############

# Scratchpad, Floating
bindsym $Mod+space floating toggle
floating_modifier  Mod1

bindsym $Mod+Shift+z move scratchpad
bindsym $Mod+z scratchpad show

# change focus
bindsym $Mod+$left  focus left
bindsym $Mod+$down  focus down
bindsym $Mod+$up    focus up
bindsym $Mod+$right focus right

# alternatively, you can use the cursor keys:
bindsym $Mod+Left  focus left
bindsym $Mod+Down  focus down
bindsym $Mod+Up    focus up
bindsym $Mod+Right focus right

bindsym $Mod+p focus parent
bindsym $Mod+c focus child

# move focused window
bindsym $Mod+Shift+$left  move left  10px
bindsym $Mod+Shift+$down  move down  10px
bindsym $Mod+Shift+$up    move up    10px
bindsym $Mod+Shift+$right move right 10px

# alternatively, you can use the cursor keys:
bindsym $Mod+Shift+Up    move up    10px
bindsym $Mod+Shift+Down  move down  10px
bindsym $Mod+Shift+Left  move left  10px
bindsym $Mod+Shift+Right move right 10px

# Size
bindsym Mod1+Up    resize shrink height 10 px or 1 ppt
bindsym Mod1+Down  resize grow   height 10 px or 1 ppt
bindsym Mod1+Left  resize shrink width  10 px or 1 ppt
bindsym Mod1+Right resize grow   width  10 px or 1 ppt

# layout toggle, keycode 23 is Tab
bindcode Mod1+23 layout toggle tabbed split
bindcode $Mod+23 layout toggle splitv splith

# switch to workspace with urgent window
for_window [urgent="latest"] focus
focus_on_window_activation   focus

# container layout
bindsym $Mod+h split h
bindsym $Mod+v split v
bindsym $Mod+Shift+t layout tabbed
bindsym $Mod+Shift+s layout stacking
bindsym $Mod+Shift+h layout toggle split

default_orientation horizontal

###############      Border & Gaps     ###############

new_window normal
new_float  normal

hide_edge_borders both

bindsym $Mod+shift+b border toggle

# changing border style
bindsym $Mod+n border normal
bindsym $Mod+y border 1pixel
bindsym $Mod+u border none

# change gaps
bindsym $Mod+plus                gaps inner current plus  5
bindsym $Mod+minus               gaps inner current minus 5
bindsym $Mod+Shift+plus          gaps outer current plus  5
bindsym $Mod+Shift+minus         gaps outer current minus 5
bindsym $Mod+Control+plus        gaps inner all     plus  5
bindsym $Mod+Control+minus       gaps inner all     minus 5
bindsym $Mod+Control+Shift+plus  gaps outer all     plus  5
bindsym $Mod+Control+Shift+minus gaps outer all     minus 5

############    application settings   ############

# assign applications to specific workspace
assign [class="(?i)(?:firefox)"] → 1
assign [class="(?i)(?:geany)"]   → 2
assign [class="(?i)(?:thunar)"]  → 3

# focus, floating, & sticky
for_window [class="(?i)(?:qt5ct|pinentry)"]          floating enable, focus
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
for_window [window_role="(?i)(?:pop-up|setup)"]      floating enable

popup_during_fullscreen smart

There are two locations you can find i3 stuff on AL. (not only just two)
/etc/i3 has a config file inside. (strange place)
/usr/share/doc/i3 This folder has lots of jucy stuff plus the i3 manual.