Anton Pirogov | 18 May 09:23 2015
Picon

Fwd: contrib darcs patch: BinarySpacePartition update


Hi Daniel,

As far as I am aware, BSP is only in contrib-darcs for 6 months. My first patch to BSP is 2 months old and introduced far more invasive changes than this one, and the little feedback I got was good, but since it is so fresh I dont think that there are many users out there who used it in it's "new form" already.

In comparison, this is a smaller update which I think is important to make everything more consistent with the whole node-focus semantics that I introduced and addresses some small annoyances that became apparent after using the layout extensively for some time.

So no, it is not backwards-compatible, but I am quite sure that it is not a problem - at least as long as there was no new official xmonad release that "freezes" the current behaviour.

Best regards,
Anton


2015-05-18 2:26 GMT+02:00 Daniel Wagner <dmwit-4ijn+DaKYfYAvxtiuMwx3w@public.gmane.org>:
Hi Anton --

Thanks for the patch. It looks like it builds, and without knowing anything about BSP the changes sound positive to me.

Nevertheless, can you comment briefly on backwards-compatibility? How likely is it that there are people out there that use BSP and like the current behavior, and will find xmonad behaving differently as a result of this patch?

Can we support the old behavior and make the new behavior "opt-in" by folks that want it?

~d

On Thu, May 7, 2015 at 2:31 AM, Anton Pirogov <anton.pirogov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi,

this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:

Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).

New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible  or very cumbersome before).

Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.

The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.

Best regards,
Anton

_______________________________________________
xmonad mailing list
xmonad-HC+Z4NTRIlBAfugRpC6u6w@public.gmane.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad



_______________________________________________
xmonad mailing list
xmonad-HC+Z4NTRIlBAfugRpC6u6w@public.gmane.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad



<div><div dir="ltr">
<br><div class="gmail_quote">
<div dir="ltr">
<div>Hi Daniel,<br><br>As far as I am aware, BSP is only in contrib-darcs for 6 months. My first patch to BSP is 2 months old and introduced far more invasive changes than this one, and the little feedback I got was good, but since it is so fresh I dont think that there are many users out there who used it in it's "new form" already.<br><br>In comparison, this is a smaller update which I think is important to make everything more consistent with the whole node-focus semantics that I introduced and addresses some small annoyances that became apparent after using the layout extensively for some time.<br><br>So no, it is not backwards-compatible, but I am quite sure that it is not a problem - at least as long as there was no new official xmonad release that "freezes" the current behaviour.<br><br>
</div>
<div>Best regards,<br>
</div>
<div>Anton<br><br>
</div>
</div>
<div class="HOEnZb"><div class="h5">
<div class="gmail_extra">
<br><div class="gmail_quote">2015-05-18 2:26 GMT+02:00 Daniel Wagner <span dir="ltr">&lt;<a href="mailto:dmwit@..." target="_blank">dmwit@...</a>&gt;</span>:<br><blockquote class="gmail_quote">
<div dir="ltr">Hi Anton --<div><br></div>
<div>Thanks for the patch. It looks like it builds, and without knowing anything about BSP the changes sound positive to me.</div>
<div><br></div>
<div>Nevertheless, can you comment briefly on backwards-compatibility? How likely is it that there are people out there that use BSP and like the current behavior, and will find xmonad behaving differently as a result of this patch?</div>
<div><br></div>
<div>Can we support the old behavior and make the new behavior "opt-in" by folks that want it?</div>
<div><br></div>
<div>~d</div>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">
<div><div>On Thu, May 7, 2015 at 2:31 AM, Anton Pirogov <span dir="ltr">&lt;<a href="mailto:anton.pirogov@..." target="_blank">anton.pirogov@...</a>&gt;</span> wrote:<br>
</div></div>
<blockquote class="gmail_quote">
<div><div>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hi,<br><br>
</div>this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:<br><br>
</div>
<div>Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).<br><br>
</div>
<div>New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible&nbsp; or very cumbersome before).<br>
</div>
<div><br></div>Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&amp;paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.<br><br>
</div>The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.<br>
</div>
<div><br></div>Best regards,<br>
</div>Anton<br>
</div>
<br>
</div></div>_______________________________________________<br>
xmonad mailing list<br><a href="mailto:xmonad@..." target="_blank">xmonad@...</a><br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br><br>
</blockquote>
</div>
<br>
</div>
<br>_______________________________________________<br>
xmonad mailing list<br><a href="mailto:xmonad@..." target="_blank">xmonad@...</a><br><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br><br>
</blockquote>
</div>
<br>
</div>
</div></div>
</div>
<br>
</div></div>
Kalle Svensson | 9 May 08:53 2015
Picon

xmonad hides xfce4-panel

I had the same problem. It's not thunar that gets drawn over the panel it's xfdesktop. After I removed xfdesktop from Settings Manager > Session and Startup > Session, my desktop started working properly. Of course I lost the desktop icons like the trash bin and home, but I wasn't using them anyway.
<div><div><div>I had the same problem. It's not thunar that gets drawn over the panel it's xfdesktop. After I removed xfdesktop from Settings Manager &gt; Session and Startup &gt; Session, my desktop started working properly. Of course I lost the desktop icons like the trash bin and home, but I wasn't using them anyway.</div></div></div>
François Gannaz | 8 May 18:34 2015
Picon

[patch]

Hi

Here is a small patch that was useful to me.

I noticed too late that I had put non-ASCII text (UTF-8) in my patch
comment. I have no experience with Darcs, so I didn't try to amend it.
Darcs' send comand did not handle it well: it converted everything to
single bytes characters. I edited the comment, but feel free to remove
non-ACSII from the patch.

Regards
--
François Gannaz

Attachment (gridselect-windownamer.dpatch): application/octet-stream, 49 KiB
Hi

Here is a small patch that was useful to me.

I noticed too late that I had put non-ASCII text (UTF-8) in my patch
comment. I have no experience with Darcs, so I didn't try to amend it.
Darcs' send comand did not handle it well: it converted everything to
single bytes characters. I edited the comment, but feel free to remove
non-ACSII from the patch.

Regards
--
François Gannaz

Trey Blancher | 7 May 14:23 2015
Picon

Beginner problem with XMonad and appending to a list rather than prefixing

XMonad Community,

After all this time, I'm still just a beginner with XMonad.  I only know Haskell
through XMonad, and I wouldn't say I know it well.  I learn just enough to get
my XMonad configuration to work, then don't return to it for a while.  

I'm trying to make a minor change to my XMonad file, where a new
workspace is appended to the list rather than prefixed like I have now,
but I can't seem to figure out the code to do it.  Here's the relevant
details of what I have:

import XMonad.Actions.DynamicWorkspaces as DW                                                                                                                                                                                                
import qualified XMonad.Util.ExtensibleState as XS                                                                                                                                                                                           
import Control.Applicative                                                                                                                                                                                                                   
filterWorkspaces :: [WorkspaceId] -> [WindowSpace] -> [WindowSpace]                                                                                                                                                                          
filterWorkspaces ws = filter (\(W.Workspace tag _ _) -> tag `elem` ws)                                                                                                                                                                       
  -- xScreen are the type classes which hold the workspace name lists                                                                                                                                                                        
newtype LeftScreen = LeftScreen {getLeftScreen :: [WorkspaceId]} deriving (Typeable,Read,Show)                                                                                                                                               
instance ExtensionClass LeftScreen where                                                                                                                                                                                                     
  initialValue = LeftScreen []                                                                                                                                                                                                               
  extensionType = PersistentExtension                                                                                                                                                                                                        

                                                                                                                                                                                                                                             
newtype RightScreen = RightScreen {getRightScreen :: [WorkspaceId]} deriving (Typeable,Read,Show)                                                                                                                                            
instance ExtensionClass RightScreen where                                                                                                                                                                                                    
  initialValue = RightScreen []                                                                                                                                                                                                              
  extensionType = PersistentExtension             

-- snip --

main = do                                                                                                                                                                                                                                    
    dbus <- D.connectSession                                                                                                                                                                                                                 
    getWellKnownName dbus;                                                                                                                                                                                                                   
    xmonad $ xfceConfig {                                                                                                                                                                                                                    
    workspaces = ["sh","sb","of","wc","ws","wb","cht"]                                                                                                                                                                                       
  , terminal = "urxvtc"                                                                                                                                                                                                                      
  -- Goodbye, my sweet, sweet, sloppy focus                                                                                                                                                                                                  
  , focusFollowsMouse = False                                                                                                                                                                                                                
  , manageHook = manageDocks <+> myManageHook -- <+> manageHook defaultConfig                                                                                                                                                                
  , layoutHook = avoidStruts $ onWorkspace "gimp" gimp $ layoutH                                                                                                                                                                             
  , logHook = dynamicLogWithPP (ppL dbus)                                                                                                                                                                                                    
        >> dynamicLogWithPP (ppR dbus)                                                                                                                                                                                                       
        >> fadeHook                                                                                                                                                                                                                          
  , borderWidth = 1                                                                                                                                                                                                                          
  , normalBorderColor = "#333333"                                                                                                                                                                                                            
  , focusedBorderColor = "#CCCC00"                                                                                                                                                                                                           
    , modMask = winKey                                                                                                                                                                                                                       
    , startupHook = setWMName "LG3D"                                                                                                                                                                                                         
    } `additionalKeys` myKeys                       

myKeys =  [
-- snip 
-- Here's what I want to change
  , ((winKey , xK_m) ,DW.withWorkspace myXPConfigNew $ \wk -> do                                                                                                                                 
      sc <- screenBy 0                                                                                                                                                                                                                       
      if sc == 0                                                                                                                                                                                                                             
      then XS.modifyf $ LeftScreen . (wk :) . getLeftScreen -- prefix left list with new workspace
      --then XS.modify $  LeftScreen . getLeftScreen ++[wk] -- My first attempt at appending the workspace
      else XS.modify $ RightScreen . (wk :) . getRightScreen -- prefix right list with new workspace
      --else XS.modify $ RightScreen . (wk ++) . getRightScreen  --  another attempt
      windows $ W.view wk)

Normally I'd ask on #xmonad@..., but I haven't had time to get on
there.  I'm sure this demonstrates my lack of knowledge of XMonad and Haskell in
general, hopefully you can help.

Thanks in advance,

Trey Blancher
trey@...

Anton Pirogov | 7 May 11:31 2015
Picon

contrib darcs patch: BinarySpacePartition update

Hi,

this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:

Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).

New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible  or very cumbersome before).

Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.

The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.

Best regards,
Anton
Attachment (BSPupdate.dpatch): application/octet-stream, 91 KiB
<div><div dir="ltr">
<div>
<div>
<div>
<div>
<div>Hi,<br><br>
</div>this patch makes the actions in BSP layout more consistent and usable, making Equalize and Balance work locally and also allowing to open new windows at arbitrary positions:<br><br>
</div>
<div>Equalize/Balance now only rearrange the currently focused node instead of the whole layout (e.g. you want to keep some windows like they are but only want to rearrange a deeply nested branch).<br><br>
</div>
<div>New windows now are inserted into the currently selected node, so e.g focussing the root (everything) and opening the window will make the new window take half of the screen (not possible&nbsp; or very cumbersome before).<br>
</div>
<div><br></div>Also a new feature is added - now it is possible to select a window or group of windows (first FocusParent, then SelectNode) and "cut&amp;paste" the selected window(s) into some other location in the layout (again, FocusParent to the destination, then MoveNode). This will split the node focused and put the selected window(s) there.<br><br>
</div>The reason for this was that more elaborate rearrangements that I sometimes wished for were simply not possible just with regular window swapping.<br>
</div>
<div><br></div>Best regards,<br>
</div>Anton<br>
</div></div>
Jean-Baptiste Mestelan | 6 May 07:46 2015
Picon

Extra keyboard

Hello,

I have a USB numeric keypad lying about, and would like to use its
keys as special shortcuts (like, its Num-6 could simulate
XF86AudioNext...).
How do I tell its key strokes apart from those of the main keyboard?
Is this done at X level?
Would the helpful people on this list provide some pointers, or set me started?

Thanks for attention.

* FWIW, here is dmesg:
[81553.409035] input: USB KB USB KB as
/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.4/3-3.4:1.0/0003:1241:1503.0006/input/input31
[81553.409193] hid-generic 0003:1241:1503.0006: input,hidraw2: USB HID
v1.10 Keyboard [USB KB USB KB] on usb-0000:00:14.0-3.4/input0
Josh Holland | 5 May 12:30 2015

darcs patch: Bump dependency on utf8-string

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

patch d6ba714fb342173906a91a6f49115286f2a972d7
Author: Josh Holland <josh <at> inv.alid.pw>
Date:   Tue May  5 11:27:18 BST 2015
  * Bump dependency on utf8-string

  The release of utf8-string version 1 just removed some deprecated APIs
  that are not used by XMonad.

  Fixes #598.
Attachment (patch-preview.txt): text/x-darcs-patch, 399 bytes
Attachment (bump-dependency-on-utf8_string.dpatch): application/x-darcs-patch, 796 bytes
1 patch for repository http://code.haskell.org/xmonad:

patch d6ba714fb342173906a91a6f49115286f2a972d7
Author: Josh Holland <josh <at> inv.alid.pw>
Date:   Tue May  5 11:27:18 BST 2015
  * Bump dependency on utf8-string

  The release of utf8-string version 1 just removed some deprecated APIs
  that are not used by XMonad.

  Fixes #598.
Edward Z. Yang | 2 May 06:57 2015
Picon

Adaptive width XMonad layout

xmonad-contrib submission, described here:

http://blog.ezyang.com/2015/05/width-adaptive-xmonad-layout/

I'm amenable to changing module names/etc as necessary.

Cheers,
Edward
Attachment (add-xmonad_layout_perscreen.dpatch): application/octet-stream, 50 KiB
xmonad-contrib submission, described here:

http://blog.ezyang.com/2015/05/width-adaptive-xmonad-layout/

I'm amenable to changing module names/etc as necessary.

Cheers,
Edward
lewo | 2 May 00:43 2015
Picon

[patch] Prompt to select a workspace by its name

Hi,

Attached is a patch that adds a prompt to select and view a workspace
based on its tag and its name which comes from the WorkspaceName extension.

Hoping this could interest someone else,
A.

Hi,

Attached is a patch that adds a prompt to select and view a workspace
based on its tag and its name which comes from the WorkspaceName extension.

Hoping this could interest someone else,
A.

Alain Bertrand | 30 Apr 21:03 2015
Picon

xmonad in debian 8

Hi all,

Since I upgraded my laptop to debian 8 (desktop is linuxmint 17.1), I 
encounter several dysfunctions (ugly fonts, quite long freezes and the 
like). Anyone else having the same problems here ?

TIA

Alain
codesite | 30 Apr 18:37 2015
Picon

Issue 603 in xmonad: Problems with toggling focus on Chrome

Status: New
Owner: ----

New issue 603 by p...@...: Problems with toggling focus on Chrome
https://code.google.com/p/xmonad/issues/detail?id=603

What steps will reproduce the problem?
1. In tiling mode, open up Chrome
2. Open up another window, say urxvt
3. Try toggling back and forth the focus with <Mod-Tab>

What is the expected output? What do you see instead?
Chrome should be responding to keyboard, mouse movement. But it just does  
not seem to realize it is on focus.

What version of the product are you using? On what operating system?
xmonad 0.11.1
ghc 7.10.1
Chrome 43 beta
Arch Linux

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".
The problem persists even without an xmonad.hs

Please provide any additional information below.
In the attached image, you can see that the currently focused window is  
red-bordered (lower right), but it's not responding to keyboard strokes or  
anything unless I explicitly move the cursor there and click on it.

Attachments:
	2015-05-01-003015_2560x1600_scrot.png  468 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

Gmane