Dontdie YCH | 22 Jan 19:34 2015
Picon

Fwd: 'resetScreenSaver' from 'Graphics.X11.Xlib.Misc'

---------- Forwarded message ----------
From: Dontdie YCH <dontdieych@...>
Date: Fri, Jan 23, 2015 at 3:33 AM
Subject: Re: [xmonad] 'resetScreenSaver' from 'Graphics.X11.Xlib.Misc'
To: Brandon Allbery <allbery.b@...>

I had same idea about that so I tried as I already showed.

Set screensaver timer to 10 sec then call resetScreenSaver every 5
sec. If this is right, screensaver should not appeared. But It was.

resetScreenSaver.hs :

~~~
import Graphics.X11.Xlib
import Graphics.X11.Xlib.Misc
import Control.Concurrent
import Control.Monad

main = do
    dpy <- openDisplay ""
    forever $ do
        putStrLn "reset"
        resetScreenSaver dpy
        threadDelay (5*1000000)
~~~

~~~
$ xset s 10
$ runhaskell resetScreenSaver.hs
(Continue reading)

codesite | 22 Jan 15:08 2015
Picon

Issue 589 in xmonad: Dual screen with video : image is frozen when switching workspace

Status: New
Owner: ----

New issue 589 by fran...@...: Dual screen with video : image is  
frozen when switching workspace
https://code.google.com/p/xmonad/issues/detail?id=589

#What steps will reproduce the problem?

1. Use a dual screen
2. Enter the command `xrandr --output LVDS1 --primary --auto --output VGA1  
--left-of LVDS1 --auto`
3. On the second screen, open vlc with a video (and start it)
4. On the primary screen, switch of workspace

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

The video on VLC is frozen but the video is still running.

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

xmonad 0.11 with Archlinux

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

Output is correct.

Please provide any additional information below.

(Continue reading)

codesite | 22 Jan 02:44 2015
Picon

Issue 588 in xmonad: xmonad --restart doesn't seem to work

Status: New
Owner: ----

New issue 588 by tmartin....@...: xmonad --restart doesn't
seem to  
work
https://code.google.com/p/xmonad/issues/detail?id=588

What steps will reproduce the problem?
1. running xmonad --restart at the terminal apparently does nothing
2. hitting mod-q apparently does nothing
3.

What is the expected output? What do you see instead?
xmonad restarts and reruns my configuration startups etc.

What version of the product are you using? On what operating system?
darcs up to date version 0.12 on Ubuntu 14.04.  Logging directly into  
xmonad from the dm.

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

No output.  Compiles without errors.

Please provide any additional information below.

If I exit to the dm and log back in, xmonad restarts without any problems.   
It is only when I try to restart the running xmonad session that it seems  
to fail.
(Continue reading)

Dontdie YCH | 21 Jan 07:22 2015
Picon

'resetScreenSaver' from 'Graphics.X11.Xlib.Misc'

Hello,

I'm looking for what is proper method to inhibit screensaver(DPMS)
without xscreensaver, KDE, GNOME ... .

My video player 'bomi'(was cmplayer) try these, in order,

~~~
[App] Initialize screensaver functions.
[App] Try to connect 'org.gnome.SessionManager'.
[App] Failed to connect 'org.gnome.SessionManager'. Fallback to
'org.freedesktop.ScreenSaver'.
[App] Failed to connect 'org.freedesktop.ScreenSaver'. Fallback to
XResetScreenSaver().
[App] Disable screensaver with XResetScreenSaver().
~~~

But it does not working. I didn't know how I directly deal with X11
lib. Fortunately, I found 'resetScreenSaver' from
'Graphics.X11.Xlib.Misc' that say interface to XResetScreenSaver().

resetScreenSaver.hs :

~~~
import Graphics.X11.Xlib
import Graphics.X11.Xlib.Misc
import Control.Concurrent
import Control.Monad

main = do
(Continue reading)

codesite | 19 Jan 22:15 2015
Picon

Issue 587 in xmonad: GridSelect's defaultNavigation will not respond to KP_Divide or AltGr-q

Status: New
Owner: ----

New issue 587 by igor.con...@...: GridSelect's
defaultNavigation will  
not respond to KP_Divide or AltGr-q
https://code.google.com/p/xmonad/issues/detail?id=587

What steps will reproduce the problem?
1. Use defaultNavigation for something, e.g. ", ((...), goToSelected  
defaultGSConfig)"
2. Open some windows
3. Call goToSelected and hit KP_Divide (Fn-0, on my laptop keyboard) or  
AltGr-q

What is the expected output? What do you see instead?
I expected some 'search mode' to start, but nothing happens.

What version of the product are you using? On what operating system?
xmonad-0.11 on Arch Linux

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

Please provide any additional information below.

--

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
(Continue reading)

codesite | 18 Jan 13:38 2015
Picon

Issue 586 in xmonad: 'onScreen'' with 'FocusCurrent' from 'XMonad.Actions.OnScreen' does not working

Status: New
Owner: ----

New issue 586 by dontdie...@...: 'onScreen'' with
'FocusCurrent'  
from 'XMonad.Actions.OnScreen' does not working
https://code.google.com/p/xmonad/issues/detail?id=586

What steps will reproduce the problem?
1. ("<KP_Enter>", onScreen' (spawn "cmplayer") FocusCurrent 1)
2. Push key
3.

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

It should spawn command on screen 1, but it spawn always current focused  
workspace(screen).

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

Arch Linux
xmonad 0.11-10
xmonad-contrib 0.11.3-2

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

Please provide any additional information below.

Attachments:
(Continue reading)

Dontdie YCH | 18 Jan 11:06 2015
Picon

Run program on second screen.

Hello all,

Anyone guide me how to spawn(or 'runOrRaise') program on second screen?

My xmonad.hs,

http://lpaste.net/118660

Thanks.
Javran Cheng | 17 Jan 09:02 2015
Picon

announce: xmonad-entryhelper

xmonad-entryhelper

This package is for those who loves to keep things in sandboxes.

After suffering from dependency hell several times, I find it really helps to minimize system level packages and keep other packages either in user level or in sandboxes.

I was able to remove xmonad from system packages, and have ~/.xinitrc to call my compiled xmonad config. But soon I realized, different from xmonad itself, the compiled config cannot do some fancy stuff like up-to-date checking, recompilation & send xmonad restart requests.

Therefore I wrote this package to wrap the main function to deal with xmonad arguments like --recompile and --restart. This makes the compiled binary behave like xmonad binary itself.

Additionally with this package you will be able to customize recompiling action:
for example you can use Makefile to manage your xmonad config and set environment variable $XMONAD_HOME to your xmonad path. Then you can make your "xmonad --recompile" call shell command "cd ${XMONAD_HOME} && make all" to do the job.

Hope you like this package!


--
Javran (Fang) Cheng
<div><div dir="ltr">
<a href="https://hackage.haskell.org/package/xmonad-entryhelper">xmonad-entryhelper</a><br><br>This package is for those who loves to keep things in sandboxes.<br><br>After suffering from dependency hell several times, I find it really helps to minimize system level packages and keep other packages either in user level or in sandboxes.<br><br>I was able to remove xmonad from system packages, and have ~/.xinitrc to call my compiled xmonad config. But soon I realized, different from xmonad itself, the compiled config cannot do some fancy stuff like up-to-date checking, recompilation &amp; send xmonad restart requests.<br><br>Therefore I wrote this package to wrap the main function to deal with xmonad arguments like --recompile and --restart. This makes the compiled binary behave like xmonad binary itself.<br><br>Additionally with this package you will be able to customize recompiling action:<br>for example you can use Makefile to manage your xmonad config and set environment variable $XMONAD_HOME to your xmonad path. Then you can make your "xmonad --recompile" call shell command "cd ${XMONAD_HOME} &amp;&amp; make all" to do the job.<br><br>Hope you like this package!<br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Javran (Fang) Cheng<br>
</div></div>
</div></div>
Troels Henriksen | 10 Jan 10:12 2015
Picon

Dealing with large amounts of pages in a common web browser

I have been using xmonad for some years now, and all throughout, the
browser I have been using has been a private fork of surf[0], which is
essentially just a Webkit webview in a window by itself.  However, I
would like to switch to a more widely used browser (Chrome, Firefox,
Conkeror, whatever) for usability and security reasons.

The nice thing about surf is that it opens a window per page, which
means that they are all visible to xmonad, and navigable through things
like GridSelect, which would not be the case if I simply had two dozen
tabs open in Firefox.  However, sometimes tabs are nice - specifically,
it's practical to use CTRL-clicking to open new pages in the background.

Do you have any suggestions on how to deal with this?  Some combination
of Firefox hacks and xmonad layouts?  How do you set up your browsers?

[0]: http://surf.suckless.org/

--

-- 
\  Troels
/\ Henriksen
Erik de Castro Lopo | 5 Jan 11:04 2015

Integrated screen lock in xmonad?

Hi all,

I'm currently using gnome-screensaver to lock my xmonad sessions, but I
was wondering if anyone had put together anything like a an integrated
lock screen as a replacement.

The reason I want this is that I'd like to extend my lock screen with
sound volume and audio pause/play buttons and I *do not want* to try
hacking on either gnome-screensaver or xscreensaver.

If no one has done it, a pointer in the right direction would be
appreciated.

Cheers,
Erik
--

-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
Igor Babuschkin | 4 Jan 00:58 2015
Picon

Fix invisible borders

Hi,

I just browsed through the mailing list and noticed that some people
were having problems with borders disappearing when viewing RGBA
windows. This happened to me with Nautilus, Evince, Chrome and others.

I've written a tiny fix for this more than 6 months ago, but never
contributed it. (Didn't manage to install darcs. Just tried again for an
hour and failed again)

Thought I should post this in case someone is still suffering from it.
The patch flips the transparency bits in addition to the color bits specified by the user.
(They are 0x00 otherwise and result in full transparency)

--- XMonad/Main.hsc     2013-01-01 02:31:47.000000000 +0100
+++ ../xmonad-0.11-fixed/XMonad/Main.hsc        2014-06-15 13:25:20.766852974 +0200
 <at>  <at>  -116,8 +116,8  <at>  <at> 
             { display       = dpy
             , config        = xmc
             , theRoot       = rootw
-            , normalBorder  = nbc
-            , focusedBorder = fbc
+            , normalBorder  = nbc + 0xFF000000 -- fix invisible borders
+            , focusedBorder = fbc + 0xFF000000 --
             , keyActions    = keys xmc xmc
             , buttonActions = mouseBindings xmc xmc
             , mouseFocused  = False

Cheers,
Igor


Gmane