From codesite-noreply at google.com Mon Sep 1 10:40:07 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Mon Sep 1 10:38:23 2008 Subject: [xmonad] Issue 210 in xmonad: xmonad.hs not accepted, xmonad.errors empty Message-ID: <00163630f5f95f17180455d694f0@google.com> Issue 210: xmonad.hs not accepted, xmonad.errors empty http://code.google.com/p/xmonad/issues/detail?id=210 New issue report by h.stenstrom: What steps will reproduce the problem? 1. Install latest xmonad on Ubuntu 2. Create the directory ~/.xmonad 3. Copy the file xmonad.hs.gz from /usr/share/doc/libghc6-xmonad-doc/examples and ungzip it. 4. Log out 5. Tell gdm that you want xmonad as a window manager 6. There is one window, which fills the screen. It says: Error detected while loading xmonad configuration file: /localhome/helge/.xmonad/xmonad.hs Please check the file for errors. (note: my account is not on /home, but on /localhome. I use /home for NIS accounts only) 7. Note that there is a newly created or updated file ~/xmonad/xmonad.errors. Note that it is empty (0 bytes) 8. Deliberately insert some syntax errors in the xmonad.hs file, to see if they are logged in the xmonad.errors file. 9. Note that the error file is still empty. What is the expected output? What do you see instead? I expect error explanations in the xmonad.errors file Or I expect the example file to work out-of-the-box. What version of the product are you using? On what operating system? xmonad: 0.6-3 OS: Ubuntu 8.04 (Linux) Please provide any additional information below. There is a file ~/.xsession-errors which has the following last line: /localhome/helge/.xmonad/xmonad-i386-linux: executeFile: does not exist (No such file or directory) Indeed, there is no such file. I created the directory myself. How should the file come into existance? If this error is due to a module from XMonadContrib, please tag this issue with 'Component-Contrib' below. Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Mon Sep 1 14:01:58 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Mon Sep 1 14:00:13 2008 Subject: [xmonad] Issue 211 in xmonad: Error output inconsistency Message-ID: <00163628379444f1bd0455d96655@google.com> Issue 211: Error output inconsistency http://code.google.com/p/xmonad/issues/detail?id=211 New issue report by m...@twifkak.com: Some of our output goes to xmonad.errors, and some goes to stdout/stderr. Our xmessage only says to check the former. I suggest we consolidate to one output. Since stdout/err logging is computer-dependent, I suggest we should log everything to the .errors file. Issue attributes: Status: Accepted Owner: m...@twifkak.com Labels: Type-Defect Priority-Low Component-Core Usability -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Tue Sep 2 09:25:25 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Tue Sep 2 09:23:37 2008 Subject: [xmonad] Issue 212 in xmonad: xmonad and xkb features Message-ID: <0015175ce10e0bbd560455e9a75a@google.com> Issue 212: xmonad and xkb features http://code.google.com/p/xmonad/issues/detail?id=212 New issue report by mauricio.antunes: What steps will reproduce the problem? 1. Just use xmonad for a few minutes What is the expected output? What do you see instead? I use a xkb feature that allows one to press Ctrl-Shift-NumLock and then control the mouse with the keyboard. After a while, that feature just stops working. I can restart it, although it will be disabled again after some time. I don't have that problem with the other window manager I use (metacity, I think). What version of the product are you using? On what operating system? I'm using version 0.7 in Ubuntu 8.04. The problem already existed in xmonad 0.6. I do have the same problem if I config xmonad not to use any contrib extensions. I'm attaching my xorg.conf. Attachments: xorg.conf 1.3 KB Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From i92guboj at terra.es Tue Sep 2 11:36:43 2008 From: i92guboj at terra.es (=?ISO-8859-1?Q?Jes=FAs?= Guerrero) Date: Tue Sep 2 11:35:00 2008 Subject: [xmonad] many dzen instances Message-ID: <20080902173643.e4aac1a4.i92guboj@terra.es> Hello, I am including two new instances of dzen2 to monitor my local box and a remote machine using a piped conky. It mostly works, however there's a minor -I hope- glitch. The two new instances of dzen appears above the windows. There's another -previous- instance of dzen on the top of the screen which I use to log info about the workspaces, layouts and window title. That one fits ok into the layout without a problem. http://jesgue.homelinux.org/other-files/3-dzens.jpg In the pic you can see the problem illustrated. And the relevant snippet from my config is: ===================================== -- dynamiclog pretty printer for dzen robPP h = defaultPP { ppCurrent = wrap "^fg(#000000)^bg(#0390e1)^p(2)" "^p(2)^fg()^bg()" , ppHidden = wrap "^fg(#0390e1)" "^fg()^bg()" , ppHiddenNoWindows = wrap "^fg(grey70)" "^fg()^bg()" , ppSep = " ^fg(gray70)^r(3x3)^fg() " , ppTitle = dzenColor "#90e103" "" . wrap "[ " " ]" , ppOutput = hPutStrLn h } statusBarCmd = "dzen2 -bg '#222222' -fg '#00ff00' -sa c -fn '-*-dejavu sans-*-r-*-*-12-*-*-*-*-*-*-*' -e '' -xs 1" statusBarCmd2 = "ssh root@server conky | dzen2 -bg '#222222' -fg '#00ff00' -sa l -fn '-*-dejavu sans-*-r-*-*-11-*-*-*-*-*-*-*' -e '' -xs 1 -y 1160" statusBarCmd3 = "conky -c ~/.conkyrc-xmonad | dzen2 -bg '#222222' -fg '#00ff00' -sa l -fn '-*-dejavu sans-*-r-*-*-11-*-*-*-*-*-*-*' -e '' -xs 1 -y 1180" main = do din <- spawnPipe statusBarCmd din2 <- spawnPipe statusBarCmd2 din3 <- spawnPipe statusBarCmd3 xmonad $ defaultConfig { terminal = myTerminal , focusFollowsMouse = myFocusFollowsMouse , borderWidth = myBorderWidth , modMask = myModMask , numlockMask = myNumlockMask , workspaces = myWorkspaces , normalBorderColor = myNormalBorderColor , focusedBorderColor = myFocusedBorderColor , keys = myKeys , mouseBindings = myMouseBindings , manageHook = manageDocks <+> manageHook defaultConfig <+> myManageHook , logHook = dynamicLogWithPP $ robPP din , layoutHook = myLayout , startupHook = myStartupHook } ===================================== My question is why does one instance of dzen is respected by the layout, and the other two are ignored? Or, how to make the two dzens at the bottom fit into my layout, so they do not mess up the visibility of my windows. Thanks for reading. -- Jes?s Guerrero -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://www.haskell.org/pipermail/xmonad/attachments/20080902/b0400c77/attachment.bin From codesite-noreply at google.com Tue Sep 2 18:52:57 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Tue Sep 2 18:51:07 2008 Subject: [xmonad] Issue 213 in xmonad: UrgencyHook fails under stress-testing Message-ID: <0015175cdf7ab1e7490455f19480@google.com> Issue 213: UrgencyHook fails under stress-testing http://code.google.com/p/xmonad/issues/detail?id=213 New issue report by m...@twifkak.com: 1. Save your work. 2. Write a shell script, stress.sh, with the line: while true; do echo -ne '\a'; done 3. Run it in an urxvt with urgentOnBell: true. 4. Move over to a ptty (as your X is now hosed), run top, and notice that xmonad's RES is at several hundred megs, and it's CPU usage is consistently above 50%. 5. killall -9 stress.sh 6. Notice that xmonad is still a resource hog. 7. Curse your curiosity for bringing your work to a halt. (I haven't tested this on another WM; perhaps this problem is global.) I'm looking for suggestions, here. Fixing this completely would require a change to core, I believe. OTOH, this at least points out a space leak in UrgencyHook. Issue attributes: Status: Accepted Owner: m...@twifkak.com Labels: Type-Defect Priority-Medium Component-Core Component-Contrib Performance -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 3 18:22:26 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 3 18:20:35 2008 Subject: [xmonad] Issue 210 in xmonad: xmonad.hs not accepted, xmonad.errors empty Message-ID: <0015175cb87c6ff5530456054574@google.com> Issue 210: xmonad.hs not accepted, xmonad.errors empty http://code.google.com/p/xmonad/issues/detail?id=210 Comment #1 by m...@twifkak.com: Heh, I could've sworn I responded to this. Yeah, you'll see I spawned #211, which looks like it is leading to some of confusion. The aforementioned file comes into existence through compilation of xmonad.hs. I'm guessing either compilation failed, or there is a permissions error. Please check the previous lines in your .xsession-errors for clues. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 4 07:37:49 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 4 07:35:56 2008 Subject: [xmonad] Issue 210 in xmonad: xmonad.hs not accepted, xmonad.errors empty Message-ID: <0015175d0180ec598e045610610e@google.com> Issue 210: xmonad.hs not accepted, xmonad.errors empty http://code.google.com/p/xmonad/issues/detail?id=210 Comment #2 by h.stenstrom: This is my exact .xsession errors: /etc/gdm/Xsession: Beginning session setup... Setting IM through im-switch for locale=en_US. Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default. /localhome/helge/.xmonad/xmonad-i386-linux: executeFile: does not exist (No such file or directory) I see no clue here... But the window that covers the whole screen says: Error detected while loading xmonad configuration file:/localhome/helge/.xmonad/xmonad.hs xmonad.hs:14:17: Could not find module `XMonad.StackSet': it is not a module in the current program, or in any known package. Please check the file for errors. I'll attach the xmonad.hs file. It is from the xmonad package of Ubuntu, except for a comment on the first line. Attachments: xmonad.hs 9.4 KB -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 4 07:53:00 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 4 07:51:06 2008 Subject: [xmonad] Issue 210 in xmonad: xmonad.hs not accepted, xmonad.errors empty Message-ID: <0016e644d53c3988440456109868@google.com> Issue 210: xmonad.hs not accepted, xmonad.errors empty http://code.google.com/p/xmonad/issues/detail?id=210 Comment #3 by h.stenstrom: After some more testing, I think this is a packaging problem, at least partly. I installed the package libghc6-xmonad-dev, and a bunch of dependent packages. Now the desktop was blank after login, with the default Ubuntu color. No window which fills the whole screen. No error logged in .xsession-errors. On the other hand, I now have new files in ~/.xmonad: xmonad-i386-linux xmonad.hi xmonad.o in addition to the files xmonad.errors (still empty) xmonad.hs. My screen blank, and I can't bring up any menus using the mouse buttons. Do I have to write something to a file to have at least some functionality? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 4 12:30:51 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 4 12:28:56 2008 Subject: [xmonad] Issue 210 in xmonad: xmonad.hs not accepted, xmonad.errors empty Message-ID: <0015175cf7a6e36a9a0456147950@google.com> Issue 210: xmonad.hs not accepted, xmonad.errors empty http://code.google.com/p/xmonad/issues/detail?id=210 Comment #4 by m...@twifkak.com: Nope, you've now got a working xmonad. Per `man xmonad`, alt-shift-enter will bring up an xterm (unless your xmonad.hs changed that). Feel free to ask for help on the mailing list or the IRC channel, but I'm closing this bug. Issue attribute updates: Status: Invalid -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From me at twifkak.com Thu Sep 4 12:55:44 2008 From: me at twifkak.com (Devin Mullins) Date: Thu Sep 4 12:53:50 2008 Subject: [xmonad] XDG_CONFIG_HOME (reprise) In-Reply-To: <27B95682-8B89-4EF5-B724-BC7AB3AFDD35@ece.cmu.edu> References: <20080826205155.GA17019@celeborn> <20080828204550.GD971@craft> <20080829210405.GC7343@celeborn> <20080830013024.GA31090@twifkak.com> <20080831114737.GB1999@twifkak.com> <20080831190604.GA2749@twifkak.com> <27B95682-8B89-4EF5-B724-BC7AB3AFDD35@ece.cmu.edu> Message-ID: <20080904165544.GA11862@twifkak.com> On Sun, Aug 31, 2008 at 03:27:51PM -0400, Brandon S. Allbery KF8NH wrote: > Let me rephrase this: KDE already does the right thing. GNOME seems > to finally be getting there. Why do I need custom configuration for > xmonad? Okay, I really am trying to play nice. You know my opinion on $XDG_CONFIG_HOME and my reasons therefore. This particular user seems okay with setting a littany of environment variables in his .profile. Would an $XMONAD_HOME work for you? In case you're curious why I am okay with this option: This way, it's an explicit choice by the user, and not something thrust upon him by his particular platform that we then have to discover during an IRC support session. From me at twifkak.com Thu Sep 4 13:02:10 2008 From: me at twifkak.com (Devin Mullins) Date: Thu Sep 4 13:00:16 2008 Subject: [xmonad] XDG_CONFIG_HOME (reprise) In-Reply-To: <27B95682-8B89-4EF5-B724-BC7AB3AFDD35@ece.cmu.edu> References: <20080826205155.GA17019@celeborn> <20080828204550.GD971@craft> <20080829210405.GC7343@celeborn> <20080830013024.GA31090@twifkak.com> <20080831114737.GB1999@twifkak.com> <20080831190604.GA2749@twifkak.com> <27B95682-8B89-4EF5-B724-BC7AB3AFDD35@ece.cmu.edu> Message-ID: <20080904170210.GA11933@twifkak.com> On Sun, Aug 31, 2008 at 03:27:51PM -0400, Brandon S. Allbery KF8NH wrote: > Let me rephrase this: KDE already does the right thing. GNOME seems > to finally be getting there. Why do I need custom configuration for > xmonad? Actually, does this work for xmonad? http://ordiluc.net/fs/libetc/README From allbery at ece.cmu.edu Thu Sep 4 13:36:48 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Thu Sep 4 13:34:56 2008 Subject: [xmonad] XDG_CONFIG_HOME (reprise) In-Reply-To: <20080904165544.GA11862@twifkak.com> References: <20080826205155.GA17019@celeborn> <20080828204550.GD971@craft> <20080829210405.GC7343@celeborn> <20080830013024.GA31090@twifkak.com> <20080831114737.GB1999@twifkak.com> <20080831190604.GA2749@twifkak.com> <27B95682-8B89-4EF5-B724-BC7AB3AFDD35@ece.cmu.edu> <20080904165544.GA11862@twifkak.com> Message-ID: On Sep 4, 2008, at 12:55 , Devin Mullins wrote: > In case you're curious why I am okay with this option: This way, > it's an > explicit choice by the user, and not something thrust upon him by his > particular platform that we then have to discover during an IRC > support > session. Whereas I am looking for a way to configure as many things as possible with as few special variables as possible. This comes of having to manage several hundred local packages on top of vendor packages for 7 platforms. In any case, having already pushed xmonad out of the current round of upgrades (I'm running out of time and can't wait for bikesheds) it doesn't really matter any more. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From cs-haskell at protempore.net Thu Sep 4 14:27:46 2008 From: cs-haskell at protempore.net (Calvin Smith) Date: Thu Sep 4 14:25:53 2008 Subject: [xmonad] XDG_CONFIG_HOME (reprise) In-Reply-To: <27B95682-8B89-4EF5-B724-BC7AB3AFDD35@ece.cmu.edu> References: <20080820215739.GA22133@celeborn> <20080826202359.GF11435@craft> <20080826205155.GA17019@celeborn> <20080828204550.GD971@craft> <20080829210405.GC7343@celeborn> <20080830013024.GA31090@twifkak.com> <20080831114737.GB1999@twifkak.com> <20080831190604.GA2749@twifkak.com> <27B95682-8B89-4EF5-B724-BC7AB3AFDD35@ece.cmu.edu> Message-ID: <48C028A2.7090500@protempore.net> On 08/31/2008 12:27 PM, Brandon S. Allbery KF8NH wrote: > > Let me rephrase this: KDE already does the right thing. GNOME seems to > finally be getting there. Why do I need custom configuration for xmonad? > For what it's worth, I'd like to register my support for this issue too. freedesktop.org's purpose is to improve interoperability and provide the "one standard way" of doing things across different X desktops. It seems that Gnome, KDE, and Xfce are all working closely with them already [1], and I am surprised that there would be so much resistance here. I think that for a standard like freedesktop.org that big players like Gnome and KDE are following, the default policy for xmonad should be to follow the standard that the big players are following unless there are very good reasons not to. On the support issue that Spencer and Devin mentioned, does anybody have actual examples of desktop environments or distributions that explicitly set XDG_CONFIG_HOME to some value other than $HOME/.config? Gnome doesn't set it at all. KDE doesn't set it at all (based on my interpretation of their online docs). If it's the case that it's hardly ever set *except* when a user needs to set it to something else and explicitly sets it, then xmonad would always use the default value of $HOME/.config, and it seems it would have little impact on support. That's my $.02. -calvin 1. http://en.wikipedia.org/wiki/Freedesktop.org From allbery at ece.cmu.edu Thu Sep 4 14:30:19 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Thu Sep 4 14:28:25 2008 Subject: [xmonad] XDG_CONFIG_HOME (reprise) In-Reply-To: <48C028A2.7090500@protempore.net> References: <20080820215739.GA22133@celeborn> <20080826202359.GF11435@craft> <20080826205155.GA17019@celeborn> <20080828204550.GD971@craft> <20080829210405.GC7343@celeborn> <20080830013024.GA31090@twifkak.com> <20080831114737.GB1999@twifkak.com> <20080831190604.GA2749@twifkak.com> <27B95682-8B89-4EF5-B724-BC7AB3AFDD35@ece.cmu.edu> <48C028A2.7090500@protempore.net> Message-ID: <80D68DE6-AE68-43AD-8BDF-70443C85E10A@ece.cmu.edu> On Sep 4, 2008, at 14:27 , Calvin Smith wrote: > On 08/31/2008 12:27 PM, Brandon S. Allbery KF8NH wrote: >> >> Let me rephrase this: KDE already does the right thing. GNOME seems >> to >> finally be getting there. Why do I need custom configuration for >> xmonad? >> > > On the support issue that Spencer and Devin mentioned, does anybody > have actual examples of desktop environments or distributions that > explicitly set XDG_CONFIG_HOME to some value other than > $HOME/.config? Gnome doesn't set it at all. KDE doesn't set They should never do so; it's for the implementer. KDE sets $KDE_DOTDIR from it, for example. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From i92guboj at terra.es Thu Sep 4 15:42:02 2008 From: i92guboj at terra.es (=?ISO-8859-1?Q?Jes=FAs?= Guerrero) Date: Thu Sep 4 15:40:12 2008 Subject: [xmonad] many dzen instances In-Reply-To: <48C03075.1000103@gmail.com> References: <20080902173643.e4aac1a4.i92guboj@terra.es> <48C03075.1000103@gmail.com> Message-ID: <20080904214202.8ec92f93.i92guboj@terra.es> On Thu, 04 Sep 2008 21:01:09 +0200 Robert Manea wrote: > I suppose you are using 'avoidStruts' to let xmonad know about the > correct values for the dzen instances. Yup. > > If so, then your issue are actually 2 issues: > > 1. Dzen sets some properties that tell xmonad to set apart some > screenspace for it. > Xmonad seems to be fine with the dzen on top, the one at the very > bottom should > work just as well, without any further config, though. > > 2. The second issue is the way how dzen decides to set those properties. > It does this > by inspecting wether it touches either the top or bottom edge of the > screen, and only sets > strut information if this is actually the case. > > This means a dzen that does not touch one of the screen borders will > never be recognized > by xmonad and get extra space. > > I'm not sure if the latest xmonad release still contains code to > manually set a gap, but this for sure > would be the easiest way to solve your issue in a simple way. I understand. I also thought of that solution, and I think the code is still there, but I haven't even tried, since that would be only a temporal workaround if the code is going to be deprecated soon. However, there were some other concerns. I thikn that conky was leaking memory or something. That and a few other annoyances made me switch. I now use a couple of gkrellms on the right side of one of my monitors to monitor a couple of boxes, and all is fine. I keep one dzen on the top for my windows, layouts and workspaces. So, after all I found a suitable solution for me. Thanks for the response. -- Jes?s Guerrero -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://www.haskell.org/pipermail/xmonad/attachments/20080904/d873e96e/attachment.bin From codesite-noreply at google.com Thu Sep 4 17:18:57 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 4 17:17:02 2008 Subject: [xmonad] Issue 214 in xmonad: mouse shift with java Message-ID: <0016363b92223d90a404561880ce@google.com> Issue 214: mouse shift with java http://code.google.com/p/xmonad/issues/detail?id=214 New issue report by girodt: > What steps will reproduce the problem? 1. launch greenfoot (http://www.greenfoot.org/download/) 2. try out the drop-down and the contextual menus for the dropdown menus, the mouse influence is heavily shifted from the actual mouse position. for the contextual menus, the whole menu is shifted away from where it should appear, in concordance with mouse influence. I tried to run the program in fluxbox to give it a try, and everything seems to be in place. It looks like this vertical shift is linked to the height of the (non-existing) status-bar of the window. I'm really outside of my area here, but I'm wondering if Java/SWING is making a call to the WM to gather informations that will allow it to calculate the mouse coordinates relative to the window's space. > What version of the product are you using? On what operating system? xmonad-0.7 + xmonad-contrib-0.7 on archlinux Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Fri Sep 5 10:39:25 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Fri Sep 5 10:37:28 2008 Subject: [xmonad] Issue 214 in xmonad: mouse shift with java Message-ID: <001636163c893c266e04562709c8@google.com> Issue 214: mouse shift with java http://code.google.com/p/xmonad/issues/detail?id=214 Comment #1 by Braden.Shepherdson: This sounds to me like a badly-coded Java app that is using absolute coordinates and just leaving space for where it assumes a title bar to be. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From spencerjanssen at gmail.com Fri Sep 5 19:01:00 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Fri Sep 5 18:58:45 2008 Subject: [xmonad] XDG_CONFIG_HOME (reprise) In-Reply-To: <20080830013024.GA31090@twifkak.com> References: <20080820215739.GA22133@celeborn> <20080826202359.GF11435@craft> <20080826205155.GA17019@celeborn> <20080828204550.GD971@craft> <20080829210405.GC7343@celeborn> <20080830013024.GA31090@twifkak.com> Message-ID: <20080905230100.GB4745@celeborn> This discussion has seemingly diverged in two different directions, and I'd like to clarify exactly what the concerns are. The discussion was initially about moving xmonad.hs to XDG_CONFIG_HOME. This is essentially a bike shed issue: some prefer $HOME/.xmonad/xmonad.hs and others prefer $HOME/.config/xmonad/xmonad.hs. I prefer the former, and I haven't seen any convincing arguments for the latter, so we're going to stick with $HOME/.xmonad/xmonad.hs. Brandon Allbery presented another concern about data files that xmonad writes, such as the cached executable and prompt's history. It is possible that there are race conditions with concurrent readers/writers that may cause corruption. One potential workaround for this is to append the hostname to XDG_DATA_HOME (or perhaps XDG_CACHE_HOME). It is important to note that this is orthogonal to XDG_CONFIG_HOME and only involves internal xmonad files that the user typically doesn't interact with. I don't think this solution is the right direction. There are still potential problems with multiple instances of xmonad on the same hostname, and it seems to be non-standard (or at least not expected) use of the XDG Base Directory Specification. If the potential of writing corrupted files is still a concern, I recommend that someone create a bug on the bug tracker and/or a new thread on the mailing list. I also suggest that we avoid mentioning XDG_CONFIG_HOME at all in that discussion, because it is orthogonal and tends to result in bike-shed arguments. Cheers, Spencer Janssen From dons at galois.com Fri Sep 5 21:38:28 2008 From: dons at galois.com (Don Stewart) Date: Fri Sep 5 21:36:29 2008 Subject: [xmonad] ANNOUNCE: xmonad 0.8 released! Message-ID: <20080906013828.GB11490@scytale.galois.com> http://xmonad.org The xmonad dev team is pleased to announce xmonad 0.8! The headlines: * A general purpose replacement for "gaps" has been adopted. * Floating windows pop up on the current screen by default * Locale support * Rock solid code: No new crash-inducing bugs reported in this release cycle * Many new extensions, including the ability to write your own configuration parsers. * The 1000th commit was made to the project Change logs: http://haskell.org/haskellwiki/Xmonad/Notable_changes_since_0.7 About: xmonad is a tiling window manager for X. Windows are arranged automatically to tile the screen without gaps or overlap, maximising screen use. Window manager features are accessible from the keyboard: a mouse is optional. xmonad is extensible in Haskell, allowing for powerful customisation. Custom layout algorithms, key bindings and other extensions may be written by the user in config files. Layouts are applied dynamically, and different layouts may be used on each workspace. Xinerama is fully supported, allowing windows to be tiled on several physical screens. Features: * Very stable, fast, small and simple. * Automatic window tiling and management * First class keyboard support: a mouse is unnecessary * Full support for tiling windows on multi-head displays * Full support for floating, tabbing and decorated windows * Full support for Gnome and KDE utilities * XRandR support to rotate, add or remove monitors * Per-workspace layout algorithms * Per-screens custom status bars * Compositing support * Powerful, stable customisation and reconfiguration * Large extension library * Excellent, extensive documentation * Large, active development team, support and community Get it! Information, screenshots, documentation, tutorials and community resources are available from the xmonad home page: http://xmonad.org The 0.8 release, and its dependencies, are available from hackage.haskell.org: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xmonad xmonad packages are available in the package systems of at least: Debian, Gentoo, Arch, Ubuntu, OpenBSD, NetBSD, FreeBSD, Gobo, NixOS, Source Mage, Slackware and 0.8 packages will appear in coming days (some are already available). On the fly updating to xmonad 0.8 is supported. You can even use cabal-install: $ cabal update $ cabal install xmonad-0.8 $ cabal install xmonad-contrib-0.8 $ xmonad --recompile mod-q Extensions: xmonad comes with a huge library of extensions (now around 9 times the size of xmonad itself), contributed by viewers like you. Extensions enable pretty much arbitrary window manager behaviour to be implemented by users, in Haskell, in the config files. For more information on using and writing extensions see the webpage. The library of extensions is available from hackage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xmonad-contrib Full documentation for using and writing your own extensions: http://xmonad.org/contrib.html This release brought to you by the xmonad dev team: Spencer Janssen Don Stewart Jason Creighton David Roundy Brent Yorgey Devin Mullins Braden Shepherdson Roman Cheplyaka Lukas Mai Featuring code contributions from over 60 developers: Aaron Denney Adam Vogt Alec Berryman Alex Tarkovsky Alexandre Buisse Andrea Rossato Austin Seipp Bas van Dijk Ben Voui Brandon Allbery Chris Mears Christian Thiemann Clemens Fruhwirth Daniel Neri Daniel Wagner Dave Harrison David Glasser David Lazar Dmitry Kurochkin Dominik Bruhn Dougal Stanton Eric Mertens Ferenc Wagner Gwern Branwen Hans Philipp Annen Ivan Tarasov Ivan Veselov Jamie Webb Jeremy Apthorp Malebria Joachim Breitner Joachim Fasting Joe Thornber Joel Suovaniemi Juraj Hercek Justin Bogner Kai Grossjohann Karsten Schoelzel Klaus Weidner Mathias Stearn Mats Jansborg Matsuyama Tomohiro Michael Fellinger Michael Sloan Miikka Koskinen Neil Mitchell Nelson Elhage Nick Burlett Nicolas Pouillard Nils Anders Danielsson Peter De Wachter Robert Marlow Sam Hughes Shachaf Ben-Kiki Shae Erisson Simon Peyton Jones Stefan O'Rear Tom Rauchenwald Valery V. Vorotyntsev Will Farrington Yaakov Nemoy timthelion Rickard Gustafson Trevor Elliott Ian Zerny Ivan Miljenovic Marco e Silva Michal Janeczek As well as the support of many others on the #xmonad and #haskell IRC channels, and the wider Haskell and window manager communities. Thanks to everyone for their support! From nomeata at debian.org Sat Sep 6 06:11:46 2008 From: nomeata at debian.org (Joachim Breitner) Date: Sat Sep 6 06:09:53 2008 Subject: [xmonad] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <20080906013828.GB11490@scytale.galois.com> References: <20080906013828.GB11490@scytale.galois.com> Message-ID: <1220695906.3365.4.camel@otto.ehbuehl.net> Hi, Am Freitag, den 05.09.2008, 18:38 -0700 schrieb Don Stewart: > xmonad packages are available in the package systems of at least: > > Debian, Gentoo, Arch, Ubuntu, OpenBSD, > NetBSD, FreeBSD, Gobo, NixOS, Source Mage, Slackware > > and 0.8 packages will appear in coming days (some are already available). Debian xmonad and xmonad-contrib package uploaded (although xmonad-contrib is in the two-day delayed queue, to give autobuilders a chance to build xmonad first). Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://www.haskell.org/pipermail/xmonad/attachments/20080906/9691045d/attachment.bin From dons at galois.com Sat Sep 6 06:13:11 2008 From: dons at galois.com (Don Stewart) Date: Sat Sep 6 06:11:17 2008 Subject: [xmonad] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <1220695906.3365.4.camel@otto.ehbuehl.net> References: <20080906013828.GB11490@scytale.galois.com> <1220695906.3365.4.camel@otto.ehbuehl.net> Message-ID: <20080906101311.GB12228@scytale.galois.com> nomeata: > Hi, > > Am Freitag, den 05.09.2008, 18:38 -0700 schrieb Don Stewart: > > xmonad packages are available in the package systems of at least: > > > > Debian, Gentoo, Arch, Ubuntu, OpenBSD, > > NetBSD, FreeBSD, Gobo, NixOS, Source Mage, Slackware > > > > and 0.8 packages will appear in coming days (some are already available). > > Debian xmonad and xmonad-contrib package uploaded (although > xmonad-contrib is in the two-day delayed queue, to give autobuilders a > chance to build xmonad first). Great work, Joachim! Thanks for being so responsive on this. Go Debian! -- Don From dominik at dbruhn.de Sat Sep 6 13:45:13 2008 From: dominik at dbruhn.de (Dominik Bruhn) Date: Sat Sep 6 13:42:43 2008 Subject: [xmonad] Patch for xmobar: who to mail? Message-ID: <20080906174513.GA14747@dbruhn.de> Hy, I got a (i hope) great patch for the Mail-Plugin of xmobar and I want to share it. Who should is willing to have a look at the code and the documentation, as my haskell-knowledge is not very good and the documentation might contain some errors. I think it might be usuable for others so perhaps (I dont know the policy for this) the darcs patch could be applied to the rep. So: Who can have a look and who can apply? Thanks -- Dominik Bruhn mailto: dominik@dbruhn.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080906/ef3183a1/attachment.bin From me at twifkak.com Sat Sep 6 15:46:13 2008 From: me at twifkak.com (Devin Mullins) Date: Sat Sep 6 15:44:14 2008 Subject: [xmonad] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <1220695906.3365.4.camel@otto.ehbuehl.net> References: <20080906013828.GB11490@scytale.galois.com> <1220695906.3365.4.camel@otto.ehbuehl.net> Message-ID: <20080906194613.GA16784@twifkak.com> Great work, guys! xmonad ftw! The https://wiki.ubuntu.com/IntrepidReleaseSchedule says that DebianImportFreeze happened back in July, but BetaFreeze isn't until the 25th. Is there a way to push this package through? From kolmodin at dtek.chalmers.se Sat Sep 6 17:18:19 2008 From: kolmodin at dtek.chalmers.se (Lennart Kolmodin) Date: Sat Sep 6 17:04:56 2008 Subject: [Haskell-cafe] Re: [xmonad] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <20080906101311.GB12228@scytale.galois.com> References: <20080906013828.GB11490@scytale.galois.com> <1220695906.3365.4.camel@otto.ehbuehl.net> <20080906101311.GB12228@scytale.galois.com> Message-ID: <48C2F39B.7050707@dtek.chalmers.se> Don Stewart wrote: > nomeata: >> Hi, >> >> Am Freitag, den 05.09.2008, 18:38 -0700 schrieb Don Stewart: >>> xmonad packages are available in the package systems of at least: >>> >>> Debian, Gentoo, Arch, Ubuntu, OpenBSD, >>> NetBSD, FreeBSD, Gobo, NixOS, Source Mage, Slackware >>> >>> and 0.8 packages will appear in coming days (some are already available). >> Debian xmonad and xmonad-contrib package uploaded (although >> xmonad-contrib is in the two-day delayed queue, to give autobuilders a >> chance to build xmonad first). > > Great work, Joachim! > > Thanks for being so responsive on this. Go Debian! Committed to Gentoo Linux earlier this evening. http://packages.gentoo.org/package/x11-wm/xmonad http://packages.gentoo.org/package/x11-wm/xmonad-contrib Cheers, Lennart K From dons at galois.com Sat Sep 6 17:13:32 2008 From: dons at galois.com (Don Stewart) Date: Sat Sep 6 17:11:32 2008 Subject: [Haskell-cafe] Re: [xmonad] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <48C2F39B.7050707@dtek.chalmers.se> References: <20080906013828.GB11490@scytale.galois.com> <1220695906.3365.4.camel@otto.ehbuehl.net> <20080906101311.GB12228@scytale.galois.com> <48C2F39B.7050707@dtek.chalmers.se> Message-ID: <20080906211332.GB16970@scytale.galois.com> kolmodin: > Don Stewart wrote: > >nomeata: > >>Hi, > >> > >>Am Freitag, den 05.09.2008, 18:38 -0700 schrieb Don Stewart: > >>> xmonad packages are available in the package systems of at least: > >>> > >>> Debian, Gentoo, Arch, Ubuntu, OpenBSD, > >>> NetBSD, FreeBSD, Gobo, NixOS, Source Mage, Slackware > >>> > >>> and 0.8 packages will appear in coming days (some are already > >>> available). > >>Debian xmonad and xmonad-contrib package uploaded (although > >>xmonad-contrib is in the two-day delayed queue, to give autobuilders a > >>chance to build xmonad first). > > > >Great work, Joachim! > > > >Thanks for being so responsive on this. Go Debian! > > Committed to Gentoo Linux earlier this evening. > > http://packages.gentoo.org/package/x11-wm/xmonad > http://packages.gentoo.org/package/x11-wm/xmonad-contrib Gentoo steps up! Excellent work guys. And if I read those graphs correctly, that's xmonad on hppa and sparc too? -- Don From kolmodin at dtek.chalmers.se Sat Sep 6 18:13:00 2008 From: kolmodin at dtek.chalmers.se (Lennart Kolmodin) Date: Sat Sep 6 17:59:29 2008 Subject: [Haskell-cafe] Re: [xmonad] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <20080906211332.GB16970@scytale.galois.com> References: <20080906013828.GB11490@scytale.galois.com> <1220695906.3365.4.camel@otto.ehbuehl.net> <20080906101311.GB12228@scytale.galois.com> <48C2F39B.7050707@dtek.chalmers.se> <20080906211332.GB16970@scytale.galois.com> Message-ID: <48C3006C.1020209@dtek.chalmers.se> Don Stewart wrote: > kolmodin: >> Don Stewart wrote: >>> nomeata: >>>> Hi, >>>> Debian xmonad and xmonad-contrib package uploaded (although >>>> xmonad-contrib is in the two-day delayed queue, to give autobuilders a >>>> chance to build xmonad first). >>> Great work, Joachim! >>> >>> Thanks for being so responsive on this. Go Debian! >> Committed to Gentoo Linux earlier this evening. >> >> http://packages.gentoo.org/package/x11-wm/xmonad >> http://packages.gentoo.org/package/x11-wm/xmonad-contrib > > Gentoo steps up! Excellent work guys. > And if I read those graphs correctly, that's xmonad on hppa and sparc too? > Yep, that's right. Our arch teams has tested an earlier version, thus it's available for this version too since it doesn't introduce any major changes in dependencies or build procedure. Although probably no one has yet build it using our ebuild for this version, we're confident it'll work ;) I'm pleased with upgrading and switching to avoidStruts without even having to log out, well done :) Cheers, Lennart K From jacobleonardking at gmail.com Sat Sep 6 21:43:31 2008 From: jacobleonardking at gmail.com (Jacob King) Date: Sat Sep 6 21:41:29 2008 Subject: [xmonad] Border colors dependent on layout algorithm Message-ID: <988f74440809061843i3cdf543ci9b68e28acb991c40@mail.gmail.com> In the spirit of making all state explicit, I want to hack up Xmonad to use different border colors depending on the mode. The particular situation of annoyance is when in full-screen mode, I forget that there are other hidden windows, and just assume that I'm in some other mode with only one window. There are a large number of configurations in which the current mode is not immediately discernable from the layout. Has anyone made such a modification? My first glance at the codebase suggests this is a nontrivial modification, and I didn't see anything related in the archives, so I figured it would be best to ask the mailing list before groking & hacking the project. Thanks, Jacob From codesite-noreply at google.com Sat Sep 6 22:11:50 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sat Sep 6 22:09:50 2008 Subject: [xmonad] Issue 205 in xmonad: I would like wiggling mouse to select window its over. Message-ID: <0016361e84ae60bfb7045644d322@google.com> Issue 205: I would like wiggling mouse to select window its over. http://code.google.com/p/xmonad/issues/detail?id=205 Comment #1 by daniel.wagner: You could click on the window. This transfers focus, and if your preferred solution would already have your hand on the mouse, then this is a pretty straightforward solution. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From spencerjanssen at gmail.com Sat Sep 6 22:12:25 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Sat Sep 6 22:10:01 2008 Subject: [xmonad] Patch for xmobar: who to mail? In-Reply-To: <20080906174513.GA14747@dbruhn.de> References: <20080906174513.GA14747@dbruhn.de> Message-ID: <20080907021225.GA14849@celeborn> On Sat, Sep 06, 2008 at 07:45:13PM +0200, Dominik Bruhn wrote: > Hy, > I got a (i hope) great patch for the Mail-Plugin of xmobar and I want to share > it. Who should is willing to have a look at the code and the documentation, as > my haskell-knowledge is not very good and the documentation might contain some > errors. > I think it might be usuable for others so perhaps (I dont know the policy for > this) the darcs patch could be applied to the rep. > > So: Who can have a look and who can apply? > > Thanks > -- > Dominik Bruhn > mailto: dominik@dbruhn.de I believe darcs will automatically send it to Andrea Rossato. However, I wrote the mail plugin, so I wouldn't mind a chance to review your patch. Feel free to send it directly to me. Cheers, Spencer Janssen From loupgaroublond at gmail.com Sun Sep 7 01:17:36 2008 From: loupgaroublond at gmail.com (Yaakov Nemoy) Date: Sun Sep 7 01:15:35 2008 Subject: [xmonad] Re: [Haskell-cafe] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <20080906013828.GB11490@scytale.galois.com> References: <20080906013828.GB11490@scytale.galois.com> Message-ID: <7f692fec0809062217n743894efka0fcf3a7b7ff0874@mail.gmail.com> On Fri, Sep 5, 2008 at 9:38 PM, Don Stewart wrote: > > http://xmonad.org > > The xmonad dev team is pleased to announce xmonad 0.8! > Fedora Packages have been built for Fedora 9. They are available at http://ynemoy.fedorapeople.org/repo Which is also a valid yum repo. There are also spec files and SRPMs so you can build it for other archs and/or other distros. The macros you need are not yet available in Fedora, and that's a whole issue in it of itself, so if you're interested in doing some building, please contact me for assistance. They are on their way to being included in Fedora 9 and 10. I'm happy to report that we finally have some packaging guidelines available for creating RPMs for Fedora. There is still some discussion on how to bring these standards upstream to rpm in the future as well. Currently my xmonad packages are sitting in package review as hopefully the first haskell rpms to be included based on the new packaging guidelines. We're slowly but surely getting there to have xmonad properly supported in Fedora. In the meanwhile, please continue using my repo above, and make sure to give them some extra good testing. Once the packages are in Fedora proper, there won't actually be any changes you need to make to switch to the officially blessed versions. -Yaakov From loupgaroublond at gmail.com Sun Sep 7 02:04:42 2008 From: loupgaroublond at gmail.com (Yaakov Nemoy) Date: Sun Sep 7 02:02:47 2008 Subject: [xmonad] Re: [Haskell-cafe] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <7f692fec0809062217n743894efka0fcf3a7b7ff0874@mail.gmail.com> References: <20080906013828.GB11490@scytale.galois.com> <7f692fec0809062217n743894efka0fcf3a7b7ff0874@mail.gmail.com> Message-ID: <7f692fec0809062304r514c3174hd07142cc0c97a761@mail.gmail.com> On Sun, Sep 7, 2008 at 1:17 AM, Yaakov Nemoy wrote: > On Fri, Sep 5, 2008 at 9:38 PM, Don Stewart wrote: >> >> http://xmonad.org >> >> The xmonad dev team is pleased to announce xmonad 0.8! >> > > > > Fedora Packages have been built for Fedora 9. They are available at > > http://ynemoy.fedorapeople.org/repo > Here is my official announcement about Fedora packages. http://loupgaroublond.blogspot.com/2008/09/xmonad-08-released.html From codesite-noreply at google.com Sun Sep 7 08:30:01 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sun Sep 7 08:27:57 2008 Subject: [xmonad] Issue 205 in xmonad: I would like wiggling mouse to select window its over. Message-ID: <0015175cb53a21766104564d768b@google.com> Issue 205: I would like wiggling mouse to select window its over. http://code.google.com/p/xmonad/issues/detail?id=205 Comment #2 by otto.seherol: yes, but clicking in a window transfers the click to the window, so you need to find a neutral zone in the window, which is not as comfortable as just wiggling the mouse. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sun Sep 7 09:37:17 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sun Sep 7 09:35:13 2008 Subject: [xmonad] Issue 205 in xmonad: I would like wiggling mouse to select window its over. Message-ID: <00163630f5c9b70fb304564e6603@google.com> Issue 205: I would like wiggling mouse to select window its over. http://code.google.com/p/xmonad/issues/detail?id=205 Comment #3 by brian.brunswick: Yes. The habit and expectation that has built up with focus-follows-mouse is that as soon as the mouse is visible, that's the focused window. I pay more attention to the mouse pointer than I do to the coloured border. Its actually disconcerting that this is no longer true immediately after a workspace switch, for however long it is before the mouse crosses a window boundary. I'm suggesting changing the /cross-a-window-boundary/ test with some movement threshold, which is actually /more/ predictable as user interface behaviour than finding a window boundary, a variable distance away. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sun Sep 7 09:52:20 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sun Sep 7 09:50:16 2008 Subject: [xmonad] Issue 205 in xmonad: I would like wiggling mouse to select window its over. Message-ID: <0016361e88688a785d04564e9c22@google.com> Issue 205: I would like wiggling mouse to select window its over. http://code.google.com/p/xmonad/issues/detail?id=205 Comment #4 by fophillips1990: > clicking in a window transfers the click to the window Never has for me. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sun Sep 7 10:00:22 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sun Sep 7 09:58:17 2008 Subject: [xmonad] Issue 205 in xmonad: I would like wiggling mouse to select window its over. Message-ID: <0016368e20143e512d04564eb9fb@google.com> Issue 205: I would like wiggling mouse to select window its over. http://code.google.com/p/xmonad/issues/detail?id=205 Comment #5 by nomeata: Nor for me, which I find sometimes annoying :-) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From me at twifkak.com Sun Sep 7 13:08:54 2008 From: me at twifkak.com (Devin Mullins) Date: Sun Sep 7 13:06:52 2008 Subject: [xmonad] Border colors dependent on layout algorithm In-Reply-To: <988f74440809061843i3cdf543ci9b68e28acb991c40@mail.gmail.com> References: <988f74440809061843i3cdf543ci9b68e28acb991c40@mail.gmail.com> Message-ID: <20080907170854.GB17184@twifkak.com> On Sun, Sep 07, 2008 at 02:43:31AM +0100, Jacob King wrote: > The particular situation of annoyance is when in full-screen mode, I > forget that there are other hidden windows, and just assume that I'm > in some other mode with only one window. Heh, that's why I replaced Full with Tabbed. > There are a large number of > configurations in which the current mode is not immediately > discernable from the layout. True, I use a 2x2 grid of terms pretty often. I suppose that's why other people use a status bar. :) > Has anyone made such a modification? You might want to check out X.L.NoBorders and X.L.WindowNavigation. From marcot at riseup.net Sun Sep 7 18:25:57 2008 From: marcot at riseup.net (Marco Túlio Gontijo e Silva) Date: Sun Sep 7 18:23:59 2008 Subject: [xmonad] darcs patch: Improvements in documentation (and 2 more) Message-ID: <20080907222558.9D5DC14C19C@tern.riseup.net> Tue Jul 8 21:24:25 ART 2008 Marco Túlio Gontijo e Silva * Improvements in documentation Mon Jul 14 12:26:31 ART 2008 Marco Túlio Gontijo e Silva * XMonad.Actions.Plane: removed unneeded hiding Mon Jul 14 12:36:01 ART 2008 Marco Túlio Gontijo e Silva * XMonad.Actions.Plane.planeKeys: function to make easier to configure -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 29866 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080907/5cfb80ba/attachment-0001.bin From mail at joachim-breitner.de Mon Sep 8 06:01:35 2008 From: mail at joachim-breitner.de (Joachim Breitner) Date: Mon Sep 8 06:00:16 2008 Subject: [xmonad] darcs patch: hide the implementation type in "EwmhDes... (and 1 more) Message-ID: Hi, I’ve merged this patch, and re-submit it now. Isn’t it nicer to have the exposed type less implementation-specific? Greetings, Joachim Tue Jun 10 21:29:18 CEST 2008 Joachim Breitner * hide the implementation type in "EwmhDesktopsLayout" Instead of exporting the EwmhDesktopsHook type, which is used internally, export a type alias for (HandleEvent EwmhDesktopsHook), so users don't have to update their xmonad.hs if the implementation changes. It could also be wrapped in a newtype, instead of a "type", but that would require manual instances of the various classes, as ghc can automatically derive the LayoutClass instance. Mon Sep 8 11:59:17 CEST 2008 Joachim Breitner * Merge "hide the implementation type in "EwmhDesktopsLayout"" -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 28039 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080908/247bc747/attachment-0001.bin From codesite-noreply at google.com Mon Sep 8 06:11:35 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Mon Sep 8 06:09:29 2008 Subject: [xmonad] Issue 215 in xmonad: Bash-Like XPrompt settings Message-ID: <001636af0366ec660f04565fa4d1@google.com> Issue 215: Bash-Like XPrompt settings http://code.google.com/p/xmonad/issues/detail?id=215 New issue report by nomeata: Hi, I?d like to see some bash-like bevaiour in XPrompt (of course configurable and as an alternative to the current config): * No completion is shown until I press Tab the first time. or, probably a bit harder: * No completion is shown. Pressing Tab once completes the entry as far as it matches all completions. A second Tab press will open the completion window. Issue attributes: Status: New Owner: ---- Labels: Type-Enhancement Priority-Medium Component-Contrib -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Mon Sep 8 06:15:36 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Mon Sep 8 06:13:30 2008 Subject: [xmonad] Issue 216 in xmonad: XPrompt: History should include the current entry line Message-ID: <001636283b7442fd3504565fb31f@google.com> Issue 216: XPrompt: History should include the current entry line http://code.google.com/p/xmonad/issues/detail?id=216 New issue report by nomeata: Hi, when using the up-arrow (after possibly having entered some text already) to go to the last entry in the history, it should be possible to use the down-arrow to go back to the empty line or the already entered text, as it is in the shell. Thanks, Joachim Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium Component-Contrib -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From mail at joachim-breitner.de Mon Sep 8 07:03:32 2008 From: mail at joachim-breitner.de (Joachim Breitner) Date: Mon Sep 8 07:02:22 2008 Subject: [xmonad] darcs patch: XPrompt: Add showCompletionOnTab option (and 1 more) Message-ID: Hi, ok, I managed to implement (part) of my wishes myself :-) Greetings, Joachim Mon Sep 8 12:57:58 CEST 2008 Joachim Breitner * XPrompt: Add showCompletionOnTab option This patch partially implements http://code.google.com/p/xmonad/issues/detail?id=215 It adds a XPConfig option that, if enabled, hides the completion window until the user presses Tab once. Default behaviour is preserved. TODO: If Tab causes a unique completion, continue to hide the completion window. Mon Sep 8 13:01:29 CEST 2008 Joachim Breitner * Only start to show the completion window with more than one match -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 28043 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080908/bb4fe70d/attachment-0001.bin From paran at lysator.liu.se Mon Sep 8 07:44:28 2008 From: paran at lysator.liu.se (=?iso-8859-1?q?P=E4r_Andersson?=) Date: Mon Sep 8 07:41:00 2008 Subject: [xmonad] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <20080906194613.GA16784@twifkak.com> References: <20080906013828.GB11490@scytale.galois.com> <1220695906.3365.4.camel@otto.ehbuehl.net> <20080906194613.GA16784@twifkak.com> Message-ID: <200809081344.40696.paran@lysator.liu.se> Hi, I am another Ubuntu user who would love to see xmonad 0.8 in Ubuntu 8.10. I don't believe it would be very hard make this happen, but I unfortunately don't have time to do the necessary work. Hopefully somebody else on this list have more time :) On Saturday 06 September 2008 21:46:13 Devin Mullins wrote: > The https://wiki.ubuntu.com/IntrepidReleaseSchedule says that > DebianImportFreeze happened back in July, but BetaFreeze isn't until the > 25th. Is there a way to push this package through? What is worse is that Intrepid is past FeatureFreeze. However xmonad is in universe, is updated in Debian, have good new features, no huge reverse dependencies, so I would guess it could get an execption. The process to follow is here: https://wiki.ubuntu.com/FreezeExceptionProcess#FeatureFreeze for new upstream versions It it is probable a good idea to do it as soon as possible. Best regards, P?r Andersson -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. Url : http://www.haskell.org/pipermail/xmonad/attachments/20080908/111e8f86/attachment.bin From me at twifkak.com Mon Sep 8 12:55:22 2008 From: me at twifkak.com (Devin Mullins) Date: Mon Sep 8 12:53:16 2008 Subject: [xmonad] darcs patch: hide the implementation type in "EwmhDes... (and 1 more) In-Reply-To: References: Message-ID: <20080908165522.GA21100@twifkak.com> I don't have time to apply patches right now, but: On Mon, Sep 08, 2008 at 12:01:35PM +0200, Joachim Breitner wrote: > It could also be wrapped in a newtype, instead of a "type", but that would > require manual instances of the various classes, as ghc can automatically > derive the LayoutClass instance. Isn't this what GeneralizedNewtypeDeriving does? From i92guboj at terra.es Mon Sep 8 13:15:41 2008 From: i92guboj at terra.es (=?ISO-8859-1?Q?Jes=FAs?= Guerrero) Date: Mon Sep 8 13:13:38 2008 Subject: [xmonad] XMonad.Prompt.Shell headache Message-ID: <20080908191541.61bfa55b.i92guboj@terra.es> Hello, XMonad.Prompt.Shell is behaving erratically since a few weeks ago. I was lazy to report it here, and I have been just using a terminal as my launcher since then. I include it this way: import XMonad.Prompt.Shell ( shellPrompt ) And use it this other way: , ((modMask, xK_p), shellPrompt robSPConfig) , ((mod1Mask, xK_F2), shellPrompt robSPConfig) The problem: when I press modMask+p to launch it, it opens, then I start writting, but I can write only one character, after that, it displays the dropdown thinggie showing the possibilities, and I can't write anything else. I can't close the propmt, nor the dropdown list, the only way around it is to restart xmonad using modMask+q, which works. Any idea? Thanks for reading. -- Jes?s Guerrero -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://www.haskell.org/pipermail/xmonad/attachments/20080908/3852d9de/attachment.bin From briqueabraque at yahoo.com Mon Sep 8 17:23:07 2008 From: briqueabraque at yahoo.com (Mauricio) Date: Mon Sep 8 17:21:16 2008 Subject: [xmonad] Key repetitions (begginer) Message-ID: Hi, In Metacity, I used to have disabled the option to repeat a key after some time of pressing (i.e., you press 'e' for some time and get 'eeeeeeeeeeeee'). How can I do that when using xmonad? Should (can) I do that using X itself? Is there a "xmonad way" of doing that sort of things? Thanks, Maur?cio From thomas.adam22 at gmail.com Mon Sep 8 17:26:34 2008 From: thomas.adam22 at gmail.com (Thomas Adam) Date: Mon Sep 8 17:24:31 2008 Subject: [xmonad] Key repetitions (begginer) In-Reply-To: References: Message-ID: <18071eea0809081426q56483d88p795d94323fc88281@mail.gmail.com> 2008/9/8 Mauricio : > Hi, > > In Metacity, I used to have disabled the > option to repeat a key after some time of > pressing (i.e., you press 'e' for some > time and get 'eeeeeeeeeeeee'). How can I > do that when using xmonad? Should (can) > I do that using X itself? Is there a > "xmonad way" of doing that sort of things? Look at "xset". -- Thomas Adam From spencerjanssen at gmail.com Mon Sep 8 17:36:19 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Mon Sep 8 17:34:18 2008 Subject: [xmonad] Key repetitions (begginer) In-Reply-To: References: Message-ID: <20080908213619.GA6570@celeborn> On Mon, Sep 08, 2008 at 06:23:07PM -0300, Mauricio wrote: > Hi, > > In Metacity, I used to have disabled the > option to repeat a key after some time of > pressing (i.e., you press 'e' for some > time and get 'eeeeeeeeeeeee'). How can I > do that when using xmonad? Should (can) > I do that using X itself? Is there a > "xmonad way" of doing that sort of things? > > Thanks, > Maur?cio Yes, this is an X setting. Perhaps 'xset' can do what you want? Cheers, Spencer Janssen From acura at allyourbase.se Mon Sep 8 17:49:44 2008 From: acura at allyourbase.se (Rickard Gustafsson) Date: Mon Sep 8 17:47:58 2008 Subject: [xmonad] Key repetitions (begginer) In-Reply-To: References: Message-ID: <20080908214942.GK13579@acura.inside.allyourbase.se> In your X config in section InputDevice you can set this with: Option "AutoRepeat" "500 5" You have to tune the values your self. -- Rickard On [Mon 08.09.2008 18:23], Mauricio wrote: > Hi, > > In Metacity, I used to have disabled the > option to repeat a key after some time of > pressing (i.e., you press 'e' for some > time and get 'eeeeeeeeeeeee'). How can I > do that when using xmonad? Should (can) > I do that using X itself? Is there a > "xmonad way" of doing that sort of things? > > Thanks, > Maur?cio > > _______________________________________________ > xmonad mailing list > xmonad@haskell.org > http://www.haskell.org/mailman/listinfo/xmonad From mail at joachim-breitner.de Mon Sep 8 17:58:56 2008 From: mail at joachim-breitner.de (Joachim Breitner) Date: Mon Sep 8 17:56:52 2008 Subject: [xmonad] darcs patch: hide the implementation type in "EwmhDes... (and 1 more) In-Reply-To: <20080908165522.GA21100@twifkak.com> References: <20080908165522.GA21100@twifkak.com> Message-ID: <1220911136.3428.24.camel@otto.ehbuehl.net> Hi, Am Montag, den 08.09.2008, 09:55 -0700 schrieb Devin Mullins: > I don't have time to apply patches right now, but: > > On Mon, Sep 08, 2008 at 12:01:35PM +0200, Joachim Breitner wrote: > > It could also be wrapped in a newtype, instead of a "type", but that would > > require manual instances of the various classes, as ghc can automatically > > derive the LayoutClass instance. > Isn't this what GeneralizedNewtypeDeriving does? Not with multi-parameter typeclasses, if I remember correctly. Otherwise, that would be perfect. Greetings, Joachim -- Joachim "nomeata" Breitner mail: mail@joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C JID: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/ Debian Developer: nomeata@debian.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://www.haskell.org/pipermail/xmonad/attachments/20080908/bc03536d/attachment.bin From codesite-noreply at google.com Tue Sep 9 05:26:50 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Tue Sep 9 05:24:41 2008 Subject: [xmonad] Issue 214 in xmonad: mouse shift with java Message-ID: <0016e645aadcb73f430456732232@google.com> Issue 214: mouse shift with java http://code.google.com/p/xmonad/issues/detail?id=214 Comment #2 by girodt: I found the culprit. It is not the Java app, it is Java itself, which does not play fair and square with the WM sometimes. There is a solution, however : you just have to use an alternative AWT toolkit : > export AWT_TOOLKIT=MToolkit in .bashrc does the trick. repeat after me : this is not a XMonad bug. XMonad is clean and pure. :) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Tue Sep 9 07:00:45 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Tue Sep 9 06:58:36 2008 Subject: [xmonad] Issue 208 in xmonad: Focus on mouse enter seems racy with Xinerama Message-ID: <00163630f62b97a70a04567472e3@google.com> Issue 208: Focus on mouse enter seems racy with Xinerama http://code.google.com/p/xmonad/issues/detail?id=208 Comment #1 by tommi.virtanen: I can reproduce the problem without Xinerama, with a grid layout. Something like this: 12 34 where I move the pointer quickly from 3->4->2, and the focus stays at 4. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Tue Sep 9 08:33:46 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Tue Sep 9 08:31:37 2008 Subject: [xmonad] Issue 214 in xmonad: mouse shift with java Message-ID: <0016e645b7b644c1af045675bfbd@google.com> Issue 214: mouse shift with java http://code.google.com/p/xmonad/issues/detail?id=214 Comment #3 by SpencerJanssen: (No comment was entered for this change.) Issue attribute updates: Status: Invalid -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From briqueabraque at yahoo.com Tue Sep 9 13:42:00 2008 From: briqueabraque at yahoo.com (Mauricio) Date: Tue Sep 9 13:40:00 2008 Subject: [xmonad] Re: Key repetitions (begginer) In-Reply-To: <18071eea0809081426q56483d88p795d94323fc88281@mail.gmail.com> References: <18071eea0809081426q56483d88p795d94323fc88281@mail.gmail.com> Message-ID: Nice, it works. Is this the proper way to do that? ---- main = do { system "xset -r" ; xmonad defaultConfig {modMask = mod4Mask, workspaces = ["1"]} } ---- Thomas Adam a ?crit : > 2008/9/8 Mauricio : >> Hi, >> >> In Metacity, I used to have disabled the >> option to repeat a key after some time of >> pressing (i.e., you press 'e' for some >> time and get 'eeeeeeeeeeeee'). How can I >> do that when using xmonad? Should (can) >> I do that using X itself? Is there a >> "xmonad way" of doing that sort of things? > > Look at "xset". > > -- Thomas Adam From mad at unserver.de Tue Sep 9 14:00:37 2008 From: mad at unserver.de (Matthias) Date: Tue Sep 9 13:58:36 2008 Subject: [xmonad] Re: Key repetitions (begginer) In-Reply-To: References: <18071eea0809081426q56483d88p795d94323fc88281@mail.gmail.com> Message-ID: <20080909200037.0cfc266e@antares> Am Tue, 09 Sep 2008 14:42:00 -0300 schrieb Mauricio : > Nice, it works. Is this the proper way > to do that? > > ---- > main = do { system "xset -r" ; xmonad > defaultConfig {modMask = mod4Mask, workspaces = > ["1"]} } > ---- As that's just a system command, I would put it into your X startup file (.xinitrc on my system, from what you start your xmonad). Me feeling is that would be cleaner. :) Cheers, Matthias From briqueabraque at yahoo.com Tue Sep 9 14:16:23 2008 From: briqueabraque at yahoo.com (Mauricio) Date: Tue Sep 9 14:14:22 2008 Subject: [xmonad] Re: Key repetitions (begginer) In-Reply-To: <20080909200037.0cfc266e@antares> References: <18071eea0809081426q56483d88p795d94323fc88281@mail.gmail.com> <20080909200037.0cfc266e@antares> Message-ID: I'm not sure where is my xmonad beeing started from. I installed a package in my distribution (Ubuntu) and when I log I can choose between gnome and xmonad, and I let xmonad as default. I do not have .xinitrc and could not find (using 'grep') any file in my home dir containing 'xmonad'. Best, Maur?cio Matthias a ?crit : > Am Tue, 09 Sep 2008 14:42:00 -0300 > schrieb Mauricio : > >> Nice, it works. Is this the proper way >> to do that? >> >> ---- >> main = do { system "xset -r" ; xmonad >> defaultConfig {modMask = mod4Mask, workspaces = >> ["1"]} } >> ---- > > As that's just a system command, I would put it into your X startup > file (.xinitrc on my system, from what you start your xmonad). Me > feeling is that would be cleaner. :) > > Cheers, > Matthias From ken.takusagawa.2 at gmail.com Tue Sep 9 14:33:53 2008 From: ken.takusagawa.2 at gmail.com (Ken Takusagawa) Date: Tue Sep 9 14:52:47 2008 Subject: [xmonad] mod-q assumes "xmonad" is in the path Message-ID: <4dcea1d80809091133n189b3e51ye4243e20e48a5f7f@mail.gmail.com> diff -rN -u old-xmonad/XMonad/Config.hs new-xmonad/XMonad/Config.hs --- old-xmonad/XMonad/Config.hs 2008-09-09 14:27:56.000000000 -0400 +++ new-xmonad/XMonad/Config.hs 2008-09-09 14:27:56.000000000 -0400 @@ -206,6 +206,7 @@ -- quit, or restart , ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess)) -- %! Quit xmonad , ((modMask , xK_q ), restart "xmonad" True) -- %! Restart xmonad + -- (assumes "xmonad" is in the PATH) ] ++ -- mod-[1..9] %! Switch to workspace N From codesite-noreply at google.com Tue Sep 9 18:04:26 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Tue Sep 9 18:02:15 2008 Subject: [xmonad] Issue 200 in xmonad: xmonad spins in a tight loop changing focus back and forth Message-ID: <001636af03661c054704567db88b@google.com> Issue 200: xmonad spins in a tight loop changing focus back and forth http://code.google.com/p/xmonad/issues/detail?id=200 Comment #4 by k.kosciuszkiewicz: This bug isn't related to focusFollowsMouse configuration setting. I have tested that setting this option to False and changing focus with keyboard also triggers the bug. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Tue Sep 9 19:11:57 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Tue Sep 9 19:09:46 2008 Subject: [xmonad] Issue 200 in xmonad: xmonad spins in a tight loop changing focus back and forth Message-ID: <00163628377689c61d04567ea913@google.com> Issue 200: xmonad spins in a tight loop changing focus back and forth http://code.google.com/p/xmonad/issues/detail?id=200 Comment #5 by k.kosciuszkiewicz: I have some further findings, obtained by logging Events using EventHook. After switching focus from floating "Open File" dialog window to main OO window, I recorded a repeating sequence of events (fields abbreviated/omitted): PropertyEvent {send_event = False, window = ...75, atom = 141, time = ...31, propstate = 0} PropertyEvent {send_event = False, window = ...07, atom = 141, time = ...31, propstate = 0} PropertyEvent {send_event = False, window = ...75, atom = 141, time = ...42, propstate = 0} PropertyEvent {send_event = False, window = ...07, atom = 141, time = ...42, propstate = 0} xlsatoms shows that atom 141 == WM_STATE, and Xlib programming manual says: "According to ICCCM adopted as of Release 4, the window manager sets this property on top level windows". I guess that OO spins idle trying to identify the top-level window, without being prepared for failure... Arguably this is a bug in OO rather than in xmonad, but probably proper handling of WM_STATE on xmonad's side wouldn't hurt. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Tue Sep 9 19:22:01 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Tue Sep 9 19:19:50 2008 Subject: [xmonad] Issue 188 in xmonad: Changing focus from a dialog box in openoffice causes 100% cpu usage Message-ID: <0016e644de6c95568104567ecdac@google.com> Issue 188: Changing focus from a dialog box in openoffice causes 100% cpu usage http://code.google.com/p/xmonad/issues/detail?id=188 Comment #8 by k.kosciuszkiewicz: I have posted new findings about this bug in issue #200. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 10 14:03:30 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 10 14:01:19 2008 Subject: [xmonad] Issue 217 in xmonad: Moving float causes tiles to re-order Message-ID: <0016362837944978cd04568e7857@google.com> Issue 217: Moving float causes tiles to re-order http://code.google.com/p/xmonad/issues/detail?id=217 New issue report by m...@twifkak.com: What steps will reproduce the problem? 1. Create three tiles and one float. M-S-j until the float is between the second and third tiles. 2. M-drag the float. 3. Watch tile #1 and #2 swap. The problem is that the mouseBindings use swapMaster, when they should use "insertMaster", so to speak. (I'd send a fix, but I'm at work.) Issue attributes: Status: Accepted Owner: m...@twifkak.com Labels: Type-Defect Priority-High Milestone-Release0.9 -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 10 14:36:57 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 10 14:34:43 2008 Subject: [xmonad] Issue 217 in xmonad: Moving float causes tiles to re-order Message-ID: <0016e64084b2e7708b04568eef51@google.com> Issue 217: Moving float causes tiles to re-order http://code.google.com/p/xmonad/issues/detail?id=217 Comment #1 by brian.brunswick: Ah, thats the same as my Issue 203. Glad you've found the cause. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 10 16:27:07 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 10 16:24:54 2008 Subject: [xmonad] Issue 217 in xmonad: Moving float causes tiles to re-order Message-ID: <001636283b0ae6b86204569079b8@google.com> Issue 217: Moving float causes tiles to re-order http://code.google.com/p/xmonad/issues/detail?id=217 Comment #2 by m...@twifkak.com: Oops. Indeed, I'll add my comment there. Issue attribute updates: Status: Duplicate -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 10 16:31:09 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 10 16:28:56 2008 Subject: [xmonad] Issue 203 in xmonad: Dragging a floating window re-arranges other windows Message-ID: <001636af0366507c6e0456908826@google.com> Issue 203: Dragging a floating window re-arranges other windows http://code.google.com/p/xmonad/issues/detail?id=203 Comment #3 by m...@twifkak.com: Issue #217 is a duplicate of this. The trick is for the floating window to start out between windows 2 and 3 in the stacking order. The mouseBindings use swapMaster, which moves the master to between windows 2 and 3 instead of shifting everything down. The solution is to use an "insertMaster", something like XMonad.Actions.Promote.promote from xmc. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 10 16:35:16 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 10 16:33:04 2008 Subject: [xmonad] Issue 203 in xmonad: Dragging a floating window re-arranges other windows Message-ID: <001636283b0a14928404569097b6@google.com> Issue 203: Dragging a floating window re-arranges other windows http://code.google.com/p/xmonad/issues/detail?id=203 Comment #4 by m...@twifkak.com: (No comment was entered for this change.) Issue attribute updates: Labels: -Priority-Medium Priority-High Milestone-Release0.9 -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From anze at berkeley.edu Wed Sep 10 17:12:57 2008 From: anze at berkeley.edu (Anze Slosar) Date: Wed Sep 10 17:10:45 2008 Subject: [xmonad] Xmonad.Config.Gnome Message-ID: Hi, Sorry for my idiocy, but I just updated to xmonad 0.8 and wanted to take advantage of the new automatic gnome config, so I did something like import Xmonad.Config.Gnome gnomeRun :: X () and it didn't work. What is the right way of using this? If I do it the old way using ewmloghook or whaterer, it works fine... Thanks for your patience, an?e phone: +1 (510) 495 2488, mobile: +1 (510) 289 9395, fax: +1 (510) 486 7149 -- "And then the Little Red Riding Hood said: 'I think, therefore I am.'" From marcot at riseup.net Wed Sep 10 19:09:01 2008 From: marcot at riseup.net (Marco =?iso-8859-1?Q?T=FAlio?= Gontijo e Silva) Date: Wed Sep 10 19:07:00 2008 Subject: [xmonad] Xmonad.Config.Gnome In-Reply-To: References: Message-ID: <20080910230901.GA29788@quindinho.domain.invalid> Em Wed, Sep 10, 2008 at 02:12:57PM -0700, Anze Slosar escreveu: > Hi, Hello, > I just updated to xmonad 0.8 and wanted to take > advantage of the new automatic gnome config. > What is the right way of using this? import XMonad.Config.Gnome main :: IO () main = xmonad gnomeConfig Greetings. -- Marco T?lio Gontijo e Silva P?gina: http://marcotmarcot.iaaeee.org/ Blog: http://marcotmarcot.blogspot.com/ Correio: marcot@riseup.net XMPP: marcot@jabber.org IRC: marcot@irc.freenode.net Telefone: 25151920 Celular: 98116720 Endere?o: Rua Turfa, 639/701 Prado 30410-370 Belo Horizonte/MG Brasil From codesite-noreply at google.com Thu Sep 11 01:19:18 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 01:17:02 2008 Subject: [xmonad] Issue 4 in xmonad: Separate focus for tiled and floating layers Message-ID: <001636af02ee2b6517045697e9cc@google.com> Issue 4: Separate focus for tiled and floating layers http://code.google.com/p/xmonad/issues/detail?id=4 Comment #9 by akhilman: This problem makes working in GIMP with multiple opened documents as tiled windows and dialogs/toolbars as floating windows mostly inposible. I have to keep only one opened document in active desktop to avoid this "jumping". Please fix this problem. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From me at twifkak.com Thu Sep 11 01:45:14 2008 From: me at twifkak.com (Devin Mullins) Date: Thu Sep 11 01:43:03 2008 Subject: [xmonad] darcs patch: add W.shiftMaster, fix float/tile-reordering bug Message-ID: <20080911054514.5622974B46B@mail.comcast.net> This fixes bug #203. Wed Sep 10 22:39:09 PDT 2008 Devin Mullins * add W.shiftMaster, fix float/tile-reordering bug -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 7001 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080910/a59ac50a/attachment.bin From spam at scientician.net Thu Sep 11 02:59:08 2008 From: spam at scientician.net (=?ISO-8859-1?Q?B=E1r=F0ur_=C1rantsson?=) Date: Thu Sep 11 02:54:56 2008 Subject: [xmonad] Re-inserting keystrokes as X events for client Message-ID: Hi all, Is there a way to re-insert the original keystroke as an X event for the currently focused client in response to a keybinding? Basically I want to do a keybindings along these lines: ((controlMask, xK_t), submap . M.fromList $ [ ((0, xK_r), whatever) , ((0, xK_f), whatever) ... , ((0, xK_t), ) ]) so that I essentially have a "prefix" key of C-t for all my rarely used xmonad commands, but if I need to actually send a C-t to the client I can still do so by pressing C-t twice. (I've tried searching around for an answer to this but my Google-fu seems to be lacking.) Cheers, -- Bardur Arantsson - You don't exist. I've killed you. Jill Layton is dead. - Care for a little necrophilia? Sam Lowry and Jill Layton / Brazil From spencerjanssen at gmail.com Thu Sep 11 04:23:11 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Thu Sep 11 04:20:54 2008 Subject: [xmonad] darcs patch: add W.shiftMaster, fix float/tile-reordering bug In-Reply-To: <20080911054514.5622974B46B@mail.comcast.net> References: <20080911054514.5622974B46B@mail.comcast.net> Message-ID: <20080911082311.GA18311@celeborn> On Wed, Sep 10, 2008 at 10:45:14PM -0700, Devin Mullins wrote: > This fixes bug #203. > > Wed Sep 10 22:39:09 PDT 2008 Devin Mullins > * add W.shiftMaster, fix float/tile-reordering bug Applied, thanks (especially for including tests!). Cheers, Spencer Janssen From codesite-noreply at google.com Thu Sep 11 04:25:14 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:23:00 2008 Subject: [xmonad] Issue 195 in xmonad: Last window never disappers in GNOME Message-ID: <00163630f62b184d1d04569a827a@google.com> Issue 195: Last window never disappers in GNOME http://code.google.com/p/xmonad/issues/detail?id=195 Comment #5 by SpencerJanssen: Not an xmonad bug. Issue attribute updates: Status: Invalid -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 11 04:29:15 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:26:59 2008 Subject: [xmonad] Issue 209 in xmonad: Re-layouting when switching workspaces Message-ID: <0016364ee1e470c59804569a90d6@google.com> Issue 209: Re-layouting when switching workspaces http://code.google.com/p/xmonad/issues/detail?id=209 Comment #5 by SpencerJanssen: Does this only happen in ResizableTall, or can you reproduce it in one of the core layouts? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 11 04:33:15 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:31:00 2008 Subject: [xmonad] Issue 72 in xmonad: Extension request: Display on the screen a list of currently bound keys and what they are bound to. Message-ID: <0016e64084b2cbe80504569a9ea0@google.com> Issue 72: Extension request: Display on the screen a list of currently bound keys and what they are bound to. http://code.google.com/p/xmonad/issues/detail?id=72 Comment #3 by SpencerJanssen: This has been open almost a year, and it seems nobody cares enough to implement it. Issue attribute updates: Status: WontFix -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 11 04:37:16 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:35:01 2008 Subject: [xmonad] Issue 203 in xmonad: Dragging a floating window re-arranges other windows Message-ID: <0016e644d53c25c9a004569aadb2@google.com> Issue 203: Dragging a floating window re-arranges other windows http://code.google.com/p/xmonad/issues/detail?id=203 Comment #5 by m...@twifkak.com: Fixed in darcs. Issue attribute updates: Status: Fixed -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 11 04:41:17 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:39:02 2008 Subject: [xmonad] Issue 101 in xmonad: Generalise dzen binding Message-ID: <001636283760861ade04569abb8b@google.com> Issue 101: Generalise dzen binding http://code.google.com/p/xmonad/issues/detail?id=101 Comment #1 by SpencerJanssen: (No comment was entered for this change.) Issue attribute updates: Status: WontFix -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 11 04:45:24 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:43:10 2008 Subject: [xmonad] Issue 118 in xmonad: Install default configuration template Message-ID: <001636af022d3eda6204569aca0d@google.com> Issue 118: Install default configuration template http://code.google.com/p/xmonad/issues/detail?id=118 Comment #3 by SpencerJanssen: We leave it to xmonad packagers to install the default config. Issue attribute updates: Status: WontFix -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From spencerjanssen at gmail.com Thu Sep 11 04:48:10 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Thu Sep 11 04:45:49 2008 Subject: [xmonad] darcs patch: hide the implementation type in "EwmhDes... (and 1 more) In-Reply-To: References: Message-ID: <20080911084810.GB18311@celeborn> On Mon, Sep 08, 2008 at 12:01:35PM +0200, Joachim Breitner wrote: > Hi, > > I???ve merged this patch, and re-submit it now. Isn???t it nicer to have the > exposed type less implementation-specific? > > Greetings, > Joachim > > Tue Jun 10 21:29:18 CEST 2008 Joachim Breitner > * hide the implementation type in "EwmhDesktopsLayout" > Instead of exporting the EwmhDesktopsHook type, which is used internally, > export a type alias for (HandleEvent EwmhDesktopsHook), so users don't have > to update their xmonad.hs if the implementation changes. > > It could also be wrapped in a newtype, instead of a "type", but that would > require manual instances of the various classes, as ghc can automatically > derive the LayoutClass instance. > > Mon Sep 8 11:59:17 CEST 2008 Joachim Breitner > * Merge "hide the implementation type in "EwmhDesktopsLayout"" Can we get this as a fresh patch? We try to avoid pushing conflicts because it can give darcs a headache. Also, I think EwmhDesktopsHook should still be exported, there is no good reason for it not to be. Cheers, Spencer Janssen From codesite-noreply at google.com Thu Sep 11 04:49:27 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:47:12 2008 Subject: [xmonad] Issue 152 in xmonad: RSS feeds for xmonad / XMonadContrib darcs repositories Message-ID: <0016361e7db2afcf6a04569ad8a3@google.com> Issue 152: RSS feeds for xmonad / XMonadContrib darcs repositories http://code.google.com/p/xmonad/issues/detail?id=152 Comment #2 by SpencerJanssen: Doesn't seem all that useful. Issue attribute updates: Status: WontFix -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From spencerjanssen at gmail.com Thu Sep 11 04:52:25 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Thu Sep 11 04:50:05 2008 Subject: [xmonad] darcs patch: Improvements in documentation (and 2 more) In-Reply-To: <20080907222558.9D5DC14C19C@tern.riseup.net> References: <20080907222558.9D5DC14C19C@tern.riseup.net> Message-ID: <20080911085225.GC18311@celeborn> On Sun, Sep 07, 2008 at 03:25:57PM -0700, Marco T?lio Gontijo e Silva wrote: > Tue Jul 8 21:24:25 ART 2008 Marco T??lio Gontijo e Silva > * Improvements in documentation > > Mon Jul 14 12:26:31 ART 2008 Marco T??lio Gontijo e Silva > * XMonad.Actions.Plane: removed unneeded hiding > > Mon Jul 14 12:36:01 ART 2008 Marco T??lio Gontijo e Silva > * XMonad.Actions.Plane.planeKeys: function to make easier to configure Applied, thanks. From codesite-noreply at google.com Thu Sep 11 04:53:28 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:51:13 2008 Subject: [xmonad] Issue 208 in xmonad: Focus on mouse enter seems racy Message-ID: <0016368e20140fdf5b04569ae714@google.com> Issue 208: Focus on mouse enter seems racy http://code.google.com/p/xmonad/issues/detail?id=208 Comment #2 by SpencerJanssen: (No comment was entered for this change.) Issue attribute updates: Summary: Focus on mouse enter seems racy -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 11 04:57:29 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:55:14 2008 Subject: [xmonad] Issue 204 in xmonad: java console shows as entirely grey Message-ID: <0016361e7db26f535b04569af5d7@google.com> Issue 204: java console shows as entirely grey http://code.google.com/p/xmonad/issues/detail?id=204 Comment #3 by SpencerJanssen: > I wonder how much effort it would be to get xmonad to reparent a window? Does anyone know of an external utility that reparents X windows? Is that even possible with the security model? It is a fair amount of effort, and it isn't really possible for an external application to reparent arbitrary top level windows. You can also try the AWT_TOOLKIT setting if SetWName doesn't work for you. Issue attribute updates: Status: Invalid -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 11 05:01:32 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 04:59:17 2008 Subject: [xmonad] Issue 196 in xmonad: UpdatePointer moves the pointer away from non-managed windows Message-ID: <001636283b74ec29b204569b03ba@google.com> Issue 196: UpdatePointer moves the pointer away from non-managed windows http://code.google.com/p/xmonad/issues/detail?id=196 Comment #1 by SpencerJanssen: Fixed in 0.8, right? Please comment or re-open this bug if I'm wrong. Issue attribute updates: Status: Fixed -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From spencerjanssen at gmail.com Thu Sep 11 05:04:00 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Thu Sep 11 05:01:41 2008 Subject: [xmonad] darcs patch: XPrompt: Add showCompletionOnTab option (and 1 more) In-Reply-To: References: Message-ID: <20080911090400.GD18311@celeborn> On Mon, Sep 08, 2008 at 01:03:32PM +0200, Joachim Breitner wrote: > Hi, > > ok, I managed to implement (part) of my wishes myself :-) > > Greetings, > Joachim > > Mon Sep 8 12:57:58 CEST 2008 Joachim Breitner > * XPrompt: Add showCompletionOnTab option > This patch partially implements > http://code.google.com/p/xmonad/issues/detail?id=215 > It adds a XPConfig option that, if enabled, hides the completion window > until the user presses Tab once. Default behaviour is preserved. > TODO: If Tab causes a unique completion, continue to hide the completion > window. > > Mon Sep 8 13:01:29 CEST 2008 Joachim Breitner > * Only start to show the completion window with more than one match Applied. My only concern is that the name "showCompletionOnTab" might be misleading. Perhaps "onlyShowCompletionAfterTab" (or something similar, but shorter) is better? Also, does this close #215? Please update it as necessary. Cheers, Spencer Janssen From codesite-noreply at google.com Thu Sep 11 05:05:33 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 05:03:17 2008 Subject: [xmonad] Issue 212 in xmonad: xmonad and xkb features Message-ID: <00163630f0ef439c6804569b129b@google.com> Issue 212: xmonad and xkb features http://code.google.com/p/xmonad/issues/detail?id=212 Comment #1 by SpencerJanssen: Are you absolutely certain that this doesn't happen in metacity? I've read that the keyboard mouse control feature in X.org does not work very well, and makes me wonder if this is really an xmonad bug. Issue attribute updates: Labels: -Priority-Medium Priority-Low -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 11 05:09:34 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 05:07:19 2008 Subject: [xmonad] Issue 184 in xmonad: Recompile in background Message-ID: <001636499c51a61f5904569b2030@google.com> Issue 184: Recompile in background http://code.google.com/p/xmonad/issues/detail?id=184 Comment #1 by SpencerJanssen: (No comment was entered for this change.) Issue attribute updates: Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From mail at joachim-breitner.de Thu Sep 11 05:09:27 2008 From: mail at joachim-breitner.de (Joachim Breitner) Date: Thu Sep 11 05:07:43 2008 Subject: [xmonad] darcs patch: hide the implementation type in "EwmhDes... (and 1 more) In-Reply-To: <20080911084810.GB18311@celeborn> References: <20080911084810.GB18311@celeborn> Message-ID: <1221124167.5901.21.camel@otto.ehbuehl.net> Hi, Am Donnerstag, den 11.09.2008, 03:48 -0500 schrieb Spencer Janssen: > On Mon, Sep 08, 2008 at 12:01:35PM +0200, Joachim Breitner wrote: > > Hi, > > > > I???ve merged this patch, and re-submit it now. Isn???t it nicer to have the > > exposed type less implementation-specific? > > > > Greetings, > > Joachim > > > > Tue Jun 10 21:29:18 CEST 2008 Joachim Breitner > > * hide the implementation type in "EwmhDesktopsLayout" > > Instead of exporting the EwmhDesktopsHook type, which is used internally, > > export a type alias for (HandleEvent EwmhDesktopsHook), so users don't have > > to update their xmonad.hs if the implementation changes. > > > > It could also be wrapped in a newtype, instead of a "type", but that would > > require manual instances of the various classes, as ghc can automatically > > derive the LayoutClass instance. > > > > Mon Sep 8 11:59:17 CEST 2008 Joachim Breitner > > * Merge "hide the implementation type in "EwmhDesktopsLayout"" > > Can we get this as a fresh patch? We try to avoid pushing conflicts because it > can give darcs a headache. Also, I think EwmhDesktopsHook should still be > exported, there is no good reason for it not to be. Hmm. If EwmhDesktopHook stays exported, then there is no need for this patch. I?ll just abandon this patch, not that I care a lot about it, as it?s mostly a stylistic question. Greetings, Joachim -- Joachim "nomeata" Breitner mail: mail@joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C JID: nomeata@joachim-breitner.de | http://www.joachim-breitner.de/ Debian Developer: nomeata@debian.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://www.haskell.org/pipermail/xmonad/attachments/20080911/0d0ef345/attachment.bin From codesite-noreply at google.com Thu Sep 11 05:13:35 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 05:11:20 2008 Subject: [xmonad] Issue 196 in xmonad: UpdatePointer moves the pointer away from non-managed windows Message-ID: <001636af02ee00693204569b2f25@google.com> Issue 196: UpdatePointer moves the pointer away from non-managed windows http://code.google.com/p/xmonad/issues/detail?id=196 Comment #2 by nomeata: Yes, this ought to be fixed, I think. Thx for cleaning up. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From spencerjanssen at gmail.com Thu Sep 11 05:15:18 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Thu Sep 11 05:12:59 2008 Subject: [xmonad] Re-inserting keystrokes as X events for client In-Reply-To: References: Message-ID: <20080911091518.GE18311@celeborn> On Thu, Sep 11, 2008 at 08:59:08AM +0200, B?r?ur ?rantsson wrote: > Hi all, > > Is there a way to re-insert the original keystroke as an X event for the > currently focused client in response to a keybinding? > > Basically I want to do a keybindings along these lines: > > ((controlMask, xK_t), submap . M.fromList $ > [ ((0, xK_r), whatever) > , ((0, xK_f), whatever) > ... > , ((0, xK_t), ) > ]) > > so that I essentially have a "prefix" key of C-t for all my rarely used > xmonad commands, but if I need to actually send a C-t to the client I > can still do so by pressing C-t twice. > > (I've tried searching around for an answer to this but my Google-fu > seems to be lacking.) > > Cheers, > > -- > Bardur Arantsson > > > - You don't exist. I've killed you. Jill Layton is dead. > - Care for a little necrophilia? > Sam Lowry and Jill Layton / Brazil It is possible, but I don't think the code is written. What you want to do is construct a XKeyEvent and send it to the focused window with XSendEvent (bound in Haskell as sendEvent). Cheers, Spencer Janssen From codesite-noreply at google.com Thu Sep 11 05:17:36 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 05:15:20 2008 Subject: [xmonad] Issue 215 in xmonad: Bash-Like XPrompt settings Message-ID: <0016368e1d5359ad0d04569b3d8b@google.com> Issue 215: Bash-Like XPrompt settings http://code.google.com/p/xmonad/issues/detail?id=215 Comment #1 by nomeata: The first part of this is implemented and applied, using the "showCompletionOnTab" option. Full bash-like behaviour might be nice, but is of low priority. Issue attribute updates: Labels: -Priority-Medium Priority-Low -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From lunar at debian.org Thu Sep 11 05:33:46 2008 From: lunar at debian.org (=?iso-8859-1?B?Suly6W15?= Bobbio) Date: Thu Sep 11 05:31:37 2008 Subject: [xmonad] Re-inserting keystrokes as X events for client In-Reply-To: References: Message-ID: <20080911093346.GA21805@qamar> On Thu, Sep 11, 2008 at 08:59:08AM +0200, B?r?ur ?rantsson wrote: > Is there a way to re-insert the original keystroke as an X event for the > currently focused client in response to a keybinding? > > Basically I want to do a keybindings along these lines: > > ((controlMask, xK_t), submap . M.fromList $ > [ ((0, xK_r), whatever) > , ((0, xK_f), whatever) > ... > , ((0, xK_t), ) > ]) > > so that I essentially have a "prefix" key of C-t for all my rarely used > xmonad commands, but if I need to actually send a C-t to the client I > can still do so by pressing C-t twice. > > (I've tried searching around for an answer to this but my Google-fu > seems to be lacking.) See the "Ratpoison key emulation" thread: http://www.haskell.org/pipermail/xmonad/2008-July/005954.html Cheers, -- J?r?my Bobbio .''`. lunar@debian.org : :? : # apt-get install anarchism `. `'` `- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080911/6416809c/attachment.bin From wferi at niif.hu Thu Sep 11 05:36:59 2008 From: wferi at niif.hu (Ferenc Wagner) Date: Thu Sep 11 05:34:45 2008 Subject: [xmonad] Re-inserting keystrokes as X events for client In-Reply-To: (=?utf-8?B?QsOhcsOwdXIgw4FyYW50?= =?utf-8?B?c3Nvbidz?= message of "Thu, 11 Sep 2008 08:59:08 +0200") References: Message-ID: <87y71zf2h0.fsf@tac.ki.iif.hu> B?r?ur ?rantsson writes: > Is there a way to re-insert the original keystroke as an X event for the > currently focused client in response to a keybinding? See http://thread.gmane.org/gmane.comp.lang.haskell.xmonad/5694 -- Cheers, Feri. From codesite-noreply at google.com Thu Sep 11 08:44:07 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 08:41:54 2008 Subject: [xmonad] Issue 212 in xmonad: xmonad and xkb features Message-ID: <0016e6408ac6f430d304569e1fc5@google.com> Issue 212: xmonad and xkb features http://code.google.com/p/xmonad/issues/detail?id=212 Comment #2 by mauricio.antunes: Yes. I used a computer without a mouse for almost two months. At that time I tried a lot to use xmonad, but always had to go back to metacity (or maybe compiz. I'm not sure since I never activated desktop effects, but maybe compiz was already active). There, I never had that problem. I can say that for those months I used both xmonad and gnome default window manager half of the time each. However, I also would guess that this is not an xmonad bug, but some small x.org problem that xmonad do not address, while other window managers do. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From spam at scientician.net Thu Sep 11 13:44:01 2008 From: spam at scientician.net (=?ISO-8859-1?Q?B=E1r=F0ur_=C1rantsson?=) Date: Thu Sep 11 13:40:07 2008 Subject: [xmonad] Re: Re-inserting keystrokes as X events for client In-Reply-To: <20080911093346.GA21805@qamar> References: <20080911093346.GA21805@qamar> Message-ID: J?r?my Bobbio wrote: > On Thu, Sep 11, 2008 at 08:59:08AM +0200, B?r?ur ?rantsson wrote: >> Is there a way to re-insert the original keystroke as an X event for the >> currently focused client in response to a keybinding? >> >> Basically I want to do a keybindings along these lines: >> >> ((controlMask, xK_t), submap . M.fromList $ >> [ ((0, xK_r), whatever) >> , ((0, xK_f), whatever) >> ... >> , ((0, xK_t), ) >> ]) >> >> so that I essentially have a "prefix" key of C-t for all my rarely used >> xmonad commands, but if I need to actually send a C-t to the client I >> can still do so by pressing C-t twice. >> >> (I've tried searching around for an answer to this but my Google-fu >> seems to be lacking.) > > See the "Ratpoison key emulation" thread: > http://www.haskell.org/pipermail/xmonad/2008-July/005954.html > > Cheers, > Thanks for that link. Looks very promising, but I can't for the life of me figure out where to get setKeyEvent from. A search suggests that it should be in Graphics.X11.Xlib.Extras, but it doesn't seem to be exported from there (I have the 1.4.2 version of the X11 module installed). Cheers, -- Bardur Arantsson - You don't exist. I've killed you. Jill Layton is dead. - Care for a little necrophilia? Sam Lowry and Jill Layton / Brazil From codesite-noreply at google.com Thu Sep 11 19:06:18 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 11 19:04:01 2008 Subject: [xmonad] Issue 216 in xmonad: XPrompt: History should include the current entry line Message-ID: <001636b4325406f6720456a6d18d@google.com> Issue 216: XPrompt: History should include the current entry line http://code.google.com/p/xmonad/issues/detail?id=216 Comment #1 by SpencerJanssen: Fixed in the head. Issue attribute updates: Status: Fixed -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From gwern0 at gmail.com Fri Sep 12 16:45:43 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Fri Sep 12 16:43:55 2008 Subject: [xmonad] Re: Re-inserting keystrokes as X events for client In-Reply-To: References: <20080911093346.GA21805@qamar> Message-ID: <20080912204543.GB6029@craft> On 2008.09.11 19:44:01 +0200, B?r?ur ?rantsson scribbled 1.4K characters: > J?r?my Bobbio wrote: > > On Thu, Sep 11, 2008 at 08:59:08AM +0200, B?r?ur ?rantsson wrote: > >> Is there a way to re-insert the original keystroke as an X event for the > >> currently focused client in response to a keybinding? > >> > >> Basically I want to do a keybindings along these lines: > >> > >> ((controlMask, xK_t), submap . M.fromList $ > >> [ ((0, xK_r), whatever) > >> , ((0, xK_f), whatever) > >> ... > >> , ((0, xK_t), ) > >> ]) > >> > >> so that I essentially have a "prefix" key of C-t for all my rarely used > >> xmonad commands, but if I need to actually send a C-t to the client I > >> can still do so by pressing C-t twice. > >> > >> (I've tried searching around for an answer to this but my Google-fu > >> seems to be lacking.) > > > > See the "Ratpoison key emulation" thread: > > http://www.haskell.org/pipermail/xmonad/2008-July/005954.html > > > > Cheers, > > > > Thanks for that link. Looks very promising, but I can't for the life of > me figure out where to get setKeyEvent from. > > A search suggests that it should be in Graphics.X11.Xlib.Extras, but it > doesn't seem to be exported from there (I have the 1.4.2 version of the > X11 module installed). > > Cheers, > > -- > Bardur Arantsson Perhaps your installation is not good? I have 1.4.2 installed as well, and it seems to exist fine: Prelude> :m Graphics.X11.Xlib.Extras Prelude Graphics.X11.Xlib.Extras> :t setKeyEvent setKeyEvent :: Graphics.X11.Xlib.Event.XEventPtr -> Graphics.X11.Types.Window -> Graphics.X11.Types.Window -> Graphics.X11.Types.Window -> Graphics.X11.Types.KeyMask -> Graphics.X11.Types.KeyCode -> Bool -> IO () gwern@craft:20746~>ghc-pkg list X11 [ 4:41PM] /usr/lib/ghc-6.8.2/package.conf: X11-1.4.2 /home/gwern/.ghc/x86_64-linux-6.8.2/package.conf: X11-1.4.2 (I suppose it's possible things were changed after the version was changed to 1.4.2, but the cabal version hasn't been bumped; I'd try installing from darcs and seeing whether it changes.) -- gwern device Pox sulphate Elvis Oz. SAP 2E781 HERF H.N.P. Archives -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080912/56d4b739/attachment.bin From dons at galois.com Fri Sep 12 18:06:32 2008 From: dons at galois.com (Don Stewart) Date: Fri Sep 12 18:04:07 2008 Subject: [xmonad] darcs patch: add W.shiftMaster, fix float/tile-reordering bug In-Reply-To: <20080911082311.GA18311@celeborn> References: <20080911054514.5622974B46B@mail.comcast.net> <20080911082311.GA18311@celeborn> Message-ID: <20080912220632.GF17548@scytale.galois.com> spencerjanssen: > On Wed, Sep 10, 2008 at 10:45:14PM -0700, Devin Mullins wrote: > > This fixes bug #203. > > > > Wed Sep 10 22:39:09 PDT 2008 Devin Mullins > > * add W.shiftMaster, fix float/tile-reordering bug > > Applied, thanks (especially for including tests!). > Yeah, good work! -- Don From gwern0 at gmail.com Fri Sep 12 22:56:47 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Fri Sep 12 22:56:20 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080713152655.GC29707@qamar> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> Message-ID: <20080913025647.GA13894@craft> On 2008.07.13 17:26:55 +0200, J?r?my Bobbio scribbled 1.6K characters: > On Sat, Jul 12, 2008 at 12:34:18AM -0400, Gwern Branwen wrote: > > Thanks for the code, Jeremy; I've long wanted a function to send keys > > to windows. I was thinking of adding it to XSelection, but what limits > > does this function have, do you know? X is often difficult to deal > > with. Does it handle odd characters? > > I use it to send "xK_3" with "mod1Mask .|. controlMask" to an urxvt. > This shortcut is bound to changing the terminal font size. > > I don't know how odd it is in your definition, but for me, it does the > trick! :) > > Cheers, > -- > J?r?my Bobbio .''`. Oh. Hmm, it still sounds useful. Incidentally, how exactly does one use it? I gave it a desultorily try, but I was unsure how exactly one gets the Window argument - I tried using withWindowSet, but got bogged down extracting the Window parameter from it. -- gwern NSOF Tess 2E781 B28RE Consul 03 e95 Compsec hate Banner -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080912/740f631f/attachment.bin From me at twifkak.com Fri Sep 12 23:57:08 2008 From: me at twifkak.com (Devin Mullins) Date: Fri Sep 12 23:54:48 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080913025647.GA13894@craft> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> Message-ID: <20080913035708.GA32075@twifkak.com> On Fri, Sep 12, 2008 at 10:56:47PM -0400, Gwern Branwen wrote: > Oh. Hmm, it still sounds useful. Incidentally, how exactly does one > use it? I gave it a desultorily try, but I was unsure how exactly one > gets the Window argument - I tried using withWindowSet, but got bogged > down extracting the Window parameter from it. You're probably looking for withFocused. You can see its definition in Operations.hs -- it uses withWindowSet. From me at twifkak.com Sun Sep 14 00:32:54 2008 From: me at twifkak.com (Devin Mullins) Date: Sun Sep 14 00:30:29 2008 Subject: [xmonad] Requesting help re: install instructions Message-ID: <20080914043253.GA1837@twifkak.com> Hi, so, revamping xmonad web site, realizing our download/install instructions are kind of scattered. Right now, we have links to online package databases for existing OSes. If would be great if we had actual instructions for each. So, I'm asking you, fellow xmonad users, to help parallel process this problem and contribute sections of text. Bonus points for researching the obscure OSes that nobody actually uses. I created a wiki page at http://haskell.org/haskellwiki/Xmonad/Installing_xmonad and contributed some examples to get started. Let's fill this thing in! I also created a stub page for configuring your display manager at http://haskell.org/haskellwiki/Xmonad/Configuring_your_login_manager Hopefully this is a platform-agnostic thing. If not, I suppose we'll need to inline some of those instructions into the rebellious platforms on the first wikipage, and then leave this page as generic instructions for the rest. From dons at galois.com Sun Sep 14 00:38:07 2008 From: dons at galois.com (Don Stewart) Date: Sun Sep 14 00:35:39 2008 Subject: [xmonad] Requesting help re: install instructions In-Reply-To: <20080914043253.GA1837@twifkak.com> References: <20080914043253.GA1837@twifkak.com> Message-ID: <20080914043807.GC22084@scytale.galois.com> me: > Hi, so, revamping xmonad web site, realizing our download/install > instructions are kind of scattered. Right now, we have links to online > package databases for existing OSes. If would be great if we had actual > instructions for each. > Great idea. OpenBSD and cabal-install added. From me at twifkak.com Sun Sep 14 04:13:13 2008 From: me at twifkak.com (Devin Mullins) Date: Sun Sep 14 04:10:54 2008 Subject: [xmonad] darcs patch: web site overhaul (now with testimonials!) (and 5 more) Message-ID: <20080914081313.DE4487CBD8@twifkak.com> As usual, see a preview at: http://xmonad.twifkak.com/ What's left TODO: - Make screenshots / videos sections look better on narrower browser windows. - Come up with a proper tagline. - Put links in the Instructions. - Revamp download page to point to the wiki. The latter two depend on the new wiki pages being filled out. Sat Sep 13 23:46:44 PDT 2008 Devin Mullins * web site overhaul (now with testimonials!) More patches coming as I tweak things. Sat Sep 13 23:48:44 PDT 2008 Devin Mullins * oops, fix some broken links Sat Sep 13 23:52:11 PDT 2008 Devin Mullins * vertical-align: middle the badges Sun Sep 14 00:15:19 PDT 2008 Devin Mullins * add .htaccess with RewriteRules This only works on an Apache server... hopefully that's what xmonad.org's got running. (Also, needs testing.) Sun Sep 14 01:01:00 PDT 2008 Devin Mullins * added in missing Features content Sun Sep 14 01:09:10 PDT 2008 Devin Mullins * simplify and lowercase doc links -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 137389 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080914/a2007198/attachment-0001.bin From me at twifkak.com Sun Sep 14 04:28:26 2008 From: me at twifkak.com (Devin Mullins) Date: Sun Sep 14 04:26:02 2008 Subject: [xmonad] darcs patch: web site overhaul (now with testimonials!) (and 6 more) Message-ID: <20080914082826.E32FA7CBD9@twifkak.com> Okay, update. I took care of the narrow browsers (sort of). Now, TODO: - Come up with a proper tagline. After wiki: - Put links in the Instructions. - Revamp download page to point to the wiki. I'm done for now. Sat Sep 13 23:46:44 PDT 2008 Devin Mullins * web site overhaul (now with testimonials!) More patches coming as I tweak things. Sat Sep 13 23:48:44 PDT 2008 Devin Mullins * oops, fix some broken links Sat Sep 13 23:52:11 PDT 2008 Devin Mullins * vertical-align: middle the badges Sun Sep 14 00:15:19 PDT 2008 Devin Mullins * add .htaccess with RewriteRules This only works on an Apache server... hopefully that's what xmonad.org's got running. (Also, needs testing.) Sun Sep 14 01:01:00 PDT 2008 Devin Mullins * added in missing Features content Sun Sep 14 01:09:10 PDT 2008 Devin Mullins * simplify and lowercase doc links Sun Sep 14 01:25:21 PDT 2008 Devin Mullins * some cheap hacks to make narrow browsers slightly less sucky boo, css. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 139130 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080914/9083400c/attachment-0001.bin From me at twifkak.com Sun Sep 14 17:28:06 2008 From: me at twifkak.com (Devin Mullins) Date: Sun Sep 14 17:25:40 2008 Subject: [xmonad] New website is up! Message-ID: <20080914212806.GA4433@twifkak.com> Howdy, folks, http://xmonad.org/ displays new hotness, thanks to the hard work of, well, me, and some support from some other people like dons, who put his bad self up on youtube, and folkses who provided feedback. I'm looking for: * people to make sure everything works (no 404s) * testing in lots o' browsers (i only have fx2, fx3, and safari on hand) * feedback re: how well you can find things, know where to look for them, understand the layout of the site, etc. * cool screencasts that we can shove in the video section * suggestions for content, organization, design, ... (especially easy ones) * ... ? Also, please keep filling out the install wikipage. xmonad.org/download.html is pretty crazy, and it'd be nice to simplify that by pointing to platform-specific instructions. Thanks to all involved (especially me!) and dons & sjanssen for giving their final thumbs. Devin From dons at galois.com Sun Sep 14 17:57:28 2008 From: dons at galois.com (Don Stewart) Date: Sun Sep 14 17:54:55 2008 Subject: [xmonad] Screencasts wanted! Message-ID: <20080914215728.GB26077@scytale.galois.com> Hey guys, As you see, Devin added a videos section to the new website. ** We want some screencasts ** So if you want to record 1 .. 5 minutes of xmonad use, walking through your favorite workflows, and stick it on youtube (where you can add backing music), please do so! Let us know, and we'll add it to the website. Videos showing how xmonad makes you more productive will be very very compelling, to the unitiated. Show us how xmonad makes you into a rock star! -- Don From nornagon at gmail.com Sun Sep 14 17:59:37 2008 From: nornagon at gmail.com (Jeremy Apthorp) Date: Sun Sep 14 17:57:11 2008 Subject: [xmonad] Screencasts wanted! In-Reply-To: <20080914215728.GB26077@scytale.galois.com> References: <20080914215728.GB26077@scytale.galois.com> Message-ID: <14d615330809141459v14b9a031l50955671dc7cd209@mail.gmail.com> 2008/9/15 Don Stewart : > Hey guys, > > As you see, Devin added a videos section to the new website. > > ** We want some screencasts ** > > So if you want to record 1 .. 5 minutes of xmonad use, walking through > your favorite workflows, and stick it on youtube (where you can add > backing music), please do so! Let us know, and we'll add it to the > website. > > Videos showing how xmonad makes you more productive will be very very > compelling, to the unitiated. Show us how xmonad makes you into a rock star! Does anyone know of a good screencasting application? import in a for loop doesn't quite cut it :P Jeremy From dons at galois.com Sun Sep 14 18:04:09 2008 From: dons at galois.com (Don Stewart) Date: Sun Sep 14 18:01:39 2008 Subject: [xmonad] Screencasts wanted! In-Reply-To: <14d615330809141459v14b9a031l50955671dc7cd209@mail.gmail.com> References: <20080914215728.GB26077@scytale.galois.com> <14d615330809141459v14b9a031l50955671dc7cd209@mail.gmail.com> Message-ID: <20080914220409.GC26077@scytale.galois.com> nornagon: > 2008/9/15 Don Stewart : > > Hey guys, > > > > As you see, Devin added a videos section to the new website. > > > > ** We want some screencasts ** > > > > So if you want to record 1 .. 5 minutes of xmonad use, walking through > > your favorite workflows, and stick it on youtube (where you can add > > backing music), please do so! Let us know, and we'll add it to the > > website. > > > > Videos showing how xmonad makes you more productive will be very very > > compelling, to the unitiated. Show us how xmonad makes you into a rock star! > > Does anyone know of a good screencasting application? import in a for > loop doesn't quite cut it :P > xvidcap is one that works. Here, I just recorded on tiny session, http://galois.com/~dons/tmp/test-0000.mpeg -- Don From me at twifkak.com Sun Sep 14 18:17:27 2008 From: me at twifkak.com (Devin Mullins) Date: Sun Sep 14 18:15:01 2008 Subject: [xmonad] Screencasts wanted! In-Reply-To: <20080914215728.GB26077@scytale.galois.com> References: <20080914215728.GB26077@scytale.galois.com> Message-ID: <20080914221727.GA4686@twifkak.com> On Sun, Sep 14, 2008 at 02:57:28PM -0700, Don Stewart wrote: > ** We want some screencasts ** Yes! If you want to help the screencast campaign but don't feel like making a screencast, I think a tool to display keypresses would be cool. (Like, in the bottom right -- when you hold down alt, a little "Alt-" box appears. When you press and release Alt-J, it have to hang there for a half-second, of course.) Just a thought (that I'm too lazy to act on, at the moment). Or perhaps this already exists? Devin From dons at galois.com Sun Sep 14 20:03:10 2008 From: dons at galois.com (Don Stewart) Date: Sun Sep 14 20:00:37 2008 Subject: [xmonad] Screencasts wanted! In-Reply-To: <20080914221727.GA4686@twifkak.com> References: <20080914215728.GB26077@scytale.galois.com> <20080914221727.GA4686@twifkak.com> Message-ID: <20080915000310.GA26323@scytale.galois.com> me: > On Sun, Sep 14, 2008 at 02:57:28PM -0700, Don Stewart wrote: > > ** We want some screencasts ** > Yes! > > If you want to help the screencast campaign but don't feel like making a > screencast, I think a tool to display keypresses would be cool. (Like, > in the bottom right -- when you hold down alt, a little "Alt-" box > appears. When you press and release Alt-J, it have to hang there for a > half-second, of course.) Just a thought (that I'm too lazy to act on, at > the moment). > > Or perhaps this already exists? > Here's an initial screencast, using xvidcap. http://uk.youtube.com/watch?v=4dyoLS-zOgE The quality isn't so great. Any suggestions on how to get hi res? I also tried istanbul, but the result was very jumpy and broken. -- Don From obrien654j at gmail.com Sun Sep 14 21:05:30 2008 From: obrien654j at gmail.com (Jeremy O'Brien) Date: Sun Sep 14 21:03:10 2008 Subject: [xmonad] Screencasts wanted! In-Reply-To: <14d615330809141459v14b9a031l50955671dc7cd209@mail.gmail.com> References: <20080914215728.GB26077@scytale.galois.com> <14d615330809141459v14b9a031l50955671dc7cd209@mail.gmail.com> Message-ID: <20080915010530.GB8549@newo.wright.edu> On Mon, Sep 15, 2008 at 07:59:37AM +1000, Jeremy Apthorp wrote: > 2008/9/15 Don Stewart : > > Hey guys, > > > > As you see, Devin added a videos section to the new website. > > > > ** We want some screencasts ** > > > > So if you want to record 1 .. 5 minutes of xmonad use, walking through > > your favorite workflows, and stick it on youtube (where you can add > > backing music), please do so! Let us know, and we'll add it to the > > website. > > > > Videos showing how xmonad makes you more productive will be very very > > compelling, to the unitiated. Show us how xmonad makes you into a rock star! > > Does anyone know of a good screencasting application? import in a for > loop doesn't quite cut it :P > > Jeremy recordmydesktop is the definite way to go. -- Jeremy O'Brien aka neutral_insomniac IRC nick: piroko GPG key: 0xB1140FDB http://pohl.ececs.uc.edu/~jeremy/jeremy.asc Linux newo 2.6.26-ARCH #1 SMP PREEMPT i686 Intel(R) Pentium(R) M processor 1400MHz -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available Url : http://www.haskell.org/pipermail/xmonad/attachments/20080914/dde57d28/attachment.bin From dons at galois.com Sun Sep 14 21:08:39 2008 From: dons at galois.com (Don Stewart) Date: Sun Sep 14 21:06:05 2008 Subject: [xmonad] Screencasts wanted! In-Reply-To: <20080915010530.GB8549@newo.wright.edu> References: <20080914215728.GB26077@scytale.galois.com> <14d615330809141459v14b9a031l50955671dc7cd209@mail.gmail.com> <20080915010530.GB8549@newo.wright.edu> Message-ID: <20080915010839.GC26323@scytale.galois.com> obrien654j: > On Mon, Sep 15, 2008 at 07:59:37AM +1000, Jeremy Apthorp wrote: > > 2008/9/15 Don Stewart : > > > Hey guys, > > > > > > As you see, Devin added a videos section to the new website. > > > > > > ** We want some screencasts ** > > > > > > So if you want to record 1 .. 5 minutes of xmonad use, walking through > > > your favorite workflows, and stick it on youtube (where you can add > > > backing music), please do so! Let us know, and we'll add it to the > > > website. > > > > > > Videos showing how xmonad makes you more productive will be very very > > > compelling, to the unitiated. Show us how xmonad makes you into a rock star! > > > > Does anyone know of a good screencasting application? import in a for > > loop doesn't quite cut it :P > > > > Jeremy > > recordmydesktop is the definite way to go. > Ah, nice and fast. Yes, it seems to be pretty good. -- Don From daniel.neri at sigicom.com Mon Sep 15 09:47:50 2008 From: daniel.neri at sigicom.com (Daniel Neri) Date: Mon Sep 15 09:45:23 2008 Subject: [xmonad] darcs patch: Add missing space between dzen command and flags Message-ID: <20080915134750.21169.qmail@dual.hq.sigicom.net> Mon Sep 15 15:10:09 CEST 2008 Daniel Neri * Add missing space between dzen command and flags -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 2346 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080915/81618174/attachment.bin From seanmce33 at gmail.com Mon Sep 15 10:28:28 2008 From: seanmce33 at gmail.com (Sean McEligot) Date: Mon Sep 15 10:26:02 2008 Subject: [xmonad] patch: WindoGo raiseMaster, raiseAndDo, runOrRaiseMaster, runOrRaiseAndDo Message-ID: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: raiseMaster.patch Type: text/x-diff Size: 30163 bytes Desc: not available Url : http://www.haskell.org/pipermail/xmonad/attachments/20080915/4b2ba481/raiseMaster-0001.bin From spencerjanssen at gmail.com Mon Sep 15 16:47:28 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Mon Sep 15 16:44:39 2008 Subject: [xmonad] darcs patch: Add missing space between dzen command and flags In-Reply-To: <20080915134750.21169.qmail@dual.hq.sigicom.net> References: <20080915134750.21169.qmail@dual.hq.sigicom.net> Message-ID: <20080915204728.GA23660@celeborn> On Mon, Sep 15, 2008 at 01:47:50PM -0000, Daniel Neri wrote: > Mon Sep 15 15:10:09 CEST 2008 Daniel Neri > * Add missing space between dzen command and flags Nice catch! Applied, thanks. From xmonad at cenderis.demon.co.uk Mon Sep 15 17:36:06 2008 From: xmonad at cenderis.demon.co.uk (Bruce Stephens) Date: Mon Sep 15 17:33:41 2008 Subject: [xmonad] Displaying the window name Message-ID: <87ljxtnlbt.fsf@cenderis.demon.co.uk> Is there some unobtrusive way to see window names? I'm imagining something like the workspace name displaying that (I think) WindowMaker has: as you change to a workspace, its name appears in the centre and fairly quickly fades. I know xmonad has various tabbing feature, but after years of using window managers with lots of decoration I'm rather enjoying having almost none, so using one of those would be a regression. I only rarely want to know a window's name, and on those occasions using xprop is adequate, but it would be nice to have something more convenient, something that displays the window name in the top left hand corner of the window momentarily when focus changes to it, say. (I guess I could build something myself either using an xmonad hook, or using an external application and a dynamic log, but my guess is there's some program already written that'll do it, or someone else will have coded it already, and probably better than I can do it.) From me at twifkak.com Tue Sep 16 01:11:07 2008 From: me at twifkak.com (Devin Mullins) Date: Tue Sep 16 01:08:40 2008 Subject: [xmonad] patch: WindoGo raiseMaster, raiseAndDo, runOrRaiseMaster, runOrRaiseAndDo In-Reply-To: References: Message-ID: <20080916051106.GA7585@twifkak.com> On Mon, Sep 15, 2008 at 10:28:28AM -0400, Sean McEligot wrote: > raiseMaster, raiseAndDo, runOrRaiseMaster, runOrRaiseAndDo Applied, thanks! > I spoke to Brent Yorgey on #xmonad about > this. No need for an invitation to send a patch. From jps at debian.org Tue Sep 16 03:31:25 2008 From: jps at debian.org (Jens Peter Secher) Date: Tue Sep 16 03:28:56 2008 Subject: [xmonad] ANNOUNCE: xmonad 0.8 released! In-Reply-To: <1220695906.3365.4.camel@otto.ehbuehl.net> References: <20080906013828.GB11490@scytale.galois.com> <1220695906.3365.4.camel@otto.ehbuehl.net> Message-ID: I have put packages of xmonad 0.8 for the current stable release of Debian (Etch) on http://people.debian.org/~jps/stable . I have not tested them myself, but Andi has tested them and he says they work fine. Cheers, -- Jens Peter Secher. _DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_. A. Because it breaks the logical sequence of discussion. Q. Why is top posting bad? From mad at unserver.de Tue Sep 16 05:23:52 2008 From: mad at unserver.de (Matthias =?UTF-8?B?S8O8aGxrZQ==?=) Date: Tue Sep 16 05:21:28 2008 Subject: [xmonad] Displaying the window name In-Reply-To: <87ljxtnlbt.fsf@cenderis.demon.co.uk> References: <87ljxtnlbt.fsf@cenderis.demon.co.uk> Message-ID: <20080916112352.6bc0c65c@antares> This reminds me of a function I'd like to see, it would use the "show window names" feature. Sometimes, if I've got many open windows on one workspace, it takes long to select the right one. If you use vimperator, you know the Quick Hints, you press a key and all the links get a label (numbers or letters) you can enter to activate that link. So I'd like to see a possibility to hit a key, then every window gets a label (something shorter than the window name), and I can press that key to focus that window. Cheers, Matthias From roma at ro-che.info Tue Sep 16 05:58:39 2008 From: roma at ro-che.info (Roman Cheplyaka) Date: Tue Sep 16 05:56:34 2008 Subject: [xmonad] Displaying the window name In-Reply-To: <87ljxtnlbt.fsf@cenderis.demon.co.uk> References: <87ljxtnlbt.fsf@cenderis.demon.co.uk> Message-ID: <20080916095839.GA4673@flit> * Bruce Stephens [2008-09-15 22:36:06+0100] > Is there some unobtrusive way to see window names? > > I'm imagining something like the workspace name displaying that (I > think) WindowMaker has: as you change to a workspace, its name appears > in the centre and fairly quickly fades. Have a look at XMonad.Layout.ShowWName > I know xmonad has various tabbing feature, but after years of using > window managers with lots of decoration I'm rather enjoying having > almost none, so using one of those would be a regression. > > I only rarely want to know a window's name, and on those occasions > using xprop is adequate, but it would be nice to have something more > convenient, something that displays the window name in the top left > hand corner of the window momentarily when focus changes to it, say. > > (I guess I could build something myself either using an xmonad hook, > or using an external application and a dynamic log, but my guess is > there's some program already written that'll do it, or someone else > will have coded it already, and probably better than I can do it.) I don't know if this is already implemented (there definitely were people interested in this feature) but I think it should be possible to implement by analogy with ShowWName. -- Roman I. Cheplyaka (aka Feuerbach @ IRC) From thomas.adam22 at gmail.com Tue Sep 16 10:12:05 2008 From: thomas.adam22 at gmail.com (Thomas Adam) Date: Tue Sep 16 10:09:36 2008 Subject: [xmonad] Displaying the window name In-Reply-To: <20080916112352.6bc0c65c@antares> References: <87ljxtnlbt.fsf@cenderis.demon.co.uk> <20080916112352.6bc0c65c@antares> Message-ID: <18071eea0809160712u5eb4c1cdtc1359ad89c50d20b@mail.gmail.com> 2008/9/16 Matthias K?hlke : > This reminds me of a function I'd like to see, it would use the "show > window names" feature. > > Sometimes, if I've got many open windows on one workspace, it takes > long to select the right one. If you use vimperator, you know the Quick > Hints, you press a key and all the links get a label (numbers or > letters) you can enter to activate that link. So I'd like to see a > possibility to hit a key, then every window gets a label (something > shorter than the window name), and I can press that key to focus that > window. If you want inspiration, look at "FvwmProxy". -- Thomas Adam From xmonad at cenderis.demon.co.uk Tue Sep 16 10:32:30 2008 From: xmonad at cenderis.demon.co.uk (Bruce Stephens) Date: Tue Sep 16 10:30:05 2008 Subject: [xmonad] Re: Displaying the window name In-Reply-To: <20080916112352.6bc0c65c@antares> ("Matthias =?iso-8859-1?Q?K?= =?iso-8859-1?Q?=FChlke=22's?= message of "Tue\, 16 Sep 2008 11\:23\:52 +0200") References: <87ljxtnlbt.fsf@cenderis.demon.co.uk> <20080916112352.6bc0c65c@antares> Message-ID: <80k5dcf9fl.fsf@tiny.isode.net> Matthias K?hlke writes: > This reminds me of a function I'd like to see, it would use the "show > window names" feature. > > Sometimes, if I've got many open windows on one workspace, it takes > long to select the right one. If you use vimperator, you know the Quick > Hints, you press a key and all the links get a label (numbers or > letters) you can enter to activate that link. So I'd like to see a > possibility to hit a key, then every window gets a label (something > shorter than the window name), and I can press that key to focus that > window. Come to think of it, we've already got windowPromptGoto (in XMonad.Prompt.Window). That's about 95% of what I want---I'll almost always recognise the window name when I see it. (I still think it would be cool to attach the name to the window, but functionally windowPromptGoto will suffice.) From dominik at dbruhn.de Tue Sep 16 11:24:20 2008 From: dominik at dbruhn.de (Dominik Bruhn) Date: Tue Sep 16 11:23:46 2008 Subject: [xmonad] Possible Bug: Floating window above tabbed workspace Message-ID: <20080916152420.GA12923@dbruhn.de> Hy, I got a possible bug, can please someone try to reproduce so I can fill a bugreport: 1. Get a workspace, layout doesnt matter (I call it "1") 2. Get a workspace with a tabbed layout (I call it "2") 3. Open 2 Windows on workspace "2" (I take a evince and a firefox) 4. Open a terminal on workspace "1" 5. Start an mplayer with a video-file on workspace "1" 6. Move the floating video-window over to workspace "2" (mod+shift+2) 7. Make the second tab in the workspace active. 8. Move the mouse into the floating movie-window Bug now: When moving into the floating movie window the tab in the background is changed to the first tab. I think this shouldnt happen and is quite anoying if you try to watch a movie while surfing in the internet and everytime you move your mouse to the movie-window the tabs switch. Can anybody reproduce? I can record a movie if its not clear what to do. Thanks -- Dominik Bruhn mailto: dominik@dbruhn.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080916/488f3257/attachment.bin From xmonad at cenderis.demon.co.uk Tue Sep 16 11:54:22 2008 From: xmonad at cenderis.demon.co.uk (Bruce Stephens) Date: Tue Sep 16 11:51:55 2008 Subject: [xmonad] Re: Displaying the window name In-Reply-To: <20080916095839.GA4673@flit> (Roman Cheplyaka's message of "Tue\, 16 Sep 2008 12\:58\:39 +0300") References: <87ljxtnlbt.fsf@cenderis.demon.co.uk> <20080916095839.GA4673@flit> Message-ID: <8063owf5n5.fsf@tiny.isode.net> Roman Cheplyaka writes: > * Bruce Stephens [2008-09-15 22:36:06+0100] >> Is there some unobtrusive way to see window names? >> >> I'm imagining something like the workspace name displaying that (I >> think) WindowMaker has: as you change to a workspace, its name appears >> in the centre and fairly quickly fades. > > Have a look at XMonad.Layout.ShowWName Ah, OK, that shows the workspace name. That's quite handy in itself. And yes, I guess something analogous to that for logHook would be possible. (Not sure I care that much now that I've remembered about windowPromptGoto.) [...] From briqueabraque at yahoo.com Tue Sep 16 14:04:53 2008 From: briqueabraque at yahoo.com (Mauricio) Date: Tue Sep 16 14:02:44 2008 Subject: [xmonad] Can I configure right Alt key in xmonad? Message-ID: Hi, Is it possible to get the right Alt in my keyboard to behave like the left one? Or can I set that using some program I could call from xmonad.hs? Thanks, Maur?cio From mail at justinbogner.com Tue Sep 16 22:32:43 2008 From: mail at justinbogner.com (mail@justinbogner.com) Date: Tue Sep 16 22:36:18 2008 Subject: [xmonad] Re: Possible Bug: Floating window above tabbed workspace References: <20080916152420.GA12923@dbruhn.de> Message-ID: <87ej3jy01g.fsf@justinbogner.com> Dominik Bruhn writes: > Hy, > I got a possible bug, can please someone try to reproduce so I can fill a > bugreport: > > 1. Get a workspace, layout doesnt matter (I call it "1") > 2. Get a workspace with a tabbed layout (I call it "2") > 3. Open 2 Windows on workspace "2" (I take a evince and a firefox) > 4. Open a terminal on workspace "1" > 5. Start an mplayer with a video-file on workspace "1" > 6. Move the floating video-window over to workspace "2" (mod+shift+2) > 7. Make the second tab in the workspace active. > 8. Move the mouse into the floating movie-window > > Bug now: > When moving into the floating movie window the tab in the background is changed > to the first tab. I think this shouldnt happen and is quite anoying if you try > to watch a movie while surfing in the internet and everytime you move your mouse > to the movie-window the tabs switch. > > Can anybody reproduce? I can record a movie if its not clear what to do. > > Thanks This is (probably) a very old known issue[1]. You'll see the same behaviour if the Tabbed layout is replaced with a Full layout. [1] http://code.google.com/p/xmonad/issues/detail?id=4 From allbery at ece.cmu.edu Wed Sep 17 00:04:43 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Wed Sep 17 00:02:24 2008 Subject: [xmonad] Can I configure right Alt key in xmonad? In-Reply-To: References: Message-ID: <0FE37B1E-C007-40DF-96A4-AF3ECBAF3D9B@ece.cmu.edu> On 2008 Sep 16, at 14:04, Mauricio wrote: > Is it possible to get the right Alt > in my keyboard to behave like the left > one? Or can I set that using some program > I could call from xmonad.hs? xmodmap or xkbset. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From deadguysfrom at gmail.com Wed Sep 17 04:58:23 2008 From: deadguysfrom at gmail.com (Matt Brown) Date: Wed Sep 17 04:59:05 2008 Subject: [xmonad] modMask + q not reloading xmonad Message-ID: <38a1ef070809170158h3a57b1cdi5de08077e59b393a@mail.gmail.com> Hello all, I'm brand new to xmonad, and having a great time with it. There have been a few problems, though, that I can't seem to figure out. The first is that modMask+q does not reload xmonad, like I read somewhere it should. It doesn't pop up an xmessage error window, either. There is no indication that anything is happening (at least none I am aware of), other than the q is not sent to the active X client (which implies it's bound to something, right?). Any ideas? thanks -Matt Brown From deadguysfrom at gmail.com Wed Sep 17 05:12:17 2008 From: deadguysfrom at gmail.com (Matt Brown) Date: Wed Sep 17 05:11:29 2008 Subject: [xmonad] modMask + q not reloading xmonad In-Reply-To: <20080917090012.GA25391@dbruhn.de> References: <38a1ef070809170158h3a57b1cdi5de08077e59b393a@mail.gmail.com> <20080917090012.GA25391@dbruhn.de> Message-ID: <38a1ef070809170212l2f258ccdg9ef58aa2495979ce@mail.gmail.com> Hi Dominik! Thanks for the quick response! It's in ~/bin, which is the first entry on $PATH. I can execute it from the command line (spews "xmonad: X11 error: BadAccess (attempt to access private resource denied), request code=28, error code=10"), but which doesn't find it for some reason. I had to hard code the path into my .xsession file, because ~/bin isn't there when the x session starts. I downloaded and built the following sources: Cabal-1.4.0.2.tar.gz X11-1.4.2.tar.gz X11-extras-0.4.tar.gz xmonad-0.8.tar.gz xmonad-contrib-0.8.tar.gz -matt On Wed, Sep 17, 2008 at 2:00 AM, Dominik Bruhn wrote: > Hy, > is the "xmonad" binary on your path? Can you execute "xmonad" from the > commandline? Show us your $PATH ("echo $PATH" on a cmdline) and tell us where > you got the xmonad-binary ("xmonad", perhaps in /home/username/bin) > > > > On Wed, Sep 17, 2008 at 01:58:23AM -0700, Matt Brown wrote: >> Hello all, >> >> I'm brand new to xmonad, and having a great time with it. There have >> been a few problems, though, that I can't seem to figure out. The >> first is that modMask+q does not reload >> xmonad, like I read somewhere it should. It doesn't pop up an >> xmessage error window, either. There is no indication that anything >> is happening (at least none I am aware of), other than the q is not >> sent to the active X client (which implies it's bound to something, >> right?). Any ideas? >> >> thanks >> >> -Matt Brown >> _______________________________________________ >> xmonad mailing list >> xmonad@haskell.org >> http://www.haskell.org/mailman/listinfo/xmonad > > -- > Dominik Bruhn > mailto: dominik@dbruhn.de > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkjQxxkACgkQL62MPsbzkm1KkwCeMM7J4i/2wyRqJGaf9LVUQaEk > cyYAnjpwT6/GhHIScyOfS/LLEwmv5xL6 > =ISwK > -----END PGP SIGNATURE----- > > From dominik at dbruhn.de Wed Sep 17 05:24:10 2008 From: dominik at dbruhn.de (Dominik Bruhn) Date: Wed Sep 17 05:25:49 2008 Subject: [xmonad] modMask + q not reloading xmonad In-Reply-To: <38a1ef070809170212l2f258ccdg9ef58aa2495979ce@mail.gmail.com> References: <38a1ef070809170158h3a57b1cdi5de08077e59b393a@mail.gmail.com> <20080917090012.GA25391@dbruhn.de> <38a1ef070809170212l2f258ccdg9ef58aa2495979ce@mail.gmail.com> Message-ID: <20080917092410.GA27675@dbruhn.de> Hy, is it realy "~/bin" in your path or is it "/home/username/bin". > I had to hard code the path > into my .xsession file, because ~/bin isn't there when the x session > starts. What do you mean by "isnt there when the xsession starts"? I should be there and you shouldnt have to hardcode the path. This should be your error, if you have to hardcode the path, then this would lead into the problem uppon restarting xmonad you described. I downloaded and built the following sources: > > Cabal-1.4.0.2.tar.gz X11-1.4.2.tar.gz X11-extras-0.4.tar.gz > xmonad-0.8.tar.gz xmonad-contrib-0.8.tar.gz > > -matt > > On Wed, Sep 17, 2008 at 2:00 AM, Dominik Bruhn wrote: > > Hy, > > is the "xmonad" binary on your path? Can you execute "xmonad" from the > > commandline? Show us your $PATH ("echo $PATH" on a cmdline) and tell us where > > you got the xmonad-binary ("xmonad", perhaps in /home/username/bin) > > > > > > > > On Wed, Sep 17, 2008 at 01:58:23AM -0700, Matt Brown wrote: > >> Hello all, > >> > >> I'm brand new to xmonad, and having a great time with it. There have > >> been a few problems, though, that I can't seem to figure out. The > >> first is that modMask+q does not reload > >> xmonad, like I read somewhere it should. It doesn't pop up an > >> xmessage error window, either. There is no indication that anything > >> is happening (at least none I am aware of), other than the q is not > >> sent to the active X client (which implies it's bound to something, > >> right?). Any ideas? > >> > >> thanks > >> > >> -Matt Brown > >> _______________________________________________ > >> xmonad mailing list > >> xmonad@haskell.org > >> http://www.haskell.org/mailman/listinfo/xmonad > > > > -- > > Dominik Bruhn > > mailto: dominik@dbruhn.de > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.9 (GNU/Linux) > > > > iEYEARECAAYFAkjQxxkACgkQL62MPsbzkm1KkwCeMM7J4i/2wyRqJGaf9LVUQaEk > > cyYAnjpwT6/GhHIScyOfS/LLEwmv5xL6 > > =ISwK > > -----END PGP SIGNATURE----- > > > > -- Dominik Bruhn mailto: dominik@dbruhn.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080917/5d93f5ea/attachment.bin From Braden.Shepherdson at gmail.com Wed Sep 17 09:44:06 2008 From: Braden.Shepherdson at gmail.com (Braden Shepherdson) Date: Wed Sep 17 09:41:46 2008 Subject: [xmonad] Re: Can I configure right Alt key in xmonad? In-Reply-To: References: Message-ID: Mauricio wrote: > Hi, > > Is it possible to get the right Alt > in my keyboard to behave like the left > one? Or can I set that using some program > I could call from xmonad.hs? > > Thanks, > Maur?cio > This is actually what I use on my laptop, as I use emacs and the Windows key is inconveniently located. My .xinitrc uses xmodmap to rebind Alt_R to mod3 (unused by default), and my xmonad.hs uses modMask = 3. Braden Shepherdson shepheb From codesite-noreply at google.com Wed Sep 17 10:15:16 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 17 10:12:41 2008 Subject: [xmonad] Issue 218 in xmonad: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm Message-ID: <0015175cde66f60ab80457181881@google.com> Issue 218: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm http://code.google.com/p/xmonad/issues/detail?id=218 New issue report by guzenkovsn: What steps will reproduce the problem? 1. install any protege 4.0 or 3.x from http://protege.stanford.edu/ 2. 3. What is the expected output? What do you see instead? You see blank white screen instead of the program interface. But you can interact. When you click on certain areas a dialog appears. What version of the product are you using? On what operating system? debian etch, xmonad 0.7-2 Please provide any additional information below. If this error is due to a module from XMonadContrib, please tag this issue with 'Component-Contrib' below. Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 17 10:24:19 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 17 10:21:44 2008 Subject: [xmonad] Issue 218 in xmonad: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm Message-ID: <0016e644cf1252329d0457183985@google.com> Issue 218: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm http://code.google.com/p/xmonad/issues/detail?id=218 Comment #1 by guzenkovsn: I was wrong with debian version - it is lenny/etch -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From deadguysfrom at gmail.com Wed Sep 17 12:31:13 2008 From: deadguysfrom at gmail.com (Matt Brown) Date: Wed Sep 17 12:28:38 2008 Subject: [xmonad] XMonad.Prompt.Workspace error Message-ID: <38a1ef070809170931r7d957a75vdd8028476052f6fd@mail.gmail.com> I copied the following lines from XMonad.Prompt.Workspace usage: import XMonad.Prompt import XMonad.Prompt.Workspace , ((modMask x .|. shiftMask, xK_m ), workspacePrompt defaultXPConfig (windows . W.shift)) but when I reload xmonad, I get this error: Not in scope: 'W.shift' am I missing an import or something? thanks -matt From deadguysfrom at gmail.com Wed Sep 17 12:38:32 2008 From: deadguysfrom at gmail.com (Matt Brown) Date: Wed Sep 17 12:35:57 2008 Subject: [xmonad] modMask + q not reloading xmonad In-Reply-To: <20080917092410.GA27675@dbruhn.de> References: <38a1ef070809170158h3a57b1cdi5de08077e59b393a@mail.gmail.com> <20080917090012.GA25391@dbruhn.de> <38a1ef070809170212l2f258ccdg9ef58aa2495979ce@mail.gmail.com> <20080917092410.GA27675@dbruhn.de> Message-ID: <38a1ef070809170938n4372df65m632ce86cdd2166b@mail.gmail.com> I added PATH="/home/matt/bin:${PATH}" to my .xsession, and now it works! thanks dominik! On Wed, Sep 17, 2008 at 2:24 AM, Dominik Bruhn wrote: > Hy, > is it realy "~/bin" in your path or is it "/home/username/bin". >> I had to hard code the path >> into my .xsession file, because ~/bin isn't there when the x session >> starts. > What do you mean by "isnt there when the xsession starts"? I should be there and > you shouldnt have to hardcode the path. This should be your error, if you have > to hardcode the path, then this would lead into the problem uppon restarting > xmonad you described. > > I downloaded and built the following sources: >> >> Cabal-1.4.0.2.tar.gz X11-1.4.2.tar.gz X11-extras-0.4.tar.gz >> xmonad-0.8.tar.gz xmonad-contrib-0.8.tar.gz >> >> -matt >> >> On Wed, Sep 17, 2008 at 2:00 AM, Dominik Bruhn wrote: >> > Hy, >> > is the "xmonad" binary on your path? Can you execute "xmonad" from the >> > commandline? Show us your $PATH ("echo $PATH" on a cmdline) and tell us where >> > you got the xmonad-binary ("xmonad", perhaps in /home/username/bin) >> > >> > >> > >> > On Wed, Sep 17, 2008 at 01:58:23AM -0700, Matt Brown wrote: >> >> Hello all, >> >> >> >> I'm brand new to xmonad, and having a great time with it. There have >> >> been a few problems, though, that I can't seem to figure out. The >> >> first is that modMask+q does not reload >> >> xmonad, like I read somewhere it should. It doesn't pop up an >> >> xmessage error window, either. There is no indication that anything >> >> is happening (at least none I am aware of), other than the q is not >> >> sent to the active X client (which implies it's bound to something, >> >> right?). Any ideas? >> >> >> >> thanks >> >> >> >> -Matt Brown >> >> _______________________________________________ >> >> xmonad mailing list >> >> xmonad@haskell.org >> >> http://www.haskell.org/mailman/listinfo/xmonad >> > >> > -- >> > Dominik Bruhn >> > mailto: dominik@dbruhn.de >> > >> > -----BEGIN PGP SIGNATURE----- >> > Version: GnuPG v1.4.9 (GNU/Linux) >> > >> > iEYEARECAAYFAkjQxxkACgkQL62MPsbzkm1KkwCeMM7J4i/2wyRqJGaf9LVUQaEk >> > cyYAnjpwT6/GhHIScyOfS/LLEwmv5xL6 >> > =ISwK >> > -----END PGP SIGNATURE----- >> > >> > > > -- > Dominik Bruhn > mailto: dominik@dbruhn.de > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkjQzLcACgkQL62MPsbzkm0lOgCeLkjYWVCHJHwJBA7oRqwj7d/9 > TFQAoIc9MANFtGpfjHAg/9D1ohAMev/O > =4Ua6 > -----END PGP SIGNATURE----- > > _______________________________________________ > xmonad mailing list > xmonad@haskell.org > http://www.haskell.org/mailman/listinfo/xmonad > > From Braden.Shepherdson at gmail.com Wed Sep 17 12:59:08 2008 From: Braden.Shepherdson at gmail.com (Braden Shepherdson) Date: Wed Sep 17 12:56:48 2008 Subject: [xmonad] Re: XMonad.Prompt.Workspace error In-Reply-To: <38a1ef070809170931r7d957a75vdd8028476052f6fd@mail.gmail.com> References: <38a1ef070809170931r7d957a75vdd8028476052f6fd@mail.gmail.com> Message-ID: Matt Brown wrote: > I copied the following lines from XMonad.Prompt.Workspace usage: > > import XMonad.Prompt > import XMonad.Prompt.Workspace > > , ((modMask x .|. shiftMask, xK_m ), workspacePrompt > defaultXPConfig (windows . W.shift)) > > > but when I reload xmonad, I get this error: > > Not in scope: 'W.shift' > > > am I missing an import or something? > > thanks > -matt Most people have import qualified XMonad.StackSet as W in their configs. If you don't have that import, or you call it something other than W, that would be the problem. Braden Shepherdson shepheb From deadguysfrom at gmail.com Wed Sep 17 13:25:58 2008 From: deadguysfrom at gmail.com (Matt Brown) Date: Wed Sep 17 13:23:24 2008 Subject: [xmonad] Re: XMonad.Prompt.Workspace error In-Reply-To: References: <38a1ef070809170931r7d957a75vdd8028476052f6fd@mail.gmail.com> Message-ID: <38a1ef070809171025x2bc7f2a5n25e4992bb55adb60@mail.gmail.com> that fixed it. thanks On Wed, Sep 17, 2008 at 9:59 AM, Braden Shepherdson wrote: > Matt Brown wrote: >> >> I copied the following lines from XMonad.Prompt.Workspace usage: >> >> import XMonad.Prompt >> import XMonad.Prompt.Workspace >> >> , ((modMask x .|. shiftMask, xK_m ), workspacePrompt >> defaultXPConfig (windows . W.shift)) >> >> >> but when I reload xmonad, I get this error: >> >> Not in scope: 'W.shift' >> >> >> am I missing an import or something? >> >> thanks >> -matt > > Most people have > > import qualified XMonad.StackSet as W > > in their configs. If you don't have that import, or you call it something > other than W, that would be the problem. > > > Braden Shepherdson > shepheb > > _______________________________________________ > xmonad mailing list > xmonad@haskell.org > http://www.haskell.org/mailman/listinfo/xmonad > From codesite-noreply at google.com Wed Sep 17 15:25:37 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 17 15:23:03 2008 Subject: [xmonad] Issue 218 in xmonad: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm Message-ID: <0015174bdd08dc175f04571c6e24@google.com> Issue 218: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm http://code.google.com/p/xmonad/issues/detail?id=218 Comment #2 by seanmce33: try setting this environment variable: AWT_TOOLKIT=MToolkit export AWT_TOOLKIT -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 17 15:33:39 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 17 15:31:06 2008 Subject: [xmonad] Issue 218 in xmonad: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm Message-ID: <0016369201ed94b6a404571c8b51@google.com> Issue 218: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm http://code.google.com/p/xmonad/issues/detail?id=218 Comment #3 by lit...@hethrael.org: This is a bug in Java. Problems with Java applications is in the FAQ, approximately question number pi: http://haskell.org/haskellwiki/Xmonad/ Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_console The FAQ mentions the SetWMName workaround in addition to the above environment variable. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Wed Sep 17 18:12:03 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 17 18:09:27 2008 Subject: [xmonad] Issue 218 in xmonad: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm Message-ID: <0016368e1fb40c900304571ec270@google.com> Issue 218: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm http://code.google.com/p/xmonad/issues/detail?id=218 Comment #4 by SpencerJanssen: This is a bug in Java, not xmonad. Feel free to ask for help in #xmonad or the mailing list if you have trouble using the workarounds. Issue attribute updates: Status: Invalid -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From deadguysfrom at gmail.com Wed Sep 17 18:31:59 2008 From: deadguysfrom at gmail.com (Matt Brown) Date: Wed Sep 17 18:29:23 2008 Subject: [xmonad] terminal that can handle being resized? Message-ID: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> I'm using one of the standard layouts, where one window is bigger than all the others, which is great, except my terminal emulator (xterm, tried rxvt too) doesn't handle being resized very well. It starts wrapping at the new width (also great). My problem is that when a window starts out big, then gets shrunk and restored to its original size, all the old lines are truncated at the small width. the rest of the window is blank. is there a terminal that can handle being resized better, or a config option for either of these? or is there a way I can get xmonad to ask the window to redraw itself? thanks -matt From gwern0 at gmail.com Wed Sep 17 19:10:21 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Wed Sep 17 19:08:36 2008 Subject: [xmonad] terminal that can handle being resized? In-Reply-To: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> References: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> Message-ID: <20080917231021.GA28515@craft> On 2008.09.17 15:31:59 -0700, Matt Brown scribbled 0.6K characters: > I'm using one of the standard layouts, where one window is bigger than > all the others, which is great, except my terminal emulator (xterm, > tried rxvt too) doesn't handle being resized very well. It starts > wrapping at the new width (also great). My problem is that when a > window starts out big, then gets shrunk and restored to its original > size, all the old lines are truncated at the small width. the rest of > the window is blank. is there a terminal that can handle being > resized better, or a config option for either of these? or is there a > way I can get xmonad to ask the window to redraw itself? > > thanks > -matt I think the standard recommendation is not rxvt or xterm, but rxvt-unicode/urxvt; I've also found gnome-terminal to work pretty well. -- gwern Ft. RSO JUWTF cybercash Forte KLM broadside erco Defcon 1080H -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080917/862ab5a4/attachment.bin From brianchina60221 at gmail.com Wed Sep 17 19:54:11 2008 From: brianchina60221 at gmail.com (brian) Date: Wed Sep 17 19:51:35 2008 Subject: [xmonad] terminal that can handle being resized? In-Reply-To: <20080917231021.GA28515@craft> References: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> <20080917231021.GA28515@craft> Message-ID: <22f6a8f70809171654t38dce98aja547e0ac4f6d8a97@mail.gmail.com> On Wed, Sep 17, 2008 at 6:10 PM, Gwern Branwen wrote: > I think the standard recommendation is not rxvt or xterm, but rxvt-unicode/urxvt I've never understood this. I use urxvt because it's good for Chinese fonts and stuff, but I've never noticed it being any better about the resizing issue. For example, I'll have one term open and open another one with the intent to do something with text in the first one, but after creating the second term, the text in the first one has been trashed. The doing-anything-makes-everything-resize thing is dwm disease that didn't happen with the ion fixed frames way. I miss it so much sometimes I think about going back, despite xmonad being an overwhelmingly better way. From allbery at ece.cmu.edu Wed Sep 17 19:58:15 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Wed Sep 17 19:55:43 2008 Subject: [xmonad] terminal that can handle being resized? In-Reply-To: <22f6a8f70809171654t38dce98aja547e0ac4f6d8a97@mail.gmail.com> References: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> <20080917231021.GA28515@craft> <22f6a8f70809171654t38dce98aja547e0ac4f6d8a97@mail.gmail.com> Message-ID: On 2008 Sep 17, at 19:54, brian wrote: > On Wed, Sep 17, 2008 at 6:10 PM, Gwern Branwen > wrote: >> I think the standard recommendation is not rxvt or xterm, but rxvt- >> unicode/urxvt > > The doing-anything-makes-everything-resize thing is dwm disease that > didn't happen with the ion fixed frames way. I miss it so much > sometimes I think about going back, despite xmonad being an > overwhelmingly better way. Hm? Use the Full or Tabbed layouts, you don't have to worry about it. xmonad gives you the choice. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From deadguysfrom at gmail.com Wed Sep 17 19:59:40 2008 From: deadguysfrom at gmail.com (Matt Brown) Date: Wed Sep 17 19:57:07 2008 Subject: [xmonad] terminal that can handle being resized? In-Reply-To: <20080917231021.GA28515@craft> References: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> <20080917231021.GA28515@craft> Message-ID: <38a1ef070809171659y2f5be09y4406b6846b369c9e@mail.gmail.com> On Wed, Sep 17, 2008 at 4:10 PM, Gwern Branwen wrote: > On 2008.09.17 15:31:59 -0700, Matt Brown scribbled 0.6K characters: >> I'm using one of the standard layouts, where one window is bigger than >> all the others, which is great, except my terminal emulator (xterm, >> tried rxvt too) doesn't handle being resized very well. It starts >> wrapping at the new width (also great). My problem is that when a >> window starts out big, then gets shrunk and restored to its original >> size, all the old lines are truncated at the small width. the rest of >> the window is blank. is there a terminal that can handle being >> resized better, or a config option for either of these? or is there a >> way I can get xmonad to ask the window to redraw itself? >> >> thanks >> -matt > > I think the standard recommendation is not rxvt or xterm, but rxvt-unicode/urxvt; I've also found gnome-terminal to work pretty well. > > -- > gwern > Ft. RSO JUWTF cybercash Forte KLM broadside erco Defcon 1080H > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEAREKAAYFAkjRjlwACgkQvpDo5Pfl1oI4sACdFE7z3dIjhHXFHpHn2C44jZj+ > aa4AniWmbR1IjbY/7Uuui1mWWZm5U+lX > =wW08 > -----END PGP SIGNATURE----- > > I tried urxvt, and it had the same problem as the others (which is really too bad, because it has some righteous features). gnome-terminal handles the resizing, but is less customizable. i guess no perfect solution yet. From codesite-noreply at google.com Thu Sep 18 00:01:44 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Wed Sep 17 23:59:09 2008 Subject: [xmonad] Issue 218 in xmonad: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm Message-ID: <00151750ec4c9e2fd4045723a4b4@google.com> Issue 218: a java program of Stanford University - protege - does not work with xmonad, but works with openbox, metacity, twm http://code.google.com/p/xmonad/issues/detail?id=218 Comment #5 by guzenkovsn: Thank you. "export AWT_TOOLKIT=MToolkit" solves the problem. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From dons at galois.com Thu Sep 18 01:34:51 2008 From: dons at galois.com (Don Stewart) Date: Thu Sep 18 01:32:08 2008 Subject: [xmonad] xmonad on twitter Message-ID: <20080918053451.GB6360@scytale.galois.com> As part of our ongoing plan to be better engaged with what users want, and to keep people informed about what xmonad development's up to, there's now an xmonad twitter channel, where little updates will appear, as they happen. http://twitter.com/xmonad Cheers, Don From rico32 at gmx.net Thu Sep 18 03:57:10 2008 From: rico32 at gmx.net (Andreas Niederl) Date: Thu Sep 18 03:54:35 2008 Subject: [xmonad] terminal that can handle being resized? In-Reply-To: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> References: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> Message-ID: <48D209D6.8000606@gmx.net> Hi, Matt Brown wrote: > I'm using one of the standard layouts, where one window is bigger than > all the others, which is great, except my terminal emulator (xterm, > tried rxvt too) doesn't handle being resized very well. It starts > wrapping at the new width (also great). My problem is that when a > window starts out big, then gets shrunk and restored to its original > size, all the old lines are truncated at the small width. the rest of > the window is blank. is there a terminal that can handle being > resized better, or a config option for either of these? or is there a > way I can get xmonad to ask the window to redraw itself? I'm also having this problem and after some stracing I'm pretty sure that I'm experiencing a race condition in the Linux kernel between the terminal size ioctls. According to a Debian bugreport [1] mentioned on the rxvt-unicode list [2] this was introduced in 2.6.26rc1 and resolved in 2.6.27rc1. Regards, Andi [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483564 [2] http://lists.schmorp.de/pipermail/rxvt-unicode/2008q3/000688.html From magnus at therning.org Thu Sep 18 04:10:54 2008 From: magnus at therning.org (Magnus Therning) Date: Thu Sep 18 04:08:18 2008 Subject: [xmonad] xmonad on twitter In-Reply-To: <20080918053451.GB6360@scytale.galois.com> References: <20080918053451.GB6360@scytale.galois.com> Message-ID: On Thu, Sep 18, 2008 at 6:34 AM, Don Stewart wrote: > As part of our ongoing plan to be better engaged with what users want, > and to keep people informed about what xmonad development's up to, > there's now an xmonad twitter channel, where little updates will appear, > as they happen. > > http://twitter.com/xmonad No identi.ca ? ;-) Laconi.ca seems very suitable for setting up community-specific microblogging (with ability to send messages between instances, think federated Jabber but for microblogs). Maybe the haskell community should run a laconi.ca instance? /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) magnus?therning?org Jabber: magnus?therning?org http://therning.org/magnus identi.ca|twitter: magthe From deadguysfrom at gmail.com Thu Sep 18 13:18:25 2008 From: deadguysfrom at gmail.com (Matt Brown) Date: Thu Sep 18 13:15:47 2008 Subject: [xmonad] terminal that can handle being resized? In-Reply-To: <38a1ef070809181016k2d4b5ba4nf24e13052c27f25c@mail.gmail.com> References: <38a1ef070809171531u6224ac43q1514da0d7da2874d@mail.gmail.com> <48D209D6.8000606@gmx.net> <38a1ef070809181016k2d4b5ba4nf24e13052c27f25c@mail.gmail.com> Message-ID: <38a1ef070809181018j36fb27eaqf81057cc5a7ab22c@mail.gmail.com> sorry all; gmail's reply is not including the list for some reason. On Thu, Sep 18, 2008 at 10:16 AM, Matt Brown wrote: > I've just discovered that rxvt-unicode handles resizing perfectly > under gnome's default WM (in hardy), but not in xmonad. strange, > because gnome-terminal resizes the same in both. > > On Thu, Sep 18, 2008 at 12:57 AM, Andreas Niederl wrote: >> Hi, >> >> Matt Brown wrote: >>> I'm using one of the standard layouts, where one window is bigger than >>> all the others, which is great, except my terminal emulator (xterm, >>> tried rxvt too) doesn't handle being resized very well. It starts >>> wrapping at the new width (also great). My problem is that when a >>> window starts out big, then gets shrunk and restored to its original >>> size, all the old lines are truncated at the small width. the rest of >>> the window is blank. is there a terminal that can handle being >>> resized better, or a config option for either of these? or is there a >>> way I can get xmonad to ask the window to redraw itself? >> >> I'm also having this problem and after some stracing I'm pretty sure >> that I'm experiencing a race condition in the Linux kernel between the >> terminal size ioctls. >> >> According to a Debian bugreport [1] mentioned on the rxvt-unicode list >> [2] this was introduced in 2.6.26rc1 and resolved in 2.6.27rc1. >> >> >> Regards, >> Andi >> >> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483564 >> [2] http://lists.schmorp.de/pipermail/rxvt-unicode/2008q3/000688.html >> > From codesite-noreply at google.com Thu Sep 18 13:43:47 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 18 13:41:08 2008 Subject: [xmonad] Issue 219 in xmonad: Strange error with ToggleStruts Message-ID: <0015175cba8081984804572f2072@google.com> Issue 219: Strange error with ToggleStruts http://code.google.com/p/xmonad/issues/detail?id=219 New issue report by deniz.a.m.dogan: What steps will reproduce the problem? 1. Have an xmobar instance running at the top of the screen (opened with spawnPipe from xmonad.hs). 2. Move to an empty workspace. 3. Open a terminal (in my case urxvtc). 4. Reload the xmonad configuration. 5. Do "sendMessage ToggleStruts". What is the expected output? The terminal takes up the full screen space, moving "over" the top xmobar. What do you see instead? The terminal moves "under" the xmobar. What version of the product are you using? On what operating system? The darcs version. Please provide any additional information below. If this error is due to a module from XMonadContrib, please tag this issue with 'Component-Contrib' below. Attachments: xmonad.hs 5.8 KB Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Thu Sep 18 17:38:48 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Thu Sep 18 17:36:09 2008 Subject: [xmonad] Issue 219 in xmonad: Strange error with ToggleStruts Message-ID: <001636283776fb74f104573268a9@google.com> Issue 219: Strange error with ToggleStruts http://code.google.com/p/xmonad/issues/detail?id=219 Comment #1 by SpencerJanssen: Not an xmonad bug. This is fixed in the darcs version of xmobar. Issue attribute updates: Status: Invalid -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From gwern0 at gmail.com Fri Sep 19 14:33:00 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Fri Sep 19 14:31:25 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080913035708.GA32075@twifkak.com> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> <20080913035708.GA32075@twifkak.com> Message-ID: <20080919183300.GA8625@craft> On 2008.09.12 20:57:08 -0700, Devin Mullins scribbled 0.4K characters: > On Fri, Sep 12, 2008 at 10:56:47PM -0400, Gwern Branwen wrote: > > Oh. Hmm, it still sounds useful. Incidentally, how exactly does one > > use it? I gave it a desultorily try, but I was unsure how exactly one > > gets the Window argument - I tried using withWindowSet, but got bogged > > down extracting the Window parameter from it. > > You're probably looking for withFocused. You can see its definition in > Operations.hs -- it uses withWindowSet. Ah, I see. I was searching for the wrong type signature after all. So I've been working up a basic XPaste module, and here's what I have thus far" -------------------------------- sendSelection :: KeyMask -> X () sendSelection m = getSelection >>= (sendString m) sendString :: KeyMask -> String -> X () sendString mo = mapM_ (sendChar mo) sendChar :: KeyMask -> Char -> X () sendChar modm c = sendKeyScreen modm (stringToKeysym [c]) sendKeyScreen :: KeyMask -> KeySym -> X () sendKeyScreen modmk key = withFocused (sendKeysym modmk key) sendKeysym :: KeyMask -> KeySym -> Window -> X () sendKeysym mods key w = withDisplay $ \d -> do rootw <- asks theRoot keycode <- io $ keysymToKeycode d key io $ allocaXEvent $ \ev -> do setEventType ev keyPress setKeyEvent ev w rootw none mods keycode True sendEvent d w True keyPressMask ev setEventType ev keyRelease sendEvent d w True keyReleaseMask ev -------------------------------- My first question is, is there any way to scrap all the KeyMask plumbing? I looked at the X11 docs, but there doesn't seem to be any null modmask - mod1Mask is Alt, Shift is Shift, and so on. My second question is, why does 'keysymToKeycode' take a String? I manually played around with it in GHCi and it seems every String which isn't a Char always gets evaluated to '0'. -- gwern Scully .375 PLA TWA Active White dog Amherst WISDIM rita -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080919/7a482dcf/attachment.bin From spencerjanssen at gmail.com Fri Sep 19 16:40:25 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Fri Sep 19 16:37:44 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080919183300.GA8625@craft> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> <20080913035708.GA32075@twifkak.com> <20080919183300.GA8625@craft> Message-ID: <20080919204025.GA32481@celeborn> On Fri, Sep 19, 2008 at 02:33:00PM -0400, Gwern Branwen wrote: > Ah, I see. I was searching for the wrong type signature after all. > > So I've been working up a basic XPaste module, and here's what I have thus far" > > -------------------------------- > sendSelection :: KeyMask -> X () > sendSelection m = getSelection >>= (sendString m) > > sendString :: KeyMask -> String -> X () > sendString mo = mapM_ (sendChar mo) > > sendChar :: KeyMask -> Char -> X () > sendChar modm c = sendKeyScreen modm (stringToKeysym [c]) > > sendKeyScreen :: KeyMask -> KeySym -> X () > sendKeyScreen modmk key = withFocused (sendKeysym modmk key) > > sendKeysym :: KeyMask -> KeySym -> Window -> X () > sendKeysym mods key w = withDisplay $ \d -> do > rootw <- asks theRoot > keycode <- io $ keysymToKeycode d key > io $ allocaXEvent $ \ev -> do > setEventType ev keyPress > setKeyEvent ev w rootw none mods keycode True > sendEvent d w True keyPressMask ev > setEventType ev keyRelease > sendEvent d w True keyReleaseMask ev > -------------------------------- If I might suggest a few name changes: - change sendKeyScreen to sendKey - change sendKeysym to sendKeyWindow > My first question is, is there any way to scrap all the KeyMask plumbing? I looked at the X11 docs, but there doesn't seem to be any null modmask - mod1Mask is Alt, Shift is Shift, and so on. KeyMask is a bitmask, so 0 is the no modifiers pressed state. I'd also leave the KeyMask argument on sendKeysym and sendKeyscreen -- some users want to send keys with modifiers (eg. the person that started this thread). > My second question is, why does 'keysymToKeycode' take a String? I manually played around with it in GHCi and it seems every String which isn't a Char always gets evaluated to '0'. I assume you mean stringToKeysym. Try: stringToKeysym "F1". You should probably filter out the 0 results when sending a string, or perhaps throw an error. Cheers, Spencer Janssen From codesite-noreply at google.com Fri Sep 19 23:39:00 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Fri Sep 19 23:36:17 2008 Subject: [xmonad] Issue 220 in xmonad: Dmenu link is obsolete Message-ID: <0016368e262d0a0d9a04574b8f88@google.com> Issue 220: Dmenu link is obsolete http://code.google.com/p/xmonad/issues/detail?id=220 New issue report by SamoriGorse: Hi all, As I can't find a way to contact you about this, I thought I'd file an issue, hope you don't mind :-) The intro page ( http://xmonad.org/intro.html ) provides an obsolete link to the Dmenu project page It links to : http://www.suckless.org/wiki/tools/xlib While the correct link is : http://www.suckless.org/programs/dmenu.html Also, debian-like distributions provide a package with dmenu sudo apt-get install dwm-tools would do. Keep up the good work :-) Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sat Sep 20 01:17:04 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sat Sep 20 01:14:22 2008 Subject: [xmonad] Issue 220 in xmonad: Dmenu link is obsolete Message-ID: <001485f945a6c33e1b04574ced48@google.com> Issue 220: Dmenu link is obsolete http://code.google.com/p/xmonad/issues/detail?id=220 Comment #1 by m...@twifkak.com: Samori, Thanks for the report. (You can also post to the mailing list or the IRC channel, but as this is a bug, this seems fine.) Link is now fixed in darcs (yes, the web page has a darcs repo), and will be fixed when we next do a push (soon). I think I'll leave the debian instructions out, as the other distros will then feel unloved, and that's really a job for dmenu's page. Issue attribute updates: Status: Fixed Labels: Documentation -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sat Sep 20 04:51:59 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sat Sep 20 04:49:15 2008 Subject: [xmonad] Issue 221 in xmonad: Grabbing/releasing grab makes mouse inactive Message-ID: <0016e64549525524ef04574feec9@google.com> Issue 221: Grabbing/releasing grab makes mouse inactive http://code.google.com/p/xmonad/issues/detail?id=221 New issue report by bardur.arantsson: What steps will reproduce the problem? 1. Run anything which grabs mouse and keyboard. I used VirtualBox with a running virtual machine. 2. Let the program grab the mouse and keyboard, e.g. by clicking in a virtual machine. 3. Release grab by pressing the "release grab" key. For VirtualBox this is the Right Ctrl key (by default). What is the expected output? What do you see instead? I'd expect grab to be released and I'd expect the mouse and keyboard to work as before being grabbed. What happens is this: The keyboard and mouse grab is released. The mouse pointer moves about when I move the mouse, but no mouse events are registered by the X server. The keyboard seems to work fine for navigating around in Xmonad/terminals(konsole) and emacs, but the keyboard does *not* work properly in Firefox/Konqueror/Ktorrent (for example). In the affected programs (Firefox, etc.) the keyboard works briefly, but after a few seconds (at most) all further keypresses are ignored completely. If focus is switched away briefly and switched back to Firefox, the keyboard works again for a few seconds, but then stops working again (repeat ad nauseam). I have not been able to reproduce this behavior in KDE (kwin), but it happens very frequently when releasing grab from VirtualBox in Xmonad. The behavior also happens even if you enable "mouse integration" (i.e. smooth movement of the mouse from/to the virtual machine without having to explicitly release grab) in VirtualBox, but I believe this also uses X11 grab behind the scenes even though you can't really see it. I'm not sure I have any other programs which grab the keyboard/mouse, so I cannot be sure whether this issue is solely related to VirtualBox/xmonad interaction. I've also tried various combinations of layouts, etc. and I don't believe it has anything to do with layout choices. What version of the product are you using? On what operating system? xmonad-0.8 + xmonad-contrib-0.8 compiled using the "official" Gentoo ebuilds. Issue attributes: Status: New Owner: ---- Labels: Type-Defect Priority-Medium -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sat Sep 20 04:56:59 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sat Sep 20 04:54:16 2008 Subject: [xmonad] Issue 221 in xmonad: Grabbing/releasing grab makes mouse inactive Message-ID: <0016e64355de3debc80457500023@google.com> Issue 221: Grabbing/releasing grab makes mouse inactive http://code.google.com/p/xmonad/issues/detail?id=221 Comment #1 by domi...@dbruhn.de: I can NOT confirm this using QEmu/KVM (Release Key is here left ctrl+left alt) using xmonad, xmonadcontrib from darcs on debian unstable. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sat Sep 20 05:30:04 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sat Sep 20 05:27:20 2008 Subject: [xmonad] Issue 221 in xmonad: Grabbing/releasing grab makes mouse inactive Message-ID: <0016361e8890868e90045750766b@google.com> Issue 221: Grabbing/releasing grab makes mouse inactive http://code.google.com/p/xmonad/issues/detail?id=221 Comment #2 by bardur.arantsson: I've just tested with KVM myself, and everything seems to work fine there, so there is probably something peculiar about how VirtualBox does the grab/release. As mentioned the issue doesn't seem to appear in KDE/kwin, so I suspect there is still something wrong with the focus handling in xmonad (rather than VirtualBox being broken). I'll try to do a bit further testing in KDE/kwin (some of the installed X11 stuff has changed since my last test) and see what I come up with. Meanwhile, is there any kind of X11 event sniffing or anything like that I can do to help debug this? -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sat Sep 20 05:34:06 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sat Sep 20 05:31:23 2008 Subject: [xmonad] Issue 221 in xmonad: Grabbing/releasing grab makes mouse inactive Message-ID: <0016361e88e4fc3d7404575084d0@google.com> Issue 221: Grabbing/releasing grab makes mouse inactive http://code.google.com/p/xmonad/issues/detail?id=221 Comment #3 by domi...@dbruhn.de: Perhaps the xev application (run it on a console) might help -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sat Sep 20 05:57:08 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sat Sep 20 05:54:24 2008 Subject: [xmonad] Issue 221 in xmonad: Grabbing/releasing grab makes mouse inactive Message-ID: <001485f945a652a40a045750d7d9@google.com> Issue 221: Grabbing/releasing grab makes mouse inactive http://code.google.com/p/xmonad/issues/detail?id=221 Comment #4 by bardur.arantsson: I did a more thorough test with VirtualBox in KDE, and it exhibits the same issue. So this is probably an issue with the VirtualBox/X server. Apologies for the bogus report. I'll try reporting this as a VirtualBox/Xorg bug instead. (Just as an aside: Once the X server is in the broken state, xev reports no mouse events at all.) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From codesite-noreply at google.com Sat Sep 20 06:59:19 2008 From: codesite-noreply at google.com (codesite-noreply@google.com) Date: Sat Sep 20 06:56:34 2008 Subject: [xmonad] Issue 221 in xmonad: Grabbing/releasing grab makes mouse inactive Message-ID: <00151750da78b0a358045751b5c7@google.com> Issue 221: Grabbing/releasing grab makes mouse inactive http://code.google.com/p/xmonad/issues/detail?id=221 Comment #5 by m...@twifkak.com: Good luck. Issue attribute updates: Status: Invalid -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings From gwern0 at gmail.com Sat Sep 20 11:26:25 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sat Sep 20 11:26:11 2008 Subject: [xmonad] darcs patch: +XMonad.Util.XPaste: a module for pastin... (and 1 more) Message-ID: <48d516b4.2009360a.4cd2.ffffbc7c@mx.google.com> Sat Sep 20 11:21:06 EDT 2008 gwern0@gmail.com * +XMonad.Util.XPaste: a module for pasting strings to windows Sat Sep 20 11:23:42 EDT 2008 gwern0@gmail.com * XPaste.hs: improve author info -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 32938 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080920/15538c9f/attachment-0001.bin From gwern0 at gmail.com Sat Sep 20 11:33:43 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sat Sep 20 11:32:26 2008 Subject: [xmonad] Problem CPP'ifying XSelection.hs Message-ID: <20080920153343.GA26933@craft> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080920/d63bd7da/attachment-0001.bin From gwern0 at gmail.com Sat Sep 20 11:37:56 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sat Sep 20 11:36:08 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080919204025.GA32481@celeborn> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> <20080913035708.GA32075@twifkak.com> <20080919183300.GA8625@craft> <20080919204025.GA32481@celeborn> Message-ID: <20080920153756.GB26933@craft> On 2008.09.19 15:40:25 -0500, Spencer Janssen scribbled 2.0K characters: > On Fri, Sep 19, 2008 at 02:33:00PM -0400, Gwern Branwen wrote: ... > If I might suggest a few name changes: > - change sendKeyScreen to sendKey > - change sendKeysym to sendKeyWindow Good suggestions. I've done so. I also did a copy-replace of 'paste' for 'send', to assist people in searching. I suspect many more people will think 'paste' than 'send', even if the low-level X functions are named in terms of the latter. > > My first question is, is there any way to scrap all the KeyMask plumbing? I looked at the X11 docs, but there doesn't seem to be any null modmask - mod1Mask is Alt, Shift is Shift, and so on. > > KeyMask is a bitmask, so 0 is the no modifiers pressed state. I'd also leave > the KeyMask argument on sendKeysym and sendKeyscreen -- some users want to send > keys with modifiers (eg. the person that started this thread). Ah. I feel a little guilty bypassing the Mod* types to plug in in a 0, but it works, it seems. > > My second question is, why does 'keysymToKeycode' take a String? I manually played around with it in GHCi and it seems every String which isn't a Char always gets evaluated to '0'. > > I assume you mean stringToKeysym. Try: stringToKeysym "F1". You should > probably filter out the 0 results when sending a string, or perhaps throw an > error. > > Cheers, > Spencer Janssen Maybe. It's not really an issue for this code, is it? Since the type only takes Char, one cannot make it run stringToKeysym on a invalid string like "foo". And the functions lower down are in terms of Keysyms. (Although I wonder if perhaps that bit of functionality should be explored in the X11 haddocks. I didn't notice anything in particular.) ---- Well, anyway. I've sent in a module if people want to look at it. -- gwern Bluebird 5707 Kosovo Zemin XM Guppy Internet NVD ABC SGI -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080920/c8dcde00/attachment.bin From allbery at ece.cmu.edu Sat Sep 20 12:28:24 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Sat Sep 20 12:25:45 2008 Subject: [xmonad] Problem CPP'ifying XSelection.hs In-Reply-To: <20080920153343.GA26933@craft> References: <20080920153343.GA26933@craft> Message-ID: <7389D34D-4F02-4E54-8977-71B6DBD1AB71@ece.cmu.edu> On 2008 Sep 20, at 11:33, Gwern Branwen wrote: > I finished editing, and everything looked dandy, but everytime I > compiled, or loaded into GHCi (with :set -DUTF8), it fails to > compile! And it fails to compile in a way that really perplexes me: > > Could not find module `Codec.Binary': > Use -v to see a list of the files searched for. > > Line 34 reads: > > import Codec.Binary.UTF8.String (decode) The "UTF8" in that import is being converted to "1", because cpp sees "UTF8" as the macro you -D-d. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From allbery at ece.cmu.edu Sat Sep 20 12:31:22 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Sat Sep 20 12:28:43 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080920153756.GB26933@craft> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> <20080913035708.GA32075@twifkak.com> <20080919183300.GA8625@craft> <20080919204025.GA32481@celeborn> <20080920153756.GB26933@craft> Message-ID: <98CA5FD8-496E-473B-9294-54345A094EDE@ece.cmu.edu> On 2008 Sep 20, at 11:37, Gwern Branwen wrote: > On 2008.09.19 15:40:25 -0500, Spencer Janssen > scribbled 2.0K characters: >> On Fri, Sep 19, 2008 at 02:33:00PM -0400, Gwern Branwen wrote: >>> My first question is, is there any way to scrap all the KeyMask >>> plumbing? I looked at the X11 docs, but there doesn't seem to be >>> any null modmask - mod1Mask is Alt, Shift is Shift, and so on. >> >> KeyMask is a bitmask, so 0 is the no modifiers pressed state. I'd >> also leave >> the KeyMask argument on sendKeysym and sendKeyscreen -- some users >> want to send >> keys with modifiers (eg. the person that started this thread). > > Ah. I feel a little guilty bypassing the Mod* types to plug in in a > 0, but it works, it seems. You might export a noModMask = 0. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From gwern0 at gmail.com Sat Sep 20 13:12:59 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sat Sep 20 13:11:23 2008 Subject: [xmonad] Problem CPP'ifying XSelection.hs In-Reply-To: <7389D34D-4F02-4E54-8977-71B6DBD1AB71@ece.cmu.edu> References: <20080920153343.GA26933@craft> <7389D34D-4F02-4E54-8977-71B6DBD1AB71@ece.cmu.edu> Message-ID: <20080920171259.GA8718@craft> On 2008.09.20 12:28:24 -0400, "Brandon S. Allbery KF8NH" scribbled 0.6K characters: > On 2008 Sep 20, at 11:33, Gwern Branwen wrote: >> I finished editing, and everything looked dandy, but everytime I >> compiled, or loaded into GHCi (with :set -DUTF8), it fails to compile! >> And it fails to compile in a way that really perplexes me: >> >> Could not find module `Codec.Binary': >> Use -v to see a list of the files searched for. >> >> Line 34 reads: >> >> import Codec.Binary.UTF8.String (decode) > > The "UTF8" in that import is being converted to "1", because cpp sees > "UTF8" as the macro you -D-d. > > -- > brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com I don't entirely see, but what can I do? I have to import from UTF8.String because that's where decode is, and the UTF8 CPP flag is out of my hands as it is defined elsewhere than XSelection.hs. Also, I'm not sure that's the problem. Fonts.hsc uses the UTF8 flag, and it imports from Codec.Binary.UTF8.String as well; and yet, I've never seen any such compile error with it. -- gwern CIDA Wireless CID Ti president NIMA E.O.D. Sugar Peking of -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080920/a219a4fd/attachment.bin From gwern0 at gmail.com Sat Sep 20 13:14:27 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sat Sep 20 13:12:29 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <98CA5FD8-496E-473B-9294-54345A094EDE@ece.cmu.edu> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> <20080913035708.GA32075@twifkak.com> <20080919183300.GA8625@craft> <20080919204025.GA32481@celeborn> <20080920153756.GB26933@craft> <98CA5FD8-496E-473B-9294-54345A094EDE@ece.cmu.edu> Message-ID: <20080920171427.GA8947@craft> On 2008.09.20 12:31:22 -0400, "Brandon S. Allbery KF8NH" scribbled 0.9K characters: > On 2008 Sep 20, at 11:37, Gwern Branwen wrote: >> On 2008.09.19 15:40:25 -0500, Spencer Janssen > > scribbled 2.0K characters: >>> On Fri, Sep 19, 2008 at 02:33:00PM -0400, Gwern Branwen wrote: >>>> My first question is, is there any way to scrap all the KeyMask >>>> plumbing? I looked at the X11 docs, but there doesn't seem to be >>>> any null modmask - mod1Mask is Alt, Shift is Shift, and so on. >>> >>> KeyMask is a bitmask, so 0 is the no modifiers pressed state. I'd >>> also leave >>> the KeyMask argument on sendKeysym and sendKeyscreen -- some users >>> want to send >>> keys with modifiers (eg. the person that started this thread). >> >> Ah. I feel a little guilty bypassing the Mod* types to plug in in a 0, >> but it works, it seems. > > You might export a noModMask = 0. > > -- > brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com That would work, certainly. But isn't that really the X11 library's job? Intuitively, defining noModMask in XPaste.hs feels wrong & completely out of place. -- gwern Shayet-13 fake Freedom Recce b Richard DSNET2 Ortega MI6 CMW -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080920/a3f80075/attachment.bin From allbery at ece.cmu.edu Sat Sep 20 13:17:49 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Sat Sep 20 13:15:06 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080920171427.GA8947@craft> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> <20080913035708.GA32075@twifkak.com> <20080919183300.GA8625@craft> <20080919204025.GA32481@celeborn> <20080920153756.GB26933@craft> <98CA5FD8-496E-473B-9294-54345A094EDE@ece.cmu.edu> <20080920171427.GA8947@craft> Message-ID: On 2008 Sep 20, at 13:14, Gwern Branwen wrote: > On 2008.09.20 12:31:22 -0400, "Brandon S. Allbery KF8NH" > scribbled 0.9K characters: >> On 2008 Sep 20, at 11:37, Gwern Branwen wrote: >>> On 2008.09.19 15:40:25 -0500, Spencer Janssen >>> scribbled 2.0K characters: >>>> On Fri, Sep 19, 2008 at 02:33:00PM -0400, Gwern Branwen wrote: >>>>> My first question is, is there any way to scrap all the KeyMask >>>>> plumbing? I looked at the X11 docs, but there doesn't seem to be >>>>> any null modmask - mod1Mask is Alt, Shift is Shift, and so on. >>>> >>>> KeyMask is a bitmask, so 0 is the no modifiers pressed state. I'd >>>> also leave >>>> the KeyMask argument on sendKeysym and sendKeyscreen -- some users >>>> want to send >>>> keys with modifiers (eg. the person that started this thread). >>> >>> Ah. I feel a little guilty bypassing the Mod* types to plug in in >>> a 0, >>> but it works, it seems. >> >> You might export a noModMask = 0. >> > That would work, certainly. But isn't that really the X11 library's > job? Intuitively, defining noModMask in XPaste.hs feels wrong & > completely out of place. Yes, ideally it'd be in XPaste.hs; the likely reason it's not there is that it's a straight port of the C code so it's using a C-style bit mask instead of something more Haskelly like a list or set of an Enum a => a type. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From me at twifkak.com Sat Sep 20 18:45:05 2008 From: me at twifkak.com (Devin Mullins) Date: Sat Sep 20 18:42:18 2008 Subject: [xmonad] darcs patch: +XMonad.Util.XPaste: a module for pastin... (and 1 more) In-Reply-To: <48d516b4.2009360a.4cd2.ffffbc7c@mx.google.com> References: <48d516b4.2009360a.4cd2.ffffbc7c@mx.google.com> Message-ID: <20080920224504.GA19382@twifkak.com> On Sat, Sep 20, 2008 at 11:26:25AM -0400, gwern0@gmail.com wrote: > Sat Sep 20 11:21:06 EDT 2008 gwern0@gmail.com > * +XMonad.Util.XPaste: a module for pasting strings to windows > > Sat Sep 20 11:23:42 EDT 2008 gwern0@gmail.com > * XPaste.hs: improve author info Applied, thanks! Though I like send, myself. From me at twifkak.com Sat Sep 20 18:52:43 2008 From: me at twifkak.com (Devin Mullins) Date: Sat Sep 20 18:49:58 2008 Subject: [xmonad] Problem CPP'ifying XSelection.hs In-Reply-To: <20080920153343.GA26933@craft> References: <20080920153343.GA26933@craft> Message-ID: <20080920225243.GB19382@twifkak.com> On Sat, Sep 20, 2008 at 11:33:43AM -0400, Gwern Branwen wrote: > I finished editing, and everything looked dandy, but everytime I > compiled, or loaded into GHCi (with :set -DUTF8), it fails to compile! > And it fails to compile in a way that really perplexes me: Wild guess here, but perhaps it is going against a version of XSelection.hs compiled without -DUTF8? In other words, did you call Setup.lhs configure -f with_utf8? From gwern0 at gmail.com Sat Sep 20 19:04:59 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sat Sep 20 19:03:27 2008 Subject: [xmonad] darcs patch: +XMonad.Util.XPaste: a module for pastin... (and 1 more) In-Reply-To: <20080920224504.GA19382@twifkak.com> References: <48d516b4.2009360a.4cd2.ffffbc7c@mx.google.com> <20080920224504.GA19382@twifkak.com> Message-ID: <20080920230459.GA10977@craft> On 2008.09.20 15:45:05 -0700, Devin Mullins scribbled 0.3K characters: > On Sat, Sep 20, 2008 at 11:26:25AM -0400, gwern0@gmail.com wrote: > > Sat Sep 20 11:21:06 EDT 2008 gwern0@gmail.com > > * +XMonad.Util.XPaste: a module for pasting strings to windows > > > > Sat Sep 20 11:23:42 EDT 2008 gwern0@gmail.com > > * XPaste.hs: improve author info > > Applied, thanks! Though I like send, myself. Well, as I said: I thought about it, and while 'send' may be the right prefix from the developer's perspective, it isn't from a user's. Send has the wrong connotations; there's a universal, decades-old term for what is being done, and that's "paste". -- gwern New cocaine RDI nonac CTU NAVCM TACSAT Computer Secert WASS -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080920/b9c21ace/attachment-0001.bin From gwern0 at gmail.com Sat Sep 20 19:06:28 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sat Sep 20 19:04:51 2008 Subject: [xmonad] Problem CPP'ifying XSelection.hs In-Reply-To: <20080920225243.GB19382@twifkak.com> References: <20080920153343.GA26933@craft> <20080920225243.GB19382@twifkak.com> Message-ID: <20080920230628.GB10977@craft> On 2008.09.20 15:52:43 -0700, Devin Mullins scribbled 0.4K characters: > On Sat, Sep 20, 2008 at 11:33:43AM -0400, Gwern Branwen wrote: > > I finished editing, and everything looked dandy, but everytime I > > compiled, or loaded into GHCi (with :set -DUTF8), it fails to compile! > > And it fails to compile in a way that really perplexes me: > > Wild guess here, but perhaps it is going against a version of > XSelection.hs compiled without -DUTF8? In other words, did you call > Setup.lhs configure -f with_utf8? I've watched the configure; the utf8 is True (as is the default). Presumably if the flag weren't True, were False, then the codec import would never be reached, it would just reveal the in-file definition of 'decode'. So I don't think it has to do with the configure invocation unless I've missed something. -- gwern New cocaine RDI nonac CTU NAVCM TACSAT Computer Secert WASS -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080920/c84c71c8/attachment.bin From gwern0 at gmail.com Sun Sep 21 00:21:24 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sun Sep 21 00:20:27 2008 Subject: [xmonad] darcs patch: XPaste.hs: implement noModMask suggestion Message-ID: <48d5cc2d.8905be0a.7be8.ffffbd6e@mx.google.com> Sun Sep 21 00:20:24 EDT 2008 gwern0@gmail.com * XPaste.hs: implement noModMask suggestion -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 30368 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/885fddc9/attachment-0001.bin From gwern0 at gmail.com Sun Sep 21 00:24:56 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sun Sep 21 00:25:06 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter Message-ID: <48d5cd45.8602be0a.77cb.4de2@mx.google.com> Thu Aug 14 18:42:17 EDT 2008 gwern0@gmail.com * XMonad.Core: make spawn smarter Have spawn examine $SHELL if it exists. $SHELL is the user's preferred shell, and may do many things the user wants but the default /bin/sh does not. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 118556 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/78ad58b9/attachment-0001.bin From allbery at ece.cmu.edu Sun Sep 21 00:32:06 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Sun Sep 21 00:29:25 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: <48d5cd45.8602be0a.77cb.4de2@mx.google.com> References: <48d5cd45.8602be0a.77cb.4de2@mx.google.com> Message-ID: On 2008 Sep 21, at 0:24, gwern0@gmail.com wrote: > - -spawn x = doubleFork $ executeFile "/bin/sh" False ["-c", x] > Nothing > +spawn x = io $ do shell <- getEnv "$SHELL" `catch` (\_ -> return "/ > bin/sh") > + doubleFork $ executeFile shell False ["-c", x] > Nothing As seen by getEnv, it's just "SHELL". This code looks for $SHELL, which most shells other than rc will balk at creating. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.haskell.org/pipermail/xmonad/attachments/20080921/c063c979/attachment.htm From gwern0 at gmail.com Sun Sep 21 00:33:58 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sun Sep 21 00:33:14 2008 Subject: [xmonad] darcs patch: sp README, CONFIG, STYLE, TODO Message-ID: <48d5cf2e.e203be0a.5a51.ffff8d46@mx.google.com> Fri Sep 12 22:44:57 EDT 2008 gwern0@gmail.com * sp README, CONFIG, STYLE, TODO -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 121737 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/02f4e1cc/attachment-0001.bin From gwern0 at gmail.com Sun Sep 21 01:32:21 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sun Sep 21 01:30:40 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter Message-ID: <48d5dca6.c505be0a.19cb.5cfa@mx.google.com> Sun Sep 21 01:30:17 EDT 2008 gwern0@gmail.com * XMonad.Core: make spawn smarter Have spawn examine $SHELL if it exists. $SHELL is the user's preferred shell, and may do many things the user wants but the default /bin/sh does not. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 5788 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/263f5fb7/attachment.bin From gwern0 at gmail.com Sun Sep 21 01:33:38 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sun Sep 21 01:32:05 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter Message-ID: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> Sun Sep 21 01:30:17 EDT 2008 gwern0@gmail.com * XMonad.Core: make spawn smarter Have spawn examine $SHELL if it exists. $SHELL is the user's preferred shell, and may do many things the user wants but the default /bin/sh does not. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 5788 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/62ca64e0/attachment.bin From gwern0 at gmail.com Sun Sep 21 01:34:19 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sun Sep 21 01:32:52 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: References: <48d5cd45.8602be0a.77cb.4de2@mx.google.com> Message-ID: <20080921053419.GA23839@craft> On 2008.09.21 00:32:06 -0400, "Brandon S. Allbery KF8NH" scribbled 4.7K characters: > On 2008 Sep 21, at 0:24, gwern0@gmail.com wrote: > > - -spawn x = doubleFork $ executeFile "/bin/sh" False ["-c", x] Nothing > +spawn x = io $ do shell <- getEnv "$SHELL" `catch` (\_ -> return "/bin/sh") > + doubleFork $ executeFile shell False ["-c", x] Nothing > > As seen by getEnv, it's just "SHELL". This code looks for $SHELL, which most shells other > than rc will balk at creating. > -- > brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com Oh, d'oh! I knew that... I shall amend-record that forthwith. -- gwern Flintlock Hamas RIT Abdurahmon BECCA EG -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/01e57e31/attachment.bin From spencerjanssen at gmail.com Sun Sep 21 01:59:13 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Sun Sep 21 01:56:30 2008 Subject: [xmonad] darcs patch: +XMonad.Util.XPaste: a module for pastin... (and 1 more) In-Reply-To: <48d516b4.2009360a.4cd2.ffffbc7c@mx.google.com> References: <48d516b4.2009360a.4cd2.ffffbc7c@mx.google.com> Message-ID: <20080921055913.GA7387@celeborn> On Sat, Sep 20, 2008 at 11:26:25AM -0400, gwern0@gmail.com wrote: > Sat Sep 20 11:21:06 EDT 2008 gwern0@gmail.com > * +XMonad.Util.XPaste: a module for pasting strings to windows > > Sat Sep 20 11:23:42 EDT 2008 gwern0@gmail.com > * XPaste.hs: improve author info Comments should be wrapped at 80 characters or so, please do this in the future. Long comment lines are rather annoying to the xmonad users that like to tile editor windows side by side. Cheers, Spencer Janssen From spencerjanssen at gmail.com Sun Sep 21 02:20:03 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Sun Sep 21 02:17:19 2008 Subject: [xmonad] X11 1.4.3 released Message-ID: <20080921062003.GB7387@celeborn> X11 1.4.3 has been released: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.4.3 This version is now required due to gwern's "XPaste" patch. xmonad packagers should take steps to update to this new version in order to be ready for xmonad 0.9. Cheers, Spencer Janssen From spencerjanssen at gmail.com Sun Sep 21 02:29:14 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Sun Sep 21 02:26:31 2008 Subject: [xmonad] Problem CPP'ifying XSelection.hs In-Reply-To: <20080920153343.GA26933@craft> References: <20080920153343.GA26933@craft> Message-ID: <20080921062914.GC7387@celeborn> On Sat, Sep 20, 2008 at 11:33:43AM -0400, Gwern Branwen wrote: > So per a suggestion from sjanssen, I was refactoring my XSelection.hs to optionally use the 'decode' from utf8-string. (When I originally was writing it, utf8-string wasn't even optionally available, so I had copied in the decode definition.) > > I finished editing, and everything looked dandy, but everytime I compiled, or loaded into GHCi (with :set -DUTF8), it fails to compile! And it fails to compile in a way that really perplexes me: > > Could not find module `Codec.Binary': > Use -v to see a list of the files searched for. > > Line 34 reads: > > import Codec.Binary.UTF8.String (decode) > Note that the two lines disagree on what is being imported... > > I tried reinstalling utf8-string and X11-xft, thinking perhaps that was the problem, but that is not it. I can load utf8-string modules fine in GHCi; I can swap out that import line for 'import Codec.Binary.Anythingelse', but the moment I use .Utf8.*, it fails. And I've looked over my changes several times, but it looks to me to be the same as the CPP usage in Fonts.hsc, for example; and if -DUTF8 isn't set, it works fine. > > I am a little stumped. I can't darcs send it because I don't know if the code is broken or not - it could just be my system. Find the patch attached. > > -- > gwern > Bluebird 5707 Kosovo Zemin XM Guppy Internet NVD ABC SGI I believe that the UTF8 is being replaced by "1", which breaks the import statement. This seems to work in Font.hsc, I suspect that is because hsc2hs uses a different C pre-processor. The solution is to change our defined name from "UTF8" to something else ("USE_UTF8" for example). Be sure to update all other files that use the "UTF8" macro. Cheers, Spencer Janssen From spencerjanssen at gmail.com Sun Sep 21 02:35:08 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Sun Sep 21 02:32:24 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080920153756.GB26933@craft> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> <20080913035708.GA32075@twifkak.com> <20080919183300.GA8625@craft> <20080919204025.GA32481@celeborn> <20080920153756.GB26933@craft> Message-ID: <20080921063508.GD7387@celeborn> On Sat, Sep 20, 2008 at 11:37:56AM -0400, Gwern Branwen wrote: > Maybe. It's not really an issue for this code, is it? Since the type only takes Char, one cannot make it run stringToKeysym on a invalid string like "foo". And the functions lower down are in terms of Keysyms. (Although I wonder if perhaps that bit of functionality should be explored in the X11 haddocks. I didn't notice anything in particular.) stringToKeysym will have trouble with characters outside the ASCII range. In any case, there's no sense in sending '0' KeySyms to windows. Cheers, Spencer Janssen From nomeata at debian.org Sun Sep 21 06:47:28 2008 From: nomeata at debian.org (Joachim Breitner) Date: Sun Sep 21 06:44:44 2008 Subject: [xmonad] X11 1.4.3 released In-Reply-To: <20080921062003.GB7387@celeborn> References: <20080921062003.GB7387@celeborn> Message-ID: <1221994048.3364.4.camel@otto.ehbuehl.net> Hi, Am Sonntag, den 21.09.2008, 01:20 -0500 schrieb Spencer Janssen: > X11 1.4.3 has been released: > > http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.4.3 > > This version is now required due to gwern's "XPaste" patch. xmonad packagers > should take steps to update to this new version in order to be ready for xmonad > 0.9. tracked as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499687 for Debian. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Dies ist ein digital signierter Nachrichtenteil Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/865ccc19/attachment.bin From gwern0 at gmail.com Sun Sep 21 11:33:05 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sun Sep 21 11:31:29 2008 Subject: [xmonad] X11 1.4.3 released In-Reply-To: <20080921062003.GB7387@celeborn> References: <20080921062003.GB7387@celeborn> Message-ID: <20080921153305.GA14541@craft> On 2008.09.21 01:20:03 -0500, Spencer Janssen scribbled 0.3K characters: > X11 1.4.3 has been released: > > http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.4.3 > > This version is now required due to gwern's "XPaste" patch. xmonad packagers > should take steps to update to this new version in order to be ready for xmonad > 0.9. > > Cheers, > Spencer Janssen Spencer, did you update the darcs X11 repo? I've pulled a fresh copy, and the cabal file is still 1.4.2. -- gwern Armani rounds World 7NL Medco Bunny Consul TECS ssor SBI -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/3f0d243f/attachment.bin From dons at galois.com Sun Sep 21 11:36:26 2008 From: dons at galois.com (Don Stewart) Date: Sun Sep 21 11:33:32 2008 Subject: [xmonad] X11 1.4.3 released In-Reply-To: <20080921153305.GA14541@craft> References: <20080921062003.GB7387@celeborn> <20080921153305.GA14541@craft> Message-ID: <20080921153626.GA23606@scytale.galois.com> gwern0: > On 2008.09.21 01:20:03 -0500, Spencer Janssen scribbled 0.3K characters: > > X11 1.4.3 has been released: > > > > http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.4.3 > > > > This version is now required due to gwern's "XPaste" patch. xmonad packagers > > should take steps to update to this new version in order to be ready for xmonad > > 0.9. > > > > Cheers, > > Spencer Janssen > > Spencer, did you update the darcs X11 repo? I've pulled a fresh copy, > and the cabal file is still 1.4.2. Done. -- Don From gwern0 at gmail.com Sun Sep 21 11:41:23 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sun Sep 21 11:40:01 2008 Subject: [xmonad] darcs patch: XSelection.hs: use CPP to compile agains... (and 1 more) Message-ID: <48d66b76.0504c00a.79bd.199c@mx.google.com> Sat Sep 20 11:16:15 EDT 2008 gwern0@gmail.com * XSelection.hs: use CPP to compile against utf8-string Sun Sep 21 11:40:14 EDT 2008 gwern0@gmail.com * -DUTF8 flag with -DUSE_UTF8 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 35979 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/d6cb6682/attachment-0001.bin From gwern0 at gmail.com Sun Sep 21 11:50:58 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sun Sep 21 11:49:37 2008 Subject: [xmonad] Ratpoison key emulation In-Reply-To: <20080921063508.GD7387@celeborn> References: <20080629123857.GA16952@craft> <20080703234612.GK27615@qamar> <20080712043418.GF27407@craft> <20080713152655.GC29707@qamar> <20080913025647.GA13894@craft> <20080913035708.GA32075@twifkak.com> <20080919183300.GA8625@craft> <20080919204025.GA32481@celeborn> <20080920153756.GB26933@craft> <20080921063508.GD7387@celeborn> Message-ID: <20080921155058.GA28838@craft> On 2008.09.21 01:35:08 -0500, Spencer Janssen scribbled 0.6K characters: > On Sat, Sep 20, 2008 at 11:37:56AM -0400, Gwern Branwen wrote: > > Maybe. It's not really an issue for this code, is it? Since the type only takes Char, one cannot make it run stringToKeysym on a invalid string like "foo". And the functions lower down are in terms of Keysyms. (Although I wonder if perhaps that bit of functionality should be explored in the X11 haddocks. I didn't notice anything in particular.) > > stringToKeysym will have trouble with characters outside the ASCII range. In > any case, there's no sense in sending '0' KeySyms to windows. > > Cheers, > Spencer Janssen Hm. I'd better add a warning to that effect then. -- gwern -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/c95b8b47/attachment.bin From gwern0 at gmail.com Sun Sep 21 11:52:30 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sun Sep 21 11:53:08 2008 Subject: [xmonad] darcs patch: Paste.hs: shorten comment lines to under... (and 1 more) Message-ID: <48d66e8b.2786460a.686f.fffffe5c@mx.google.com> Sun Sep 21 11:49:50 EDT 2008 gwern0@gmail.com * Paste.hs: shorten comment lines to under 80 columns per sjanssen Sun Sep 21 11:50:38 EDT 2008 gwern0@gmail.com * Paste.hs: +warning about ASCII limitations -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 32087 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/c0c99fb1/attachment-0001.bin From me at twifkak.com Sun Sep 21 17:04:32 2008 From: me at twifkak.com (Devin Mullins) Date: Sun Sep 21 17:01:44 2008 Subject: [xmonad] darcs patch: Paste.hs: shorten comment lines to under... (and 1 more) In-Reply-To: <48d66e8b.2786460a.686f.fffffe5c@mx.google.com> References: <48d66e8b.2786460a.686f.fffffe5c@mx.google.com> Message-ID: <20080921210432.GA22037@twifkak.com> On Sun, Sep 21, 2008 at 11:52:30AM -0400, gwern0@gmail.com wrote: > Sun Sep 21 11:49:50 EDT 2008 gwern0@gmail.com > * Paste.hs: shorten comment lines to under 80 columns per sjanssen > > Sun Sep 21 11:50:38 EDT 2008 gwern0@gmail.com > * Paste.hs: +warning about ASCII limitations Applied, thanks. From daniel at wagner-home.com Sun Sep 21 21:11:40 2008 From: daniel at wagner-home.com (daniel@wagner-home.com) Date: Sun Sep 21 21:07:31 2008 Subject: [xmonad] darcs patch: let Grid have a configurable aspect ratio goal Message-ID: <20080922011140.91DA7376F9@buckwheat> Sun Sep 21 21:09:50 EDT 2008 daniel@wagner-home.com * let Grid have a configurable aspect ratio goal -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 5212 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080921/f4f2713b/attachment.bin From me at twifkak.com Sun Sep 21 23:36:09 2008 From: me at twifkak.com (Devin Mullins) Date: Sun Sep 21 23:33:20 2008 Subject: [xmonad] darcs patch: let Grid have a configurable aspect ratio goal In-Reply-To: <20080922011140.91DA7376F9@buckwheat> References: <20080922011140.91DA7376F9@buckwheat> Message-ID: <20080922033609.GA22762@twifkak.com> On Sun, Sep 21, 2008 at 09:11:40PM -0400, daniel@wagner-home.com wrote: > Sun Sep 21 21:09:50 EDT 2008 daniel@wagner-home.com > * let Grid have a configurable aspect ratio goal Applied (with add'l patch, as discussed), thanks! From abailly at oqube.com Mon Sep 22 01:52:49 2008 From: abailly at oqube.com (Arnaud Bailly) Date: Mon Sep 22 01:52:17 2008 Subject: [xmonad] Problem running Xmonad Message-ID: Hello, I am trying to get xmonad running on my laptop (ubuntu hardy) and run into some small but annoying problems which I cannot solve browsing through the docs: - I do not have extra workspaces: mod + 1 ..9 does not work - I do not have power management: just need suspend when lid is shutdown. I tried launching gnome-power-manager with gnome-settings-daemon but this does not work, reporting failure to connect to dbus - fonts aren't antialiased on firefox (very minor, I know, but unpleasing to the eyes) I would greatly appreciate any help. Thanks Arnaud From blasdelf at gmail.com Mon Sep 22 06:20:04 2008 From: blasdelf at gmail.com (Fred Blasdel) Date: Mon Sep 22 06:17:15 2008 Subject: [xmonad] Problem running Xmonad In-Reply-To: References: Message-ID: On Sun, Sep 21, 2008 at 10:52 PM, Arnaud Bailly wrote: > > - I do not have extra workspaces: mod + 1 ..9 does not work What config are you using? That's where magic like that is bound. > - I do not have power management: just need suspend when lid is shutdown. I > tried launching gnome-power-manager with gnome-settings-daemon but this does not > work, reporting failure to connect to dbus xmonad's parent process needs to be a part of a dbus. In your .xinitrc or .xsession or wherever, use "dbus-launch xmonad". Then all the processes that are children of xmonad (or whatever you execute with dbus-launch) will be able to communicate via that session bus. -- Fred From abailly at oqube.com Mon Sep 22 08:57:56 2008 From: abailly at oqube.com (Arnaud Bailly) Date: Mon Sep 22 08:55:15 2008 Subject: [xmonad] Re: Problem running Xmonad References: Message-ID: Hello, Fred Blasdel writes: > > On Sun, Sep 21, 2008 at 10:52 PM, Arnaud Bailly wrote: > > > > - I do not have extra workspaces: mod + 1 ..9 does not work > > What config are you using? That's where magic like that is bound. Here is my .xmonad/xmonad.hs: import XMonad import XMonad.Config.Gnome import XMonad.Hooks.DynamicLog import XMonad.Hooks.ManageDocks import XMonad.Util.Run(spawnPipe) import XMonad.Util.EZConfig(additionalKeys) import System.IO main = xmonad gnomeConfig { manageHook = manageDocks <+> manageHook defaultConfig ,layoutHook = avoidStruts $ layoutHook defaultConfig ,modMask = mod4Mask } Actually, I removed .gnome2/session file and added WINDOW_MANAGER variable to .gnomerc and now have gnome + xmonad running. I still do not have workspace switching, but power management is OK. Thanks a lot for your answers. I shall continue my exploration of xmonad.. Arnaud From me at twifkak.com Mon Sep 22 13:02:53 2008 From: me at twifkak.com (Devin Mullins) Date: Mon Sep 22 13:00:02 2008 Subject: [xmonad] Re: Problem running Xmonad In-Reply-To: References: Message-ID: <20080922170253.GA24231@twifkak.com> On Mon, Sep 22, 2008 at 12:57:56PM +0000, Arnaud Bailly wrote: > main = xmonad gnomeConfig { > manageHook = manageDocks <+> manageHook defaultConfig > ,layoutHook = avoidStruts $ layoutHook defaultConfig gnomeConfig already includes manageDocks/avoidStruts. No need for the above two lines. > I still do not have workspace switching, but power management is OK. That sounds fishy -- other xmonad key bindings work? From briqueabraque at yahoo.com Mon Sep 22 14:49:40 2008 From: briqueabraque at yahoo.com (Mauricio) Date: Mon Sep 22 14:47:05 2008 Subject: [xmonad] Many login sessions Message-ID: Hi, When I use Ubuntu with default window management, I have an option to let some other user log, without unloging myself. Would that be possible with xmonad? Thanks, Maur?cio From xmonad at selg.hethrael.org Mon Sep 22 15:47:16 2008 From: xmonad at selg.hethrael.org (lithis) Date: Mon Sep 22 15:44:26 2008 Subject: [xmonad] Many login sessions In-Reply-To: References: Message-ID: <20080922194710.GE18072@web29.webfaction.com> On Mon, 2008/09/22 15:49:40 -0300, Mauricio wrote: > Hi, > > When I use Ubuntu with default window > management, I have an option to let > some other user log, without unloging > myself. Would that be possible with > xmonad? Run gdmflexiserver in xmonad to send you to the login screen. From abailly at oqube.com Mon Sep 22 18:19:11 2008 From: abailly at oqube.com (Arnaud Bailly) Date: Mon Sep 22 18:16:28 2008 Subject: [xmonad] Re: Problem running Xmonad References: <20080922170253.GA24231@twifkak.com> Message-ID: Devin Mullins writes: > > On Mon, Sep 22, 2008 at 12:57:56PM +0000, Arnaud Bailly wrote: > > main = xmonad gnomeConfig { > > manageHook = manageDocks <+> manageHook defaultConfig > > ,layoutHook = avoidStruts $ layoutHook defaultConfig > gnomeConfig already includes manageDocks/avoidStruts. No need for the > above two lines. OK. Just copy/paste between various configurations :-) > > > I still do not have workspace switching, but power management is OK. > That sounds fishy -- other xmonad key bindings work? > Yes. At least mod + shift + enter, mod + p, mod + tab. mod+q does not work but this seems to be a path problem. I have azerty keyboard where numbers are accessed with shift key on. But I tried activating numpad and it does not work either. Thanks Arnaud From blasdelf at gmail.com Mon Sep 22 23:44:32 2008 From: blasdelf at gmail.com (Fred Blasdel) Date: Mon Sep 22 23:41:39 2008 Subject: [xmonad] Re: Problem running Xmonad In-Reply-To: References: <20080922170253.GA24231@twifkak.com> Message-ID: On Mon, Sep 22, 2008 at 3:19 PM, Arnaud Bailly wrote: > > I have azerty keyboard where numbers are accessed with shift key on. That sounds like the issue, you'll probably have to futz around with xev, xkeycaps, and the xkb tools to get things straightened out > But I tried activating numpad and it does not work either. The numpad keys and normal numbers are different keypresses, then are mangled by your keyboard mapping, and then are mapped onto different keysyms (which is what xmonad uses as an xlib program). An easy way out would be to try defining the bindings again manually, only this time using "xK_KP_1" instead of "xK_1" so that the keypad is used. -- Fred From me at twifkak.com Tue Sep 23 00:55:17 2008 From: me at twifkak.com (Devin Mullins) Date: Tue Sep 23 00:52:24 2008 Subject: [xmonad] Re: Problem running Xmonad In-Reply-To: References: <20080922170253.GA24231@twifkak.com> Message-ID: <20080923045517.GA25663@twifkak.com> On Mon, Sep 22, 2008 at 08:44:32PM -0700, Fred Blasdel wrote: > An easy way out would be to try defining the bindings again manually, > only this time using "xK_KP_1" instead of "xK_1" so that the keypad is > used. As an example of this: import XMonad import qualified XMonad.StackSet as W import XMonad.Config.Gnome import XMonad.Util.EZConfig (additionalKeys) main = xmonad $ gnomeConfig { -- NOTE the extra $ sign modMask = mod4Mask } `additionalKeys` -- copied-ish from XMonad/Config.hs [((m .|. mod4Mask, k), windows $ f i) | (i, k) <- zip (workspaces gnomeConfig) [xK_KP_1 .. xK_KP_9] , (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]] Given that you're holding shift, I'm surprise it doesn't zap the window to the other workspace. I guess xev might help. Oh, you crazy kids and your keyboard layouts. From texitoi at texitoi.homelinux.org Tue Sep 23 05:02:59 2008 From: texitoi at texitoi.homelinux.org (TeXitoi) Date: Tue Sep 23 05:00:23 2008 Subject: [xmonad] Re: Problem running Xmonad References: <20080922170253.GA24231@twifkak.com> Message-ID: <87skrrgrp8.fsf@epiano.appart> Arnaud Bailly writes: > I have azerty keyboard where numbers are accessed with shift key > on. But I tried activating numpad and it does not work either. See examples for french keyboards in http://haskell.org/haskellwiki/Xmonad/Config_archive for example mine http://haskell.org/haskellwiki/Xmonad/Config_archive/TeXitoi%27s_xmonad.hs -- Guillaume Pinot http://www.irccyn.ec-nantes.fr/~pinot/ ``Computers are good at following instructions, but not at reading your mind.'' -- Donald E. Knuth, the TeXbook () ASCII ribbon campaign -- Against HTML e-mail /\ http://www.asciiribbon.org -- Against proprietary attachments From abailly at oqube.com Tue Sep 23 05:03:57 2008 From: abailly at oqube.com (Arnaud Bailly) Date: Tue Sep 23 05:01:14 2008 Subject: [xmonad] Re: Problem running Xmonad References: <20080922170253.GA24231@twifkak.com> <20080923045517.GA25663@twifkak.com> Message-ID: Devin Mullins writes: > > As an example of this: > > import XMonad > import qualified XMonad.StackSet as W > import XMonad.Config.Gnome > import XMonad.Util.EZConfig (additionalKeys) > > main = xmonad $ gnomeConfig { -- NOTE the extra $ sign > modMask = mod4Mask > } > `additionalKeys` > -- copied-ish from XMonad/Config.hs > [((m .|. mod4Mask, k), windows $ f i) > | (i, k) <- zip (workspaces gnomeConfig) [xK_KP_1 .. xK_KP_9] > , (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]] > Let me translate: - m .|. is modifier of keys - k is keysym (?) - windows is a function that activate some window - f is activation mode (?) - i is window number extracted from gnome The given setting does not work. On my keyboard, 1 is over '&', so maybe I could try xK_K_AMP (or something similar) ? > Given that you're holding shift, I'm surprise it doesn't zap the window > to the other workspace. I guess xev might help. Oh, you crazy kids and > your keyboard layouts. Hmmm. I am getting a bit old for a kid, given I have kids myself. And actually, all french, belgian, swiss, french canadian and quite a bunch of african countries keyboards have such a layout, which makes for approximatively a couple hundred million people ;-) Best regards and thanks again for helping, Arnaud From abailly at oqube.com Tue Sep 23 05:41:36 2008 From: abailly at oqube.com (Arnaud Bailly) Date: Tue Sep 23 05:38:51 2008 Subject: [xmonad] Re: Problem running Xmonad References: <20080922170253.GA24231@twifkak.com> <87skrrgrp8.fsf@epiano.appart> Message-ID: TeXitoi writes: > > Arnaud Bailly writes: > > > I have azerty keyboard where numbers are accessed with shift key > > on. But I tried activating numpad and it does not work either. > > See examples for french keyboards in > http://haskell.org/haskellwiki/Xmonad/Config_archive for example mine > http://haskell.org/haskellwiki/Xmonad/Config_archive/TeXitoi%27s_xmonad.hs > WUnderbar ! It works ! Thanks a lot, everything works quite fine. Next objective is trying xmobar/dzen :-) Regards, Arnaud Bailly From allbery at ece.cmu.edu Wed Sep 24 00:00:18 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Tue Sep 23 23:57:51 2008 Subject: [xmonad] Re: Problem running Xmonad In-Reply-To: References: <20080922170253.GA24231@twifkak.com> <20080923045517.GA25663@twifkak.com> Message-ID: <24BF9090-5509-469C-98BC-5314321178E9@ece.cmu.edu> On 2008 Sep 23, at 5:03, Arnaud Bailly wrote: > The given setting does not work. On my keyboard, 1 is over '&', so > maybe I could > try xK_K_AMP (or something similar) ? It's actually looking for the 1 key in the numeric keypad (xK_KP_1 vs. xK_1). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From me at twifkak.com Wed Sep 24 00:24:48 2008 From: me at twifkak.com (Devin Mullins) Date: Wed Sep 24 00:22:08 2008 Subject: [xmonad] Re: Problem running Xmonad In-Reply-To: References: <20080922170253.GA24231@twifkak.com> <20080923045517.GA25663@twifkak.com> Message-ID: <20080924042448.GA28033@twifkak.com> > > [((m .|. mod4Mask, k), windows $ f i) > > | (i, k) <- zip (workspaces gnomeConfig) [xK_KP_1 .. xK_KP_9] > > , (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]] > > Corrections: > - m .|. is modifier of keys m is a modifier bitmask -- 0 means nothing pressed, shiftMask means shift pressed. m .|. n is the combination of two modmasks -- in this case m .|. mod4Mask means "mod4 and m held down". Here, mod4 corresponds to W.greedyView, mod4-shift corresponds to W.shift. > - k is keysym (?) Yes. See: ~$ ghci GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude> import XMonad Prelude XMonad> :i xK_KP_1 xK_KP_1 :: KeySym -- Defined in Graphics.X11.Types If you search the internets, you'll find documentation for the Types module, including a list of all the KeySyms. (Assuming it's up to date.) > - windows is a function that activate some window > - f is activation mode (?) windows is a bit of a magical function. It converts a pure StackSet mutator into an X action. In other words, f is all the business logic that says "move this window here" and so on, and windows is the dirty greasy implementation that actually interacts with X. In this case, f is either W.greedyView or W.shift. See StackSet documentation or source code for info. > - i is window number extracted from gnome i is the window number extracted from xlib. See `xprop`, for example. > The given setting does not work. On my keyboard, 1 is over '&', so maybe I could > try xK_K_AMP (or something similar) ? What Brandon said. From allbery at ece.cmu.edu Wed Sep 24 00:38:02 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Wed Sep 24 00:35:23 2008 Subject: [xmonad] Re: Problem running Xmonad In-Reply-To: <20080923045517.GA25663@twifkak.com> References: <20080922170253.GA24231@twifkak.com> <20080923045517.GA25663@twifkak.com> Message-ID: <9DB03634-AD6B-41EB-8B31-6F96AF594628@ece.cmu.edu> On 2008 Sep 23, at 0:55, Devin Mullins wrote: > On Mon, Sep 22, 2008 at 08:44:32PM -0700, Fred Blasdel wrote: >> An easy way out would be to try defining the bindings again manually, >> only this time using "xK_KP_1" instead of "xK_1" so that the keypad >> is >> used. I see I missed context. To use the shifted 1-9, you must add `.|. shiftMask' after `.|. mod4Mask' and then use the unshifted keysyms; xmonad's keyboard stuff is at the event layer, so it can't see xK_1 if it requires modifiers. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From me at twifkak.com Wed Sep 24 00:57:23 2008 From: me at twifkak.com (Devin Mullins) Date: Wed Sep 24 00:54:26 2008 Subject: [xmonad] Re: Problem running Xmonad In-Reply-To: <87skrrgrp8.fsf@epiano.appart> References: <20080922170253.GA24231@twifkak.com> <87skrrgrp8.fsf@epiano.appart> Message-ID: <20080924045723.GB28033@twifkak.com> On Tue, Sep 23, 2008 at 11:02:59AM +0200, TeXitoi wrote: > See examples for french keyboards in > http://haskell.org/haskellwiki/Xmonad/Config_archive for example mine > http://haskell.org/haskellwiki/Xmonad/Config_archive/TeXitoi%27s_xmonad.hs I went ahead and converted the azerty-related portion of that into xmonad-contrib as XMonad.Config.Azerty. Is that useful to any body? From allbery at ece.cmu.edu Wed Sep 24 01:02:29 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Wed Sep 24 00:59:43 2008 Subject: [xmonad] Re: Problem running Xmonad In-Reply-To: References: <20080922170253.GA24231@twifkak.com> Message-ID: On 2008 Sep 22, at 18:19, Arnaud Bailly wrote: > Devin Mullins writes: >> On Mon, Sep 22, 2008 at 12:57:56PM +0000, Arnaud Bailly wrote: >>> I still do not have workspace switching, but power management is OK. >> That sounds fishy -- other xmonad key bindings work? > > Yes. At least mod + shift + enter, mod + p, mod + tab. mod+q does > not work but > this seems to be a path problem. > > I have azerty keyboard where numbers are accessed with shift key on. > But I tried > activating numpad and it does not work either. Still more context (sorry, our mail server bit the dust over the weekend). The problem with the keypad is almost certainly that you need to strip out the modifier that represents the numlock key (which is "nonstandard" from the point of view of X11, which was developed on and for workstations that didn't use a numlock key --- that came in only with PCs). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From texitoi at texitoi.homelinux.org Wed Sep 24 09:24:18 2008 From: texitoi at texitoi.homelinux.org (TeXitoi) Date: Wed Sep 24 09:21:37 2008 Subject: [xmonad] Re: Problem running Xmonad References: <20080922170253.GA24231@twifkak.com> <87skrrgrp8.fsf@epiano.appart> <20080924045723.GB28033@twifkak.com> Message-ID: <87abdxhe2l.fsf@epiano.appart> Devin Mullins writes: > On Tue, Sep 23, 2008 at 11:02:59AM +0200, TeXitoi wrote: > > See examples for french keyboards in > > http://haskell.org/haskellwiki/Xmonad/Config_archive for example mine > > http://haskell.org/haskellwiki/Xmonad/Config_archive/TeXitoi%27s_xmonad.hs > > I went ahead and converted the azerty-related portion of that into > xmonad-contrib as XMonad.Config.Azerty. Is that useful to any body? I think it's great. Thanks for the feature. I must say that the keycodes for "1..9,0" came from http://haskell.org/haskellwiki/Xmonad/Config_archive/nattfodd%27s_xmonad.hs -- Guillaume Pinot http://www.irccyn.ec-nantes.fr/~pinot/ ``Computers are good at following instructions, but not at reading your mind.'' -- Donald E. Knuth, the TeXbook () ASCII ribbon campaign -- Against HTML e-mail /\ http://www.asciiribbon.org -- Against proprietary attachments From dominik at dbruhn.de Wed Sep 24 12:12:31 2008 From: dominik at dbruhn.de (Dominik Bruhn) Date: Wed Sep 24 12:08:45 2008 Subject: [xmonad] defaultConfig? Message-ID: <20080924161231.GA14504@dbruhn.de> Hy, currently I use the following config: -- snip -- main = xmonad =<< dbruhnConfig dbruhnConfig = do return $ withUrgencyHook NoUrgencyHook $ defaultConfig { ... terminal = "urxvtc", keys = \c -> mykeys c `M.union` keys defaultConfig c, ... } where mykeys (XConfig {modMask = modm}) = M.fromList $ [ .... ((modm, xK_space), scratchpadSpawnAction defaultConfig), ... ] --- snip ------ The problem now is: the scratchpadSpawnAction takes the terminal out of the config. But as I provide the default-Config (which uses xterm) instead of my own config as parameter to the action the wrong terminal gets open. What is the replacement for defaultConfig if I want to tell "this" (speaking Java) or "self" (speaking Python). I tried writing "dbruhnConfig" there but this lead into a strange haskell-error Thanks for help -- Dominik Bruhn mailto: dominik@dbruhn.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080924/f594d449/attachment-0001.bin From me at twifkak.com Wed Sep 24 13:09:53 2008 From: me at twifkak.com (Devin Mullins) Date: Wed Sep 24 13:06:55 2008 Subject: [xmonad] defaultConfig? In-Reply-To: <20080924161231.GA14504@dbruhn.de> References: <20080924161231.GA14504@dbruhn.de> Message-ID: <20080924170952.GA29413@twifkak.com> On Wed, Sep 24, 2008 at 06:12:31PM +0200, Dominik Bruhn wrote: > Hy, > currently I use the following config: > > -- snip -- > main = xmonad =<< dbruhnConfig > > dbruhnConfig = do > return $ withUrgencyHook NoUrgencyHook $ defaultConfig { > ... > terminal = "urxvtc", > keys = \c -> mykeys c `M.union` keys defaultConfig c, > ... > } > where > mykeys (XConfig {modMask = modm}) = M.fromList $ [ > .... > ((modm, xK_space), scratchpadSpawnAction defaultConfig), > ... > ] > --- snip ------ > > The problem now is: the scratchpadSpawnAction takes the terminal out of the > config. But as I provide the default-Config (which uses xterm) instead of my own > config as parameter to the action the wrong terminal gets open. > > What is the replacement for defaultConfig if I want to tell "this" (speaking > Java) or "self" (speaking Python). I tried writing "dbruhnConfig" there but this > lead into a strange haskell-error Because you're using do/return, the type of dbruhnConfig is Monad m => m (XConfig l), so you'd need to say scratchpadSpawnAction =<< dbruhnConfig. Alternatively, get rid of the do/return as it's extraneous. What you're actually supposed to pass to scratchpadSpawnAction is the XConfig that is the parameter to mykeys. Change that to mykeys conf@(XConfig... From jeremy at n-heptane.com Wed Sep 24 18:31:02 2008 From: jeremy at n-heptane.com (Jeremy Shaw) Date: Wed Sep 24 18:21:36 2008 Subject: [xmonad] Screencasts wanted! In-Reply-To: <20080915000310.GA26323@scytale.galois.com> References: <20080914215728.GB26077@scytale.galois.com> <20080914221727.GA4686@twifkak.com> <20080915000310.GA26323@scytale.galois.com> Message-ID: <87skrpnpll.wl%jeremy@n-heptane.com> At Sun, 14 Sep 2008 17:03:10 -0700, Don Stewart wrote: > The quality isn't so great. Any suggestions on how to get hi res? By default, youtube videos are 320x240, but they are also now rolling out 'high quality' videos at 480x360. One option might be to use Xnest to create a lower resolution X session, and run xmonad inside that session. That way everying will at least be bigger? Might help to use a xmonad inside Xnest that has a different mod key than the outside world. j. Here is some more information on the encoding for youtube videos, not sure if it is accurate or not: http://blog.jimmyr.com/High_Quality_on_Youtube_11_2008.php From dominik at dbruhn.de Thu Sep 25 13:06:19 2008 From: dominik at dbruhn.de (Dominik Bruhn) Date: Thu Sep 25 13:03:23 2008 Subject: [xmonad] defaultConfig? In-Reply-To: <20080924170952.GA29413@twifkak.com> References: <20080924161231.GA14504@dbruhn.de> <20080924170952.GA29413@twifkak.com> Message-ID: <20080925170619.GA31590@dbruhn.de> Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080925/3d712267/attachment.bin From me at twifkak.com Fri Sep 26 10:05:12 2008 From: me at twifkak.com (Devin Mullins) Date: Fri Sep 26 10:02:09 2008 Subject: [xmonad] defaultConfig? In-Reply-To: <20080925170619.GA31590@dbruhn.de> References: <20080924161231.GA14504@dbruhn.de> <20080924170952.GA29413@twifkak.com> <20080925170619.GA31590@dbruhn.de> Message-ID: <20080926140511.GA1904@twifkak.com> On Thu, Sep 25, 2008 at 07:06:19PM +0200, Dominik Bruhn wrote: > Hy, > thanks for your answer but it didnt help. I changed the line to: > -- > ((modm, xK_space), scratchpadSpawnAction =<< dbruhnConfig), > -- > > and I get a haskell-error. I attached my Config-File and the error-log. Ah, that's because your config changed since you last posted. Before, it was Monad m => m (XConfig l), and now it's IO (XConfig l). Also, you definitely don't want to =<< twice as that'll spawnPipe twice, which will probably lead to blockage. Do this: > mykeys conf@(XConfig {modMask = modm}) = M.fromList $ [ > .... > ((modm, xK_space), scratchpadSpawnAction conf), From dominik at dbruhn.de Fri Sep 26 11:01:58 2008 From: dominik at dbruhn.de (Dominik Bruhn) Date: Fri Sep 26 10:58:56 2008 Subject: [xmonad] defaultConfig? In-Reply-To: <20080926140511.GA1904@twifkak.com> References: <20080924161231.GA14504@dbruhn.de> <20080924170952.GA29413@twifkak.com> <20080925170619.GA31590@dbruhn.de> <20080926140511.GA1904@twifkak.com> Message-ID: <20080926150158.GB16771@dbruhn.de> Hy, that worked, thanks! On Fri, Sep 26, 2008 at 07:05:12AM -0700, Devin Mullins wrote: > On Thu, Sep 25, 2008 at 07:06:19PM +0200, Dominik Bruhn wrote: > > Hy, > > thanks for your answer but it didnt help. I changed the line to: > > -- > > ((modm, xK_space), scratchpadSpawnAction =<< dbruhnConfig), > > -- > > > > and I get a haskell-error. I attached my Config-File and the error-log. > > Ah, that's because your config changed since you last posted. Before, it > was Monad m => m (XConfig l), and now it's IO (XConfig l). Also, you > definitely don't want to =<< twice as that'll spawnPipe twice, which > will probably lead to blockage. > > Do this: > > mykeys conf@(XConfig {modMask = modm}) = M.fromList $ [ > > .... > > ((modm, xK_space), scratchpadSpawnAction conf), > _______________________________________________ > xmonad mailing list > xmonad@haskell.org > http://www.haskell.org/mailman/listinfo/xmonad -- Dominik Bruhn mailto: dominik@dbruhn.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080926/55b0c856/attachment.bin From daniel at wagner-home.com Fri Sep 26 16:42:06 2008 From: daniel at wagner-home.com (daniel@wagner-home.com) Date: Fri Sep 26 16:39:02 2008 Subject: [xmonad] darcs patch: fix a divide by zero error in Grid Message-ID: <200809262042.m8QKg6Yd002350@GRW057-24.cis.upenn.edu> Fri Sep 26 16:41:48 EDT 2008 daniel@wagner-home.com * fix a divide by zero error in Grid -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 30463 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080926/75e2b031/attachment-0001.bin From seanmce33 at gmail.com Fri Sep 26 17:02:55 2008 From: seanmce33 at gmail.com (seanmce33@gmail.com) Date: Fri Sep 26 16:59:54 2008 Subject: [xmonad] darcs patch: dzenStatusBar Message-ID: <48dd4dff.06025a0a.20ce.ffffcc34@mx.google.com> Fri Sep 26 16:58:38 EDT 2008 seanmce33@gmail.com * dzenStatusBar adds a full width status bar using dzen run completely from xmonad -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 32953 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080926/e490636e/attachment-0001.bin From spencerjanssen at gmail.com Fri Sep 26 17:56:08 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Fri Sep 26 17:52:57 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> References: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> Message-ID: <20080926215607.GA18690@celeborn> On Sun, Sep 21, 2008 at 01:33:38AM -0400, gwern0@gmail.com wrote: > Sun Sep 21 01:30:17 EDT 2008 gwern0@gmail.com > * XMonad.Core: make spawn smarter > Have spawn examine $SHELL if it exists. $SHELL is the user's preferred shell, and may do many things the user wants but the default /bin/sh does not. I don't really see the advantage to this patch, convince me. From spencerjanssen at gmail.com Fri Sep 26 17:58:41 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Fri Sep 26 17:55:28 2008 Subject: [xmonad] darcs patch: sp README, CONFIG, STYLE, TODO In-Reply-To: <48d5cf2e.e203be0a.5a51.ffff8d46@mx.google.com> References: <48d5cf2e.e203be0a.5a51.ffff8d46@mx.google.com> Message-ID: <20080926215841.GB18690@celeborn> On Sun, Sep 21, 2008 at 12:33:58AM -0400, gwern0@gmail.com wrote: > Fri Sep 12 22:44:57 EDT 2008 gwern0@gmail.com > * sp README, CONFIG, STYLE, TODO Applied, thanks. From gwern0 at gmail.com Fri Sep 26 18:04:54 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Fri Sep 26 18:02:29 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: <20080926215607.GA18690@celeborn> References: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> <20080926215607.GA18690@celeborn> Message-ID: <20080926220454.GA26768@craft> On 2008.09.26 16:56:08 -0500, Spencer Janssen scribbled 0.4K characters: > On Sun, Sep 21, 2008 at 01:33:38AM -0400, gwern0@gmail.com wrote: > > Sun Sep 21 01:30:17 EDT 2008 gwern0@gmail.com > > * XMonad.Core: make spawn smarter > > Have spawn examine $SHELL if it exists. $SHELL is the user's preferred shell, and may do many things the user wants but the default /bin/sh does not. > > I don't really see the advantage to this patch, convince me. A user's shell when invoked as /bin/sh throws away a lot of their customizations and addons; I wrote this patch for a user on #xmonad who was perplexed why some of his scripts and other shell things were simply Not Working. -- gwern acid DSNET1 MP40 Club SAW 3848 SARL ANZUS TDR Internet -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080926/bbddcd72/attachment.bin From spencerjanssen at gmail.com Fri Sep 26 18:15:48 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Fri Sep 26 18:12:36 2008 Subject: [xmonad] darcs patch: XPaste.hs: implement noModMask suggestion In-Reply-To: <48d5cc2d.8905be0a.7be8.ffffbd6e@mx.google.com> References: <48d5cc2d.8905be0a.7be8.ffffbd6e@mx.google.com> Message-ID: <20080926221548.GC18690@celeborn> On Sun, Sep 21, 2008 at 12:21:24AM -0400, gwern0@gmail.com wrote: > Sun Sep 21 00:20:24 EDT 2008 gwern0@gmail.com > * XPaste.hs: implement noModMask suggestion Sorry, this conflicts with the current repository. Can you send an updated patch? From spencerjanssen at gmail.com Fri Sep 26 18:17:34 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Fri Sep 26 18:14:22 2008 Subject: [xmonad] darcs patch: XSelection.hs: use CPP to compile agains... (and 1 more) In-Reply-To: <48d66b76.0504c00a.79bd.199c@mx.google.com> References: <48d66b76.0504c00a.79bd.199c@mx.google.com> Message-ID: <20080926221734.GD18690@celeborn> On Sun, Sep 21, 2008 at 11:41:23AM -0400, gwern0@gmail.com wrote: > Sat Sep 20 11:16:15 EDT 2008 gwern0@gmail.com > * XSelection.hs: use CPP to compile against utf8-string > > Sun Sep 21 11:40:14 EDT 2008 gwern0@gmail.com > * -DUTF8 flag with -DUSE_UTF8 Applied. From gwern0 at gmail.com Fri Sep 26 19:22:04 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Fri Sep 26 19:31:30 2008 Subject: [xmonad] darcs patch: Paste.hs: implement noModMask suggestion Message-ID: <48dd7189.6105be0a.74b5.ffffb181@mx.google.com> Fri Sep 26 19:20:56 EDT 2008 gwern0@gmail.com * Paste.hs: implement noModMask suggestion -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 31893 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080926/87ee1604/attachment-0001.bin From me at twifkak.com Fri Sep 26 21:11:45 2008 From: me at twifkak.com (Devin Mullins) Date: Fri Sep 26 21:08:40 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: <20080926220454.GA26768@craft> References: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> <20080926215607.GA18690@celeborn> <20080926220454.GA26768@craft> Message-ID: <20080927011144.GA2812@twifkak.com> On Fri, Sep 26, 2008 at 06:04:54PM -0400, Gwern Branwen wrote: > A user's shell when invoked as /bin/sh throws away a lot of their > customizations and addons; I wrote this patch for a user on #xmonad > who was perplexed why some of his scripts and other shell things were > simply Not Working. Hrm, that makes sense. If you're used to some particular bash-only syntax, you might expect it to work inside spawn. From allbery at ece.cmu.edu Fri Sep 26 21:38:54 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Fri Sep 26 21:35:52 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: <20080927011144.GA2812@twifkak.com> References: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> <20080926215607.GA18690@celeborn> <20080926220454.GA26768@craft> <20080927011144.GA2812@twifkak.com> Message-ID: <692CF175-3BB0-4218-9C74-4BFABD6253E3@ece.cmu.edu> On 2008 Sep 26, at 21:11, Devin Mullins wrote: > On Fri, Sep 26, 2008 at 06:04:54PM -0400, Gwern Branwen wrote: >> A user's shell when invoked as /bin/sh throws away a lot of their >> customizations and addons; I wrote this patch for a user on #xmonad >> who was perplexed why some of his scripts and other shell things were >> simply Not Working. > > Hrm, that makes sense. If you're used to some particular bash-only > syntax, you might expect it to work inside spawn. Traditional Unix behavior is that something spawned programmatically should use /bin/sh to get a consistent environment, while something spawned via user interaction should use the user's $SHELL. Quite possibly the core spawn should stay as is and the prompt one should use a new $SHELL-based spawn (note that this can be done as a wrapper around the existing spawn). -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From seanmce33 at gmail.com Sat Sep 27 09:14:27 2008 From: seanmce33 at gmail.com (Sean McEligot) Date: Sat Sep 27 09:11:26 2008 Subject: [xmonad] darcs patch: XSelection.hs: use CPP to compile agains... (and 1 more) In-Reply-To: <20080926221734.GD18690@celeborn> References: <48d66b76.0504c00a.79bd.199c@mx.google.com> <20080926221734.GD18690@celeborn> Message-ID: <20080927131427.GA15359@usean.mceligot.int> On Fri, Sep 26, 2008 at 05:17:34PM -0500, Spencer Janssen wrote: > On Sun, Sep 21, 2008 at 11:41:23AM -0400, gwern0@gmail.com wrote: > > Sat Sep 20 11:16:15 EDT 2008 gwern0@gmail.com > > * XSelection.hs: use CPP to compile against utf8-string > > > > Sun Sep 21 11:40:14 EDT 2008 gwern0@gmail.com > > * -DUTF8 flag with -DUSE_UTF8 > > Applied. > _______________________________________________ > xmonad mailing list > xmonad@haskell.org > http://www.haskell.org/mailman/listinfo/xmonad This seems to break haddock. XMonadContrib [51:1]% runghc Setup.lhs haddock Preprocessing library xmonad-contrib-0.8... Running Haddock for xmonad-contrib-0.8... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: X11-1.4.3, base-3.0.1.0, containers-0.1.0.1, directory-1.0.0.0, mtl-1.1.0.1, old-locale-1.0.0.0, old-time-1.0.0.0, process-1.0.0.0, random-1.0.0.0, unix-2.3.0.0, utf8-string-0.3.1.1, xmonad-0.8 dist/build/tmp/XMonad/Util/XSelection.hs:"dist/build/tmp/XMonad/Util/XSelection.hs": 33:1: Parse error From intrigeri at boum.org Sat Sep 27 10:13:45 2008 From: intrigeri at boum.org (intrigeri@boum.org) Date: Sat Sep 27 10:11:02 2008 Subject: [xmonad] darcs patch: Actions.Search: added {deb, debbts, debpts, images, isohun... Message-ID: <20080927141345.CA421C21C@localhost> Tue May 13 15:30:45 CEST 2008 intrigeri@boum.org * Actions.Search: added {deb,debbts,debpts,images,isohunt} search engines -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 81958 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080927/655ca62e/attachment-0001.bin From gwern0 at gmail.com Sat Sep 27 11:03:31 2008 From: gwern0 at gmail.com (gwern0@gmail.com) Date: Sat Sep 27 11:01:47 2008 Subject: [xmonad] darcs patch: Paste.hs: fix haddock (and 1 more) Message-ID: <48de4b92.8602be0a.353c.ffff929c@mx.google.com> Sat Sep 27 10:52:38 EDT 2008 gwern0@gmail.com * Paste.hs: fix haddock Sat Sep 27 11:01:58 EDT 2008 gwern0@gmail.com * Paste.hs: improve haddocks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 33767 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080927/af00b195/attachment-0001.bin From gwern0 at gmail.com Sat Sep 27 11:04:42 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sat Sep 27 11:03:18 2008 Subject: [xmonad] darcs patch: XSelection.hs: use CPP to compile agains... (and 1 more) In-Reply-To: <20080927131427.GA15359@usean.mceligot.int> References: <48d66b76.0504c00a.79bd.199c@mx.google.com> <20080926221734.GD18690@celeborn> <20080927131427.GA15359@usean.mceligot.int> Message-ID: <20080927150441.GA24703@craft> On 2008.09.27 09:14:27 -0400, Sean McEligot scribbled 1.0K characters: > On Fri, Sep 26, 2008 at 05:17:34PM -0500, Spencer Janssen wrote: > > On Sun, Sep 21, 2008 at 11:41:23AM -0400, gwern0@gmail.com wrote: > > > Sat Sep 20 11:16:15 EDT 2008 gwern0@gmail.com > > > * XSelection.hs: use CPP to compile against utf8-string > > > > > > Sun Sep 21 11:40:14 EDT 2008 gwern0@gmail.com > > > * -DUTF8 flag with -DUSE_UTF8 > > > > Applied. > > > xmonad mailing list > > xmonad@haskell.org > > http://www.haskell.org/mailman/listinfo/xmonad > > This seems to break haddock. > > XMonadContrib [51:1]% runghc Setup.lhs haddock > Preprocessing library xmonad-contrib-0.8... > Running Haddock for xmonad-contrib-0.8... > Warning: The documentation for the following packages are not installed. > No > links will be generated to these packages: X11-1.4.3, base-3.0.1.0, > containers-0.1.0.1, directory-1.0.0.0, mtl-1.1.0.1, > old-locale-1.0.0.0, > old-time-1.0.0.0, process-1.0.0.0, random-1.0.0.0, unix-2.3.0.0, > utf8-string-0.3.1.1, xmonad-0.8 > dist/build/tmp/XMonad/Util/XSelection.hs:"dist/build/tmp/XMonad/Util/XSelection.hs": 33:1: Parse error Actually, it doesn't. If you issue a darcs trackdown command like darcs trackdown "runhaskell Setup configure --user && runhaskell Setup haddock" you would see that the patch that breaks haddocks is the one which adds XPaste.hs, not the one which adds CPP to XSelection.hs. The issue seems to be '$usage'. I have sent a patch fixing this. -- gwern DT Pornstars industrial Islam noise surveillance S ge information Albright -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080927/dba90022/attachment.bin From gwern0 at gmail.com Sat Sep 27 11:15:10 2008 From: gwern0 at gmail.com (Gwern Branwen) Date: Sat Sep 27 11:13:36 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: <692CF175-3BB0-4218-9C74-4BFABD6253E3@ece.cmu.edu> References: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> <20080926215607.GA18690@celeborn> <20080926220454.GA26768@craft> <20080927011144.GA2812@twifkak.com> <692CF175-3BB0-4218-9C74-4BFABD6253E3@ece.cmu.edu> Message-ID: <20080927151510.GB26160@craft> On 2008.09.26 21:38:54 -0400, "Brandon S. Allbery KF8NH" scribbled 0.9K characters: > On 2008 Sep 26, at 21:11, Devin Mullins wrote: >> On Fri, Sep 26, 2008 at 06:04:54PM -0400, Gwern Branwen wrote: >>> A user's shell when invoked as /bin/sh throws away a lot of their >>> customizations and addons; I wrote this patch for a user on #xmonad >>> who was perplexed why some of his scripts and other shell things were >>> simply Not Working. >> >> Hrm, that makes sense. If you're used to some particular bash-only >> syntax, you might expect it to work inside spawn. > > Traditional Unix behavior is that something spawned programmatically > should use /bin/sh to get a consistent environment, while something > spawned via user interaction should use the user's $SHELL. Quite > possibly the core spawn should stay as is and the prompt one should use a > new $SHELL-based spawn (note that this can be done as a wrapper around > the existing spawn). > > -- > brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com Sticking to hardcore traditional Unix behavior would be fine if we were unpleasant Dwm developers. We could be all 'ROFL n00b, don't u know if you don't want /bin/sh you should write your own keybinding which uses "spawnObscure"? Why would you think the default spawn would act smart and work with your existing setup?' Or, we could be friendly & helpful & make a simple 1 or 2 line change and never have to discuss it again. I don't see any real upside to the 'consistent environment' of /bin/sh; if anything, going through $SHELL is what would provide a 'consistent environment', since what the user is actually using and running in is $SHELL. -- gwern -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.haskell.org/pipermail/xmonad/attachments/20080927/2c54bd4e/attachment.bin From allbery at ece.cmu.edu Sat Sep 27 12:54:07 2008 From: allbery at ece.cmu.edu (Brandon S. Allbery KF8NH) Date: Sat Sep 27 12:51:04 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: <20080927151510.GB26160@craft> References: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> <20080926215607.GA18690@celeborn> <20080926220454.GA26768@craft> <20080927011144.GA2812@twifkak.com> <692CF175-3BB0-4218-9C74-4BFABD6253E3@ece.cmu.edu> <20080927151510.GB26160@craft> Message-ID: <367F23FD-72B5-4EBB-9855-6F39534384CA@ece.cmu.edu> On 2008 Sep 27, at 11:15, Gwern Branwen wrote: > On 2008.09.26 21:38:54 -0400, "Brandon S. Allbery KF8NH" > scribbled 0.9K characters: >> On 2008 Sep 26, at 21:11, Devin Mullins wrote: >>> On Fri, Sep 26, 2008 at 06:04:54PM -0400, Gwern Branwen wrote: >>>> A user's shell when invoked as /bin/sh throws away a lot of their >>>> customizations and addons; I wrote this patch for a user on #xmonad >>>> who was perplexed why some of his scripts and other shell things >>>> were >>>> simply Not Working. >>> >>> Hrm, that makes sense. If you're used to some particular bash-only >>> syntax, you might expect it to work inside spawn. >> >> Traditional Unix behavior is that something spawned programmatically >> should use /bin/sh to get a consistent environment, while something >> spawned via user interaction should use the user's $SHELL. Quite > > Or, we could be friendly & helpful & make a simple 1 or 2 line > change and never have to discuss it again. I don't see any real > upside to the 'consistent environment' of /bin/sh; if anything, > going through $SHELL is what would provide a 'consistent > environment', since what the user is actually using and running in > is $SHELL. I think you misunderstood what I was getting at: the stuff you're talking about is user interaction-based, so should use $SHELL. The other case is for if you're writing code to launch an xmobar or xset, etc. and don't want to have to worry if the user's shell needs more quoting than /bin/sh does (or possibly isn't compatible with /bin/sh at all; what happens if $SHELL is rc?) --- this is the "consistency" part. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH From spencerjanssen at gmail.com Sat Sep 27 13:50:24 2008 From: spencerjanssen at gmail.com (Spencer Janssen) Date: Sat Sep 27 13:47:06 2008 Subject: [xmonad] darcs patch: XMonad.Core: make spawn smarter In-Reply-To: <20080927151510.GB26160@craft> References: <48d5dcfa.8602be0a.77ea.400a@mx.google.com> <20080926215607.GA18690@celeborn> <20080926220454.GA26768@craft> <20080927011144.GA2812@twifkak.com> <692CF175-3BB0-4218-9C74-4BFABD6253E3@ece.cmu.edu> <20080927151510.GB26160@craft> Message-ID: <20080927175024.GA21685@celeborn> On Sat, Sep 27, 2008 at 11:15:10AM -0400, Gwern Branwen wrote: > On 2008.09.26 21:38:54 -0400, "Brandon S. Allbery KF8NH" scribbled 0.9K characters: > > On 2008 Sep 26, at 21:11, Devin Mullins wrote: > >> On Fri, Sep 26, 2008 at 06:04:54PM -0400, Gwern Branwen wrote: > >>> A user's shell when invoked as /bin/sh throws away a lot of their > >>> customizations and addons; I wrote this patch for a user on #xmonad > >>> who was perplexed why some of his scripts and other shell things were > >>> simply Not Working. > >> > >> Hrm, that makes sense. If you're used to some particular bash-only > >> syntax, you might expect it to work inside spawn. > > > > Traditional Unix behavior is that something spawned programmatically > > should use /bin/sh to get a consistent environment, while something > > spawned via user interaction should use the user's $SHELL. Quite > > possibly the core spawn should stay as is and the prompt one should use a > > new $SHELL-based spawn (note that this can be done as a wrapper around > > the existing spawn). > > > > -- > > brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com > > Sticking to hardcore traditional Unix behavior would be fine if we were unpleasant Dwm developers. > > We could be all 'ROFL n00b, don't u know if you don't want /bin/sh you should write your own keybinding which uses "spawnObscure"? Why would you think the default spawn would act smart and work with your existing setup?' > > Or, we could be friendly & helpful & make a simple 1 or 2 line change and never have to discuss it again. I don't see any real upside to the 'consistent environment' of /bin/sh; if anything, going through $SHELL is what would provide a 'consistent environment', since what the user is actually using and running in is $SHELL. > > -- > gwern Here is a keybinding in defaultConfig: spawn "exe=`dmenu_path | dmenu` && eval \"exec $exe\"" I'm not an expert, but I believe there are shells where this is incorrect syntax. This is why it is important to have a consistent environment -- we ought to be able to write spawn expressions in the core and contrib and expect them to work everywhere. This is how I propose we move forward: * reject this patch to the core * document the fact that XMonad.spawn uses /bin/sh * add spawnShell (or some better name) to XMonad.Util.Run which executes its argument in $SHELL. Also, this insinuation that we hate our users is not fair, and certainly doesn't further discussion in any meaningful way. Cheers, Spencer Janssen From me at twifkak.com Sat Sep 27 19:48:55 2008 From: me at twifkak.com (Devin Mullins) Date: Sat Sep 27 19:45:53 2008 Subject: [xmonad] darcs patch: add'l documentation Message-ID: <20080927234855.1121F7E683D@mail.comcast.net> Some documentation, including the aforementioned /bin/sh note. recorded with 'darcs rec --no-test' (since my haskell setup is busted atm), so you might want to verify it haddocks okay. Sat Sep 27 16:46:39 PDT 2008 Devin Mullins * add'l documentation -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/x-darcs-patch Size: 5398 bytes Desc: A darcs patch for your repository! Url : http://www.haskell.org/pipermail/xmonad/attachments/20080927/d133ea14/attachment.bin