Thunderbird windows don't appear

2010-02-06 Thread Adam Nielsen
Hi all, I'm just starting out with Awesome and so far it's great, but for some reason the mail windows in Thunderbird don't always appear. If I try to compose a new e-mail or reply to an existing mail the window appears in the 'taskbar' but not on screen. If I click the Write/Reply button a

Firefox layout help

2010-02-06 Thread Adam Nielsen
Hi all, I'd like to try some advanced Awesome config with Firefox but I'm a bit stuck, any help would be appreciated. I want to configure two Firefox windows side by side (and this is fine with one of the tiling layouts), however I don't want any other Firefox windows tiled. At the moment i

Multimonitor issues

2010-02-06 Thread Adam Nielsen
Hi again, Come across another issue Google can't help me with. When I use Mod4+R to run a program, it always appears on screen #0. Is it possible to make it appear on the same screen as where you typed in the command? Also loading programs from the root menu has the same problem, they alway

Re: Multimonitor issues

2010-02-07 Thread Adam Nielsen
It worked when I had separate X11 screens (:0.0 and :0.1) but I changed to use Xinerama so I could move windows between monitors but it looks like Awesome may not fully support this. It does, and by default it (try to) spawns the program on the screen the pointer is. Hmm, well apparently not i

Re: Thunderbird windows don't appear

2010-02-07 Thread Adam Nielsen
As far as it has happened to me the windows DO appear. It's just that they are located almost outside the screen with only one pixel in width showing in the screen. This of course assumes we are talking about floating windows, I'm though not sure if that's the case for thunderbird mails. To me th

Re: Multimonitor issues

2010-02-07 Thread Adam Nielsen
Hmm, well apparently not in version 3.4.3! I do use it everyday. :) How are your monitors configured? Separate X screens, Xinerama, TwinView, etc? I also can't run the Psi IM client on screen #1 because although I can move and resize the window, I can't click on anything, it's like it has f

Re: Multimonitor issues

2010-02-09 Thread Adam Nielsen
Hmm, well apparently not in version 3.4.3! I do use it everyday. :) Well I think I've narrowed down some of these problems, and I'm willing to bet you don't have title bars enabled on windows because that seems to cause some of these bugs. if I load a program from a terminal in screen #1

Lua code for class matching

2010-02-10 Thread Adam Nielsen
Hi all, I run xprop on a Firefox window and it comes up with this: WM_CLASS(STRING) = "Navigator", "Firefox" However I'm unsure of the Lua code to match against this. For example, this rule works: { rule = { class = "Firefox" }, properties = { floating = true } }, But this one do

Re: [ANN]: Unagi: an XCB compositing manager

2010-02-11 Thread Adam Nielsen
I'm not sure whether you are talking of a clone of the desktop you are currently in, which could be achieved through xrandr, or just for specific windows? I'm not sure either why you would want to do that? ;) If you could clone specific windows does that mean you could move windows bet

Re: Lua code for class matching

2010-02-12 Thread Adam Nielsen
I am trying to make Navigator+Firefox windows tiled, but any other Firefox windows floating over the top of them. Here is a snippet from my rc.lua which does exactly that: { rule = { class = "Firefox" }, properties = { floating = true } }, { rule = { class = "Firefox", instance

Forcing hidden windows to be visible

2010-02-12 Thread Adam Nielsen
Hi all, I posted a few days ago about the Psi instant messenger not working properly on the non-primary Xinerama screen. It turns out this is a Qt bug and affects all Qt programs, and although it was supposed to be fixed back in 2007 it still seems to be affecting me. I did some digging aro

Re: [ANN]: Unagi: an XCB compositing manager

2010-02-12 Thread Adam Nielsen
> If you could clone specific windows does that mean you could move > windows between separate X11 screens without needing Xinerama? > IMHO that would be ideal, because this is where a lot of problems > stem from (windows appearing in the middle of the screen, or th

Re: [ANN]: Unagi: an XCB compositing manager

2010-02-12 Thread Adam Nielsen
Moving windows between separate X11 screens would be a great feature, i have three monitors on two cards, that means i can not use twinview by nvidia because that supports only one card. And i can also not use xrandr because current versions also only supports one card. You should be able to use

Re: Forcing hidden windows to be visible

2010-02-12 Thread Adam Nielsen
It turns out this is a Qt bug and affects all Qt programs, and although it was supposed to be fixed back in 2007 it still seems to be affecting me. What QT are you using anyway? All hell broke loose with v4.6.* and multi-screen configurations. Half of the widgets like menus and pop-up windows ar

Re: Forcing hidden windows to be visible

2010-02-17 Thread Adam Nielsen
What's the latest version that works? On Arch Linux the upgrade was 4.5.3 -> 4.6.1. After that all QT applications are unusable. More information and awesome users in this BBS thread http://bbs.archlinux.org/viewtopic.php?id=90720 Thanks for the suggestion, I downgraded to Qt 4.5.3 (latest ve

Re: Launching Mutt in term window

2010-02-23 Thread Adam Nielsen
> If I exit the message reading, the > message list returns, but the problem remains. If I scroll up through > the message list, the text get redrawn after I pass through the blank > area. If I then scroll back down through the list, the line indicator > only stops at the blank area and the messa

Re: Dual Monitor Tag setup

2010-02-25 Thread Adam Nielsen
> for s = 1, screen.count() do This will add tags to all your screens starting at screen #1. > for s = 2, screen.count() do This will add tags to all your screens starting at screen #2 (skipping screen #1.) > With this config, I'm getting tags "1,2,3,4,5,6" on monitor 1, and tags > "1,2,3" on

Re: Dual Monitor Tag setup

2010-02-25 Thread Adam Nielsen
> Understood, with this being said, how do I "specify" which screen to add > the tags to? Well at the moment you have a for loop, which starts at 1 and continues up to the number of screens. So with two screens, the loop will add your tags to both monitors. That's why you get tags 1, 2 and 3 on

Re: Client looses ontop/above properties when returning from fullscreen

2010-02-28 Thread Adam Nielsen
> This works, but as soon as I activate fullscreen in mplayer (by pressing > 'f' or 'mod4+f') and return from fullscreen again, the 'ontop' property > seems to be gone and the mplayer window can get beneath other windows. I think this is because making a window full-screen enables the ontop proper

Re: Fullscreen issues

2010-03-12 Thread Adam Nielsen
>> I'm having some trouble getting real fullscreen applications to work >> correctly. >> For instance ScummVM, Dosbox and wine. > > Unfortunately, I've been having the same issues that you have. My > solution has just been to run things in windowed mode, or just not run > them. Full screen DOSBo

Awesome can't tile/move Java window (Arduino IDE)

2010-03-13 Thread Adam Nielsen
Hi all, Has anyone else tried to use the Arduino IDE with Awesome? I've used "wmname LG3D" and although this helps with window resizing, there are still problems which I believe to be bugs in Awesome rather than Java. In the IDE (which is freely downloadable should anyone feel like experiencing

Re: Fullscreen issues

2010-03-13 Thread Adam Nielsen
>> It might also help to make sure you're using a floating layout (or at least >> make the DOSBox window floating), because the way most programs use full >> screen is to change the resolution and move the window to 0,0 - if you're >> using a tiling layout it may not be possible to move a window

Re: [Marketing] Awesome, Wikipedia Deletion, Arch Linux Magazine

2010-03-13 Thread Adam Nielsen
> But most notably, it has been very difficult > to find a reputable source online that has reviewed Awesome in any > way. Most press has been just blogs and nothing special. In fact, > Awesome has terribly marketing in general. I've only just started using Awesome so my opinion won't carry much w

Re: xrandr under awesome crashes xserver

2010-03-15 Thread Adam Nielsen
> The problem is that while changing screen resolutions/setup with xrandr > the xserver crashes often (but not always). It appeared for the first > time after upgrading from awesome 3.3 to 3.4. Before that, switching > screens setups was rock-stable. This is probably not what you want to hear, b

Re: xrandr under awesome crashes xserver

2010-03-16 Thread Adam Nielsen
> I verified that indeed X does not crash. It's awesome which crashes and > then X just exits. Perhaps someone knowledgeable could have a look at > the attached backtrace? What I did is running Unfortunately the backtrace isn't really informative enough. You will probably need to compile Aweso

mplayer video window always appears on first screen

2010-03-24 Thread Adam Nielsen
Hi all, I have just added a couple of extra monitors to my system, which made my primary screen #3. Unfortunately now when I run mplayer the video window always appears on screen #1, even when the focused window and mouse cursor are both on screen #3. I have to un-fullscreen it, move it across a

Re: mplayer video window always appears on first screen

2010-03-24 Thread Adam Nielsen
>> I have just added a couple of extra monitors to my system, which made my >> primary screen #3. Unfortunately now when I run mplayer the video window >> always appears on screen #1, even when the focused window and mouse cursor >> are >> both on screen #3. > > mplayer is a bit special. See -xi

Re: x86_64 and memory usage

2010-04-05 Thread Adam Nielsen
> Just FYI, it gets worse over time. ;) > > PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND > 2486 psychon 20 0 472m 313m 4304 R 0.8 16.1 20:35.80 > /home/psychon/projects/awesome/awesome > > $ uptime > 11:06:19 up 2 days, 23:42, 1 user, load average: 2.12, 2.11, 2

Re: x86_64 and memory usage

2010-04-06 Thread Adam Nielsen
> Lot's of graphs and progressbars, I guess. And running my main instance under > valgrind isn't really an option to me, that's just way too awfully slow. :( >> Of course if you're not familiar with the code this will be tricky, but it's >> probably the best way to hunt down these types of issues.

Re: clusterssh (cssh) and awesome

2010-04-06 Thread Adam Nielsen
> Now when I wanted to switch back to the tag to make a snapshot, all windows > are there. I can reproduce this behaviour, so I can live with it. But it's > still annoying, that the windows are drawn only after I switch to another tag > and back again. I've encountered this same issue with Java

Getting full-screen DOSBox on the right screen

2010-04-09 Thread Adam Nielsen
Hi all, Since I added another couple of monitors to my system, full screen DOSBox now sits across two monitors. I think it's centering itself in the middle of my total desktop resolution, which is uneven because the monitors vary considerably in resolution. Is there any way I can tell Awesome to

Re: Getting full-screen DOSBox on the right screen

2010-04-09 Thread Adam Nielsen
> Sounds like a DOSBox bug, as for example the mplayer fullscreen mode > works fine. Can you post the output of xprop on a fullscreen DOSBox and > a regular one? That's a good point, although I did have to list the Xinerama screen specifically with MPlayer. Looking at the xprop output I think I s

Re: Getting full-screen DOSBox on the right screen

2010-04-10 Thread Adam Nielsen
>> Is there any way I can tell Awesome to force DOSBox to stay on a particular >> monitor when it's in full screen mode? Or is it a bug in DOSBox itself? > > Try setting the SDL_VIDEO_X11_XINERAMA envvar to 1 Thanks for the suggestion, unfortunately setting that to anything between 0 and 3 doesn

Re: Quake3/opengl/fullscreen? and awesome/tiling WM?

2010-04-10 Thread Adam Nielsen
> I tried to start quake3 in awesome (well ioquake3 to be precise), but it > looks like awesome doesn't know what to do with that fullscreen window, it > keeps switching between real fullscreen and 'arranged windows' (where every > window appear on the same tag). At a guess, the window goes full s

Re: Fwd: Mplayer Skin display issue

2010-04-14 Thread Adam Nielsen
> I am having trouble with gmplayer ( mplayer GUI ) , Skin area and > control are not displaying properly . > > Tried with arch and antix , same setup other WM its working ok so its > not mplayer fault. It looks like a bug in the skin code, you see that when you expect an image to be a certain wi

Re: Getting full-screen DOSBox on the right screen

2010-04-27 Thread Adam Nielsen
>>> Is there any way I can tell Awesome to force DOSBox to stay on a particular >>> monitor when it's in full screen mode? Or is it a bug in DOSBox itself? >> >> Try setting the SDL_VIDEO_X11_XINERAMA envvar to 1 > > Thanks for the suggestion, unfortunately setting that to anything between 0 > an

Re: How to put new clients lower

2010-05-13 Thread Adam Nielsen
>> Excellent. On a similar note: is there any way to make a new client >> appear >> in the tag from which the command was issued, and not the one which is >> active when it is finished loading? I frequently want some app to occupy >> its own tag; I go there to start it, then I go back to some other

OpenOffice windows change tag on other screen

2010-05-14 Thread Adam Nielsen
Hi all, Has anyone else experienced the issue whereby focusing an OpenOffice window on say screen 3, makes screen 1 switch to the same tag as screen 3? It's quite annoying, because every time I switch back to OO the stuff I'm looking at on screen 1 disappears because it changes from tag 1 to tag

Re: Keeping spawned apps on original tag (was: How to put new clients lower)

2010-05-16 Thread Adam Nielsen
Yes, there is. awesome.spawn() returns the pid of the spawned process. You could store the tag and screen that's active when using the run prompt to spawn something and have the manage handler use these data when the client is finally managed. The pid of a client is stored in its .pid property.

Override mouse cursor pos on monitor switching

2010-05-18 Thread Adam Nielsen
Hi all, I've just upgraded to Awesome on another PC, which uses Synergy to share the keyboard and mouse with a Windows PC. Unfortunately I have just discovered that when I switch to the first screen with a keyboard shortcut Awesome moves the mouse cursor to 0,0 which causes Synergy switch al

Re: Override mouse cursor pos on monitor switching

2010-05-27 Thread Adam Nielsen
Is it possible to tell Awesome to move the cursor to say (5,0) upon changing monitors instead? Yup. I'm not exactly sure which code to use, but the general procedure would be: 1-1) find the right signal to hook (for screen change) here http://awesome.naquadah.org/wiki/Signals 1-2) alternatively

Re: advices for a presentation of Awesome

2010-05-27 Thread Adam Nielsen
> my favourite is to set any client to fullscreen-mode with Mod+f, a feature I > could not live without. > >> For me one of the greatest feature is simply to be able to close any >> application with a consistent shortkey: Shift+Alt+c Since my last WM (Compiz) could do both these things too, for

Re: Override mouse cursor pos on monitor switching

2010-05-27 Thread Adam Nielsen
I don't think so, as, specifying x and y should be OK, as I had the same problem... I can give you two snippets, working well on awesome 3.4.4. mouse.coords( { x = 4800 - s*1920, y = 600 } ) Thanks for that - I used your code and although it does in fact move the mouse, after some mor

Re: Fullscreen

2010-06-11 Thread Adam Nielsen
> When I have a window with titlebar on a floating layout I press Meta_4+f to > set > the window in fullscreen. Works great, titlebar disappears but after hitting > Mod_4+f again the window gets resized to its original size but looses its > titlebar. > A tag switching brings the titlebar back. Is

Re: Client looses focus when a tag is toggled.

2010-06-12 Thread Adam Nielsen
> now whenever I press the associated key binding to toggle the tag on a > client, that client loses its focus. Some other client on the same tag > gets focused without getting raised. See the attached screenshot where > the focus( observe the tasklist ) is on a terminal while gvim is raised. I've

Re: Override mouse cursor pos on monitor switching

2010-06-23 Thread Adam Nielsen
I can give you two snippets, working well on awesome 3.4.4. mouse.coords( { x = 4800 - s*1920, y = 600 } ) Thanks for that - I used your code and although it does in fact move the mouse, after some more experimentation it seems the problem is that the screen gets focused and the mouse mo

Re: Can't seem to load .xinitrc

2010-07-03 Thread Adam Nielsen
> #!/usr/bin/bash > > exec awesome This command replaces the running script with Awesome. After this call, no other commands will run. > #open network manager > nm-applet & > #compositing > cb-compmgr --xcompmgr & > #background > nitrogen --restore & If you put it last, it should work. Cheers

Re: Can't seem to load .xinitrc

2010-07-03 Thread Adam Nielsen
> Nothing. I even did a cold reboot. It seems as if .xinitrc isn't actally > being executed on startup, because 'sh .xinitrc' gets everything running > great. Might depend on your system config, I've never fully understood the difference between ~/.xinitrc, ~/.xsession, /etc/X11/xinit/xinitrc,

Re: Mouse cursor changes when running scripts

2010-07-03 Thread Adam Nielsen
> I have the following key binding in my rc.lua: > > awful.key({ }, "Print", function () awful.util.spawn("scrot > '%Y-%m-%d-%H.%M.png' -e 'mv $f /mnt/Dados2/Imagens/Screenshots/ 2> > /dev/null'") end), > > > However, when I press Printscreen, the mouse cursor turns into that little > clock (not

Can you remove the wallpaper entirely?

2011-03-04 Thread Adam Nielsen
Hi all, Since I always have windows covering up my desktop I don't like to have any wallpaper set (don't like wasting memory!) Normally I run "xsetroot -solid black" to set the "wallpaper" to black, however I am unable to work out how to do this automatically at startup with Awesome. If I a

Re: Can you remove the wallpaper entirely?

2011-03-04 Thread Adam Nielsen
Normally I run "xsetroot -solid black" to set the "wallpaper" to black, however I am unable to work out how to do this automatically at startup with Awesome. If I add an awful.util.spawn_with_shell command to the end of rc.lua it appears to work, but then moments later the default

Re: closed Thunderbird & Gimp windows remain in taskbar

2011-04-02 Thread Adam Nielsen
In Thunderbird, after composing a message, the message window closes. However, the entry in the taskbar remains, also the space it occupied on screen still seems to be in use, but there's no window there anymore, FWIW I just upgraded to awesome 3.4.9 (from 3.4.8) and I'm experiencing the same i

Re: Key binding on specific tags?

2011-04-02 Thread Adam Nielsen
Is there any way to add a key binding that only is active on a specific tag? I think I could probably actively add and remove the keybinding when switching between tags, but that's gross and probably pretty inefficient. Is there another way to do this that I'm not seeing in the luadocs? I would

How to make taskbar not always on top

2011-04-02 Thread Adam Nielsen
Hi all, I have just upgraded from 3.4.8 to 3.4.9 but now when I watch movies with MPlayer the wibox is visible over the top of the video. Pressing Mod4+F to make any window go full screen also causes the top part of the window to be obscured underneath the taskbar/wibox. Removing my old rc.

Re: How to make taskbar not always on top

2011-04-02 Thread Adam Nielsen
I have just upgraded from 3.4.8 to 3.4.9 but now when I watch movies with MPlayer the wibox is visible over the top of the video. Pressing Mod4+F to make any window go full screen also causes the top part of the window to be obscured underneath the taskbar/wibox. My bad, I had made a few other

Re: closed Thunderbird & Gimp windows remain in taskbar

2011-04-02 Thread Adam Nielsen
In Thunderbird, after composing a message, the message window closes. However, the entry in the taskbar remains, also the space it occupied on screen still seems to be in use, but there's no window there anymore, FWIW I just upgraded to awesome 3.4.9 (from 3.4.8) and I'm experiencing the same is

urxvt resizes when changing focus with 3.5

2013-01-27 Thread Adam Nielsen
Hi all, I was just upgraded to Awesome 3.5 and it's running much slower than normal when navigating between urxvt terminal windows. Every time a terminal window is focused it appears to be resized, as the background image I am using enlarges slightly and then shrinks back to its original siz

Re: urxvt resizes when changing focus with 3.5

2013-01-29 Thread Adam Nielsen
Every time a terminal window is focused it appears to be resized, as the background image I am using enlarges slightly and then shrinks back to its original size. This adds about a one second delay when switching tags which really slows things down. I think I've found a workaround for this in c

Is 3.5 ready for use?

2013-03-08 Thread Adam Nielsen
Hi all, My distro (Arch) upgraded me to Awesome 3.5 about a month ago, and unfortunately it is performing really badly compared to the 3.4 branch. It has gotten to the point where I am going to have to go back to 3.4 because it is really slowing me down. I am wondering why Arch upgraded to

Can Awesome detect hotplug events?

2014-05-25 Thread Adam Nielsen
Hi all, I'm wondering whether Awesome is capable of picking up hotplug events from the X server (like when a keyboard is connected) and passing them along to the Lua script? The reason I ask is that since about 2009, Xorg was changed so that a newly connected input device was not configured autom

Bind key to switch to specific app on any desktop/monitor

2014-09-15 Thread Adam Nielsen
Hi all, I'm wondering whether it's possible to write a Lua function that switches focus to a specific app, such as Firefox or a terminal. The reason I ask is that I have redefined my keyboard mapping so that the F1 to F12 keys generate keycodes for F21 to F32. (If I hold Caps Lock while pressing

Re: Bind key to switch to specific app on any desktop/monitor

2014-09-16 Thread Adam Nielsen
> You can take a look at https://github.com/Elv13/repetitive > > It mostly does what you want and can also bind to tags. It has some > issues and the macro system isn't really useful as is. Patches welcome Ah interesting, many thanks! I used this as a starting point to work out how to do it, bec

How to bind to nonstandard keys

2014-09-16 Thread Adam Nielsen
Hi all, Further to my last post, I am trying to have certain behaviour bound to specific keys. I have redefined my keyboard such that the F1 key (among others) produces they same key code but a different keysym. Pressing my F1 key now acts as if F21 is pressed. However I cannot correctly bind t

Split one screen into multiple

2016-05-07 Thread Adam Nielsen
Hi all, I have a 40" 4K monitor which *almost* works as a multi-monitor replacement, except that it's hard to switch between desktops without affecting the whole screen. What I'd really like is to split the monitor into four quarters, so that it functions like four 1080p monitors, i.e. Mod4+F2 go