!AKwxjnkeiUWtAsmjRA:matrix.org

xmonad

77 Members
xmonad is a dynamically tiling X11 window manager that is written and configured in Haskell | http://xmonad.org | http://xmonad.org/faq | cheatsheet: http://bit.ly/gz1R422 Servers

Load older messages


SenderMessageTime
30 Aug 2020
@lurpam:matrix.orgmıaomāı joined the room.03:18:40
1 Sep 2020
@eyenx:eyenx.cheyenxgday07:56:39
@lurpam:matrix.orgmıaomāı hdaywhere h = hot 07:58:59
@lurpam:matrix.orgmıaomāı* hday where h = "hot"07:59:08
@lurpam:matrix.orgmıaomāı* hday where h = `hot`07:59:24
@lurpam:matrix.orgmıaomāı … At least the mobile version of this Element thing does not like text formatting. That is, newlines and… whatever the thing backticks do is called. 08:00:29
@eyenx:eyenx.cheyenxcodeblock?14:35:59
@therealdannyboy:matrix.org@therealdannyboy:matrix.orgThat is true, unfortunately.14:47:37
@jae:tedomum.net@jae:tedomum.net left the room.19:07:20
2 Sep 2020
@therealdannyboy:matrix.org@therealdannyboy:matrix.org changed their display name from Daniel Stevenson to Daniel.01:14:49
@nihilipster:matrix.orgnihilipster joined the room.02:50:05
@setunset:matrix.org@setunset:matrix.org left the room.14:27:03
3 Sep 2020
@rudolph9:matrix.orgrudolph9 joined the room.15:59:28
@rudolph9:matrix.orgrudolph9

Hello! I was curious if someone could help me debug my xmobar configuration? I'm running into an issue where the bar intermittently appears behind open windows. ~/.xsession-errors is empty. I see some 7 year old SO posts saying it was a bug in the code but imagine that isn't relevant https://stackoverflow.com/questions/13867197/how-do-i-prevent-xmobar-from-hiding-behind-other-xmonad-windows . Xmonad config is as follows:

        -- inspired by https://wiki.archlinux.org/index.php/Xmonad#More_configurable

        import XMonad
        import XMonad.Config
        import XMonad.Hooks.DynamicLog

        -- The main function.
        main = xmonad =<< statusBar myBar myPP toggleStrutsKey myConfig

        -- Command to launch the bar.
        myBar = "xmobar"

        -- Custom PP, configure it as you like. It determines what is being written to the bar.
        myPP = xmobarPP { ppCurrent = xmobarColor "#429942" "" . wrap "<" ">" }

        -- Key binding to toggle the gap for the bar.
        toggleStrutsKey XConfig {XMonad.modMask = modMask} = (modMask, xK_b)

        -- Main configuration, override the defaults to your liking.
        myConfig = def
               { terminal = "terminator"
               , modMask = mod4Mask }
      '';

One note that might be relevant is when the issue happens the bar becomes unresponsive to the the shortcut I defined. but things link the time and CPU usage continue to update which I can see when no windows are open on that desktop.

16:10:13
@rudolph9:matrix.orgrudolph9 *

Hello! I was curious if someone could help me debug my xmobar configuration? I'm running into an issue where the bar intermittently appears behind open windows. ~/.xsession-errors is empty. I see some 7 year old SO posts saying it was a bug in the code but imagine that isn't relevant https://stackoverflow.com/questions/13867197/how-do-i-prevent-xmobar-from-hiding-behind-other-xmonad-windows . Xmonad config is as follows:

        -- inspired by https://wiki.archlinux.org/index.php/Xmonad#More_configurable

        import XMonad
        import XMonad.Config
        import XMonad.Hooks.DynamicLog

        -- The main function.
        main = xmonad =<< statusBar myBar myPP toggleStrutsKey myConfig

        -- Command to launch the bar.
        myBar = "xmobar"

        -- Custom PP, configure it as you like. It determines what is being written to the bar.
        myPP = xmobarPP { ppCurrent = xmobarColor "#429942" "" . wrap "<" ">" }

        -- Key binding to toggle the gap for the bar.
        toggleStrutsKey XConfig {XMonad.modMask = modMask} = (modMask, xK_b)

        -- Main configuration, override the defaults to your liking.
        myConfig = def
               { terminal = "terminator"
               , modMask = mod4Mask }

One note that might be relevant is when the issue happens the bar becomes unresponsive to the the shortcut I defined. but things link the time and CPU usage continue to update which I can see when no windows are open on that desktop.

16:11:34
@rudolph9:matrix.orgrudolph9I've also tried the overrideRedirect option which didn't fix the issue.16:23:43
@rudolph9:matrix.orgrudolph9

I see the following message appearing in my journalctl:

xmonad[3135]: <file descriptor: 4>: commitBuffer: resource vanished (Broken pipe
16:26:14
@rudolph9:matrix.orgrudolph9this seems related to my other issue actually where xmonad will eventually freeze https://wiki.haskell.org/Xmonad/Frequently_asked_questions#XMonad_is_frozen.2116:33:49
@rudolph9:matrix.orgrudolph9

With xmobar, if your logHook is writing to its stdin via ppOutput = hPutStrLn foo, make sure the .xmobarrc commands include a Run StdinReader line, and the template includes %StdinReader%.

I think this is a likely source of all the issues I've been having and makes sense why I feel like everytime I get in the zone with work everything seems to break haha.

16:49:42
@lurpam:matrix.orgmıaomāıXMonad has never frozen, nor started taking up any significant amount of memory, for me; and I've had it running for 69 days on end in the past.21:34:52
4 Sep 2020
@rudolph9:matrix.orgrudolph9Yeah, everything is a lot better now that xmobar is handling stdin 02:54:40
@lurpam:matrix.orgmıaomāıI haven't managed to get xmobar working right on my present setup, but I've also found that I'm completely fine without it.08:53:34
@lurpam:matrix.orgmıaomāıI can dedicate a whole secondary or tertiary monitor to the kind of data I'd otherwise be pulling from it. 🤔08:54:06
9 Sep 2020
@diamondtoken:matrix.orgdiamondtoken joined the room.00:17:34
13 Sep 2020
@igor:ru-matrix.orgigor 21:21:54
14 Sep 2020
@a_e_o_n:matrix.orga_e_o_n joined the room.12:39:46
17 Sep 2020
@jakob:synod.im@jakob:synod.im left the room.20:11:54
21 Sep 2020
@darkharmony9999:matrix.orgdarkharmony9999 joined the room.20:38:59
22 Sep 2020
@mariella:cybre.spacemariella 21:23:28
27 Sep 2020
@therealdannyboy:matrix.org@therealdannyboy:matrix.org changed their profile picture.15:44:13

Show newer messages


Back to Room ListRoom Version: