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?

Similar Messages

  • Ugh!  Please restore old Terminal.app focus-follows-mouse behavior!

    The 10.4 and prior Terminal.app's focus-follows-mouse feature allowed one to type into the terminal by mousing over it even if the Terminal wasn't the currently focussed application. It didn't focus Terminal when you did this, but did direct keyboard input to it.
    10.5's Terminal.app only allows focus follows mouse to work when it's the focussed application, which destroys about 80% of this feature's usability for me. I like to keep things like finder and browser windows overlapping most of a terminal window and then just slide the mouse over to the terminal to type there, and I can no longer do that in 10.5. Now I have to click on the Terminal window, bringing all my terminal windows forward and obscuring the windows I wanted on top. Very annoying.
    Is there any way to restore the old behaviour? If not, can we please have it back?
    Luckily, 10.4's Terminal.app still behaves properly in 10.5, so I'm using it, but I'd like to have some of the new features of 10.5's Terminal.app. Unfortunately, "broken" focus-follows-mouse is a deal-breaker for me.

    The command I know,
    defaults write com.apple.Terminal FocusFollowsMouse -string Yes
    seems to work about the same in Leopard as in Tiger for me. I don't remember ever being able to get focus-follows-mouse behaviour to work in a non-active application from an active non-focus-follows-mouse application. In other words one can focus follows mouse from one Terminal to another, but not from Finder to Terminal.
    The X11 equivalent (why the inconsistent key and value?) is
    defaults write com.apple.X11 wm_ffm -bool true
    I remember being able to focus-follows-mouse between Terminal and X11, but cannot in Leopard. However, I also cannot in Tiger 10.4.11 either, so maybe it is my memory that is faulty.
    What I don't seem to be able to do, but could do in Tiger, is
    defaults write com.apple.X11 swapaltmeta -int 1
    On Tiger, that would make the option key the meta key, so that e.g. alt-d would delete forward one word, etc. On Leopard, this seems to be a NOP which means that cmd is the only possible meta key, which I personally find rather confusing.

  • Focus follows mouse

    Hi,
    Is there a way to keep a window open while another window is selected? What I would like to is manually type in a window while another window is visible. Other than clicking on alternate windows or resizing the windows I know of no way to do this.
    It seems to me that I had a utility that had focus follows mouse as one of the options. This stopped working a couple of releases ago and I have forgotten its name.
    Thanks.

    I can't appreciate the small space since I don't have a laptop, but you should be able to squeeze in two, either side by side or one on top of the other. Increase the display resolution, maybe? Other than that, I feel thy pain.

  • Focus follows mouse, etc

    So many years ago I was a mac user. And many years ago this forum looked different...
    But I have since switched to linux. Which I like because I can program it however I want.
    BUT now I have a mac again. My macbook with intel ran linux, but it died. So now I have a powerbook. Since PPC linux ***** I'm running 10.5 on it.
    I actually really like this system. It's pretty straight forward and easy to use, just a few things I want for it that I can't find.
    One big major thing that's really holding me back with the system is there's no focus follows mouse. Especially with the small screen it's something I really need to use the computer. And no auto-raise please. That completely ruins the point of focus follows mouse.
    I do have it working in terminal via playing with some plist files. And that's mostly where I use it. But I use it enough on the rest of the system that it's something I really want.
    Also, I'd really like to be able to hold down a modifier key, and click anywhere in a window to be able to move it. Something else I've become really accgstomed to in my GUI that I'd like to have on this little machine.
    Thanks for any help.

    Cool! Thanks for Window Wrangler! That's a pretty neat program. Not what I was looking for exactly, but it'll do just fine.
    I now see what you were trying to show me with the zoom. That's not what I'm looking for.
    What I'm looking for is focus follows mouse. What it does is as you put a mouse over a window, that window gets focus. But does not raise to the top.
    So say I have a web browser open, and my IM client open. I'll leave the client at the bottom of the screen and have the browser sized up just enough to see the text field and the first two lines of conversation of the chat.
    Now, on my linux system to reply all I have to do is put the curser over the IM window and I can type into it without having to click on it and bring it to the top.
    For that example, it isn't a huge deal. But when you have 5 or 6 windows open all organized with each on the right level, bringing one to the top will screw it up.
    I'm liable to have a few terminal windows, IM, email, IM, some programming ide, etc open at once. It's especially useful for web development. I can have the source file open and edit it, but not bring it over the browser window so I can have an idea of what I'm doing with the source.

  • Focus Follows Mouse In Aqua (No, I don't mean X11)

    Hello mass of Apple users!
    I have been switching back in forth between my Windows XP install and OS 10.4.11 and realized how much I miss focus follows mouse.
    Does any one know how to enable it? From what I've found it doesn't seem
    to be possible, except with the Terminal application, which can be enabled with by using defaults.

    MondoMouse - VersionTracker or MacUpdate.

  • Disable window focus follows mouse without click

    I've noticed that I can scroll a window without clicking on it by moving the mouse cursor over that window.  For example, this Safari window has focus, and I'm typing in it, but if I move the cursor to another application (Terminal or another application), I can scroll that other window without having to click on it.  This gets me into trouble, because I can scroll around the other window then start typing, thinking that I'm in that other window because I'm actively doing something to it (scrolling), but the text goes to the window which really has the focus.  For example, Mail has focus, then I scroll around a Terminal looking for something, and I type the delete key forgetting that I'm in Mail.  This has an advantage in that one can scroll a window that is not on top, but there are drawbacks.
    Is there a way to require the click in a window in order to scroll in that window?
    Thanks,
    ==Leonard

    Cool! Thanks for Window Wrangler! That's a pretty neat program. Not what I was looking for exactly, but it'll do just fine.
    I now see what you were trying to show me with the zoom. That's not what I'm looking for.
    What I'm looking for is focus follows mouse. What it does is as you put a mouse over a window, that window gets focus. But does not raise to the top.
    So say I have a web browser open, and my IM client open. I'll leave the client at the bottom of the screen and have the browser sized up just enough to see the text field and the first two lines of conversation of the chat.
    Now, on my linux system to reply all I have to do is put the curser over the IM window and I can type into it without having to click on it and bring it to the top.
    For that example, it isn't a huge deal. But when you have 5 or 6 windows open all organized with each on the right level, bringing one to the top will screw it up.
    I'm liable to have a few terminal windows, IM, email, IM, some programming ide, etc open at once. It's especially useful for web development. I can have the source file open and edit it, but not bring it over the browser window so I can have an idea of what I'm doing with the source.

  • DNS: reverse zone comes back after remove and some follow up issues

    hello community,
    after installation of OSL i had setup dns with a primary zone.
    the automatically created reverse zone for my internal network is fine.
    whenever i enter a new system the default for the ip address is 10.0.0.1 and the reverse zone is automatically setup for this ip address.
    whenever i remove this reverse zone it come back automatically after saving the dns configuration.
    with this come some follow up error.
    server admin claim that there is no name server configured for this reverse zone.
    when i configure it the configured name server entry vanished after clicking the save button.
    when i try to configure settings i can not. i get the error message that the configuration can not be saved cause of the missing name server for the reverse zone i am not using ....
    in the log file i can see that the file for reverse zone can not be found.
    when i check the dns configuration in the shell i can see that the reverse zone file is not there.
    someone has an idea
    - whats the best way to fix this?
    - why is the gui still showing the reverse zone i am not using?
    - is the dns configuration also in the ldap db with wrong entries?
    regards
    christian

    Clean out your zone definitions, and start over. Server Admin is unfortunately seemingly fussy around the authoritative server stuff and the order stuff gets entered, and it seems you can get into a sequence where it doesn't have what it needs. I had encountered couple of cases when I was in a similar state as you're in now, and I ended up clearing and deleting the primary zone and re-adding the zone and the hosts, being careful to add the authoritative server as the first step of adding a zone.

  • Thinkpad X1 Mouse Issues with USB 3.0 Dock and WIndows 8.1

    I have a new X1 (3444-CUU) that I recently upgraded to Windows 8.1. When I connected to the Thinkpad USB 3.0 Dock, there was an automatic updated of the firmware on the docking station.
    Everything seems to be working except issues with my Keyboard and Mouse.Periodically, the mouse will disappear of the keyboard will simply stop working. Most recently, it was as if the delete key was stuck causing it to delete all my email (actually a feature I liked but unfortunately, can't allow).
    Is there a known issue with wireless keyboard?

    I have a possibly similar issue that seems to be related to the keyboard dock. In my case this is with logitec unified receiver, but what I found may help you narrow the issue's root cause.
    I found that after a reboot, the dock's USB ports (bothh SS or USB 3.0) will not recognize logitech's unified receiver. Even though it is Windows reporting it, it seems to be related to the hardware. What I do to have minimally invasive 'functioning' system is to undock the Helix (use as tablet). This makes the genuine USB 2.0 port of the tablet accessible. I then plug the receiver into that port and wait until the mouse is recognized. Then remove the receiver, re-dock the tablet on the keyboard dock and plug the receiver into the dock's usb 3.0 port. Then everything works.
    That seems to somehow circumvent part of the refreshing of the USB connected devices and allows them to work correctly.
    I wonder if that addresses your issue. Of course I am opening another thread and ticket with that issue (will post a link after that)

  • Annoying mouse issues of cs6 and cs5.5 on mountain lion

    Hi everyone,
    a couple month ago, a mac pro bought, which has mountain lion. i installed cs5.5 and for a while i have started to fight with mouse issues. illustrator, indesing and photoshop, all of them has mouse lag. photoshop has also freezing when i use stamp tool, and zooming in addition. if the screen moves (when i zoom or move the work to any direction of the window or use the tool which makes the screen move), it freeze and mouse pointer starts to spininnig. sometimes it comes back for a while, sometimes not. and then noticed that, forexample zooming or stamping, if i move mouse over the window, it completes the new view and everything is back normal.
    but i can't use stamp tool as normal. it can't work fast and freezes mostly. the mouse lag occurs randomly; not only photoshop, but also indesign and illustrator. i looked at the consol messages and found this:
    1/23/13 2:41:55.108 PM WindowServer[203]: _CGXGetWindowOrderingGroup: Operation on a window 0x69 requiring rights 0x5 by caller Photoshop
    i googled it and can't found anything. when it freezes on photoshop, consol writes this message. screen never freezes indesign and illustrator. so, there is no messages. only mouse lag occurs on them.
    i try to use different combination on photoshop's graphics processor settings. but it doesn't work. now i use photoshop by making the graphic processor off.
    after that i installed cs6. but for a while, i met the same problems. i reset the photoshop, erased the preferences files. but it didn't work. after disabling graphic processor, i haven't met the freezing, but mouse issues continue in photoshop, illustrator and indesign.
    if you  need more info, just ask me.
    thank you all.
    mac pro  2x2.4 ghz 6-core intel xeon
    12 gb ram
    ati radeon hd 5770, 1024 mb

    hi,
    thanks for your answer. i don't know if it's a driver problem, or not. computer came with wireless apple magic mouse. today, i tried the old mac mouse (the ones without wheel). the same result.
    if it worked, i wouldn't use this solution. because i do not have to use old mouse. we have met those problems in windows. i NEVER change any hardware for the problems in mac osx. i LOVE apple and its products, but if it worked, there is no different windows.
    so, i don't know where is  the problem, either in macosx or in adobe products. but i'm really tired of this..
    i guess this problem because of the video card: ati hd 5700. their website has not any driver for this card suit for mac os.
    appreciate any help..  

  • Radius L10W-B keyboard and mouse issues

    Hello, I have just purchased a Toshiba Satelite Radius L10W-B notebook less then a day ago, and am exeriancing SERIOUS keyboard and mouse issues, Juts after purchasinng this notebook, after converting it to tablet mode and back to notebok mode, the keyboard and mouse was NON existant for over 4 hours, DID NOT WORK AT ALL. I took it back to the reseller and ofcourse as soon as I tried to show the issue, all worked fine. Now, I have massive latency issues with both keyboard and mouse. The keyboard misses key strokes in almost every 8 keys. I get 1 missed keystroke in every 8 keys pressed when typing, and these are not typos, just absolutely nothing, thyre absolute misses all togeather. This make for alot of retyping and backspacing etc etc. also, the mouse is disabled for about 3 seconds after tying, then snaps back into action. This means when typing and switching to the mouse reasonably fast, the mouse is non responsive for about 1 second which is fairly irretating. This email took over 20 minutes to write, for this exact reason. Im sure this is not normal. I really love this notebook in every other aspect, however these issues just make it plain ususuable. Any ideas? Thanks!  

    Peter,
    thanks for the reply. However im convinced this is hardware related! While I really hope not, Ive tried all solutions posted by others.
    It simply seems the keyboard is poor quality and the rest of the laptop is awesome!
    I really hope im wrong! But its my gut feeling
    Ill try give them a call but not holding my breath.

  • Plazmic CDK 4.6 caret and focus button issues

    I hope I'm posting in the right thread? This is regarding the Plazmic CDK 4.6 for Blackberry - to create your own themes.
    Ok. I think I some what get the hang of Plazmic CDK 4.6 except for a few things.
    I use ArcSoft PhotoStudio to make color changes to certain things. However, in the Today style, when I try to change the 'caret' color, which is that selection bar, no matter how much I resize it, it always looks really thick, almost covering the top of the 2nd line (see image below).
    Also, when I try to change the focus circle, I open it with PhotoStudio and it changes the circle to this circle with a box around it, so when I try to change the color, it turns out like this (see picture below)
    I also have issues with using a transparent background if I upload and make minor changes to an icon (see picture below). So I found this american flag icon, altered the pic to make the colors darker, then it adds this white background instead of keeping it transparent.
    Is there a better program I could be using? Or any idea how to make these changes with this program? Or where can I find 'caret' and 'focus' icons so I don't have to worry about changing the colors.
    Sorry if I sound confusing, hopefully someone understands what I'm saying?
    Thanks!

    you can only use Plazmik, sorry.
    about transparency, when you use your drawing software and save the images, do you use a format that supports transparency ? There are two : GIF and PNG. All others add an opaque background color.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • 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.

  • T400 mouse issues after spill

    Hi,
    I love my T400. It is the best built, most trouble-free laptop I've owned. Now I have an issue due to a stupid spill.
    I spilled a fair amount of beer over the keyboard and immediately powered down. If I had it to do over I would have uplugged and removed the battery, but hindsight is 20/20 as they say. 
    At any rate, I unscrewed the keyboard and examined it and below it and didn't find any beer residue except on the keyboard itself. I popped all the key tops off and cleaned the entire area with ispropyl alcohol. There was a lot of dirt and hair in there. I think I went through about 70 double-tipped swabs. I also looked at the underside of the trackpad and didn't see anything that looked like it needed cleaning. I didn't remove any ribbon cables.
    I'm using the same laptop right now and it is fully functional with the exception of an annoying mouse issue. I'll refer to the buttons as upper left, upper right, lower left and lower right which should be self explanatory. I've never used the upper middle button so not even sure what it is supposed to do. 
    The first thing I noticed was that the lower left button didn't work and the lower right button seemed to only work in certain instances. I hooked up a USB mouse and that overcame my problem. I soon noticed problems with that where it appeared a mouse click wasn't registering. I also about the same time remembered the upper mouse button on the laptop and started using that.
    Generally, my upper left works for any left click functions. However I've notice in Google Chrome, I can't select a tab to change to it. If I left click the tab close, it does close the tab. 
    If I left click on my desktop, I get the right-click menu. The upper left button produces the Windows Start menu just fine but it is rare that I can get the right-click Windows Start menu. When I can, it is only with the upper right button. 
    What I'm guessing from all this is, everything that is mouse-related must run through the same hardware regardless of the input used (upper buttons, lower buttons or external USB device) and different software handles mouse clicks differently explaining the differences (good, intermittent or never) in response. 
    Here's another example. To run the Windows calc program from the Start menu Run feature, normally I would left click run and get the dialog with a drop down menu for recent programs accessed thru Run. Let's say I'm using calc. Simetimes this works normally. Other times when I click Run, I get a single option  "drop-down" menu with that option being "run" which if clicked THEN takes me to the typical drop down menu of recent programs. Other times, I get a context menu which includes the Run option. 
    With that in mind, I'm wondering if replacing the touchpad assembly is likely to fix my problems or if anyone has any other suggestions other than to not spill beer on your laptop.
    Thanks

    hey beeherd,
    replacing the touchpad assembly should resolve the issue. however, i am unable to guarantee that it will.
    you could try that, or use an external mouse?
    do a reinstallation of mouse drivers and use this manual : http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles_pdf/43y6629_04.pdf .
    open the unit and dry it in a dust free room.
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • [svn] 3079: Pop up and focus fixes.

    Revision: 3079
    Author: [email protected]
    Date: 2008-09-03 10:53:07 -0700 (Wed, 03 Sep 2008)
    Log Message:
    Pop up and focus fixes.
    QE: YES
    Doc:
    Checkintests: YES
    Reviewer: Alex
    Bugs: SDK-16669, SDK-15688
    mx/events/SWFBridgeEvent.as
    Add marshal() method. Update ASDoc.
    mx/managers/FocusManager.as
    Fix bug SDK-15688. Type coercion error fixed by moving to a common super class of IFocusManagerComponent and SWFLoader.
    mx/managers/PopUpManagerImpl.as
    Renaming.
    airframework/src/mx/managers/WindowedSystemManager.as
    mx/managers/SystemManager.as
    Fix problems introduced from API scrub and fix an old problem activating A.2.2.
    mx/managers/SystemManagerProxy.as
    Override addEventListener() and removeEventListener() to also add listeners on the proxied SystemManager. This
    allows the Proxy to get keyboard focus events that happen in the proxied SystemManager. Dispatch activate/deactivate messages to the sandbox root.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16669
    http://bugs.adobe.com/jira/browse/SDK-15688
    http://bugs.adobe.com/jira/browse/SDK-15688
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemMa nager.as
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy. as

    I would suggest not to use JWindow but JPopupMenu! In
    the JPopupMenu you can add any swing-components!
    You can show the Popup in focusGained (ok, that is
    not so user-friendly, in my opinion a shortcut would
    do better!).
    The Popup will hide automatically if you click with
    the mouse somewhere else or hit escape.Thank you for the reply.
    I'm still having problems. I'd prefer not to use a jpopupmenu, because I want to use that for something else. This was just going to be a simple list that would appear near the text field so user could have a list of options to choose from.
    Focus gained on the textfield brings up the list. Selecting something on the list clears it (hides). This idea works well on the mac. But on the pc the jwindow keeps hiding behind the main frame ?
    I have the following code
    The windows is created as follows
         listWindow = new JWindow(SwingUtilities.getWindowAncestor(this));
    listWindow.getContentPane().add(pane);
    listWindow.setVisible(false);
    pane contains the jlist of values
    Then the textfield is as follows
    textField.addFocusListener(new java.awt.event.FocusAdapter() {
    public void focusGained(java.awt.event.FocusEvent evt) {
    if (showListWindow) {
    if (!listWindow.isVisible()) {
    Point los = getLocationOnScreen();
    listWindow.setVisible(true);
    listWindow.setLocation(los.x +580, los.y +75);
    listWindow.pack();
    listWindow.toFront();
              textField().requestFocus();
    I use a boolean showListWindow to decide when to show. Because I noticed that displaying the jlist and requesting focus to the textfield caused the focusGain to fire again.
    Any ideas why the pc keeps the list hidden ? If I move the main frame I can see !

  • Wireless keyboard and Wireless Mighty Mouse failure

    Hello,
    I have just bought an iMac 20" with a wireless keyboard and wireless mighty mouse.
    Both the keyboard and mouse will not work properly.
    I followed the installation/setup instructions and paired first the keyboard and then mouse. Then the problems started.
    1. Mighty Mouse tracking is dreadful and very slow (even after adjusting mouse properties)
    2. Keyboard started to drop connection and then when awoke started repeating keys (as if key stuck)
    3. Keyboard then disconnected and will not be recognised when searching for Bluetooth devices nor can I pair it again.
    4. When both were working the Airport extreme wireless network would be lost (but I think that this is a red-herring and irrelevant)
    Interesting once keyboard stopped working the wireless mouse tracking improved.
    The only software I have installed since taking the iMac out of the box are (in order)
    - Running/installing all Apple updates (including firmware 1.1)
    - Installing Firefox 2.0
    - Installing Adobe Reader 8.0
    - Installing Stuffit Reader 11.0
    - Installing Canon Bubble Jet Printer driver
    - Installing latest version of Skype
    If I use a USB mouse or keyboard they work ok.
    This is the second replace imac within 2 weeks. The first had the same problem.
    Can anybody help please as I'm new to Mac's after switching from a PC and I do not want to have to chuck either the keyboard or mouse or have the pain of Apple supplying me with a 3rd replacement iMac
    Jonathan
    iMac 20 Inch   Mac OS X (10.4.8)  

    Welcome to the Apple Discussions. Congrats on the new Mac.
    Did you Repair Disk Permissions after the software updates and installs?
    Whether this solves this issue for you, it is something that you should always do. Go to Apps/Ut5ilities/Disk Utility and select your OS X HDD. Press Repair Permissions. Run Repair Permissions until no more repairs are reported.

Maybe you are looking for

  • Does eMac support iTunes7 for iPhone?

    Since loading ios6 for iPhone it no longer connects to iTunes and I can't download iTunes 7 to my eMac. Is there a solution other than a new mac?

  • Credit memo and mandatory fields in Sales order

    Dear all, I have 2 problems, hoping these are not too basic questions I'm asking here. 1). I have created a sales order for credit memo's and I'm using the standard billing type G2. The amounts are negative in the order & in the billing document, how

  • App server , process scheduler , web server and DB scripts

    Team, Good Morning. I am looking for the script which will help me in doing health check-up for app server , process scheduler , web server and DB. The script should trigger a email when any one of the domain is down and when it get up. Waiting heart

  • I Have problem in MS Update to HP PSC 500 in Window 8 OCT 2005 ERROR CODE 80070002

    Without the update I can not see  the printer name In the list of priner I print dialog. so I can not print . I see Psc Name  only In the control panel I also can not make a scan/ becuse the scanner has not been recognized by Windows 8 Cost. Prev. th

  • Download error 9006

    hi. i was hoping someone might have some suggestions for a cure for this. trying to rent a film, all fine and good. entered itunes account etc. but when i come to download i get an error. and when i goto the general/download menu. it repeatedly immed