Xmonad and vimperator

It seems that vimperator refuses to color my url white. Instead it remains black. (See screenshot).
Without cursor highlighting:
After highlighting with the cursor:
Any ideas? I have two separate installations of xmonad (two different laptops) and both have the same problem.
Last edited by timetrap (2008-12-17 23:45:48)

IIUC, you can quickly change such color scheme settings with Stylish firefox addon, but you can put it in userChrome.css or something too (it could be the other chrome file)
e.g. I wrote two styles for vimperator.
The command line:
#liberator-commandline
background: rgb(230,230,230) !important;
color: rgb(255,44,44) !important;
font-weight: bold !important;
And one for the status line where the URL is:
.hl-StatusLine {
background-color: rgb(230,230,230) !important;
color: black !important;
font-weight: normal !important;
border-top: thin solid rgb(100,100,100) !important;
Last edited by Procyon (2008-12-18 00:01:54)

Similar Messages

  • Xmonad and Xmobar: avoidStruts no longer exposes Xmobar

    I've been using Xmonad with the same config for months now. I reinstalled Arch recently, and ever since then avoidStruts no longer keeps Xmobar from being hidden behind windows.
    I have installed the xmonad and xmonad-contrib packages; my config compiles without errors. I'm at a loss here because I can't identify any changes that may have been made to either of the aforementioned packages that might cause this issue.
    xmonad.hs
    import XMonad
    import Data.Monoid
    import Data.Ratio ((%))
    import System.Exit
    import XMonad.Hooks.EwmhDesktops
    import XMonad.Hooks.DynamicLog
    import XMonad.Hooks.ManageDocks
    import XMonad.Hooks.UrgencyHook
    import XMonad.Layout.NoBorders
    import XMonad.Layout.Named
    import XMonad.Layout.Grid
    import XMonad.Layout.IM
    import XMonad.Util.Run(spawnPipe)
    import System.IO
    import qualified XMonad.StackSet as W
    import qualified Data.Map as M
    -- The preferred terminal program, which is used in a binding below and by
    -- certain contrib modules.
    myTerminal = "urxvt"
    -- Whether focus follows the mouse pointer.
    myFocusFollowsMouse :: Bool
    myFocusFollowsMouse = True
    -- Width of the window border in pixels.
    myBorderWidth = 2
    -- modMask lets you specify which modkey you want to use. The default
    -- is mod1Mask ("left alt"). You may also consider using mod3Mask
    -- ("right alt"), which does not conflict with emacs keybindings. The
    -- "windows key" is usually mod4Mask.
    myModMask = mod4Mask
    -- The default number of workspaces (virtual screens) and their names.
    -- By default we use numeric strings, but any string may be used as a
    -- workspace name. The number of workspaces is determined by the length
    -- of this list.
    -- A tagging example:
    -- > workspaces = ["web", "irc", "code" ] ++ map show [4..9]
    myWorkspaces = ["1","2","3","4","5","6","7","8","9"]
    -- Border colors for unfocused and focused windows, respectively.
    myNormalBorderColor = "#404040"
    -- myFocusedBorderColor = "#0080ff"
    myFocusedBorderColor = "#ff0000"
    -- Key bindings. Add, modify or remove key bindings here.
    myKeys conf@(XConfig {XMonad.modMask = modm}) = M.fromList $
    -- launch a terminal
    [ ((modm .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
    -- launch dmenu
    , ((modm, xK_p ), spawn "dmenu_run")
    -- launch gmrun
    , ((modm .|. shiftMask, xK_p ), spawn "gmrun")
    -- close focused window
    , ((modm .|. shiftMask, xK_c ), kill)
    -- close focused window (2)
    , ((modm, xK_z ), kill)
    -- close focused window (3)
    , ((modm, xK_Escape), kill)
    -- Rotate through the available layout algorithms
    , ((modm, xK_space ), sendMessage NextLayout)
    -- Reset the layouts on the current workspace to default
    , ((modm .|. shiftMask, xK_space ), setLayout $ XMonad.layoutHook conf)
    -- Resize viewed windows to the correct size
    , ((modm, xK_n ), refresh)
    -- Move focus to the next window
    , ((modm, xK_Tab ), windows W.focusDown)
    -- Move focus to the next window
    , ((modm, xK_j ), windows W.focusDown)
    -- Move focus to the previous window
    , ((modm, xK_k ), windows W.focusUp )
    -- Move focus to the master window
    , ((modm, xK_m ), windows W.focusMaster )
    -- Swap the focused window and the master window
    , ((modm, xK_Return), windows W.swapMaster)
    -- Swap the focused window with the next window
    , ((modm .|. shiftMask, xK_j ), windows W.swapDown )
    -- Swap the focused window with the previous window
    , ((modm .|. shiftMask, xK_k ), windows W.swapUp )
    -- Shrink the master area
    , ((modm, xK_h ), sendMessage Shrink)
    -- Expand the master area
    , ((modm, xK_l ), sendMessage Expand)
    -- Push window back into tiling
    , ((modm, xK_t ), withFocused $ windows . W.sink)
    -- Increment the number of windows in the master area
    , ((modm , xK_comma ), sendMessage (IncMasterN 1))
    -- Deincrement the number of windows in the master area
    , ((modm , xK_period), sendMessage (IncMasterN (-1)))
    -- Toggle the status bar gap
    -- Use this binding with avoidStruts from Hooks.ManageDocks.
    -- See also the statusBar function from Hooks.DynamicLog.
    -- , ((modm , xK_b ), sendMessage ToggleStruts)
    -- Quit xmonad
    , ((modm .|. shiftMask, xK_q ), io (exitWith ExitSuccess))
    -- Restart xmonad
    , ((modm , xK_q ), spawn "xmonad --recompile; xmonad --restart")
    -- Start Opera
    , ((modm .|. shiftMask, xK_i ), spawn "chromium")
    -- Start Thunar
    , ((modm .|. shiftMask, xK_f ), spawn "pcmanfm")
    -- Start networking gui
    , ((modm .|. shiftMask, xK_o ), spawn "wicd-gtk --no-tray")
    -- Video Settings
    , ((modm .|. shiftMask, xK_v ), spawn "nvidia-settings")
    ++
    -- mod-[1..9], Switch to workspace N
    -- mod-shift-[1..9], Move client to workspace N
    [((m .|. modm, k), windows $ f i)
    | (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_9]
    , (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]]
    ++
    -- mod-{w,e,r}, Switch to physical/Xinerama screens 1, 2, or 3
    -- mod-shift-{w,e,r}, Move client to screen 1, 2, or 3
    [((m .|. modm, key), screenWorkspace sc >>= flip whenJust (windows . f))
    | (key, sc) <- zip [xK_w, xK_e, xK_r] [0..]
    , (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
    -- Mouse bindings: default actions bound to mouse events
    myMouseBindings (XConfig {XMonad.modMask = modm}) = M.fromList $
    -- mod-button1, Set the window to floating mode and move by dragging
    [ ((modm, button1), (\w -> focus w >> mouseMoveWindow w
    >> windows W.shiftMaster))
    -- mod-button2, Raise the window to the top of the stack
    , ((modm, button2), (\w -> focus w >> windows W.shiftMaster))
    -- mod-button3, Set the window to floating mode and resize by dragging
    , ((modm, button3), (\w -> focus w >> mouseResizeWindow w
    >> windows W.shiftMaster))
    -- you may also bind events to the mouse scroll wheel (button4 and button5)
    -- Layouts:
    -- You can specify and transform your layouts by modifying these values.
    -- If you change layout bindings be sure to use 'mod-shift-space' after
    -- restarting (with 'mod-q') to reset your layout state to the new
    -- defaults, as xmonad preserves your old layout settings by default.
    -- The available layouts. Note that each layout is separated by |||,
    -- which denotes layout choice.
    myLayout = tall ||| grid ||| 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 = 65/100
    -- Percent of screen to increment by when resizing panes
    delta = 5/100
    tall = named "Tall"
    $ avoidStruts
    $ Tall nmaster delta ratio
    grid = named "Grid"
    $ avoidStruts
    $ withIM (1%7) (Role "buddy_list") (GridRatio (4/3))
    full = named "Full"
    $ noBorders
    $ Full
    -- Window rules:
    -- Execute arbitrary actions and WindowSet manipulations when managing
    -- a new window. You can use this to, for example, always float a
    -- particular program, or have a client always appear on a particular
    -- workspace.
    -- To find the property name associated with a program, use
    -- > xprop | grep WM_CLASS
    -- and click on the client you're interested in.
    -- To match on the WM_NAME, you can use 'title' in the same way that
    -- 'className' and 'resource' are used below.
    myManageHook = composeAll
    [ className =? "MPlayer" --> doFloat
    , className =? "Gimp" --> doFloat
    -- , className =? "Nm-connection-editor" --> doFloat
    -- , className =? "Wicd-client.py" --> doFloat
    , resource =? "desktop_window" --> doIgnore
    , resource =? "kdesktop" --> doIgnore
    -- , className =? "Xfce4-notifyd" --> doIgnore
    -- Event handling
    -- * EwmhDesktops users should change this to ewmhDesktopsEventHook
    -- Defines a custom handler function for X Events. The function should
    -- return (All True) if the default handler is to be run afterwards. To
    -- combine event hooks use mappend or mconcat from Data.Monoid.
    -- myEventHook = mempty
    myEventHook = fullscreenEventHook
    -- Status bars and logging
    -- Perform an arbitrary action on each internal state change or X event.
    -- See the 'XMonad.Hooks.DynamicLog' extension for examples.
    myLogHook h = dynamicLogWithPP $ xmobarPP
    { ppOutput = hPutStrLn h
    , ppTitle = xmobarColor "green" "" . shorten 200
    , ppUrgent = xmobarColor "white" "red" . wrap "" ""
    -- Startup hook
    -- Perform an arbitrary action each time xmonad starts or is restarted
    -- with mod-q. Used by, e.g., XMonad.Layout.PerWorkspace to initialize
    -- per-workspace layout choices.
    -- By default, do nothing.
    myStartupHook = return ()
    -- Run xmonad with the settings you specify.
    main = do
    xmproc <- spawnPipe "/usr/bin/xmobar /home/chris/.xmonad/xmobarrc"
    xmonad $ withUrgencyHook NoUrgencyHook $ defaultConfig
    { terminal = myTerminal
    , focusFollowsMouse = myFocusFollowsMouse
    , borderWidth = myBorderWidth
    , modMask = myModMask
    , workspaces = myWorkspaces
    , normalBorderColor = myNormalBorderColor
    , focusedBorderColor = myFocusedBorderColor
    , keys = myKeys
    , mouseBindings = myMouseBindings
    , layoutHook = myLayout
    , manageHook = myManageHook
    , handleEventHook = myEventHook
    , logHook = myLogHook xmproc
    , startupHook = myStartupHook
    xmobarrc
    Config
    { font = "xft:ProFont:pixelsize=12"
    , bgColor = "#000000"
    -- used to make the bar appear correctly after Mod-q in older xmonad implementations (0.9.x)
    -- doesn't seem to do anything anymore (0.10, darcs)
    -- , lowerOnStart = False
    , commands =
    [ Run Wireless "wlan0" ["-t", "<essid> <quality>%"] 10
    , Run CommandReader "/home/chris/.xmonad/volume-listener.sh" "vol"
    , Run CommandReader "/home/chris/.xmonad/hdaps-listener.sh" "hdaps"
    , Run Battery
    [ "-t", "<acstatus> <left>%"
    , "-f", "AC/online"
    , "-o", "Bat"
    , "-O", "AC"
    20
    , Run Date "%a %b %_d %H:%M" "date" 10
    , Run StdinReader
    , sepChar = "%"
    , alignSep = "}{"
    , template = "%StdinReader% }{ <fc=#ff0000>%hdaps%</fc> %wlan0wi% Vol %vol% %battery% <fc=#ee9a00>%date%</fc> "
    Last edited by cheese, lol (2012-10-26 03:15:39)

    Downgrade to xmobar-0.15. See here.

  • Xmonad and focus follows mouse issue

    I've been fiddling around with xmonad, and I notice that with focus follows mouse turned on, when I create a new window the window under the mouse gets selected instead of the window that I have just created. Pretty irritating, Anyone know how to solve that?
    Thanks for any help provided,
    Kruppe

    Yes, disabling the focus follows mouse behaviour makes it so the correct window is always chosen.
    I kind of like having focus follows mouse for when I need to copy and paste in applications that don't provide good methods for doing that purely with the keyboard (firefox and most terminals when not using screen). I would therefore like to have focus follows mouse.
    Sidenote: What is this updatePointer thing you use and what does it do?

  • I need a little help with xmonad and stuff

    Hi all. I recently changed from fluxbox to xmonad, and I find it fantastic. I have some minor? problems.
    In fluxbox I was using xterm as a terminal emulator, but I couldnt use irssi with it, the Alt + w/e keys weren't working. They worked however in aterm and urxvt but those two support only 16 colors, and I wish to use 256 colors, mainly because of my vim color scheme. Is there a solution to be able to run both irssi and vim from the same terminal, or should I run different terminals for them?
    Also where can I read up on setting my .Xdefaults and xmonad.hs file? I ripped someones from this forum, and it works nice, but I want to make my onw, but cant find any decent documentation. Thanks.
    edit:
    I found the solution to using the Alt key in xterm. I had to add theese two lines in my .Xdefaults
    XTerm*eightBitInput: false
    XTerm*metaSendsEscape: true
    Last edited by tch (2007-12-28 11:00:33)

    Also where can I read up on setting my .Xdefaults and xmonad.hs file? I ripped someones from this forum, and it works nice, but I want to make my onw, but cant find any decent documentation. Thanks.
    At the moment, the best source for configs are those posted in the screenshots thread (for both Xdefaults and xmonad.hs), the xmonad config archive (and the available docs from the root page on that site), and our own thread.  Unfortunately you'll have to sort of scrounge for good docs on the xmonad.hs at the moment, since most of the information was written for the 0.4 version of xmonad.  The configuration has since been made MUCH simpler.
    Hope that helps some.

  • [SOLVED] Trouble installing Xmonad and Xmonad-contrib

    I am new to Arch Linux. After using awesome for a month I decided to shift to xmonad.I installed xmonad and xmonad-contrib from official arch repositories by using
    pacman -S xmonad xmonad-contrib
    and then installed GHC. I was able to start session using
    exec xmonad
    in my ~/.xsession file. I copied the default xmonad.hs template to my home.
    cp /usr/share/xmonad-0.11/man/xmonad.hs ~/.xmonad/xmonad.hs
    . However while recompiling I am getting this error -
    xmonad.hs:14:18:
    Could not find module `XMonad.StackSet'
    Use -v to see a list of the files searched for.
    So I checked the modules in my ghc
    [mangat@Noahas_Arch ~]$ ghc-pkg list
    /usr/lib/ghc-7.6.2/package.conf.d
    Cabal-1.16.0
    array-0.4.0.1
    base-4.6.0.1
    bin-package-db-0.0.0.0
    binary-0.5.1.1
    bytestring-0.10.0.2
    containers-0.5.0.0
    deepseq-1.3.0.1
    directory-1.2.0.1
    filepath-1.3.0.1
    ghc-7.6.2
    ghc-prim-0.3.0.0
    haskell2010-1.1.1.0
    haskell98-2.0.0.2
    hoopl-3.9.0.0
    hpc-0.6.0.0
    integer-gmp-0.5.0.0
    old-locale-1.0.0.5
    old-time-1.1.0.1
    pretty-1.1.1.0
    process-1.1.0.2
    rts-1.0
    template-haskell-2.8.0.0
    time-1.4.0.1
    unix-2.6.0.1
    I am now missing xmonad and xmonad-contrib modules, so I tried to reinstall it but I am now getting following error messages :-
    [mangat@Noahas_Arch ~]$ su -c "pacman -Sv xmonad xmonad-contrib"
    Password:
    Root : /
    Conf File : /etc/pacman.conf
    DB Path : /var/lib/pacman/
    Cache Dirs: /var/cache/pacman/pkg/
    Lock File : /var/lib/pacman/db.lck
    Log File : /var/log/pacman.log
    GPG Dir : /etc/pacman.d/gnupg/
    Targets : xmonad xmonad-contrib
    warning: xmonad-0.11-5 is up to date -- reinstalling
    warning: xmonad-contrib-0.11-6 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Packages (2): xmonad-0.11-5 xmonad-contrib-0.11-6
    Total Installed Size: 34.13 MiB
    Net Upgrade Size: 0.00 MiB
    :: Proceed with installation? [Y/n] Y
    (2/2) checking keys in keyring [###########################################################] 100%
    (2/2) checking package integrity [###########################################################] 100%
    (2/2) loading package files [###########################################################] 100%
    (2/2) checking for file conflicts [###########################################################] 100%
    (2/2) checking available disk space [###########################################################] 100%
    ghc-pkg: cannot find package xmonad-0.11
    error: command failed to execute correctly
    (1/2) reinstalling xmonad [###########################################################] 100%
    Reading package info from stdin ... done.
    xmonad-0.11: Warning: haddock-interfaces: /usr/share/doc/xmonad-0.11/html/xmonad.haddock doesn't exist or isn't a file
    xmonad-0.11: Warning: haddock-html: /usr/share/doc/xmonad-0.11/html doesn't exist or isn't a directory
    xmonad-0.11: dependency "X11-1.6.1.1-1d285f3adf4105d51aa29a4bb5b0c634" doesn't exist (use --force to override)
    xmonad-0.11: dependency "extensible-exceptions-0.1.1.4-757e1af929bd59fccfe8430149f55bc2" doesn't exist (use --force to override)
    xmonad-0.11: dependency "mtl-2.1.2-36ff22533b21e2182d8d4647bfd2b3e7" doesn't exist (use --force to override)
    xmonad-0.11: dependency "utf8-string-0.3.7-89a3d8cf53390a43809e108bcfba69ef" doesn't exist (use --force to override)
    error: command failed to execute correctly
    ghc-pkg: cannot find package xmonad-contrib-0.11
    error: command failed to execute correctly
    (2/2) reinstalling xmonad-contrib [###########################################################] 100%
    Reading package info from stdin ... done.
    xmonad-contrib-0.11: Warning: haddock-interfaces: /usr/share/doc/xmonad-contrib-0.11/html/xmonad-contrib.haddock doesn't exist or isn't a file
    xmonad-contrib-0.11: Warning: haddock-html: /usr/share/doc/xmonad-contrib-0.11/html doesn't exist or isn't a directory
    xmonad-contrib-0.11: dependency "X11-1.6.1.1-1d285f3adf4105d51aa29a4bb5b0c634" doesn't exist (use --force to override)
    xmonad-contrib-0.11: dependency "X11-xft-0.3.1-af5f924091c4d4d0e7fd0f1ef1e3e1c5" doesn't exist (use --force to override)
    xmonad-contrib-0.11: dependency "extensible-exceptions-0.1.1.4-757e1af929bd59fccfe8430149f55bc2" doesn't exist (use --force to override)
    xmonad-contrib-0.11: dependency "mtl-2.1.2-36ff22533b21e2182d8d4647bfd2b3e7" doesn't exist (use --force to override)
    xmonad-contrib-0.11: dependency "random-1.0.1.1-048316c239de82db6e182c94b6cf4e19" doesn't exist (use --force to override)
    xmonad-contrib-0.11: dependency "utf8-string-0.3.7-89a3d8cf53390a43809e108bcfba69ef" doesn't exist (use --force to override)
    xmonad-contrib-0.11: dependency "xmonad-0.11-b1caf0967c016228684d4fbe995fb8d7" doesn't exist (use --force to override)
    error: command failed to execute correctly
    Any Idea why pacman is unable to resolve the dependency. Are they availiable in AUR?
    PS: I have just updated by installation and I am not using AUR right now.
    Last edited by mangatmodi (2013-04-23 09:26:14)

    @Raynman
    My pacman.conf was really in a very bad shape at the time of installation of Xmonad. I think I must be careless to notice and removed dependency check.
    When I compiled my xmonad.hs I found errors related to GHC. I was too surprised, however installed it further. Now since GHC was installed later, it missed some modules which were previously installed.
    I tried reinstalling xmonad, xmonad-contrib before but there was no use. However recursively removing and installing, as suggested by you, seems to have fixed have problem. I am now getting following modules in GHC.
    /usr/lib/ghc-7.6.2/package.conf.d
    Cabal-1.16.0
    X11-1.6.1.1
    X11-xft-0.3.1
    array-0.4.0.1
    base-4.6.0.1
    bin-package-db-0.0.0.0
    binary-0.5.1.1
    bytestring-0.10.0.2
    containers-0.5.0.0
    data-default-0.5.1
    deepseq-1.3.0.1
    directory-1.2.0.1
    dlist-0.5
    extensible-exceptions-0.1.1.4
    filepath-1.3.0.1
    ghc-7.6.2
    ghc-prim-0.3.0.0
    haskell2010-1.1.1.0
    haskell98-2.0.0.2
    hoopl-3.9.0.0
    hpc-0.6.0.0
    integer-gmp-0.5.0.0
    mtl-2.1.2
    old-locale-1.0.0.5
    old-time-1.1.0.1
    pretty-1.1.1.0
    process-1.1.0.2
    random-1.0.1.1
    rts-1.0
    template-haskell-2.8.0.0
    time-1.4.0.1
    transformers-0.3.0.0
    unix-2.6.0.1
    utf8-string-0.3.7
    xmonad-0.11
    xmonad-contrib-0.11
    I will test my system and mark the thread solved. Thank you for the help

  • Run process in xmonad and capturing output

    Hi!
    For my xmonad config, I need something like spawn, but that will return any output from the process spawned.
    I was thinking of using runProcessWithInput from Xmonad.Utils.Run.
    Is there a better way to do this?

    You may find runProcess from System.Process to be of some help. It takes several options, including handles for STDIN, STDOUT, and STDERR.

  • Find a window in XMonad and apply some actions to it

    Hi everyone, I think this should be really easy for someone who's good at Haskell but I just couldn't figure it out as I'm bad at it.
    Basically I want to search through the list of windows in the current workspace, find one matching some condition and apply some action to it; if not found then create this window.
    I had a skeleton code like this
    import qualified XMonad.StackSet as W
    import XMonad.Actions.WindowGo
    findWindow condition actionIfFound actionIfNotFound =
    ifWindow (condition <&&> member W.current) windowFound actionIfNotFound
    where windowFound = ask >>= w -> do actionIfFound w

    Hi guymatsuda,
    If you are having an issue locating a previously purchased song, you may find the following articles useful:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Apple Support: Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Cheers,
    - Brenden

  • XMonad and Compiz (source)

    I inquired and finally received back information on this project and figured you guys might be interested.
    Here is the email's text:
    Follow the instructions to compile from:
    http://wiki.compiz.org/C%2B%2BCompiling
    replace the src direction from the git clone of core with the attached tar
    before compiling compiz
    things that use the mouse or workspace management generally dont work.
    everything else should work ok.
    you'll need to compile extra plugins etc.
    All credit goes to tux_mark_5 from #xmonad
    I've thrown up the necessary data at my github, so feel free to play with it. Enjoy :>

    Square wrote:
    I inquired and finally received back information on this project and figured you guys might be interested.
    Here is the email's text:
    Follow the instructions to compile from:
    http://wiki.compiz.org/C%2B%2BCompiling
    replace the src direction from the git clone of core with the attached tar
    before compiling compiz
    things that use the mouse or workspace management generally dont work.
    everything else should work ok.
    you'll need to compile extra plugins etc.
    All credit goes to tux_mark_5 from #xmonad
    I've thrown up the necessary data at my github, so feel free to play with it. Enjoy :>
    Thanks for this, I saw that vid a while back and did wonder.
    How are you finding it? Did you run into any issues?

  • Xmonad and dmenu options

    I've been using xmonad for a while now, and just started playing with Xmonad.Actions.WindowBringer.
    It uses dmenu for the menu, and I can't for the life of me figure out where to put the options that I want to use for dmenu.   Things like different, and bigger font, different colors, etc....
    I looked at the windowbringer.hs file, and found something about  dmenu opts = menu dmenu opts or something like that.   So I thought that if I could modify that in my ~/.xmonad.hs file, I would be good, but on recompile, I kept getting an error message about that line, so was I on the right track or is there an easier way to do it? 

    I did not know that, but then again, I only tried dwm (which dmenu came from, if I remember right) for a little while, as I got tired or recompiling it all the time. 
    I'll give it a shot, though, when it's updated thru pacman.... but I'll try it.  Thanks.

  • [SOLVED] Xmonad and shell prompts

    Hi
    Is it possible to make this prompt/shell support pasting commands? I can only interact with it using the keyboard. Thanks
    -- Prompts
    import XMonad.Prompt
    import XMonad.Prompt.Shell
    myXPConfig :: XPConfig
    myXPConfig = defaultXPConfig
    { font = myDroidFont
    , bgColor = myColorGrayBg
    , fgColor = myColorBlue
    , bgHLight = myColorBlue
    , fgHLight = myColorWhite
    , promptBorderWidth = 0
    , position = Bottom
    , height = 16
    , historySize = 100
    , historyFilter = deleteConsecutive
    Last edited by valvet (2010-11-09 22:08:30)

    brisbin33 wrote:
    How are you pasting? Have you tried S-insert or middle click?
    If it's true that the prompt does not support pasting of any sort, then your config will be irrelevant and the fix/change will almost certainly have to occur in the X.Prompt internals.
    Hi
    Yes, I tried both. Moving the cursor over the prompt window, it has no "edit" cursor, as in a terminal. Shift insert is the same result.
    Well, OK - but would be a nice feature :-). I'll play with it.
    Thanks

  • Xmonad and gnome

    Hi, I'm trying to use xmonad as window manager. I used the config in Basic Desktop Integration, but I get
    Error detected while loading xmonad configuration file: /home/phrodo_00/.xmonad/xmonad.hs
    xmonad.hs:2:7:
    Could not find module `XMonad.Config.Gnome':
    it is not a module in the current program, or in any known package.
    Please check the file for errors.
    it seems that it doesn't come with the package... any sugestions?
    BTW... I do have xmonad-contrib installed...
    Last edited by Phrodo_00 (2008-09-11 13:07:35)

    Hi. I'm afraid I have the exact same problem. This is my xmonad.hs:
    import XMonad
    import XMonad.Config.Gnome
    main = xmonad gnomeConfig
    And yet I get this error:
    Error detected while loading xmonad configuration file: /home/olga/.xmonad/xmonad.hs
    xmonad.hs:2:7:
    Could not find module `XMonad.Config.Gnome':
    it is not a module in the current program, or in any known package.
    Please check the file for errors.
    I can't install xmonad-contrib. I can only install xmonadcontrib.
    Apt-get says libghc6-xmonad-contrib-dev replaces that package, so I installed it instead. Still no-go.
    What am I to do? I'd be very grateful for any help! ^^
    Last edited by olga (2008-10-20 21:19:15)

  • Xmonad and dbus

    So I can start Xmonad with dbus but then the keyboard doesn't work (mouse works fine however), and xmobar doesn't show up. If I start it without dbus started, everything works fine. I can then start dbus and things continue to work fine. Any ideas on getting xmonad to start with dbus started?

    mreschke wrote:Explicitly starting dbus before Hal works, must have both
    No - hal has been deprecated. From Xorg 1.8 it is no longer necessary.
    News wrote:After upgrading to this release, configuration for input devices in hal is ignored.
    http://www.archlinux.org/news/xorg-18-moves-to-extra/

  • Xmonad and aliases

    I have been looking for awhile now, and cannot figure out how to get an alias to open up it's program in a set workspace.
    i.e I have the alias for my irc to 'urxvt -name irc -e irssi' and when I run irc from the command line I want it to open up in the irc workspace I already have setup.
    I have xmonad.hs setup, and have this working for things like firefox, but I cannot get it to work for aliases. Thanks in advance!
    If .bashrc or xmonad.hs is needed, I am more than willing to provide

    This is the output of xprop.
    _NET_WM_WINDOW_OPACITY(CARDINAL) = 3722304989
    WM_STATE(WM_STATE):
    window state: Normal
    icon window: 0x0
    _NET_WM_PID(CARDINAL) = 10821
    WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, _NET_WM_PING
    WM_LOCALE_NAME(STRING) = "en_US.UTF-8"
    WM_CLASS(STRING) = "irc", "URxvt"
    WM_HINTS(WM_HINTS):
    Client accepts input or input focus: True
    Initial state is Normal State.
    window id # of group leader: 0x1a00006
    WM_NORMAL_HINTS(WM_SIZE_HINTS):
    program specified minimum size: 12 by 18
    program specified resize increment: 8 by 14
    program specified base size: 4 by 4
    window gravity: NorthWest
    WM_CLIENT_MACHINE(STRING) = "ArchLinux"
    WM_COMMAND(STRING) = { "urxvt", "-name", "irc", "-e", "irssi" }
    _NET_WM_ICON_NAME(UTF8_STRING) = "irssi"
    WM_ICON_NAME(STRING) = "irssi"
    _NET_WM_NAME(UTF8_STRING) = "irssi"
    WM_NAME(STRING) = "irssi"
    This is the Hooks section of my xmonad.hs
    -- Hooks {{{
    -- ManageHook {{{
    manageHook' :: ManageHook
    manageHook' = (composeAll . concat $
    [ [resource =? r --> doIgnore | r <- myIgnores] -- ignore desktop
    , [className =? c --> doShift "2:web" | c <- myWebs ] -- move webs to webs
    , [className =? c --> doShift "4:dev" | c <- myDevs ] -- move devs to devs
    , [className =? c --> doShift "5:irc" | c <- myIRC ] -- move devs to devs
    , [className =? c --> doF(W.shift "6:graphics") | c <- myGraphics ] -- move graphics to graphics
    , [className =? c --> doCenterFloat | c <- myFloats ] -- float my floats
    , [name =? n --> doCenterFloat | n <- myNames ] -- float my names
    , [isFullscreen --> myDoFullFloat ]
    where
    role = stringProperty "WM_WINDOW_ROLE"
    name = stringProperty "WM_NAME"
    -- classnames
    myFloats = ["MPlayer","Zenity","VirtualBox","Xmessage","Save As...","XFontSel","Downloads","Nm-connection-editor"]
    myWebs = ["Skype","skype","Firefox","Uzbl","uzbl","Uzbl-core","uzbl-core","Google-chrome","Chromium","Shredder","Mail","deluge"]
    myDevs = ["Eclipse","eclipse","Netbeans","Gvim","spyder","Spyder"]
    myGraphics = ["gimp","Gimp"]
    myIRC = ["irssi","Irssi","irc","Irc"]
    -- resources
    myIgnores = ["desktop","desktop_window","notify-osd","stalonetray","trayer"]
    -- names
    myNames = ["bashrun","Google Chrome Options","Chromium Options"]
    -- a trick for fullscreen but stil allow focusing of other WSs
    myDoFullFloat :: ManageHook
    myDoFullFloat = doF W.focusDown <+> doFullFloat
    also, using Run or Raise, I can run irssi, but a window never appears for it, and I didn't really want to make a keybinding for it, but I can if I end up having to. It would just be nice to have a way to work with aliases.

  • Xmonad and Libreoffice/OOo

    Hi,
    I am very satisfied with my Xmonad setup .
    But there's one issue that's annoying me and other users. For them it's even a showstopper. It's the phenomenon that Openoffice or Libreoffice gets into a tight loop when opening a dialog-box. Sometimes even a hard reset is necessary to find a way out.
    I am using Xmonad-darcs and my xmonad.hs file is inspired on the beautiful one of pbrisbin.
    I've tried the following but for the time being all in vain :
    1)  added SAL_USE_VCLPLUGIN=gen to the .bash_profile file
    2)  replaced Openoffice with Libreoffice
    3   replaced jre with openjdk6
    However the problem persists. I would be very grateful to solve this issue. A working solution might even be a useful addition to the Wiki.
    I know that Openoffice and Libreoffice don't fit very well in a mean and lean Xmonad setup (Latex with (g)vim are 'ideologically' more appropriate ). But sometimes I've no choice if I want to keep on communicating in *.doc files with my colleges....
    Thx in advance.

    Thanks AndyRTR for you quick reply and suggestion.
    But to which setting are you referring? A setting in xmonad.hs, in Libreoffice or elsewhere?
    I am using the following modules:
    32 import XMonad.Actions.CycleWS
    33 import XMonad.Actions.CycleWindows (rotFocusedUp, rotFocusedDown)
    34 import XMonad.Actions.UpdatePointer
    35
    36 import XMonad.Hooks.DynamicLog
    37 import XMonad.Hooks.FadeInactive
    38 import XMonad.Hooks.ManageHelpers
    39 import XMonad.Hooks.ManageDocks
    40 import XMonad.Hooks.UrgencyHook
    41
    42 import XMonad.Layout.IM
    43 import XMonad.Layout.LayoutHints (layoutHintsWithPlacement)
    44 import XMonad.Layout.NoBorders
    45 import XMonad.Layout.PerWorkspace (onWorkspace)
    46 import XMonad.Layout.ResizableTile
    47 import XMonad.Layout.Tabbed
    48 import XMonad.Layout.TwoPane
    49 import XMonad.Layout.Reflect
    50
    51 import XMonad.Util.EZConfig (additionalKeysP)
    52 import XMonad.Util.Loggers (maildirNew,dzenColorL,wrapL)
    53 import XMonad.Util.Run (spawnPipe)
    54 import XMonad.Util.Scratchpad
    55 import XMonad.Util.WindowProperties (getProp32s)
    56 import XMonad.Util.WorkspaceCompare (getSortByXineramaRule)
    57
    58 import Data.List
    59 import Data.Monoid
    60 import Data.Ratio
    61
    62 import System.IO
    63 import System.Exit
    64
    65 import qualified Data.Map as M
    66 import qualified XMonad.StackSet as W

  • [SOLVED] Xmonad and two dzen2 bars

    Solved, thanks!
    Last edited by camphor (2010-03-02 07:01:35)

    Here is the relevant part of my xmonad.hs; these two bars load next to each other
    -- dzen config
    sBarCmd = "dzen2 -fn '-*-times-medium-r-*-*-*-*-*-*-*-*-*-*' -bg '#000000' -fg '#ffffff' -h 16 -w 500 -ta l"
    topBarCmd = "conky -c /home/ishikawa/.conkyrc | dzen2 -fn '-*-times-medium-r-*-*-*-*-*-*-*-*-*-*' -bg '#000000' -fg '#ffffff' -h 16 -w 498 -x 500 -ta r"

Maybe you are looking for

  • Process validation doesn't work

    Hi, when I try to change a process on my application (APEX 3.0.1.00.07), the process validation doesn't work, although the checkbox "Do not validate PL/SQL code (parse PL/SQL code at runtime only)" is not checked. The process will be validate only on

  • The "Share" feature in Finder does not attach the file to either the email or iMessages

    When right click on a file and select "Share" using either the email or iMessages, the correct program opens but no attachement is included. It doesn't attach the file neither the folder contents.

  • Collection Ageing Report

    Hi Exports, We want to to developed an collection ageing report for open & cleared line items of customers.For example :- Collection 100000 during the period of 1st Jan to 31st Jan & diff.-2 Invoice of Rs.85000 are cleared against this with multiple

  • PowerBI throwing errors for validated OData data source

    Hi, I've been creating OData web services for various operations for months now, and validate the service output using odata.org for all versions of Odata (V1-V4) Yet when my co-worker tries to load one of these OData services as a data source, Power

  • Jumping pages in InDesign CS 5.5?

    Working in InDesign CS 5.5 with a 12 or 16 pages tabloid newsletter. Very often when I click  for instance in a menu choice or Enter for implementing a change or new stuff, the pages jump uppwards very fast and I end up at page 3 or so without the ch