You are not logged in.

#1 2023-08-10 13:30:59

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

[SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Hello,

Since I started to use Xmonad and Xmobar by building them myself (and not from pacman), I have this weird issue: the first time I log in after starting my computer, Xmonad is launched correctly (via .xinitrc) but xmobar doesn't appear. But if I restart Xmonad, everything works fine. And from this point, I can even quit X and start it again, Xmobar will correctly appear. It is only after rebooting the computer that the problem comes back.

I tried to print every log I could think of, change a few things in my configs, but nothing changed. Here are some parts of my config:

xmonad.hs:

myBar = "xmobar $XDG_CONFIG_HOME/xmobar/.xmobarrc"

-- Autostart
myStartupHook :: X ()
myStartupHook = do
    spawnOnce "fehbg"
    spawnOnce "picom"
    windows $ W.greedyView "1"
    setDefaultCursor xC_left_ptr

-- Layouts
myLayout = avoidStruts (tiled ||| Mirror tiled ||| Full)
    where
        tiled = Tall nmaster delta ratio
        nmaster = 1
        delta = 3/100
        ratio = 1/2
myLayoutHook = smartSpacingWithEdge 8 myLayout


-- Key binding
myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
  [ (((modmS, xK_t), spawn $ XMonad.terminal conf)
  , …
  ]

-- Xmobar
myPP = def
    { ppSep = " | "
    , ppWsSep = " "
    , ppCurrent = xmobarColor blue "" . const "<fn=2>●</fn>"
    , ppHidden = xmobarColor blue "" . const "<fn=2>○</fn>"
    , ppHiddenNoWindows = xmobarColor grey2 "" . const "<fn=1>○</fn>"
    , ppUrgent = xmobarColor orange ""
    , ppTitle = xmobarColor blue "" . shorten 32
    , ppOrder = \(ws : _ : title : extras) -> ws : title : extras
    }

toggleStrutsKey :: XConfig Layout -> (KeyMask, KeySym)
toggleStrutsKey XConfig{XMonad.modMask = modMask} = (modMask, xK_f)

mySB = statusBarProp myBar $ pure myPP

-- Final config
myConfig = def {
    workspaces = myWorkspaces,
    startupHook = myStartupHook,
    layoutHook = myLayoutHook,
    manageHook = myManageHook,
    modMask = myModMask,
    keys = myKeys,
    mouseBindings = myMouseBindings,
    terminal = myTerminal,
    focusFollowsMouse = True,
    normalBorderColor = grey1,
    focusedBorderColor = grey3}

main :: IO ()
main = xmonad $ withEasySB mySB defToggleStrutsKey myConfig

.xmobarrc:

Config {
    font = "xft:Fira Mono 14"
    , additionalFonts = [ "xft:Fira Mono 18"
                        , "xft:Fira Mono Bold 18" ]
    , bgColor = "#2B2E37"
    , fgColor = "#929AAD"
    , position = TopSize L 100 32
    , border = BottomB
    , borderColor = "#555555"

    , sepChar = "@"
    , alignSep = "}{"
    , template = " @XMonadLog@ } @date@ { @ibus@ | @default:Master@ | @battery@ "

    , lowerOnStart = True
    , hideOnStart = False
    , overrideRedirect = True
    , persistent = False

    , commands =
    [ Run Date "%a. %d %B %Y - %H:%M:%S" "date" 10
    , Run Volume "default" "Master" [ "--template", "Vol: <volume>% <status>"
                                    , "--"
                                    , "--on", "on"
                                    , "--off", "off"
                                    , "--onc", "#A3BE8C"
                                    , "--offc", "#BF616A"
                                    ] 10
    , Run Battery [ "--template" , "Batt: <left>% - <timeleft>"
                  , "--Low"      , "10"
                  , "--High"     , "80"
                  , "--low"      , "#BF616A"
                  , "--normal"   , "#EBCB8B"
                  , "--high"     , "#A3BE8C"
                  ] 50
    , Run Com "/home/martin/.local/bin/my_scripts/xmobar_ibus" [] "ibus" 10
    , Run XMonadLog
    ]
}

I am not sure what more to provide, just let me know if anything can help!
Any idea is welcome.

Last edited by Jocquijoke (2023-08-17 13:08:47)

Offline

#2 2023-08-10 14:54:32

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,453

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Check/post your xinitrc.

Offline

#3 2023-08-10 15:01:14

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

.xinitrc:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"
fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

ibus-daemon -rxR &

exec xmonad

Offline

#4 2023-08-10 16:47:27

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,453

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Is anything logged in your X log? Capture the log from a case where xmobar doesn't load, be aware that it may get overloaded once you quit X and start it again.

Offline

#5 2023-08-10 16:54:26

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

This is my ~/.local/share/xorg/Xorg.0.log, not sure this is what you were talking about but that's also the first thing I checked when I hade this issue:

[     9.747] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[     9.747] Current Operating System: Linux toupoutou 6.4.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 08 Aug 2023 22:14:05 +0000 x86_64
[     9.747] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=f3d8e75a-c8b6-4c6c-833b-b6996b2d61d5 rw loglevel=3 quiet
[     9.747]  
[     9.747] Current version of pixman: 0.42.2
[     9.747] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     9.747] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.747] (==) Log file: "/home/martin/.local/share/xorg/Xorg.0.log", Time: Thu Aug 10 18:50:04 2023
[     9.749] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     9.749] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.750] (==) No Layout section.  Using the first Screen section.
[     9.750] (==) No screen section available. Using defaults.
[     9.750] (**) |-->Screen "Default Screen Section" (0)
[     9.750] (**) |   |-->Monitor "<default monitor>"
[     9.750] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[     9.750] (**) |   |-->Device "Intel Graphics"
[     9.750] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     9.750] (==) Automatically adding devices
[     9.750] (==) Automatically enabling devices
[     9.750] (==) Automatically adding GPU devices
[     9.750] (==) Automatically binding GPU devices
[     9.750] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     9.751] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     9.751] 	Entry deleted from font path.
[     9.751] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     9.751] (==) ModulePath set to "/usr/lib/xorg/modules"
[     9.751] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.751] (II) Module ABI versions:
[     9.751] 	X.Org ANSI C Emulation: 0.4
[     9.751] 	X.Org Video Driver: 25.2
[     9.751] 	X.Org XInput driver : 24.4
[     9.751] 	X.Org Server Extension : 10.0
[     9.752] (++) using VT number 1

[     9.753] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[     9.753] (II) xfree86: Adding drm device (/dev/dri/card1)
[     9.753] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[     9.754] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0
[     9.756] (--) PCI:*(0@0:2:0) 8086:46a6:1028:0b19 rev 12, Mem @ 0x6188000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[     9.756] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     9.756] (II) LoadModule: "glx"
[     9.756] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     9.759] (II) Module glx: vendor="X.Org Foundation"
[     9.759] 	compiled for 1.21.1.8, module version = 1.0.0
[     9.759] 	ABI class: X.Org Server Extension, version 10.0
[     9.759] (II) LoadModule: "modesetting"
[     9.760] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     9.761] (II) Module modesetting: vendor="X.Org Foundation"
[     9.761] 	compiled for 1.21.1.8, module version = 1.21.1
[     9.761] 	Module class: X.Org Video Driver
[     9.761] 	ABI class: X.Org Video Driver, version 25.2
[     9.761] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     9.761] (II) modeset(0): using drv /dev/dri/card1
[     9.761] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[     9.761] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     9.761] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[     9.761] (==) modeset(0): RGB weight 888
[     9.761] (==) modeset(0): Default visual is TrueColor
[     9.761] (II) Loading sub module "glamoregl"
[     9.761] (II) LoadModule: "glamoregl"
[     9.761] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     9.764] (II) Module glamoregl: vendor="X.Org Foundation"
[     9.764] 	compiled for 1.21.1.8, module version = 1.0.1
[     9.764] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     9.911] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) Graphics (ADL GT2)
[     9.911] (II) modeset(0): glamor initialized
[     9.911] (==) modeset(0): VariableRefresh: disabled
[     9.911] (==) modeset(0): AsyncFlipSecondaries: disabled
[     9.914] (II) modeset(0): Output eDP-1 has no monitor section
[     9.914] (II) modeset(0): Output DP-1 has no monitor section
[     9.914] (II) modeset(0): Output HDMI-1 has no monitor section
[     9.914] (II) modeset(0): Output DP-2 has no monitor section
[     9.914] (II) modeset(0): Output DP-3 has no monitor section
[     9.914] (II) modeset(0): Output DP-4 has no monitor section
[     9.917] (II) modeset(0): EDID for output eDP-1
[     9.917] (II) modeset(0): Manufacturer: LGD  Model: 6b3  Serial#: 0
[     9.917] (II) modeset(0): Year: 2021  Week: 0
[     9.917] (II) modeset(0): EDID Version: 1.4
[     9.917] (II) modeset(0): Digital Display Input
[     9.917] (II) modeset(0): 8 bits per channel
[     9.917] (II) modeset(0): Digital interface is DisplayPort
[     9.917] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 21
[     9.917] (II) modeset(0): Gamma: 2.20
[     9.917] (II) modeset(0): No DPMS capabilities specified
[     9.917] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[     9.917] (II) modeset(0): Default color space is primary color space
[     9.917] (II) modeset(0): First detailed timing is preferred mode
[     9.917] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[     9.917] (II) modeset(0): redX: 0.650 redY: 0.330   greenX: 0.285 greenY: 0.635
[     9.917] (II) modeset(0): blueX: 0.145 blueY: 0.055   whiteX: 0.313 whiteY: 0.329
[     9.917] (II) modeset(0): Manufacturer's mask: 0
[     9.917] (II) modeset(0): Supported detailed timing:
[     9.917] (II) modeset(0): clock: 154.0 MHz   Image Size:  336 x 210 mm
[     9.917] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
[     9.917] (II) modeset(0): v_active: 1200  v_sync: 1203  v_sync_end 1209 v_blanking: 1235 v_border: 0
[     9.917] (II) modeset(0): Supported detailed timing:
[     9.917] (II) modeset(0): clock: 123.2 MHz   Image Size:  336 x 210 mm
[     9.917] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
[     9.917] (II) modeset(0): v_active: 1200  v_sync: 1203  v_sync_end 1209 v_blanking: 1235 v_border: 0
[     9.917] (II) modeset(0):  4DWVJ156WU1
[     9.917] (II) modeset(0): Unknown vendor-specific block 0
[     9.917] (II) modeset(0): EDID (in hex):
[     9.917] (II) modeset(0): 	00ffffffffffff0030e4b30600000000
[     9.917] (II) modeset(0): 	001f0104a522157806a205a65449a225
[     9.917] (II) modeset(0): 	0e505400000001010101010101010101
[     9.917] (II) modeset(0): 	010101010101283c80a070b023403020
[     9.917] (II) modeset(0): 	360050d21000001a203080a070b02340
[     9.917] (II) modeset(0): 	3020360050d21000001a000000fe0034
[     9.917] (II) modeset(0): 	4457564a813135365755310a00000000
[     9.917] (II) modeset(0): 	00024131b2001100000a010a202000ad
[     9.917] (II) modeset(0): Printing probed modes for output eDP-1
[     9.917] (II) modeset(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz eP)
[     9.917] (II) modeset(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz d)
[     9.917] (II) modeset(0): Modeline "1920x1200"x48.0  123.20  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (59.2 kHz e)
[     9.917] (II) modeset(0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[     9.917] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[     9.917] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[     9.917] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[     9.917] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz d)
[     9.917] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[     9.917] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[     9.917] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[     9.917] (II) modeset(0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[     9.917] (II) modeset(0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[     9.917] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[     9.917] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[     9.917] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[     9.917] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[     9.917] (II) modeset(0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[     9.917] (II) modeset(0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[     9.917] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[     9.917] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[     9.917] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[     9.917] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[     9.917] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[     9.918] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[     9.918] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[     9.918] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[     9.918] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[     9.918] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[     9.918] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[     9.918] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[     9.918] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[     9.918] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[     9.918] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[     9.918] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[     9.918] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[     9.918] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[     9.918] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[     9.918] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[     9.918] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[     9.918] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[     9.918] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[     9.918] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[     9.918] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[     9.918] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[     9.918] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[     9.918] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[     9.918] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[     9.918] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[     9.918] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[     9.918] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[     9.918] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[     9.918] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[     9.918] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[     9.918] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[     9.918] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[     9.918] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[     9.918] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[     9.918] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[     9.918] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[     9.918] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[     9.918] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[     9.918] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[     9.918] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[     9.918] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[     9.918] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[     9.918] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[     9.918] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[     9.918] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[     9.918] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[     9.918] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[     9.918] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[     9.918] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[     9.918] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[     9.918] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[     9.918] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[     9.918] (II) modeset(0): EDID for output DP-1
[     9.918] (II) modeset(0): EDID for output HDMI-1
[     9.918] (II) modeset(0): EDID for output DP-2
[     9.918] (II) modeset(0): EDID for output DP-3
[     9.918] (II) modeset(0): EDID for output DP-4
[     9.918] (II) modeset(0): Output eDP-1 connected
[     9.918] (II) modeset(0): Output DP-1 disconnected
[     9.918] (II) modeset(0): Output HDMI-1 disconnected
[     9.918] (II) modeset(0): Output DP-2 disconnected
[     9.918] (II) modeset(0): Output DP-3 disconnected
[     9.918] (II) modeset(0): Output DP-4 disconnected
[     9.918] (II) modeset(0): Using exact sizes for initial modes
[     9.918] (II) modeset(0): Output eDP-1 using initial mode 1920x1200 +0+0
[     9.918] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[     9.918] (==) modeset(0): DPI set to (96, 96)
[     9.918] (II) Loading sub module "fb"
[     9.918] (II) LoadModule: "fb"
[     9.918] (II) Module "fb" already built-in
[     9.935] (==) modeset(0): Backing store enabled
[     9.935] (==) modeset(0): Silken mouse enabled
[    10.025] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    10.025] (==) modeset(0): DPMS enabled
[    10.025] (II) modeset(0): [DRI2] Setup complete
[    10.025] (II) modeset(0): [DRI2]   DRI driver: iris
[    10.025] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[    10.025] (II) Initializing extension Generic Event Extension
[    10.025] (II) Initializing extension SHAPE
[    10.025] (II) Initializing extension MIT-SHM
[    10.025] (II) Initializing extension XInputExtension
[    10.025] (II) Initializing extension XTEST
[    10.025] (II) Initializing extension BIG-REQUESTS
[    10.025] (II) Initializing extension SYNC
[    10.025] (II) Initializing extension XKEYBOARD
[    10.026] (II) Initializing extension XC-MISC
[    10.026] (II) Initializing extension SECURITY
[    10.026] (II) Initializing extension XFIXES
[    10.026] (II) Initializing extension RENDER
[    10.026] (II) Initializing extension RANDR
[    10.026] (II) Initializing extension COMPOSITE
[    10.026] (II) Initializing extension DAMAGE
[    10.026] (II) Initializing extension MIT-SCREEN-SAVER
[    10.026] (II) Initializing extension DOUBLE-BUFFER
[    10.026] (II) Initializing extension RECORD
[    10.026] (II) Initializing extension DPMS
[    10.026] (II) Initializing extension Present
[    10.026] (II) Initializing extension DRI3
[    10.026] (II) Initializing extension X-Resource
[    10.026] (II) Initializing extension XVideo
[    10.026] (II) Initializing extension XVideo-MotionCompensation
[    10.026] (II) Initializing extension GLX
[    10.031] (II) AIGLX: Loaded and initialized iris
[    10.031] (II) GLX: Initialized DRI2 GL provider for screen 0
[    10.031] (II) Initializing extension XFree86-VidModeExtension
[    10.031] (II) Initializing extension XFree86-DGA
[    10.031] (II) Initializing extension XFree86-DRI
[    10.031] (II) Initializing extension DRI2
[    10.031] (II) modeset(0): Damage tracking initialized
[    10.031] (II) modeset(0): Setting screen physical size to 508 x 317
[    10.088] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[    10.088] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    10.088] (**) Video Bus: Applying InputClass "system-keyboard"
[    10.088] (II) LoadModule: "libinput"
[    10.088] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    10.091] (II) Module libinput: vendor="X.Org Foundation"
[    10.091] 	compiled for 1.21.1.8, module version = 1.3.0
[    10.091] 	Module class: X.Org XInput Driver
[    10.091] 	ABI class: X.Org XInput driver, version 24.4
[    10.091] (II) Using input driver 'libinput' for 'Video Bus'
[    10.091] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 27 paused 0
[    10.091] (**) Video Bus: always reports core events
[    10.091] (**) Option "Device" "/dev/input/event3"
[    10.095] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[    10.095] (II) event3  - Video Bus: device is a keyboard
[    10.095] (II) event3  - Video Bus: device removed
[    10.095] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input3/event3"
[    10.095] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
[    10.095] (**) Option "xkb_layout" "perso"
[    10.106] (**) Option "AutoRepeat" "256 32"
[    10.106] (**) AutoRepeat: 256 32
[    10.106] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[    10.106] (II) event3  - Video Bus: device is a keyboard
[    10.106] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[    10.106] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    10.106] (**) Video Bus: Applying InputClass "system-keyboard"
[    10.106] (II) Using input driver 'libinput' for 'Video Bus'
[    10.107] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 30 paused 0
[    10.107] (**) Video Bus: always reports core events
[    10.107] (**) Option "Device" "/dev/input/event2"
[    10.107] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[    10.108] (II) event2  - Video Bus: device is a keyboard
[    10.108] (II) event2  - Video Bus: device removed
[    10.108] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/LNXVIDEO:00/input/input2/event2"
[    10.108] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    10.108] (**) Option "xkb_layout" "perso"
[    10.108] (**) Option "AutoRepeat" "256 32"
[    10.108] (**) AutoRepeat: 256 32
[    10.108] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[    10.108] (II) event2  - Video Bus: device is a keyboard
[    10.108] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    10.108] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    10.108] (**) Power Button: Applying InputClass "system-keyboard"
[    10.108] (II) Using input driver 'libinput' for 'Power Button'
[    10.110] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 31 paused 0
[    10.110] (**) Power Button: always reports core events
[    10.110] (**) Option "Device" "/dev/input/event1"
[    10.110] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    10.110] (II) event1  - Power Button: device is a keyboard
[    10.110] (II) event1  - Power Button: device removed
[    10.110] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    10.110] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    10.110] (**) Option "xkb_layout" "perso"
[    10.110] (**) Option "AutoRepeat" "256 32"
[    10.110] (**) AutoRepeat: 256 32
[    10.110] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    10.110] (II) event1  - Power Button: device is a keyboard
[    10.111] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    10.111] (II) No input driver specified, ignoring this device.
[    10.111] (II) This device may have been added with another device file.
[    10.111] (II) config/udev: Adding input device VEN_04F3:00 04F3:311C Mouse (/dev/input/event7)
[    10.111] (**) VEN_04F3:00 04F3:311C Mouse: Applying InputClass "libinput pointer catchall"
[    10.111] (**) VEN_04F3:00 04F3:311C Mouse: Applying InputClass "pointer left hand"
[    10.111] (II) Using input driver 'libinput' for 'VEN_04F3:00 04F3:311C Mouse'
[    10.112] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 32 paused 0
[    10.112] (**) VEN_04F3:00 04F3:311C Mouse: always reports core events
[    10.112] (**) Option "Device" "/dev/input/event7"
[    10.113] (II) event7  - VEN_04F3:00 04F3:311C Mouse: is tagged by udev as: Mouse Pointingstick
[    10.113] (II) event7  - VEN_04F3:00 04F3:311C Mouse: device is a pointer
[    10.113] (II) event7  - VEN_04F3:00 04F3:311C Mouse: device removed
[    10.113] (II) libinput: VEN_04F3:00 04F3:311C Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.113] (II) libinput: VEN_04F3:00 04F3:311C Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.113] (II) libinput: VEN_04F3:00 04F3:311C Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.113] (**) Option "LeftHanded" "on"
[    10.113] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-16/i2c-VEN_04F3:00/0018:04F3:311C.0001/input/input14/event7"
[    10.113] (II) XINPUT: Adding extended input device "VEN_04F3:00 04F3:311C Mouse" (type: MOUSE, id 9)
[    10.113] (**) Option "AccelerationScheme" "none"
[    10.113] (**) VEN_04F3:00 04F3:311C Mouse: (accel) selected scheme none/0
[    10.113] (**) VEN_04F3:00 04F3:311C Mouse: (accel) acceleration factor: 2.000
[    10.113] (**) VEN_04F3:00 04F3:311C Mouse: (accel) acceleration threshold: 4
[    10.114] (II) event7  - VEN_04F3:00 04F3:311C Mouse: is tagged by udev as: Mouse Pointingstick
[    10.114] (II) event7  - VEN_04F3:00 04F3:311C Mouse: device is a pointer
[    10.115] (II) config/udev: Adding input device VEN_04F3:00 04F3:311C Mouse (/dev/input/mouse0)
[    10.115] (**) VEN_04F3:00 04F3:311C Mouse: Applying InputClass "pointer left hand"
[    10.115] (II) Using input driver 'libinput' for 'VEN_04F3:00 04F3:311C Mouse'
[    10.115] (**) VEN_04F3:00 04F3:311C Mouse: always reports core events
[    10.115] (**) Option "Device" "/dev/input/mouse0"
[    10.115] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse0
	Permission denied.
[    10.115] (II) mouse0: opening input device '/dev/input/mouse0' failed (Permission denied).
[    10.115] (II) mouse0  - failed to create input device '/dev/input/mouse0'.
[    10.115] (EE) libinput: VEN_04F3:00 04F3:311C Mouse: Failed to create a device for /dev/input/mouse0
[    10.115] (EE) PreInit returned 2 for "VEN_04F3:00 04F3:311C Mouse"
[    10.115] (II) UnloadModule: "libinput"
[    10.115] (II) config/udev: Adding input device VEN_04F3:00 04F3:311C Touchpad (/dev/input/event8)
[    10.115] (**) VEN_04F3:00 04F3:311C Touchpad: Applying InputClass "libinput touchpad catchall"
[    10.115] (**) VEN_04F3:00 04F3:311C Touchpad: Applying InputClass "touchpad"
[    10.115] (II) Using input driver 'libinput' for 'VEN_04F3:00 04F3:311C Touchpad'
[    10.115] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 33 paused 0
[    10.115] (**) VEN_04F3:00 04F3:311C Touchpad: always reports core events
[    10.115] (**) Option "Device" "/dev/input/event8"
[    10.116] (II) event8  - VEN_04F3:00 04F3:311C Touchpad: is tagged by udev as: Touchpad
[    10.117] (II) event8  - VEN_04F3:00 04F3:311C Touchpad: device is a touchpad
[    10.117] (II) event8  - VEN_04F3:00 04F3:311C Touchpad: device removed
[    10.117] (**) Option "Tapping" "true"
[    10.117] (**) Option "TappingDrag" "off"
[    10.117] (II) libinput: VEN_04F3:00 04F3:311C Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.117] (II) libinput: VEN_04F3:00 04F3:311C Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.117] (II) libinput: VEN_04F3:00 04F3:311C Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.117] (**) Option "NaturalScrolling" "true"
[    10.117] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-16/i2c-VEN_04F3:00/0018:04F3:311C.0001/input/input15/event8"
[    10.117] (II) XINPUT: Adding extended input device "VEN_04F3:00 04F3:311C Touchpad" (type: TOUCHPAD, id 10)
[    10.118] (**) Option "AccelerationScheme" "none"
[    10.118] (**) VEN_04F3:00 04F3:311C Touchpad: (accel) selected scheme none/0
[    10.118] (**) VEN_04F3:00 04F3:311C Touchpad: (accel) acceleration factor: 2.000
[    10.118] (**) VEN_04F3:00 04F3:311C Touchpad: (accel) acceleration threshold: 4
[    10.118] (II) event8  - VEN_04F3:00 04F3:311C Touchpad: is tagged by udev as: Touchpad
[    10.119] (II) event8  - VEN_04F3:00 04F3:311C Touchpad: device is a touchpad
[    10.120] (II) config/udev: Adding input device VEN_04F3:00 04F3:311C Touchpad (/dev/input/mouse1)
[    10.120] (**) VEN_04F3:00 04F3:311C Touchpad: Applying InputClass "touchpad"
[    10.120] (II) No input driver specified, ignoring this device.
[    10.120] (II) This device may have been added with another device file.
[    10.120] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event12)
[    10.120] (II) No input driver specified, ignoring this device.
[    10.120] (II) This device may have been added with another device file.
[    10.121] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event13)
[    10.121] (II) No input driver specified, ignoring this device.
[    10.121] (II) This device may have been added with another device file.
[    10.121] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event14)
[    10.121] (II) No input driver specified, ignoring this device.
[    10.121] (II) This device may have been added with another device file.
[    10.121] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event15)
[    10.121] (II) No input driver specified, ignoring this device.
[    10.121] (II) This device may have been added with another device file.
[    10.121] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event16)
[    10.121] (II) No input driver specified, ignoring this device.
[    10.121] (II) This device may have been added with another device file.
[    10.121] (II) config/udev: Adding input device Intel HID events (/dev/input/event5)
[    10.121] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[    10.121] (**) Intel HID events: Applying InputClass "system-keyboard"
[    10.121] (II) Using input driver 'libinput' for 'Intel HID events'
[    10.122] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 34 paused 0
[    10.122] (**) Intel HID events: always reports core events
[    10.122] (**) Option "Device" "/dev/input/event5"
[    10.123] (II) event5  - Intel HID events: is tagged by udev as: Keyboard
[    10.123] (II) event5  - Intel HID events: device is a keyboard
[    10.123] (II) event5  - Intel HID events: device removed
[    10.123] (**) Option "config_info" "udev:/sys/devices/platform/INTC1070:00/input/input6/event5"
[    10.123] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 11)
[    10.123] (**) Option "xkb_layout" "perso"
[    10.123] (**) Option "AutoRepeat" "256 32"
[    10.123] (**) AutoRepeat: 256 32
[    10.123] (II) event5  - Intel HID events: is tagged by udev as: Keyboard
[    10.123] (II) event5  - Intel HID events: device is a keyboard
[    10.123] (II) config/udev: Adding input device Intel HID 5 button array (/dev/input/event6)
[    10.123] (**) Intel HID 5 button array: Applying InputClass "libinput keyboard catchall"
[    10.123] (**) Intel HID 5 button array: Applying InputClass "system-keyboard"
[    10.123] (II) Using input driver 'libinput' for 'Intel HID 5 button array'
[    10.124] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 35 paused 0
[    10.124] (**) Intel HID 5 button array: always reports core events
[    10.124] (**) Option "Device" "/dev/input/event6"
[    10.125] (II) event6  - Intel HID 5 button array: is tagged by udev as: Keyboard
[    10.125] (II) event6  - Intel HID 5 button array: device is a keyboard
[    10.125] (II) event6  - Intel HID 5 button array: device removed
[    10.125] (**) Option "config_info" "udev:/sys/devices/platform/INTC1070:00/input/input7/event6"
[    10.125] (II) XINPUT: Adding extended input device "Intel HID 5 button array" (type: KEYBOARD, id 12)
[    10.125] (**) Option "xkb_layout" "perso"
[    10.125] (**) Option "AutoRepeat" "256 32"
[    10.125] (**) AutoRepeat: 256 32
[    10.125] (II) event6  - Intel HID 5 button array: is tagged by udev as: Keyboard
[    10.125] (II) event6  - Intel HID 5 button array: device is a keyboard
[    10.125] (II) config/udev: Adding input device Dell Privacy Driver (/dev/input/event9)
[    10.125] (**) Dell Privacy Driver: Applying InputClass "libinput keyboard catchall"
[    10.125] (**) Dell Privacy Driver: Applying InputClass "system-keyboard"
[    10.125] (II) Using input driver 'libinput' for 'Dell Privacy Driver'
[    10.126] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 36 paused 0
[    10.126] (**) Dell Privacy Driver: always reports core events
[    10.126] (**) Option "Device" "/dev/input/event9"
[    10.127] (II) event9  - Dell Privacy Driver: is tagged by udev as: Keyboard
[    10.127] (II) event9  - Dell Privacy Driver: device is a keyboard
[    10.127] (II) event9  - Dell Privacy Driver: device removed
[    10.127] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:02/wmi_bus/wmi_bus-PNP0C14:02/6932965F-1671-4CEB-B988-D3AB0A901919/input/input12/event9"
[    10.127] (II) XINPUT: Adding extended input device "Dell Privacy Driver" (type: KEYBOARD, id 13)
[    10.127] (**) Option "xkb_layout" "perso"
[    10.127] (**) Option "AutoRepeat" "256 32"
[    10.127] (**) AutoRepeat: 256 32
[    10.127] (II) event9  - Dell Privacy Driver: is tagged by udev as: Keyboard
[    10.127] (II) event9  - Dell Privacy Driver: device is a keyboard
[    10.127] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event10)
[    10.127] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    10.127] (**) Dell WMI hotkeys: Applying InputClass "system-keyboard"
[    10.127] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[    10.128] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 37 paused 0
[    10.128] (**) Dell WMI hotkeys: always reports core events
[    10.128] (**) Option "Device" "/dev/input/event10"
[    10.129] (II) event10 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[    10.129] (II) event10 - Dell WMI hotkeys: device is a keyboard
[    10.129] (II) event10 - Dell WMI hotkeys: device removed
[    10.129] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:02/wmi_bus/wmi_bus-PNP0C14:02/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input13/event10"
[    10.129] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 14)
[    10.129] (**) Option "xkb_layout" "perso"
[    10.129] (**) Option "AutoRepeat" "256 32"
[    10.129] (**) AutoRepeat: 256 32
[    10.129] (II) event10 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[    10.129] (II) event10 - Dell WMI hotkeys: device is a keyboard
[    10.130] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    10.130] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    10.130] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[    10.130] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    10.130] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 38 paused 0
[    10.131] (**) AT Translated Set 2 keyboard: always reports core events
[    10.131] (**) Option "Device" "/dev/input/event4"
[    10.131] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    10.131] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    10.131] (II) event4  - AT Translated Set 2 keyboard: device removed
[    10.131] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    10.131] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 15)
[    10.131] (**) Option "xkb_layout" "perso"
[    10.131] (**) Option "AutoRepeat" "256 32"
[    10.131] (**) AutoRepeat: 256 32
[    10.132] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    10.132] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    10.132] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/event11)
[    10.132] (**) PS/2 Generic Mouse: Applying InputClass "libinput pointer catchall"
[    10.132] (**) PS/2 Generic Mouse: Applying InputClass "pointer left hand"
[    10.132] (II) Using input driver 'libinput' for 'PS/2 Generic Mouse'
[    10.133] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 39 paused 0
[    10.133] (**) PS/2 Generic Mouse: always reports core events
[    10.133] (**) Option "Device" "/dev/input/event11"
[    10.133] (II) event11 - PS/2 Generic Mouse: is tagged by udev as: Mouse
[    10.133] (II) event11 - PS/2 Generic Mouse: device is a pointer
[    10.134] (II) event11 - PS/2 Generic Mouse: device removed
[    10.134] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.134] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.134] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    10.134] (**) Option "LeftHanded" "on"
[    10.134] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event11"
[    10.134] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE, id 16)
[    10.134] (**) Option "AccelerationScheme" "none"
[    10.134] (**) PS/2 Generic Mouse: (accel) selected scheme none/0
[    10.134] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[    10.134] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[    10.134] (II) event11 - PS/2 Generic Mouse: is tagged by udev as: Mouse
[    10.134] (II) event11 - PS/2 Generic Mouse: device is a pointer
[    10.134] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/mouse2)
[    10.134] (**) PS/2 Generic Mouse: Applying InputClass "pointer left hand"
[    10.134] (II) Using input driver 'libinput' for 'PS/2 Generic Mouse'
[    10.134] (**) PS/2 Generic Mouse: always reports core events
[    10.134] (**) Option "Device" "/dev/input/mouse2"
[    10.134] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse2
	Permission denied.
[    10.134] (II) mouse2: opening input device '/dev/input/mouse2' failed (Permission denied).
[    10.134] (II) mouse2  - failed to create input device '/dev/input/mouse2'.
[    10.134] (EE) libinput: PS/2 Generic Mouse: Failed to create a device for /dev/input/mouse2
[    10.134] (EE) PreInit returned 2 for "PS/2 Generic Mouse"
[    10.134] (II) UnloadModule: "libinput"

Offline

#6 2023-08-16 14:39:32

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

A little up, just in case?

Offline

#7 2023-08-16 15:42:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,285

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Don't see anything really sticking out in that xorg log, but failure for client tools would normally rather be in ~/.xsession-errors

Offline

#8 2023-08-16 16:16:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,680

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Is that log from a server where xmobard didn't show up?
The symptoms sound a lot like https://wiki.archlinux.org/title/Kernel … _KMS_start
Also this is a hybrdi system along apparently optimus-manager and possibly no https://wiki.archlinux.org/title/NVIDIA … de_setting

Offline

#9 2023-08-16 18:28:40

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Don't see anything really sticking out in that xorg log, but failure for client tools would normally rather be in ~/.xsession-errors

Hum, I don't see any .xsession-errors anywhere

Is that log from a server where xmobard didn't show up?
The symptoms sound a lot like https://wiki.archlinux.org/title/Kernel … _KMS_start
Also this is a hybrdi system along apparently optimus-manager and possibly no https://wiki.archlinux.org/title/NVIDIA … de_setting

Yes, the log comes from the only server that I ran.

I'm not sure about any graphic card related issue, I actually disabled my nviade card in linux using udev rules, blacklisting nouveau and and installing all nvidia and nouveau drivers.

Offline

#10 2023-08-16 19:34:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,680

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Can you run xmobar explicitly from outside xmonad?
Can you from your xinitrc?
Did you btw. check whether the process isn't there or you just don't get to see a panel?

Offline

#11 2023-08-16 21:17:52

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

I tried to add a ligne with ```xmobar``` before ```exec xmonad``` if that's what you mean, but that didn't change anything.

And there isn't any xmobar process when I check before restarting xmonad, it just doesn't exist.

Offline

#12 2023-08-16 21:20:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,680

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Try

…
ibus-daemon -rxR &
xmobar > /tmp/xmobar.dbg 2>&1 &
exec xmonad

and see whether there're any errors in /tmp/xmobar.dbg
Also try to start xmobar from an xterm or so.

Offline

#13 2023-08-17 05:35:22

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Just tried it, the file is just empty…

But if I start xmobar from a terminal right after logging in for the first time, it correctly shows up and everything works just fine.

Last edited by Jocquijoke (2023-08-17 05:38:33)

Offline

#14 2023-08-17 08:02:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,680

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Since I started to use Xmonad and Xmobar by building them myself

To rule out a coincidence: This is strictly exclusive to your local build? Using the repo version does not exhibit this behavior?
Can you narrow down whether it's the xmobar or xmonad build?
What are the differences of your local builds?

Offline

#15 2023-08-17 08:19:35

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

I just tried with both installed via pacman, and the problem is still here.

Just to make sure I did this right: I moved my xmobar and xmonad executables out of ~/.local/bin/, and installed using pacman. ```which xmonad``` and ```pacman -F xmonad``` give the same output (/usr/bin/xmonad), and same thing for xmobar, do you confirm that I am indeed runing the repo version?

Offline

#16 2023-08-17 09:06:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,680

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

I'd say yes, but using the explicit path would do - if you don't have ~/.local/bin in your $PATH you haven't been usign the local builds anyway.

So, out w/ the broadsword:

…
ibus-daemon -rxR &
strace -tt -f -o /tmp/xmobar.strace /usr/bin/xmobar ~/.config/xmobar/.xmobarrc &
exec xmonad

Likely but ugly workaround

…
ibus-daemon -rxR &
(sleep 3; /usr/bin/xmobar ~/.config/xmobar/.xmobarrc) &
exec xmonad

How/where do you btw. set $XDG_CONFIG_HOME ?

Offline

#17 2023-08-17 09:41:57

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Thanks, the content of xmobar.strace hase about 10k lines, I found this to share it: https://ctxt.io/2/AABQst2IEA

And I thought about this workaround and I might do it if I cannot find a better solution.

All XDG configs are set in ~/.config/zsh/.zprofile

Offline

#18 2023-08-17 12:40:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,680

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

segfaults, likely because of pipewire.
It's socket activated, but not fast enough?

systemctl --user enable pipewire.service

Is this an autologin/startx situation or to you log in on the console and startx manually (for the first time) when this happens?

Offline

#19 2023-08-17 13:04:57

Jocquijoke
Member
Registered: 2023-08-10
Posts: 12

Re: [SOLVED] Xmobar doesn't show up the first time Xmonad is launched.

Sometimes I am just amazed at how knowledgable and dedicated this community is. Enabling pipewire.service did the job.

Thank you so much!

Offline

Board footer

Powered by FluxBB