You are not logged in.
Pages: 1
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
You should check your ~/.cabal/bin directory where it should have been installed.
Offline
Why should one remove xmobar ? It's great...but indeed, hesse is right, cabal has its own binary storing directory.
Offline
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
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
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
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
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
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
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
/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
Pages: 1