I3status issue

i3
manjaroi3
i3wm

#1

i ve been digging a lot to resolve but somehow i fail to understand…

i set locale, edit locale.conf [other WM/DE picks it up perfect but not i3]
to resolve the issue, i edit the .bashrc to add the /etc/locale.conf into it.
i restart i3, run i3 on terminal and it returns as required…
but when i wish to check on the bar, it returns with
"status_command process exited unexpectedly (exit 1)

my observation… terminal returns correctly coz locale is defined in .bashrc but not in reality picked up by i3 itself. thats why bar returns error code ?.. just sharing my experience though its not so important as a user coz alternative i3blocks are possible. still i felt its good to resolve this issue…

is it exclusive i3-manjaro issue which fails to read the system locale and defaults to de_DE.UTF-8 ?
coz i3status runs on term as well as the swaybar on sway just fine.

i also went thru the threads where @oberon had mentioned about this issue, unfortunately i could not get through…


#2

The cases I had encountered were only in live environments where locale was not set properly and i3status crashed for that reason. Not sure what the problem in your case is. To me it sounds like something is probably wrong with yourr locale settings.
What’s the output of locale on your system?
exporting locales from ,bashrc afaik will only affect shell environment.


#3

my output of locale

the same i3status.conf works just fine on swaybar. FYI
the bashrc edit i did it exclusively to test whats wrong. if i remove the locale from bashrc, even term returns de_DE.UTF-8 if i call for locale.

under same environment but on kde or sway, i get correct settings [en_IN.UTF-8]

EDIT: now i am on sway, i remove the bashrc locale entry, reload sway and still get same output as above for locale.

output for i3status over terminal in sway

same conf in i3 returns with error code exit [1]


#4

I’m confused about your kind of installation.
sway? i3? other DE? swaybar?
And why should de_DE.UTF-8 be the default? Where would that come from? Certainly not from any config on the i3 ISO.
Can you please try to explain more clearly what and how you have installed?


#5

on a fresh laptop, i installed kde first… clean and locale all set
then i add i3 from repo with i3-manjaro-settings [as i like i3]. i3status didnt load with error details… after digging a lot i was advised to check locale settings…
i check /etc/locale.gen, recheck and regenerate locale-gen [through terminal this time, as earlier i had used manjaro settings to set locale.

i get confused when i type echo $LANG in i3 returns de_DE.UTF-8 on i3… i logout of i3, log in to kde and open konsole to issue the same command and i get en_IN.UTF-8 [as was set] here i simply give a i3status command on konsole and i dont get any error… this was my observation on my setting which i never disturbed apart from installing addional WMs

finally i install sway from our repo, i use the i3 configs [including i3status] on sway and it just works with some small tweaks [for wallpaper setting etc] - in short, can say swaywm is i3_with_wayland… :slight_smile:

i just wanted to bring it to notice here in the forum though its not a problem for me as such [i swithced to i3blocks]


#6

Hm. Thank you. Weird. But at one point you must have generated German locale, right?


#7

i never needed it… kde was installed fresh with en_US and added en_IN
after testing en_IN clearly, i removed en_US… de_DE popped up or rather came to my notice only after i3status retured exit [1] error.
on our forum, i read that its the issue with locale setting…
i open settings manjaro, i check and it still shows en_IN
then i read online on how to generate locale by using localectl command and locale-gen etc…
i also noticed a new file in /etc/locale.gen.pacnew…
this was the culprit, didnt know where did this come from coz when i opened the file, all locales were with # prefix [not enabled] but only de_DE.UTF-8 was enabled !
i edit that file too and regenerate locale, still no result…
result from i3wm

i also notice that i had set konsole font to monofur size 13, which is also displayed so… but screenfetch on i3 says noto sans [the default font] as HERE


#8

perhaps this display will tell what confuses me too…

rvc at 09:01  ın {~}
 └─> ₹ » screenfetch

 ██████████████████  ████████     rvc@acer-e15
 ██████████████████  ████████     OS: Manjaro 17.0.5 Gellivara
 ██████████████████  ████████     Kernel: x86_64 Linux 4.9.50-1-MANJARO
 ██████████████████  ████████     Uptime: 56m
 ████████            ████████     Packages: 1239
 ████████  ████████  ████████     Shell: bash 4.4.12
 ████████  ████████  ████████     Resolution: 1920x1080
 ████████  ████████  ████████     WM: i3
 ████████  ████████  ████████     GTK Theme: Breeze [GTK2/3]
 ████████  ████████  ████████     Icon Theme: elementary
 ████████  ████████  ████████     Font: Noto Sans Regular 11
 ████████  ████████  ████████     CPU: Intel Core i3-7100U @ 4x 2.4GHz [41.5°C]
 ████████  ████████  ████████     GPU: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
 ████████  ████████  ████████     RAM: 777MiB / 3823MiB
                                 
rvc at 09:01  ın {~}
 └─> ₹ » localectl status
   System Locale: LANG=en_IN.UTF-8
       VC Keymap: n/a
      X11 Layout: in
       X11 Model: pc104
     X11 Variant: eng
rvc at 09:01  ın {~}
 └─> ₹ » cat /etc/locale.conf
LANG=en_IN.UTF-8
LC_CTYPE="en_IN.UTF-8"
LC_NUMERIC="en_IN.UTF-8"
LC_TIME="en_IN.UTF-8"
LC_COLLATE="en_IN.UTF-8"
LC_MONETARY="en_IN.UTF-8"
LC_MESSAGES="en_IN.UTF-8"
LC_PAPER="en_IN.UTF-8"
LC_NAME="en_IN.UTF-8"
LC_ADDRESS="en_IN.UTF-8"
LC_TELEPHONE="en_IN.UTF-8"
LC_MEASUREMENT="en_IN.UTF-8"
LC_IDENTIFICATION="en_IN.UTF-8"
LC_ALL=
rvc at 09:01  ın {~}
 └─> ₹ » echo $LANG
de_DE.UTF-8
rvc at 09:01  ın {~}
 └─> ₹ » 

notice the echo $LANG that shows de_DE
the same locale.conf has been copied to ~/.config/locale.conf too…
further… the font config in konsole is monofur 13 [which is displayed on konsole under i3] but does not reflect on i3 screenfetch ! the font shows right on other WM and KDE correctly
===> output from konsole under swaywm

rvc at 10:34  ın {~}
 └─> ₹ » loginctl session-status
c14 - rvc (1000)
           Since: Fri 2017-09-22 09:32:49 IST; 1h 2min ago
          Leader: 16577 (sddm-helper)
            Seat: seat0; vc3
             TTY: /dev/tty3
         Service: sddm; type wayland; class user
           State: active
            Unit: session-c14.scope
                  ├─ 8130 swaybg 0 /home/rvc/Pictures/mymanjaro_1.jpg fill
                  ├─ 8131 swaybar -b bar-0
                  ├─ 8133 i3blocks -c /home/rvc/.config/sway/i3blocks.conf
                  ├─16577 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth743fb
                  ├─16586 /usr/bin/kwalletd5 --pam-login 15 18
                  ├─16587 sway
                  ├─16594 sway
                  ├─16595 Xwayland :1 -rootless -terminate -listen 47 -listen 48
                  ├─16676 nm-applet
                  ├─17073 /usr/lib/firefox/firefox
                  ├─17169 /usr/lib/firefox/firefox -contentproc -childID 1 -isFo
                  ├─17646 /usr/bin/kactivitymanagerd start-daemon
                  ├─20797 /usr/lib/firefox/firefox -contentproc -childID 3 -isFo
                  ├─21425 konsole
                  ├─21485 /bin/bash
                  ├─24683 loginctl session-status
                  └─24684 less

rvc at 11:18  ın {~}
 └─> ₹ » localectl status
   System Locale: LANG=en_IN.UTF-8
       VC Keymap: n/a
      X11 Layout: in
       X11 Model: pc104
     X11 Variant: eng
rvc at 11:18  ın {~}
 └─> ₹ » echo $LANG
en_IN.UTF-8
rvc at 11:18  ın {~}
 └─> ₹ » 

#9

Why not just replace KWin with i3 (or i3-gaps even better) and have everything working from both “worlds” :slight_smile:


#10

I cannot think of any reason why German locale could be showing if not you have at one point created the locale and configured it in some place.


#11

i cross-checked in almost all directories where such info is stored…

  1. /etc/locale.gen
  2. /etc/locale.gen.pacnew [i wonder when this got created which had showed de_DE as only locale active which i edited to en_IN and regenerated locale-gen]
  3. checked locale-gen
  4. /etc/default/locale
  5. /etc/locale.conf
    copied /etc/locale.conf to ~/.config/locale.conf

still it sounds wierd… though its not an issue for my working, i just brought this wierd behaviour to notice on this forum


#12

i dont think there is any issue in using multiple DE/WMS…
the other laptop runs i3, jwm, openbox etc without any issue…
same i3 version here displays locale correctly


#13

Or my suggestion wasn’t clear, or you didn’t understand me, but i’ll explain what i meant. :slight_smile:
In a clean KDE install you can replace KWin with i3-gaps, log in plasma and have everything (or less) from both plasma and i3 in the same time. The advantage is that you don’t need countless configs …

This is the setup:

  1. Install of just necesary files
    sudo pacman -S i3-gaps perl-anyevent-i3 nitrogen

  2. Create the necessary folders
    mkdir .config/i3 && mkdir .config/plasma-workspace && mkdir .config/plasma-workspace/env

  3. Create the configs and the wm.sh script file that replaces KWin with i3
    touch .config/i3/config && touch .config/plasma-workspace/env/wm.sh && chmod +x .config/plasma-workspace/env/wm.sh

  4. Edit the configs
    kate .config/i3/config && kate .config/plasma-workspace/env/wm.sh

Once in Kate you paste this for i3 config file:

# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#

# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

set $mod Mod4

# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8

# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8

# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.

# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# start a terminal
bindsym $mod+Return exec konsole

# kill focused window
bindsym $mod+Shift+q kill

# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon 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

# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right

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

# split in horizontal orientation
bindsym $mod+h split h

# split in vertical orientation
bindsym $mod+v split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle

# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
bindsym $mod+a focus parent

# focus the child container
#bindsym $mod+d focus child

# 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
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10

# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart

# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window’s width.
        # Pressing right will grow the window’s width.
        # Pressing up will shrink the window’s height.
        # Pressing down will grow the window’s height.
        bindsym j resize shrink width 10 px or 10 ppt
        bindsym k resize grow height 10 px or 10 ppt
        bindsym l resize shrink height 10 px or 10 ppt
        bindsym semicolon resize grow width 10 px or 10 ppt

        # same bindings, but for the arrow keys
        bindsym Left resize shrink width 10 px or 10 ppt
        bindsym Down resize grow height 10 px or 10 ppt
        bindsym Up resize shrink height 10 px or 10 ppt
        bindsym Right resize grow width 10 px or 10 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

# Gaps
gaps inner 10
gaps outer 0
smart_gaps on

set $black       #212121
set $darkblack   #000000
set $red         #fb4934
set $darkred     #cc241d
set $green       #b8bb26
set $darkgreen   #98971a
set $yellow      #fabd2f
set $darkyellow  #d79921
set $blue        #83a598
set $darkblue    #458588
set $magenta     #d3869b
set $darkmagenta #b16286
set $cyan        #8ec07c
set $darkcyan    #689d6a
set $white       #ebdbb2
set $darkwhite   #a89984
set $background  #000000
set $transparent #00000000

## Avoid tiling popups, dropdown windows from plasma
# for the first time, manually resize them, i3 will remember the setting for floating windows
exec --no-startup-id wmctrl -c Plasma
for_window [title="Desktop — Plasma"] kill; floating enable; border none
for_window [class="yakuake"] floating enable
for_window [class="octopi"] floating enable
for_window [class="plasmashell"] floating enable;
for_window [class="Plasma"] floating enable; border none
for_window [title="plasma-desktop"] floating enable; border none
for_window [title="win7"] floating enable; border none
for_window [class="krunner"] floating enable; border none
for_window [class="Kmix"] floating enable; border none
for_window [class="Klipper"] floating enable; border none
for_window [class="Plasmoidviewer"] floating enable; border none

# (No) Title Bars
for_window [class="^.*"] border pixel 0

# If using compton and nitrogen change below
# exec --no-startup-id nitrogen --restore; sleep 1; compton -b
exec --no-startup-id nitrogen --restore; sleep 1

Save and close and the next file is for wm.sh

# Disable KWin and use i3gaps as WM
export KDEWM=/usr/bin/i3
# Compositor (Animations, Shadows, Transparency)
xcompmgr -C
# If you use compton then comment above and uncomment below
# compton -cCFb --backend glx --vsync opengl

Log out and log back in in plasma and you have a complete i3plasma, from this point the tweaks are easy and with no overlaps. Keyboard shortcuts work for bot i3 and plasma, and is using around 370MB memory … etc.
Cheers!


[KDE] "Single click to open" setting not working
[manjaro-i3] Installing i3 to existing Manjaro
#14

worth a try…
in that case there wont be any fallback mode for kwin-plasma-kde5, right ?


#15

@bogdancovaciu @oberon
i am still wondering why i3 fails to pickup locale from system settings…
is there “i3-specific” ? i also tried to remove i3 completely, reinstall from repo including 13-manjaro-settings; still it picks up locale as de_DE !
perhaps this may be reason i3 fails to show the bash prompt as customized with funny chars on urxvt…


#16

I’m not quite sure what happens in your end … For instance i prefer the language to be English in my systems. My /etc/locale.conf looks like this:

LANG=en_US.UTF-8
LC_ADDRESS=ro_RO.UTF-8
LC_IDENTIFICATION=ro_RO.UTF-8
LC_MEASUREMENT=ro_RO.UTF-8
LC_MONETARY=ro_RO.UTF-8
LC_NAME=ro_RO.UTF-8
LC_NUMERIC=ro_RO.UTF-8
LC_PAPER=ro_RO.UTF-8
LC_TELEPHONE=ro_RO.UTF-8
LC_TIME=ro_RO.UTF-8

it doesn’t exist in my home folder .config …
If in your case the locale shows de_DE.UTF-8 UTF-8 it means your system displays everything in German, including time and currency etc …
If you want your system to be in English but the currency, time, measurements etc. in German then LANG must be en_US.UTF-8 or en_GB.UTF-8 to work correctly and LC related to be to de_DE.UTF-8 … I’m not sure why is the case.


#17

as suggested i edited the locale.conf and regen local-gen too
here is output of locale under i3


when i issue locale command, it returns with all de_DE

following is under sway [using same i3 config but under wayland]

rvc at 13:13  ın {~}
 └─> ₹ » echo $LANG
en_US.UTF-8
rvc at 13:13  ın {~}
 └─> ₹ » locale
LANG=en_US.UTF-8
LC_CTYPE=en_IN.UTF-8
LC_NUMERIC=en_IN.UTF-8
LC_TIME=en_IN.UTF-8
LC_COLLATE=en_IN.UTF-8
LC_MONETARY=en_IN.UTF-8
LC_MESSAGES=en_IN.UTF-8
LC_PAPER=en_IN.UTF-8
LC_NAME=en_IN.UTF-8
LC_ADDRESS=en_IN.UTF-8
LC_TELEPHONE=en_IN.UTF-8
LC_MEASUREMENT=en_IN.UTF-8
LC_IDENTIFICATION=en_IN.UTF-8
LC_ALL=
rvc at 13:13  ın {~}
 └─> ₹ » localectl status
System Locale: LANG=en_US.UTF-8
                  LC_CTYPE=en_IN.UTF-8
                  LC_NUMERIC=en_IN.UTF-8
                  LC_TIME=en_IN.UTF-8
                  LC_COLLATE=en_IN.UTF-8
                  LC_MONETARY=en_IN.UTF-8
                  LC_MESSAGES=en_IN.UTF-8
                  LC_PAPER=en_IN.UTF-8
                  LC_NAME=en_IN.UTF-8
                  LC_ADDRESS=en_IN.UTF-8
                  LC_TELEPHONE=en_IN.UTF-8
                  LC_MEASUREMENT=en_IN.UTF-8
                  LC_IDENTIFICATION=en_IN.UTF-8
       VC Keymap: n/a
      X11 Layout: in
       X11 Model: acer_laptop
     X11 Variant: eng
     X11 Options: rupeesign

this was confusing me ! where does i3 pick up de_DE from when same config file under sway works…
interestingly, all display works as per en_IN including currency under i3… i would have never come to know if i3status did not display error with locale not matching !


#18

Look for this line in your i3 config file:
WM_LOCALE_NAME(STRING) maybe is pointing to something else …


#19

dont have this… nothing points to locale

# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
#

# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

set $mod Mod1
set $control ~/.config/i3/workspace_controller.py

# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. ISO 10646 = Unicode
##font pango:Ubuntu, Light, Icons 11
font pango:Inconsolata
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, if you need a lot of unicode glyphs or
# right-to-left text rendering, you should instead use pango for rendering and
# chose a FreeType font, such as:
# font pango:DejaVu Sans Mono 10

# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# start a terminal
bindsym $mod+Return exec urxvt
#bindsym $mod+Space exec qTerm-drop

# run a command
bindsym $mod+F2 exec gmrun

# kill focused window
bindsym $mod+Shift+c kill

# start j4-dmenu-desktop (a program launcher)
bindsym $mod+p exec --no-startup-id j4-dmenu-desktop

# program menu with morc_menu
bindsym $mod+m exec morc_menu

# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+p exec --no-startup-id i3-dmenu-desktop

# enable floating mode for all Terminal windows
for_window [class="(?i)termite"] floating enable move right 350px, move down 175px
for_window [class="(?i)xterm"] floating enable move right 350px, move down 175px
for_window [class="(?i)sakura"] floating enable move left 350px, move down 150px
for_window [class="(?i)xfce4-terminal"] floating enable move right 350px, move down 150px
for_window [class="(?i)urxvt"] floating enable move left 350px, move down 150px
for_window [class="(?i)QTerm"] floating enable move right 350px, move up 160px

# dynamic tagging feature
#bindsym $mod+t exec ~/.i3/workspace_controller.py | dmenu -b | ~/.i3/go_to_workspace.py
#bindsym $mod+Shift+t exec ~/.i3/workspace_controller.py | dmenu -b | ~/.i3/move_to_workspace.py
#bindsym $mod+t exec $control dynamic go
#bindsym $mod+Shift+t exec $control dynamic move

# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right

# change focus with tab keys
bindsym Mod1+Tab focus right
bindsym Mod1+Shift+Tab focus left

# alternatively, you can use the cursor keys:
bindsym $mod+Left exec $control prev go
bindsym $mod+Right exec $control next go
bindsym $mod+Up exec $control up go
bindsym $mod+Down exec $control down go

# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right

# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left exec $control prev move
bindsym $mod+Shift+Right exec $control next move
bindsym $mod+Shift+Up exec $control up move
bindsym $mod+Shift+Down exec $control down move

# split in horizontal orientation
bindsym $mod+h split h

# split in vertical orientation
bindsym $mod+v split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen
bindsym $mod+g fullscreen global

# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
bindsym $mod+a focus parent

# focus the child container
bindsym $mod+d focus child

# 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
    bindsym $mod+9 workspace 9
    bindsym $mod+0 workspace 0
    # move focused container to workspace
    bindsym $mod+Shift+1 move container to workspace 1
    bindsym $mod+Shift+2 move container to workspace 2
    bindsym $mod+Shift+3 move container to workspace 3
    bindsym $mod+Shift+4 move container to workspace 4
    bindsym $mod+Shift+5 move container to workspace 5
    bindsym $mod+Shift+6 move container to workspace 6
    bindsym $mod+Shift+7 move container to workspace 7
    bindsym $mod+Shift+8 move container to workspace 8
    bindsym $mod+Shift+9 move container to workspace 9
    bindsym $mod+Shift+0 move container to workspace 0

# move workspace between outputs
bindsym $mod+y move workspace to output left

# move to last workspace

bindsym $mod+z workspace back_and_forth

# lock computer
bindsym $mod+Control+Shift+l exec i3lock
bindsym $mod+Control+Shift+s exec i3lock && systemctl suspend

# toggle border
bindsym $mod+b exec i3-msg border toggle

# border mode
new_window pixel 1

# gaps
#gaps inner 5
#gaps outer 3

# reload the configuration file
bindsym $mod+Shift+v reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart


# exit i3 (logs you out / reboot / poweroff of your X session)
###bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"

mode "(L)ogout | (R)eboot | (S)uspend | (P)oweroff | Loc(K)" {
        bindsym $mod+r exec i3exit reboot
        bindsym $mod+l exec i3exit logout
        bindsym $mod+p exec i3exit shutdown
        bindsym $mod+s exec i3exit suspend
	bindsym $mod+k exec i3exit lock

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+Shift+x mode "(L)ogout | (R)eboot | (S)uspend | (P)oweroff | Loc(K)"


# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window’s width.
        # Pressing right will grow the window’s width.
        # Pressing up will shrink the window’s height.
        # Pressing down will grow the window’s height.
        bindsym j resize shrink width 3 px or 3 ppt
        bindsym k resize grow height 3 px or 3 ppt
        bindsym l resize shrink height 3 px or 3 ppt
        bindsym semicolon resize grow width 3 px or 3 ppt

        # same bindings, but for the arrow keys
        bindsym Left resize shrink width 3 px or 3 ppt
        bindsym Down resize grow height 3 px or 3 ppt
        bindsym Up resize shrink height 3 px or 3 ppt
        bindsym Right resize grow width 3 px or 3 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
		position top

        status_command i3blocks -c ~/.config/i3/i3blocks.conf
        tray_output primary
        colors {
                background #373b41
                separator  #f0c674
                statusline #5f819d

                focused_workspace  #a54242 #f0c674 #a54242
                active_workspace   #223434 #b5bd68 #090909
                inactive_workspace #223434 #8abeb7 #5f819d
                urgent_workspace   #282a2e #a54242 #c5c8c6
        }
}

# volume
bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ && pkill -RTMIN+1 i3blocks
bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- && pkill -RTMIN+1 i3blocks
# granular volume control
bindsym $mod+XF86AudioRaiseVolume exec amixer -D pulse sset Master 1%+ && pkill -RTMIN+1 i3blocks
bindsym $mod+XF86AudioLowerVolume exec amixer -D pulse sset Master 1%- && pkill -RTMIN+1 i3blocks
# mute
bindsym XF86AudioMute exec amixer sset Master toggle && killall -USR1 i3blocks
# other keys
bindsym XF86Calculator exec gnome-calculator
bindsym XF86Explorer exec google-chrome
bindsym XF86HomePage exec nemo
bindsym Print exec scrot '%Y-%m-%d_%T_scrot.png' -e 'mv $f ~/shots'
# media keys
bindsym $mod+Home exec curl http://localhost:2000/command/default/playpause
bindsym $mod+Next exec curl http://localhost:2000/command/default/prev
bindsym $mod+Prior exec curl http://localhost:2000/command/default/next
# screen layout keys

# 
# startup programs
exec --no-startup-id compton -b
#exec --no-startup-id compton -b --config /home/rvc/.config/compton.conf
exec --no-startup-id ./.fehbg
exec conky -c ~/.conky/conkyrc_i3weather
exec conky -c ~/.conky/conkyrc_i3biclock
exec --no-startup-id i3-msg j4-dmenu-desktop
exec pulseaudio --start
#exec --no-startup-id start-cadence
#exec --no-startup-id i3-msg 'exec /home/rvc/scripts/cadence-start.sh'
#exec /home/rvc/.i3/update_background
#exec --no-startup-id i3-msg 'workspace 0; exec geary'
exec --no-startup-id i3-msg 'workspace 0; exec keepass'
exec clipit
exec CopyAgent
#exec udiskie --tray
#exec xflux -l -38.14 -g 144.35
#exec xscreensaver -no-splash
exec pa-applet
exec nm-applet
exec amixer set Master 35%
###exec --no-startup-id i3-msg 'workspace 1; exec chromium'

# open certain windows in floating mode
for_window [class="(?i)gnome-calculator"] floating enable
for_window [class="(?i)lighthouse"] floating enable
for_window [window_role="(?i)pop-up"] floating enable
for_window [class="(?i)gmrun"] floating enable move down 300px
for_window [class="(?!)qjactctl"] floating enable move up 300px
for_window [class="(?!)feh"] floating enable

client.focused #005959 #005959 #ffffff #dddddd
client.focused_inactive #122323 #122323 #888888 #292d2e
client.unfocused #333333 #333333 #888888 #292d2e
client.urgent #2f343a #900000 #ffffff #900000

my config for i3… if it can give some clue

FYI, its same config picked up from my other laptop running i3 …


#20

See if this config has it, or if is the same as on your other laptop …
Usually this is when you have something in xprop, so that you get a better display for keepassx
I’m still reading about it myself, so i’m not 100% sure about it.