You are not logged in.

#1 2014-08-27 13:30:49

AustinDeLaundry
Member
Registered: 2014-08-27
Posts: 1

Xmobar crashing

Hello and thank you for reading this message!

Window manager: Xmonad

I am having a problem with Xmobar (and Dzen2 also does this) which happens when I open a gui window.

http://imgur.com/A2u4XRo

In this picture you can see Xmobar running perfectly fine, with URXVT open.

http://imgur.com/Mn9aNYN

Then, when I open firefox, you can see that Xmobar crashes, and the windows reclaim the space where Xmobar was

Does anyone have any idea why this is happening? At first I ran Xmobar in the xmonad.hs file, and this problem kept happening. I then ran Xmobar in .xinitrc and it still crashes.

Xmonad.hs ~

import XMonad

import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Layout.Spacing
import XMonad.Util.Run (spawnPipe)
import XMonad.Hooks.UrgencyHook
import XMonad.Util.EZConfig
import qualified Data.Map as M
import System.IO


modButton :: KeyMask
modButton = mod4Mask

main = do
	xmonad defaultConfig
		{
		terminal		= "urxvt",
		workspaces		= ["Home", "Web", "Programming", "Chat", "Music"],
		modMask 		= modButton,
		borderWidth		= 5, 
		focusedBorderColor	= "#0000CC", 		
		--layoutHook		= myLayHook
		} `additionalKeys`
			[((0,			0x1008FF05), spawn "kbdlight up"),
			((0,			0x1008FF06), spawn "kbdlight down"),
			((0, 			0x1008FF02), spawn "xbacklight -inc 3"), 
			((0, 			0x1008FF03), spawn "xbacklight -dec 3"),
			((0, 			0x1008FF13), spawn "amixer set Master 5%+"),
			((0,	 		0x1008FF11), spawn "amixer set Master 5%-")]

myLayHook = avoidStruts $ spacing 7 $ Tall 1 (3/100) (1/2)

xmobarrc ~

--Xmobarrc
Config 
{
	bgColor = "black",
	fgColor = "blue",
	position = Top,
	lowerOnStart = False
}

xinitrc ~ Note: I tried switching xmobar and xmonad, so xmonad would run before xmobar, still didn't work

#xinitrc

hsetroot -full ~/Pictures/025\ 2880*1800.png
compton --config ~/.config/compton.conf -bC
#openbox
xmobar
xmonad

Offline

#2 2014-09-01 16:56:09

dice
Member
From: Germany
Registered: 2014-02-10
Posts: 413

Re: Xmobar crashing

Maybe this helps.


I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do.  (Gune | Titan A.E.)

Offline

Board footer

Powered by FluxBB