You are not logged in.

#1 2008-02-08 21:38:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Dear evilwm users

So I have been using ratpoison for jebus-only-knows how long. Recently I got fed up with some of the issues due to forced maximization, so decided to try out evilwm. I have been using it for a month or so now, and I think I like it. But, of course, I have some gripes, and wanted to know what *you guys* do:

a) I don't like that new windows are positioned where my mouse is. I'd like them to start centered. Is there any easy way to do this?
b) Having some keybindings internal, and some in xbindkeys seems annoying. Any advice?
c) I used to abuse ratpoison's message window to display things, like mpd song changes and the like. evilwm doesn't have anything like this. Is there an alternative?

Thanks in advance

Offline

#2 2008-02-09 00:15:51

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Dear evilwm users

One is the loneliest number.
Ooonnnnee is the LONELIEST number.

/me sheds a tear

Offline

#3 2008-02-09 03:06:33

abstracity
Member
From: Houston, USA
Registered: 2007-08-08
Posts: 83

Re: Dear evilwm users

A) Well, in response to your desire to have windows centered, I do not know if anyone has ever developed a chunk of code independent of the window manager to do a thing like that.  You could "hide the mouse" from the X server by unloading the module that permits access to your mouse before the window manager draws the window, hope because the X server cannot find the position of your mouse it will stick it in the center, and then reload the module that allows you to control your mouse.  This doesn't seem to make too much sense unless you were to not open new windows very often.  A more hopeful idea, although still inadequate, would be to set the mouse cursor to a calculated position on the screen so that by bringing up a new window that window is thus centered (and afterwords, the code would move the cursor back to where it was previously).  Both of these inelegant hacks will probably not be as easy to implement as editing the source code.  If you think you may use this window manager for quite some time, why not modify this little part of its internal structure?

B) I thought about that, too, one time, and I reached the idea that maybe the author liked it that way--or thought the split was more in alignment with the concept of minimalism.  Maybe the author enjoyed structuring the application around the "do one thing well" argument.  If you change the internal key bindings quite a bit, I would agree with your thought process that it would be more simple to have them configurable from the same place xbindkeys has its information at.  But I think the author assumed that most users would only change the internal key bindings in the beginning and then make minute changes every now and then, so therefore, why have configurable key settings in a configuration file that may never change?

C) You may find dzen2 to suit your needs quite fittingly.  It functions by displaying your message through a piped input.  For example, if you use mpc, the following command (typed in a regular console) will display the current playing song with small, white terminus font for a total of 5 seconds:

mpc | head -1 | dzen2 -fn '-*-terminus-*-*-*-*-12-*-*-*-*-*-*-*' -fg white -p 5

I believe I read one of your posts a while back where you indicated you primarily work on a laptop, and if that means you do not attach a second monitor very often, you may not need to compile dzen2 on your own; the binary Arch package will do just fine.  Support for a multi-head setup requires a custom compile-time setting that is not enabled in the default binary.


Without error there can be no brilliancy. ― Emanuel Lasker

Offline

#4 2008-02-10 16:42:33

axion419
Member
Registered: 2007-04-12
Posts: 185

Re: Dear evilwm users

as far as configuring where new windows are launched you could use Devils Pie.  http://burtonini.com/blog/computers/devilspie

Ive never used it, but it seems like you tell it where you want programs to start, and this will make them start there.

Offline

#5 2008-02-10 19:19:29

abstracity
Member
From: Houston, USA
Registered: 2007-08-08
Posts: 83

Re: Dear evilwm users

That is an interesting application you have suggested axion419; I have never heard of anything like that.

Phrakture, this isn't absolutely pertinent to the discussion, but I am curious on the details of your transition from a tiling window manager to a non-one.  The path I have took from one WM to another is a tad bit different from yours: evilwm ---> ratpoison ---> xmonad.  Did you start using the mouse more and spotted the potential advantage in an application such as evilwm? or was it solely due to the maximization issue?

You didn't go into detail about your issue with ratpoison and the "forced maximization" deal, but perhaps, if you get tired of using a mouse (=D), you could try out other tiling window managers that allow you to control the layout windows open in, such as being either maximized or self-tiled depending on the situation.  I do know that with xmonad you can easily customize the manner in which windows are laid out on the screen; you can completely do away with the automatic, full screen paradigm if you want.  In fact, there are over 30 different extensions that users have written to tile windows in a different, non-traditional manner, and one of those might be what you were looking for.  As an example, you can easily set up your xmonad environment to horizontally tile or vertically tile windows without any user interaction required and then, if the need arises, switch to full screen tiling by hitting "Alt-space" (the default key binding to cycle through different layout algorithms).  Then, when you are ready to move out of automatic, full screen tiling, you may switch back to the tiling mode you were in previously by hitting "mod-space" one more time.


Without error there can be no brilliancy. ― Emanuel Lasker

Offline

#6 2008-02-10 19:34:19

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Dear evilwm users

abstracity wrote:

That is an interesting application you have suggested axion419; I have never heard of anything like that.

pekwm has something like that built in called autoproperties. It also has a nice expand mode where you can invoke an action and it makes the window take up as much space as is available, expanding until it hits another window border in each dimension. This makes it easy to tile windows without actually enforcing tiling.

I'm turning this into a which window manager thread, I can tell. I'm such a hijacker. Somebody should reprimand me.

Dusty

Offline

#7 2008-02-10 20:01:41

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: Dear evilwm users

I was going to suggest pekwm and its autoprperties and configurable window placement rules, but I didn't want to hijack.

Offline

#8 2008-02-10 20:56:30

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Dear evilwm users

phrakture, I believe the latest kde4 can do everything you want. Glad to help!


I am a gated community.

Offline

#9 2008-02-10 21:00:50

Crooksey
Member
From: UK ~
Registered: 2006-08-14
Posts: 415
Website

Re: Dear evilwm users

Seeing as you are still trying other WM's, I would suggest pekwm, started using a few months ago, very nice.


Arch Linux since 2006
Python Web Developer + Sys Admin (Gentoo/BSD)

Offline

#10 2008-02-11 17:41:32

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Dear evilwm users

Meh, pekwm isn't for me... it's too... *present*.

And yes, I remembered Devil's Pie at some point after the first response. I figured it'd cover my centering issue easily. Plus, who doesn't love S-Expressions?

Seriously though, my WM path has gone from "do whatever" (gnome, fluxbox, openbox), to "do things for me" (wmi, wmii, awesome), to "shut up and let me do it" (ratpoison, evilwm)

My needs are simple: give me a window, and put it right there. I think window chrome is dumb, so that's out. ratpoison is, in a sense, my ideal WM, with a few caveats: I don't like the way it handles floating windows, and has no virtual desktops.

Offline

#11 2008-02-11 17:57:42

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Dear evilwm users

Have you tried dwm? Or, seeing you used wmii, what did you miss there?

phrakture wrote:

a) I don't like that new windows are positioned where my mouse is. I'd like them to start centered. Is there any easy way to do this?

Would starting the window in the master area (first app full screen, second app left side of the screen, etc...) also fit your needs?

phrakture wrote:

b) Having some keybindings internal, and some in xbindkeys seems annoying. Any advice?

Configuring all of them in config.h of dwm.

phrakture wrote:

c) I used to abuse ratpoison's message window to display things, like mpd song changes and the like. evilwm doesn't have anything like this. Is there an alternative?

You can pipe things like this into the dwm bar using your .xinitrc


Haven't been here in a while. Still rocking Arch. smile

Offline

#12 2008-02-11 18:09:10

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: Dear evilwm users

I love Evilwm but I don't care for it's lack of user configurable hotkeys. I wonder if it would be easy to modify the source code to add custom shortcuts?

Offline

#13 2008-02-11 19:13:02

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Dear evilwm users

Agent69 wrote:

I love Evilwm but I don't care for it's lack of user configurable hotkeys. I wonder if it would be easy to modify the source code to add custom shortcuts?

It is. At least from looking at the sourcecode it seems like it shouldn't be a problem.


phrakture wrote:

Meh, pekwm isn't for me... it's too... *present*.

And yes, I remembered Devil's Pie at some point after the first response. I figured it'd cover my centering issue easily. Plus, who doesn't love S-Expressions?

Seriously though, my WM path has gone from "do whatever" (gnome, fluxbox, openbox), to "do things for me" (wmi, wmii, awesome), to "shut up and let me do it" (ratpoison, evilwm)

My needs are simple: give me a window, and put it right there. I think window chrome is dumb, so that's out. ratpoison is, in a sense, my ideal WM, with a few caveats: I don't like the way it handles floating windows, and has no virtual desktops.

Sounds like what you want is awmul. It was born out of similar needs. It does basically nothing on its own and lets the user use LUA to configure it (Ie. to bind keys (or combinations of) to fancy functions). Actually, the use of LUA makes it possible to change every part of the window manager.
Unfortunately it is not really useable in its current state and I don't have enough time to work on it at the moment. It is Open Source and everyone is free to hack on it, though wink

Offline

#14 2008-02-11 20:10:13

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Dear evilwm users

i use dwm as a fullscreen window manager (aka only 1 application per tag) kinda like ratpoison only switching windows with mod4+number of tag (workspace) with better floating support. i have been using it the same way for more than a year and with the addition of dmenu it fits my needs perfectly.
dzen would be a decent alternative for a bar in case the default dwm one with the piping scripts isnt enough

Last edited by dolby (2008-02-11 20:12:57)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#15 2008-02-11 20:22:01

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: Dear evilwm users

dolby wrote:

i use dwm as a fullscreen window manager (aka only 1 application per tag) kinda like ratpoison only switching windows with mod4+number of tag (workspace) with better floating support. i have been using it the same way for more than a year and with the addition of dmenu it fits my needs perfectly.
dzen would be a decent alternative for a bar in case the default dwm one with the piping scripts isnt enough

It use it in the same manor, works great for me. I really like to be able to pan and resize floating windows (alt-<left/right MB>)


Haven't been here in a while. Still rocking Arch. smile

Offline

#16 2008-02-11 20:57:32

awagner
Member
From: Mainz, Germany
Registered: 2007-08-24
Posts: 191

Re: Dear evilwm users

Since this is already a which WM thread... wink
While I am in the process of getting used to dwm, I remember having come across http://subtle.scrapping.cc/subtle before deciding to take the plunge. Subtle has a part "subtler" (for subtle-remote) that is supposed to work like wmctrl + subtle-specific extensions.

AFAIU, that tool would even work with other  EWMH/NetWM compliant WMs...

HTH, Andreas

Offline

#17 2008-02-11 21:06:21

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Dear evilwm users

phrakture wrote:

My needs are simple: give me a window, and put it right there. I think window chrome is dumb, so that's out. ratpoison is, in a sense, my ideal WM, with a few caveats: I don't like the way it handles floating windows, and has no virtual desktops.

I use rapoison because I have the same needs.
However, while I agree on the floating windows issue, I think you're not aware of the virtual desktops extension, you just need to add this line to your .ratpoisonrc:

exec /usr/bin/rpws init 6 -k

It will give you 6 workspaces. You can access them with Alt + F1 - F6. That should do it for you, if your needs are that simple, like mine.

Last edited by finferflu (2008-02-11 21:08:23)


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#18 2008-02-11 21:37:42

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Dear evilwm users

finferflu wrote:

However, while I agree on the floating windows issue, I think you're not aware of the virtual desktops extension, you just need to add this line to your .ratpoisonrc:

exec /usr/bin/rpws init 6 -k

It will give you 6 workspaces. You can access them with Alt + F1 - F6. That should do it for you, if your needs are that simple, like mine.

I am aware of it but it isn't "real" - it doesn't seem to work the way I expect and used to crash often. I will have to retry.

I think I may actually hack up evilwm to center windows by default, and remove some of the default keybindings.

Offline

#19 2008-02-11 21:53:31

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: Dear evilwm users

I agree that it does not provide conventional virtual desktops, and it gets a bit tricky when you want to switch one window to another workspace, yet, if you don't really plan to use it so extensively, it just does the job.
And as far as my experience goes, it never crashed.

Anyways, you might want to give a look at StumpWM, which is a rewritten (in Common Lisp) Ratpoison, with more features.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#20 2008-02-11 22:38:53

abstracity
Member
From: Houston, USA
Registered: 2007-08-08
Posts: 83

Re: Dear evilwm users

phrakture, has this thread, so far, helped you with your original issues?  Was the concept of dzen2 sort of what you were looking for?


Without error there can be no brilliancy. ― Emanuel Lasker

Offline

#21 2008-02-11 23:04:17

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Dear evilwm users

abstracity wrote:

phrakture, has this thread, so far, helped you with your original issues?  Was the concept of dzen2 sort of what you were looking for?

Ah yes, Devil's Pie and dzen should solve my two major issues. The rest is just playing around 8)

evilwm is small enough for me to have fun while chopping at it. Maybe I might even merge in ratpoison's config handling, then I'd be pretty content. Heh

Offline

#22 2008-02-11 23:36:16

PJ
Member
From: Sweden
Registered: 2005-10-11
Posts: 602

Re: Dear evilwm users

phrakture wrote:

evilwm is small enough for me to have fun while chopping at it. Maybe I might even merge in ratpoison's config handling, then I'd be pretty content. Heh

You can always call it: evilpoison. wink
Damn, that name seems to be taken by some kind of similar project. tongue
I don't know if it works but I guess I could mention it anyway.

Offline

#23 2008-02-11 23:59:27

Shaika-Dzari
Member
From: Québec, Canada
Registered: 2006-04-14
Posts: 436
Website

Re: Dear evilwm users

You could use fvwm.
You can set position/geometry/desktop of any program you start... smile

Offline

#24 2008-02-12 05:16:38

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Dear evilwm users

PJ wrote:
phrakture wrote:

evilwm is small enough for me to have fun while chopping at it. Maybe I might even merge in ratpoison's config handling, then I'd be pretty content. Heh

You can always call it: evilpoison. wink
Damn, that name seems to be taken by some kind of similar project. tongue
I don't know if it works but I guess I could mention it anyway.

Woah it's weird what merging names will get you.

Offline

#25 2008-02-12 15:32:17

Agent69
Member
Registered: 2006-05-26
Posts: 189

Re: Dear evilwm users

Shaika-Dzari wrote:

You could use fvwm.
You can set position/geometry/desktop of any program you start... smile

EvilWM does allow for this too with the -app, -g, and -v switches.

I had to learn about this because when starting X on my computer with Evilwm as the window manager, pseudo-transparancy in urxvt wouldn't be in effect until I moved its window (it would start with a black groundground). Using the -app and -g switches of Evilwm, I was able to fix this. Here is how I call Evilwm in my .xinitrc:

exec evilwm -nosoliddrag -bw 2 -fg black -bg black -term urxvt -app urxvt -g +15+15


EDIT: I set the height and width of urxvt by my .Xdefaults, which is why that portition of standard X geometry is not included on the above evilwm command.

Last edited by Agent69 (2008-02-12 15:39:35)

Offline

Board footer

Powered by FluxBB