RE: Xmonad for Linux is AWESOME! 06-23-2013, 08:50 AM
#3
(06-23-2013, 03:01 AM)Deque Wrote:(06-22-2013, 10:54 PM)noize Wrote:(06-22-2013, 07:08 PM)Deque Wrote: I totally agree with you. It is crap. Nevertheless I will play around with it for a while just to know what there is to know, to see security flaws and possible problems. There are plenty people using it, also in my family, and they often need help to fix stuff. You probably know these situations. I can help them better if I know how it works.
But other than that, It is so aweful to use, the ways for the mouse are so awefully long, the whole user interface is so unintuitive and inconsistent I could just
(06-22-2013, 05:06 PM)noize Wrote: How did you get to make your Xmonad... like that? :headbash:
I just installed it, took my old config file from my arch system and changed it a bit (i.e. removed everything that is for xmobarr)
This is my current ~/.xmonad/xmonad.hs
Code:import XMonad
import XMonad.Config.Gnome
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Hooks.FadeInactive
import XMonad.Hooks.SetWMName
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
myNormalBorderColor = "#cccccc"
myFocusedBorderColor = "#0000ff"
myManageHook = composeAll
[ (className =? "Firefox" <&&> resource =? "Dialog") --> doFloat
, manageDocks
]
myLayout = Mirror tiled ||| tiled ||| Full
where
-- default tiling algorithm partitions the screen into two panes
tiled = Tall nmaster delta ratio
-- The default number of windows in the master pane
nmaster = 1
-- Default proportion of screen occupied by master pane
ratio = 3/4
-- Ratio of screen to increment by when resizing panes
delta = 3/100
main = do
xmonad $ gnomeConfig
{ manageHook = myManageHook <+> manageHook gnomeConfig
, layoutHook = avoidStruts myLayout
, workspaces = ["web", "irc", "mail", "coding"] ++ map show [5..9]
, modMask = mod4Mask
, normalBorderColor = myNormalBorderColor
, focusedBorderColor = myFocusedBorderColor
}`additionalKeys`
[ ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
, ((0, xK_Print), spawn "scrot")
]
Crash! I don't know Haskell. :crying:
I am sorry, I forgot to mention that I installed a few other things too besides xmonad.
That was:
libghc-xmonad-contrib-dev
gnome-panel
indicator-applet-complete
indicator-multiload
dmenu
It's probably the Gnome.Config that crashed.
You should test the xmonad.hs if it compiles with: ghc --make xmonad.hs
You can avoid crashes this way and you get an error message.
I hope it works for you now.
lol, thanks but I didn't test it yet, "crash" just expressed my disappointment in not knowing Haskell.

I'm trying it right away and will let you know, though, what did you mean with:
Quote:You can avoid crashes this and you get an error message.
? Maybe I'll avoid crashes when else I'd get an error message?
My Bitcoin address: 1AtxVsSSG2Z8JfjNy9KNFDUN6haeKr7LiP
Give me money by visiting www.google.com here: http://coin-ads.com/6Ol83U
If you want a Bitcoin URL shortener/advertiser, please, use this referral: http://coin-ads.com/register.php?refid=noize
Give me money by visiting www.google.com here: http://coin-ads.com/6Ol83U
If you want a Bitcoin URL shortener/advertiser, please, use this referral: http://coin-ads.com/register.php?refid=noize