Alexandre Medeiros | 18 Oct 20:35 2014
Picon

Fwd: Integration with Gnome 3

Hello guys,

Firstly, I know my problem is mostly related with Gnome, but I know it
is more likely that one of you can help me.

I'm trying to run Xmonad with Gnome 3.14 on my Arch system.

I tried following both the ArchWiki[1] and the XmonadWiki[2] with no success.

What I get is when I launch the session, the gnome-session breaks and
I get a message "Somethings has gone really wrong" and my only option
is to logout.

If anyone has a solution for this or can point me in the right
direction, I would be really grateful.

Cheers,

[1] https://wiki.archlinux.org/index.php/Xmonad#GNOME_3_and_xmonad
[2] http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome#Gnome3

--
Alexandre Medeiros
Institute of Computing - University of Campinas
BSc Computer Science Student
GNU/Linux user #562691
http://alemedeiros.sdf.org/
Mike Meyer | 17 Oct 01:01 2014

Blog post on extending XMonad's builtin layouts.

I just posted my documentation on extending Layout's: http://buff.ly/1CsrZsz
Again, if someone who can edit the wiki wants to add this, they should feel free to do so. Or if they'd rather I do, let me know where to get an account and I'll do it when I find the time.
<div><div dir="ltr"><div class="gmail_extra">
<div>I just posted my documentation on extending Layout's: <a href="http://buff.ly/1CsrZsz">http://buff.ly/1CsrZsz</a><br>
</div>
<div>Again, if someone who can edit the wiki wants to add this, they should feel free to do so. Or if they'd rather I do, let me know where to get an account and I'll do it when I find the time.</div>
</div></div></div>
Oliver Dunkl | 15 Oct 16:55 2014
Picon
Picon

Patch to add configurable working directory

For using xmonad for developing I have add some improvements to the
function `getXMonadDir'. With that patch you can select the
working-directory from where xmonad reads its configuration file
(xmonad.hs). 

It reads the environment variable XMONAD_WORKING_DIR_NAME and if it
is set the working-directory ist set to this directory name. If it
is not set it works as before that means the working directory is
$HOME/.xmonad. 

An example of using the environment variable:
$ export XMONAD_WORKING_DIR_NAME=xmonad-test && xmonad
means that xmonad try to start xmonad with the configuration file
in the directory $HOME/.xmonad-test ->
$HOME/.xmonad-test/xmonad.hs is the configuration file.

In my case I start Xephyr with
$ Xephyr :1

and after that I start xmonad with a different working directory
$ DISPLAY=:1 && export XMONAD_WORKING_DIR_NAME=xmonad-test && xmonad

br
\= odi

-- 
Oliver Dunkl
WEB: http://github.com/odi
IM:  odi@...
IRC: odi(irc.freenode.net)

Attachment (working-dir.dpatch): test/x-patch, 11 KiB
For using xmonad for developing I have add some improvements to the
function `getXMonadDir'. With that patch you can select the
working-directory from where xmonad reads its configuration file
(xmonad.hs). 

It reads the environment variable XMONAD_WORKING_DIR_NAME and if it
is set the working-directory ist set to this directory name. If it
is not set it works as before that means the working directory is
$HOME/.xmonad. 

An example of using the environment variable:
$ export XMONAD_WORKING_DIR_NAME=xmonad-test && xmonad
means that xmonad try to start xmonad with the configuration file
in the directory $HOME/.xmonad-test ->
$HOME/.xmonad-test/xmonad.hs is the configuration file.

In my case I start Xephyr with
$ Xephyr :1

and after that I start xmonad with a different working directory
$ DISPLAY=:1 && export XMONAD_WORKING_DIR_NAME=xmonad-test && xmonad

br
\= odi

--

-- 
Oliver Dunkl
WEB: http://github.com/odi
IM:  odi@...
IRC: odi(irc.freenode.net)

Daniel Wagner | 13 Oct 06:02 2014

Re: Startup Arguments

There's also XMonad.Layout.IndependentScreens.countScreens, which has
the type

(MonadIO m, Integral i) => m i

for counting screens. I think a function like this is exposed in several
other spots, too.

~d

Excerpts from Devin Mullins's message of 2014-10-06 12:17:30 -0700:
> Curious what code you tried. Something like this seems like it should work:
> 
> import Graphics.X11.Xinerama (getScreenInfo)
> 
> main = do
>   dpy <- openDisplay ""
>   screens <- getScreenInfo dpy
>   let config = case length screens of
>     1 -> ...
>     _ -> ...
>   xmonad config
> 
> On Mon, Oct 6, 2014 at 10:55 AM, Chris Bell <cwbell@...> wrote:
> 
> > On Mon, Oct 6, 2014 at 12:53 PM, Brandon Allbery <allbery.b@...>
> > wrote:
> > > In the meantime, the trick used by e.g. Fedora's default xmonad
> > > configuration is environment variables.
> >
> > Aha, that will do nicely. Thanks!
> > And I agree, a --user-arg param would be convenient.
> >
> > Regards,
> >
> > Chris Bell
> >
> > Ph.D. Student
> > University of South Florida
> > College of Engineering
> > Department of Computer Science and Engineering
> > NarMOS Research Team
> > _______________________________________________
> > xmonad mailing list
> > xmonad@...
> > http://www.haskell.org/mailman/listinfo/xmonad
> >
Alain Bertrand | 10 Oct 21:27 2014
Picon

task bar

Hello all,

I am new to xmonad, coming from many years of openbox.

I want a taskbar to display  the time, ibus/mozC status and a logout 
button with hibernate choice.

This taskbar should be

- either horizontal, in that case it shouldn't take all the screen width 
(I use  XMonad.Layout.NoFrillsDecoration
  for the window title bar, so there is ample room left for what I 
display in the bar,

- or vertical (to minimize use of screen realestate).

What taskbar would do satisfy these criteria  ?

Thanks in advance.

Alain
Hubert Chathi | 8 Oct 20:49 2014
Picon

Re: Startup Arguments

On Tue, 7 Oct 2014 00:41:23 -0400, Dmitri Iouchtchenko
<johnnyspoon@...> said:

> You may have some luck with XMonad.Hooks.DynamicBars
> (http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-DynamicBars.html).
> It's for dynamically starting and stopping status bars on each screen,
> but you could probably use it to manage other things as well. I've
> been using it for a while now, and it works great for having one
> xmobar instance per screen.

Are there any examples available of how it's used?

--

-- 
Hubert Chathi - Email/Jabber: hubert@... - http://www.uhoreg.ca/
PGP/GnuPG key: 4096R/113A1368 (Key available at pool.sks-keyservers.net)
Fingerprint: F24C F749 6C73 DDB8 DCB8  72DE B2DE 88D3 113A 1368

Eyal Erez | 8 Oct 19:12 2014
Picon

Ultra Wide Monitors and Xmonad

Hi,

I'm thinking of buying one of these new ultra wide monitors that are 21:9.  At this width, it doesn't really make sense for a single workspace to occupy the entire screen.  I was wondering if there was a way to assign more than one workspace to a single monitor?  Extra points for being able to add or remove workspaces at will.  The goal is to have 2-3 workspaces on a single monitor side by side.

Thank you,

--
Eyal Erez <oneself <at> gmail.com>

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

<div><div dir="ltr">Hi,<div><br></div>
<div>I'm thinking of buying one of these new <a href="http://www.lg.com/us/ultrawide-monitors">ultra wide monitors</a> that are 21:9.&nbsp; At this width, it doesn't really make sense for a single workspace to occupy the entire screen.&nbsp; I was wondering if there was a way to assign more than one workspace to a single monitor?&nbsp; Extra points for being able to add or remove workspaces at will.&nbsp; The goal is to have 2-3 workspaces on a single monitor side by side.</div>
<div><br></div>
<div>Thank you,<br clear="all"><div><br></div>-- <br><div dir="ltr">Eyal Erez &lt;<a href="mailto:oneself@..." target="_blank">oneself <at> gmail.com</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>
codesite | 7 Oct 20:57 2014
Picon

Issue 578 in xmonad: Make Query an instance of Applicative?

Status: New
Owner: ----

New issue 578 by Javra...@...: Make Query an instance of Applicative?
https://code.google.com/p/xmonad/issues/detail?id=578

This is an enhancement request: Could you make XMonad.Core.Query an  
instance of Applicative? Since it's already an instance of Monad and  
DeriveApplicative is available.

It will allow more concise queries and we can get rid of "Orphan instance"  
warnings
when deriving Applicative manually.

e.g.:

((&&) <$> fmap (== "FooClass") className
       <*> fmap (== "Bar title") title)

Thanks.

--

-- 
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
Mario Pastorelli | 4 Oct 14:23 2014
Picon

Re: Xmonad sanboxed and Xinerama

 > This sounds like an X configuration issue.

No it isn't because MATE can use Xinerama. It is  related to my XMonad.

 > I understand the original message as saying that it recognized screens
 > correctly before xmonad was moved to a sandbox.

No, I said that MATE was recognizing the screens and it does it also 
now. I never installed XMonad from the package manager or from my user 
"global" cabal because last time I did it I had a lot of problems. 
XMonad in a sandbox would be perfect...

 > This makes me wonder if the
 > tests are being done with a different xmonad library and/or the 
sandbox is
 > somehow not seeing a Xinerama-enabled X11 (this can happen if the 
original
 > was installed globally via OS package but the sandboxed build is using a
 > local X11 bindings package, and the Xinerama developer headers/libraries
 > weren't installed, for example).
 >
 > I don't think we have enough information to diagnose this.

X11 bindings, XMonad and XMonad-contrib are all installed in the sandbox 
with Xinerama support. The Xinerama lib they used is the one installed 
by my package manager.

Do you think I could give you some informations to understand what's 
going on?
Mario Pastorelli | 2 Oct 10:50 2014
Picon

Xmonad sanboxed and Xinerama

Hi xmonaders,

I have decided to move my XMonad install inside a sandbox to avoid 
problems when packages are updated. I'm able to run XMonad with cabal 
exec xmonad and I'm very happy with it. My only problem is that XMonad 
cannot use Xinerama for some reason: if I configure two displays then I 
get a single display which is the union of the first one with the second 
one. I cannot find any way to use displays as independent. What I'm 
doing wrong? MATE is able to use Xinerama without problems and X11, 
XMonad and XMonad-contrib are built with xinerama:

 > ldd ../../xmonad/.cabal-sandbox/bin/xmonad
     ...
     libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 
(0x00007f86f66e8000)
     libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 
(0x00007f86f63b2000)
     libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 
(0x00007f86f61a8000)
     ...

I have libxinerama:

 >  ghc -e Graphics.X11.Xinerama.compiledWithXinerama
True

And Xorg starts with Xinerama:

 > grep -i xinerama /var/log/Xorg.0.log
[    13.627] Initializing built-in extension XINERAMA

I don't know what's wrong...how can I understand what's going on?

Thanks in advance,
Mario
Brandon Allbery | 2 Oct 05:12 2014
Picon

Re: Fwd: Patch to add new Layout message

On Wed, Oct 1, 2014 at 11:10 PM, Christian Wills <cwills.dev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
You could always IncMasterN(-100000) to bring it back to zero and then add 1 or leave it alone depending on the flag setting if you really wanted to

Or mod-shift-space to bring it back into sync. Probably best to just replace those two bindings with something innocuous like (return ()) --- or maybe bind both of them to toggleMasterPane.

--
brandon s allbery kf8nh                               sine nomine associates
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
<div><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote">On Wed, Oct 1, 2014 at 11:10 PM, Christian Wills <span dir="ltr">&lt;<a href="mailto:cwills.dev@..." target="_blank">cwills.dev@...</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">You could always IncMasterN(-100000) to bring it back to zero and then add 1 or leave it alone depending on the flag setting if you really wanted to</blockquote>
</div>
<br>Or mod-shift-space to bring it back into sync. Probably best to just replace those two bindings with something innocuous like (return ()) --- or maybe bind both of them to toggleMasterPane.<br clear="all"><div><br></div>-- <br><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 <at> gmail.com" 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></div></div>

Gmane