LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-23-2009, 06:28 AM   #1
Switch7
Member
 
Registered: Sep 2009
Posts: 92

Rep: Reputation: 16
Unhappy xmonad: xmobar not working.


Hi, I'm trying to get xmobar working but I'm not getting any result even after reading the manual. On the step-by-step for xmonad, under the the xmobar section, it saids to save the xmobar script to ~/.xmobarrc. I searched for this directory but it didn't exist so I made one using:
Code:
# cd /home/myname
# touch .xmobarrc
(was it alright to make this file by myself? I keep thinking it should be there when I installed xmonald, xmobar, and xmonald-contrib)

After I made this, I put the script inside .xmobarrc. I did a check using

Code:
ghci ~/.xmonad/xmonad.hs
and it said everything was fine. I loaded it up and it's not turning out the way it should. Everything except xmobar is working (I changed the default terminal to urxvt, changed the mod key to windows key, these things worked) even though I'm using the exact same thing, it saids that

Code:
/home/myname/.xmobarrc: configuration file contains error!
and it will not load the xmobar. Any help would be greatly appreciated.
 
Old 10-24-2009, 03:13 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,950

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
The xmobarrc looks very different from xmonad.hs .

Examples are available with 'Google' .. xmobarrc ..

e.g. http://www.haskell.org/haskellwiki/X...n%27s_xmobarrc
 
Old 10-24-2009, 04:46 PM   #3
Switch7
Member
 
Registered: Sep 2009
Posts: 92

Original Poster
Rep: Reputation: 16
Code:
Note With 0.9 < xmobar-version <= 0.9.2 , i.e. xmobar from your distro or hackage (cabal install), you will need to add a lowerOnStart line just below position:

Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
       , bgColor = "black"
       , fgColor = "grey"
       , position = TopW L 90
       , lowerOnStart = True
       ....<snip>
This was my problem. I added the lowerOnStart = True and everything is working now.
 
  


Reply

Tags
xmonad


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xmonad on Slackware vinegaroon Slackware 12 01-31-2010 01:48 PM
Slackware 13.0 + xmonad + programs open in huge fonts satori@sanitarium Slackware 2 09-26-2009 09:41 AM
problem with xorg and xmonad in arch linux Unregistered Linux - Desktop 1 06-03-2009 06:33 PM
Network manager applet does not start in xmonad johnnyxxxcakes Linux - Newbie 3 02-19-2009 09:09 AM
acpi nearly working IBM thinkpad R40e 2684HVG no Fn key working, throttling OK Emmanuel_uk Linux - Laptop and Netbook 2 05-31-2006 01:41 AM


All times are GMT -5. The time now is 07:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration