Hello thanks for your help,

i added now:

-- Hook function to execute when a new client appears.
awful.hook.manage.register(function (c)

-- Virtualbox
if c.name:match("VirtualBox") then
    awful.client.floating.set(c,false)
end

.
.
.

This doesn't help. But i found out how to make it work.
If I start the normal "VirtualBox" once VBoxSDL will work after that correct.
This is a dirty workaround :(.

Xorg shows this in the log when starting VBoxSDL:
/home/bastian/.config/awesome/rc.lua:490: attempt to index field 'hook' (a nil value)

Row 490 would be:
490: awful.hook.manage.register(function (c)
491:    -- bastian Virtualbox
492:    if c.name:match("VirtualBox") then
493:        awful.client.floating.set(c,false)
494:    end

Thx

Bastian

On Wed, 25 Feb 2009 07:41:51 +0100, Perry Hargrave <[email protected]> wrote:

This is odd, I too launch VBoxSDL but it doesn't float here..

Anyways, for your problem, you could do something like:

if c.name:match("VirtualBox") then
     awful.client.floating.set(c,false)
end

In hooks manage, I would test this before and after floating or tag mapping just to see if something is screwy with your floating app configuration.

Perhaps you have vboxsdl mapped to a tag on screen = 2 and awesome is getting confused when the screen is not there?

hth,
bioe007

On 02/24/2009 12:33 PM, Bastian Brickwedde wrote:
Hello there,

iam using awesome here in dual screen configuration. Im starting
VirtualMachines with VirtualBoxs VBoxSDL.
On my dual screen configuration the behavior is correct:
http://shots.bb83.de/2009_02_24_10.png

On my single Screen (Notebook) the VBoxSDL command always gets floated:

http://shots.bb83.de/2009_02_24_43.png

I don't have VBoxSDL in the "float apps" list. How can i force to not
float VBoxSDL ?


Thanks

bb83






--
To unsubscribe, send mail to [email protected].

Reply via email to