You are not logged in.

#1 2012-02-13 18:24:15

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 174

[SOLVED]Remove xmobar?

Hi,
How to remove software installed with cabal install?I installed xmobar with cabal but i want to remove now... Can someone explain me how?I tried with "pacman -Rns xmobar" but pacman says "error: target not find: xmobar". Any ideas?
Thanks.

Last edited by grobar87 (2012-02-15 17:50:13)


And... here... we... go!

Offline

#2 2012-02-13 19:43:00

hesse
Member
Registered: 2011-12-08
Posts: 88

Re: [SOLVED]Remove xmobar?

You should check your ~/.cabal/bin directory where it should have been installed.

Offline

#3 2012-02-15 12:15:52

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [SOLVED]Remove xmobar?

Why should one remove xmobar ? It's great...but indeed, hesse is right, cabal has its own binary storing directory.

Offline

#4 2012-02-15 15:06:24

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 174

Re: [SOLVED]Remove xmobar?

Thanks for your replies.I check the ~/.cabal directory but still can't figure out how to remove xmobar :S
@linux-ka I like xmobar... the real reason why i want to remove it is because i can't use xft fonts. I install it with all the extensions ("with_utf8","with_xft"...) but for some reason fonts in xmobar are still ugly.
Screenshot:
http://i.imgur.com/yw9n3.jpg
Thanks for help.


And... here... we... go!

Offline

#5 2012-02-15 15:10:51

yasar11732
Member
Registered: 2010-11-29
Posts: 127

Re: [SOLVED]Remove xmobar?

Maybe there is something wrong with your settings. Are you sure you set xft fonts right?


Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.

Offline

#6 2012-02-15 15:41:28

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 174

Re: [SOLVED]Remove xmobar?

Here is my xmobarrc:

Config { font = "xft:Envy Code R:size=10:antialias=true"
       , bgColor = "#151515"
       , fgColor = "#1793D1"
       , position = Top
       , lowerOnStart = True
       , commands = [ Run Cpu ["-L","3","-H","50"] 10
                    , Run Memory ["-t","Mem: <usedratio>%"] 10
                    , Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
                    , Run Uptime ["-t","Up: <days>d <hours>h"] 10
                    , Run Wireless "wlan0" ["-t", "Wi-Fi: <quality>%"] 10
                    , Run Weather "LWSK" ["-t","Skopje: <tempC>C"] 3000
                    , Run Com ".xmonad/conkyscript" ["&"] "conky" 3000
                    , Run StdinReader
                    ]
       , sepChar = "%"
       , alignSep = "}{"
       , template = "%StdinReader% }{%conky% <fc=#888888>:</fc> %LWSK% <fc=#888888>:</fc> %uptime% <fc=#888888>:</fc> %cpu% <fc=#888888>:</fc> %memory% <fc=#888888>:</fc> %wlan0wi% <fc=#888888>:</fc> %date%"
       }

Something wrong here?


And... here... we... go!

Offline

#7 2012-02-15 16:07:55

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [SOLVED]Remove xmobar?

Do you compile like :

cabal install xmobar --flags="with_utf8 with_xft with_inotify"

? If you wannt to remove it, just remove the binary.

my xmobar font line looks like:

font = "xft:Sans-7:bold" 

Have a look, whether this more simple line works well.

EDIT:

your font style looks on my machine as ugly as it does on your screenshot.

Last edited by linux-ka (2012-02-15 16:09:46)

Offline

#8 2012-02-15 16:45:38

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 174

Re: [SOLVED]Remove xmobar?

I download tar.gz file and compile like this:

tar xvfz xmobar-0.14
cd xmobar-0.14
runhaskell Setup.lhs configure --flags="all_extensions"
runhaskell Setup.lhs build
runhaskell Setup.lhs install

I follow the instructions on xmobar site.

I replace my font line with yours (font = "xft:Sans-7:bold" ) but font is still the same.(ugly like on screenshot)
I have no idea why...


And... here... we... go!

Offline

#9 2012-02-15 16:48:59

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [SOLVED]Remove xmobar?

have you tried to compile via cabal. maybe you are using the wrong xmobar binary. I do not know where this manual install process copies your binary.

Offline

#10 2012-02-15 17:49:40

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 174

Re: [SOLVED]Remove xmobar?

Solved! I remove xmobar from /usr/local/bin and than install with "pacman -S xmobar". Now xft fonts works great.
Thanks to all for help.


And... here... we... go!

Offline

#11 2012-02-15 18:43:39

linux-ka
Member
From: ADL
Registered: 2010-05-07
Posts: 232

Re: [SOLVED]Remove xmobar?

/usr/local/bin is not the install directory for cabal.

maybe you should simply try the install process I have posted above. add $HOME/.cabal/bin to your $PATH and Bob'S your uncle.

Offline

Board footer

Powered by FluxBB