adam vogt | 22 Dec 05:41 2014
Picon

Re: darcs patch: X.L.Master: Add FixMaster layout modifier

Thanks Anton, I've applied your patch

On Fri, Dec 19, 2014 at 8:25 PM, Anton Vorontsov <anton@...> wrote:
> 1 patch for repository http://code.haskell.org/XMonadContrib:
>
> Fri Dec 19 17:13:39 PST 2014  Anton Vorontsov <anton@...>
>   * X.L.Master: Add FixMaster layout modifier
>
>   This layout modifier is useful for the case if you desire to add a master
>   pane that has fixed width (it's fixed even if there is just one window
>   opened). Especially nice feature if you don't want to have too wide
>   terminal in a master pane.
>
>   The layout is implemented as an addition to Master layout, so it reuses
>   most of the code.
>
>
>
> [X.L.Master: Add FixMaster layout modifier
> Anton Vorontsov <anton@...>**20141220011339
>  Ignore-this: 82e9736853287f753248af41843ceb6b
>
>  This layout modifier is useful for the case if you desire to add a master
>  pane that has fixed width (it's fixed even if there is just one window
>  opened). Especially nice feature if you don't want to have too wide
>  terminal in a master pane.
>
>  The layout is implemented as an addition to Master layout, so it reuses
>  most of the code.
> ] {
(Continue reading)

jenia.ivlev | 22 Dec 02:26 2014
Picon

How to start xmonad with lxde?


Hello.

I want to start xmonad in another tty. I would like it to use lxde as
the Desktop Environement. I read that in order to do that I need to
leave the following in the xmonad's config file (~/.xmonad/xmonad.hs):

    main = xmonad $ desktopConfig { terminal = "lxterminal" }

When I recompile the file in xmonad:

        xmonad --recompile

I get the following error:

    xmonad.hs:1:59:
        parse error (possibly incorrect indentation or mismatched brackets)

Can someone please tell me how to achive starting xmonad with lxde?

Thanks in advance for your kind help

P.S

To start xmonad in the first place (no lxde) I use this:

    startx /usr/bin/xmonad

Anton Vorontsov | 20 Dec 02:25 2014

darcs patch: X.L.Master: Add FixMaster layout modifier

1 patch for repository http://code.haskell.org/XMonadContrib:

Fri Dec 19 17:13:39 PST 2014  Anton Vorontsov <anton <at> enomsg.org>
  * X.L.Master: Add FixMaster layout modifier

  This layout modifier is useful for the case if you desire to add a master
  pane that has fixed width (it's fixed even if there is just one window
  opened). Especially nice feature if you don't want to have too wide
  terminal in a master pane.

  The layout is implemented as an addition to Master layout, so it reuses
  most of the code.

Attachment (patch-preview.txt): text/x-darcs-patch, 3587 bytes
1 patch for repository http://code.haskell.org/XMonadContrib:

Fri Dec 19 17:13:39 PST 2014  Anton Vorontsov <anton <at> enomsg.org>
  * X.L.Master: Add FixMaster layout modifier

  This layout modifier is useful for the case if you desire to add a master
  pane that has fixed width (it's fixed even if there is just one window
  opened). Especially nice feature if you don't want to have too wide
  terminal in a master pane.

  The layout is implemented as an addition to Master layout, so it reuses
  most of the code.

(Continue reading)

codesite | 19 Dec 20:31 2014
Picon

Issue 583 in xmonad: Lockup with runOrRaisePrompt

Status: New
Owner: ----

New issue 583 by Frederic...@...: Lockup with runOrRaisePrompt
https://code.google.com/p/xmonad/issues/detail?id=583

What steps will reproduce the problem?
1. Open a couple of windows.
2. Use key combinations for the runOrRaise prompt.
3. While the prompt is open, click on a window which didn't have the focus.

What is the expected output? What do you see instead?

Expected either the focus to change or at least the prompt to close.
What actually happens is the whole xmonad session locks up.  Unable to  
close the prompt, no key combinations work.  Must kill the session.

What version of the product are you using? On what operating system?

XMonad 0.11 on NixOS.

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

Attachments:
	xmonad.hs  13.3 KB
	xmonad-x86_64-linux  3.3 MB

--

-- 
You received this message because this project is configured to send all  
(Continue reading)

felixc | 19 Dec 03:16 2014

darcs patch: Layout.Spacing: Outer window edges now get as much spa...

Hello XMonad contributors!

I've attached here my first patch to XMonadContrib; specifically to the
Layout.Spacing component. This change makes it so that all edges of all
windows have the same amount of space around them, regardless of whether
they're up against the edge of the screen.

This matches my personal preference, but I don't know whether the original
behaviour was by design or if this style of spacing was already considered
and rejected. I'd welcome any discussion on the pros and cons of doing things
this way, as well as finding out whether anyone objects to this change. At
the end of the day it's up to you whether this patch should be included.

Thank you to geekosaur and fizzie in #xmonad for their help with the tricky
question of determining whether a Workspace has just one window on it, for
the smartSpacing part.

All the best,

Felix

1 patch for repository http://code.haskell.org/XMonadContrib:

Thu Dec 18 20:47:34 EST 2014  Felix Crux <felixc@...>
  * Layout.Spacing: Outer window edges now get as much spacing as inner ones

  Layout.Spacing applies a customizable amount of space around the outside of each
  window. At window edges where two windows meet, the total distance between them
  is therefore twice the customized value (one space value from each window). At
  the edge of the screen, however, the spacing is only applied once. This results
(Continue reading)

Arjun Comar | 19 Dec 01:39 2014
Picon

(DynamicWorkspaces) Generalize new workspace addition functions to support arbitrary insertion

This patch was developed based on a request for functionality at:
http://www.reddit.com/r/xmonad/comments/2pnjse/dynamic_workspaces_appending_new_workspace_from/
 
* Generalize new workspace addition functions to support arbitrary insertion.
 
  The current DynamicWorkspaces module only supports adding new workspaces
  at the start of the list of workspaces. This means when binding workspaces
  to keys based on the position in the list, key bindings can change
  as workspaces are added in removed in a far more destructive way than
  necessary. Instead, supporting appending and arbitrary insertion allows
  the user to determine where the new workspace should be added.
 
  This patch is a straight generalization of the addHiddenWorkspace' function.
  Rather than always using `(:)` to insert the new workspace into the list
  of workspaces, this patches causes it to use an arbitrary list insertion
  function instead. A few new functions are added to prevent breakage of
  external code while exported functions are left unchanged.
 
  List of new functions:
    appendWorkspace
    appendWorkspacePrompt
    addWorkspaceAt
    addHiddenWorkspaceAt
 
  Existing functions were modified to call their generalized brethren where possible
  without changing functionality. This patch should not change behavior for any
  existing users of this module.
Attachment (generalizedInsert.dpatch): application/octet-stream, 40 KiB
<div><div dir="ltr">This patch was developed based on a request for functionality at:<br><a href="http://www.reddit.com/r/xmonad/comments/2pnjse/dynamic_workspaces_appending_new_workspace_from/">http://www.reddit.com/r/xmonad/comments/2pnjse/dynamic_workspaces_appending_new_workspace_from/</a><br>&nbsp; <br>* Generalize new workspace addition functions to support arbitrary insertion.<br>&nbsp; <br>&nbsp; The current DynamicWorkspaces module only supports adding new workspaces<br>&nbsp; at the start of the list of workspaces. This means when binding workspaces<br>&nbsp; to keys based on the position in the list, key bindings can change <br>&nbsp; as workspaces are added in removed in a far more destructive way than<br>&nbsp; necessary. Instead, supporting appending and arbitrary insertion allows<br>&nbsp; the user to determine where the new workspace should be added.<br>&nbsp; <br>&nbsp; This patch is a straight generalization of the addHiddenWorkspace' function.<br>&nbsp; Rather than always using `(:)` to insert the new workspace into the list<br>&nbsp; of workspaces, this patches causes it to use an arbitrary list insertion<br>&nbsp; function instead. A few new functions are added to prevent breakage of<br>&nbsp; external code while exported functions are left unchanged.<br>&nbsp; <br>&nbsp; List of new functions:<br>&nbsp;&nbsp;&nbsp; appendWorkspace<br>&nbsp;&nbsp;&nbsp; appendWorkspacePrompt<br>&nbsp;&nbsp;&nbsp; addWorkspaceAt<br>&nbsp;&nbsp;&nbsp; addHiddenWorkspaceAt<br>&nbsp; <br>&nbsp; Existing functions were modified to call their generalized brethren where possible<br>&nbsp; without changing functionality. This patch should not change behavior for any<br>&nbsp; existing users of this module.<br>
</div></div>
Norbert Zeh | 12 Dec 18:10 2014
Picon
Picon

Added a new simple layout

... and thought I'd share.  Patch is attached.

Cheers,
Norbert
Attachment (dwindle.patch): text/x-patch, 69 KiB
<div><div dir="ltr">... and thought I'd share.&nbsp; Patch is attached.<br><br>Cheers,<br>Norbert<br>
</div></div>
Chris Bell | 11 Dec 18:21 2014

Use atomic window props in window manage hook

Hi, all

I was wondering, how could I set a window to float based on its atomic window properties? I'm running Xmonad raw on top of X on Fedora 20; no DE. According to xprop, the only 'special' property of this window is:

_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE, _NET_WM_STATE_STICKY

particularly the STATE_ABOVE property. So far, I haven't found a reliable way to extract and check if this property exists is set within a mange hook. I've tried pulling the entire property as a stringProperty - and later as an atomic using getAtom - and looking for my string with IsInfixOf (but I think that was pretty misguided, since it wouldn't compile), and I've tried checking against:

( isInProperty "_NET_WM_STATE" "_NET_WM_STATE_ABOVE" )

and have also tried it with "_NET_WM_STATE(ATOM)". I don't get any compile errors, but... it doesn't automatically  float the windows, either. I apologize if it's something simple I'm overlooking - I've found the Haskell difficulty curve to be more extreme than any other language I've worked with. With the possible exception of Matlab.

The window is one of those fancy special new "panel" not-windows that Chrome is implementing; it's for the Hangouts extension with 'enable panels' turned on in chrome://flags/#enable-panels. They're frustrating, because Chrome can actually handle them as dockable internal window, docking them at the bottom of the browser. Or it can be handled by the OS WM. All of the window properties are identical to a normal Chrome window, except the STATE_ABOVE flag, so that's all I can think to use. 

Any suggestions are more than welcome.

Regards,

Chris Bell

Ph.D. Candidate, Teaching Assistant, Gentleman, Scholar, Penguin Wrangler
University of South Florida
College of Engineering
Department of Computer Science and Engineering
NarMOS Research Team, Official Daemon Charmer
<div><div dir="ltr">Hi, all<br><br>I was wondering, how could I set a window to float based on its atomic window properties? I'm running Xmonad raw on top of X on Fedora 20; no DE. According to xprop, the only 'special' property of this window is:<div>
<br>_NET_WM_STATE(ATOM) = _NET_WM_STATE_ABOVE, _NET_WM_STATE_STICKY<br><br>particularly the STATE_ABOVE property. So far, I haven't found a reliable way to extract and check if this property exists is set within a mange hook. I've tried pulling the entire property as a stringProperty - and later as an atomic using getAtom - and looking for my string with IsInfixOf (but I think that was pretty misguided, since it wouldn't compile), and I've tried checking against:<div><br></div>
<div>( isInProperty "_NET_WM_STATE" "_NET_WM_STATE_ABOVE" )</div>
<div><br></div>
<div>and have also tried it with "_NET_WM_STATE(ATOM)". I don't get any compile errors, but... it doesn't automatically &nbsp;float the windows, either. I apologize if it's something simple I'm overlooking - I've found the Haskell difficulty curve to be more extreme than any other language I've worked with. With the possible exception of Matlab.</div>
<div><br></div>
<div>
<div>  The window is one of those fancy special new "panel" not-windows that Chrome is implementing; it's for the Hangouts extension with 'enable panels' turned on in chrome://flags/#enable-panels. They're frustrating, because Chrome can actually handle them as dockable internal window, docking them at the bottom of the browser. Or it can be handled by the OS WM. All of the window properties are identical to a normal Chrome window, except the STATE_ABOVE flag, so that's all I can think to use.&nbsp;</div>
<div><br></div>
<div>Any suggestions are more than welcome.</div>
<div><br></div>
<div>Regards,<br><div>
<br>Chris Bell<br><br>Ph.D. Candidate, Teaching Assistant, Gentleman, Scholar, Penguin Wrangler<br>University of South Florida<br>College of Engineering<br>Department of Computer Science and Engineering<br>NarMOS Research Team, Official Daemon Charmer</div>
</div>
</div>
</div>
</div></div>
aditya siram | 9 Dec 18:27 2014
Picon

Auto-detect multiple monitors ...

Hi all,
I've been using XMonad for a while but mostly just on my laptop. Recently I've started hooking it up to a monitor, but unfortunately I can't seem to tell XMonad that it's a second monitor. I have to mirror the current display or stretch it across multiple monitors. Can someone give me a starting point? I'm comfortable in Haskell.
Thanks!
-deech
<div><div dir="ltr">Hi all,<div>I've been using XMonad for a while but mostly just on my laptop. Recently I've started hooking it up to a monitor, but unfortunately I can't seem to tell XMonad that it's a second monitor. I have to mirror the current display or stretch it across multiple monitors. Can someone give me a starting point? I'm comfortable in Haskell.</div>
<div>Thanks!</div>
<div>-deech</div>
</div></div>
codesite | 7 Dec 06:22 2014
Picon

Issue 582 in xmonad: Add <XF86AudioMicMute> to EZConfig multimediaKeys

Status: New
Owner: ----

New issue 582 by enm...@...: Add <XF86AudioMicMute> to
EZConfig  
multimediaKeys
https://code.google.com/p/xmonad/issues/detail?id=582

What steps will reproduce the problem?
1. Assuming a script exists called "toggle-mic" in the user's PATH
2. Create keybinding for ("<XF86AudioMicMute>", spawn "toggle-mic")
3. Recompile/restart xmonad
4. Press <XF86AudioMicMute>
5. "toggle-mic is never called

What is the expected output? What do you see instead?
The script "toggle-mic" should have been called. It is not.

What version of the product are you using? On what operating system?
community/xmonad 0.11-9 (Arch Linux, not from haskell-core)
Linux 3.17.4-1 (Arch Linux)

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

xmonad --recompile (no output)

Please provide any additional information below.

I'm currently forced to use xbindkeys to recognize <XF86AudioMicMute> and  
launch my script to toggle to mic input.

Attachments:
	xmonad.hs  8.4 KB

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Eyal Erez | 7 Dec 01:30 2014
Picon

Re: Transparent Border with Chrome Beta/Unstable

Is it just me or has the liveliness on the xmonad project really calmed down in the last few months?
I'm noticing a lot less activity in the forums than it used to be.

On Sat, Dec 6, 2014 at 6:01 PM, Brandon Allbery <allbery.b-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On Sat, Dec 6, 2014 at 5:54 PM, Eyal Erez <oneself-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Thanks for your reply.

Is anyone working to fix this by any chance?

Not so far as I am aware. I'd noticed the shortcoming some time ago but nothing came of it.

--
brandon s allbery kf8nh                               sine nomine associates
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net



--
Eyal Erez <oneself-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

There are 10 types of people, those who know binary and those who don't.

<div>
<div dir="ltr">Is it just me or has the liveliness on the xmonad project really calmed down in the last few months?<div>I'm noticing a lot less activity in the forums than it used to be.</div>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">On Sat, Dec 6, 2014 at 6:01 PM, Brandon Allbery <span dir="ltr">&lt;<a href="mailto:allbery.b@..." target="_blank">allbery.b@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote">
<span class="">On Sat, Dec 6, 2014 at 5:54 PM, Eyal Erez <span dir="ltr">&lt;<a href="mailto:oneself@..." target="_blank">oneself@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote"><div dir="ltr">Thanks for your reply.<div><br></div>
<div>Is anyone working to fix this by any chance?</div>
</div></blockquote>
<div><br></div></span><div>Not so far as I am aware. I'd noticed the shortcoming some time ago but nothing came of it.</div>
</div>
<span class=""><div><br></div>-- <br><div><div dir="ltr">
<div>brandon s allbery kf8nh &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sine nomine associates</div>
<div>
<a href="mailto:allbery.b@..." target="_blank">allbery.b@...</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:ballbery@..." target="_blank">ballbery@...</a>
</div>
<div>unix, openafs, kerberos, infrastructure, xmonad &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a>
</div>
</div></div>
</span>
</div></div>
</blockquote>
</div>
<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Eyal Erez &lt;<a href="mailto:oneself@..." target="_blank">oneself@...</a>&gt;<br><br><div><div>There are 10 types of people, those who know binary and those who don't.</div></div>
<div><br></div>
</div></div>
</div>
</div>

Gmane