Re: [i3] i3 related questions

2014-03-04 Thread Michael Stapelberg
Hi dharmin,

Please direct questions like this to i3-discuss@ (cc'ed), not me
personally.

dharmin thakkar dharmi...@gmail.com writes:
 Here I am writing regards to how to setup i3 tiling window manager on my
 OS. Since I saw this i3 in my tutor's laptop when he was teaching, I have
 been trying for last few months on how to install this on my OS.
 But, there is no article or information available on internet as far as my
 searched went through about how to install i3 on various types of OS and
 what are the software requirements of the terminal

 Anyway,
 I have MacBook pro retina display one has OS 10.9
 So could you please help me here with my questions.??
 All I want to know in nutshell is if I have OSX 10.9 then what softwares or
 other OS do I need to run i3??
i3 only works on Linux. I recommend asking your tutor, as in-person help
is very valuable and works much better than trying to help other people
over the internet.

Once you have Linux running on your machine and are somewhat accustomed
to it, feel free to install i3 and try to get it running.

Note that i3 is _NOT_ recommended for people who are just getting
started with Linux. Our target audience is power users and programmers
specifically.

-- 
Best regards,
Michael


[i3] [i3lock] blur effect

2014-03-04 Thread Karl Tarbe

Hello,

I am a new i3 user and I used a wrapper for i3lock.

https://github.com/ashinkarov/i3-extras/blob/master/i3lock-wrapper

This wrapper script takes a screenshot of the desktop before starting 
i3lock.
Then it blurs it and uses that blurred screenshot as the background for 
i3lock.


I was a little bored and little unsatisfied with the script.
So I wanted to make it better.


As a result of learning and hacking, I can now present to you a i3lock fork.

https://github.com/karulont/i3lock-blur/tree/fuzzy

It uses COMPOSITE extension to get the windows current state.
It uses DAMAGE extension to know when to redraw.
It uses OpenGL to blur the image.

Currently there is a lack of error checking, but I am still working on it.

But interested parties can get the fuzzy branch, build it using make.
And test the new blurred background feature by using cmdline switch '-f' 
(f for fuzzy).


Example: cd directory
 make
 ./i3lock -f

--
Best wishes,
Karl


Re: [i3] [i3lock] blur effect

2014-03-04 Thread Axel Wagner
Hi Karl,

nice idea, but I don't really understand why you not just draw on
i3lock's window? That way you don't have to maintain a fork, we keep the
number of forks to a minimum (so… 0 hopefully ^^) and still everyone
gets to implement their favourite thingy as a wrapper. You can use
xwininfo -name i3lock or something similar to get the window id of
i3lock.

Just a thought.

Best,

Axel


Re: [i3] [i3lock] blur effect

2014-03-04 Thread Karl Tarbe

On 03/04/2014 09:34 PM, Axel Wagner wrote:

nice idea, but I don't really understand why you not just draw on
i3lock's window? That way you don't have to maintain a fork, we keep the
number of forks to a minimum (so… 0 hopefully ^^) and still everyone
gets to implement their favourite thingy as a wrapper. You can use
xwininfo -name i3lock or something similar to get the window id of
i3lock.

At first I didn't even knew what I was doing.
Now I could write my own program, which paints on the i3lock's window. 
But then there would be  a race condition between i3lock drawing and my 
wrapper drawing. And I wouldn't get a good result.


I understand that forks are kind of unwanted. I created this just out of 
boredom. If the guys here think that this feature might be added 
upstream, I would be very happy about it. But currently this is not yet 
ready to be used by the masses.


Best regards,
Karl