David Sorkovsky | 27 Sep 15:14 2014
Picon

Command to get current window to fill screen area while in floating layout

Hi All,

 

I’m looking for a command to get the current window [with a title bar] to fill the screen area [below the tray] while in a floating layout?

 

 

Max Görner | 24 Sep 13:52 2014
Picon

How to add widgets to wiboxes in 3.5

Hi there,
I've got a rc.lua I'd like to try out. Unfortunately, It is for 3.4 while I'm 
running 3.5. I get some errors when trying to run it.

In the moment the error is due to a part which is adding widgets to wiboxes. 
It has striking similarities with the documentation 
(http://awesome.naquadah.org/wiki/Adding_widget_to_wibox). The error is due to 
the assignment to 'layout'. Unfortunately, the wiki page has no 3.5-version 
now.

Can anyone help me to solve this problem?

sincerely,
Max Görner

tenspd137 . | 24 Sep 02:59 2014
Picon

png files not recognized at startup

Hi all - following is more detailed data for what I am seeing.

udiskie &
exec dbus-launch --sh-syntax --exit-with-session awesome >>
~/.awesome_stdout 2>> ~/.awesome_stderr

.awesome_stdout has nothing, .awesome_stderr has:

error while running function
stack traceback:
    [C]: in function 'load_image'
    /usr/share/awesome/lib/gears/
surface.lua:39: in function
</usr/share/awesome/lib/gears/surface.lua:24>
    (tail call): ?
    (tail call): ?
    /usr/share/awesome/lib/gears/wallpaper.lua:128: in function 'maximized'
    /etc/xdg/awesome/rc.lua:76: in main chunk
error: /usr/share/awesome/lib/gears/surface.lua:39: Couldn't recognize
the image file format for file
'/usr/share/awesome/themes/default/background.png'
E: awesome: main:535: couldn't find any rc file

the only rc file I should be using is in /etc/xdg/awesome/rc.lua - I
moved all the ones in my home directory out.  I am pretty sure it
isn't in libpng, as I can open png files with other programs that use
it.

Thanks.

-C

I am using the default rc files installed from the package manager

Max Görner | 23 Sep 21:06 2014
Picon

Awesome and KDE

Hi there,
due to my demand for eye-candy and some decent integration I used KDE
until very recently. Some days ago I changed KDEs window manager to
awesome and I'm quite pleased so far.

Unfortunately I need some help with two problems:

1) Transparency does not seem to work. This is a problem mainly, if not
only, when running krunner. However, when calling krunner, the
background of the result-list is dark grey instead of transparent. It
would be great to address this.

2) Considerably more important is a tiling-related issue. When using two
monitors the monitor with the KDE control bar uses only the upper half
of the screen for tiling. All tiling methods do work, although only on
the upper half. I've got the suspicion that the control bar uses the
lower half. I'd like to change that, so that the area used for tiling is
the screen size minus the size of the control bar. Currently I don't
want to do without that bar.

It would be great if someone could give some helpful hints. I'm using
Debian Testing (Jessie) with awesome 3.5.5 and KDE.

sincerely,
Max

Joren Heit | 23 Sep 19:26 2014
Picon

my alt-tab

Hi guys,

I've never liked the Alt-Tab-like features that come standard with awesome, so I wrote my own. I'm curious what you guys think, and If you would like a try. If so, you can email me personally.

It features:
- Moving to minimized windows
- Remembering the history
- Live previews
- Forward and backwards using Shift

You can get an idea of what it looks like here:
https://www.youtube.com/watch?v=EMBrPEWT6TQ&feature=youtu.be

Hope you enjoy it :-)

Joren
tenspd137 . | 23 Sep 18:19 2014
Picon

png files not recognized at startup

Hi all,

I just recently upgraded my gentoo system including awesome 3.5.5 /
lua 5.1.3.  When I run startx after logging in, I get a blank screen
and then the x server shuts down.  To be sure it wans't X, I started
both twm and OpenBox.  I have .xinitrc set up to pipe stderror to a
file.  When I check that, it tells me that it can't recognize the
format of /usr/share/awesome/themes/zenburn/zenburn-background.png.
Unfortunatley, I am sitting at work - my computer with said problem is
at home som I am typing from memory.  I was hoping that someone might
be able to give me some ideas from my description, otherwise when I
get home tonight, I can post all the commands I use to start awesome
as well as exact error output.

Thanks for any help!

-Collin

Kasimir Knallkopf | 23 Sep 17:57 2014
Picon
Picon

virtualbox, menu not showing

Hi,

I have a problem with the virtualbox menu that's hidden at the bottom and appears when you put your mouse on
the bottom edge of the window. The menu appears, however, it is completely blackened out and you cannot
click anything on it. I confirmed that this also happens with the default rc.lua shipped with awesome, and
that it correctly works in other window manager.

I'm running awesome v3.5.5.

Has anyone else experienced the same problem and has a fix?

Thanks.

Joren Heit | 22 Sep 13:06 2014
Picon

client.content

Hi all,

The client-table contains a field called 'content', which is an image representing the client window. Does anyone know how I can draw this onto a Cairo context? 

Joren
Zum Testen | 20 Sep 12:56 2014
Picon

Release awful.widget.button

When I press an awful.widget.button, the image is displaced like a real button. And when I release the
button (with the mouse over the image) the image is repositioned like a real button. This works all fine.

Problem: When I click on the image of an awful.widget.button and then move the cursor out of the image area
(mouse button continuously pressed) the image remains displaced. Then I release the mouse button: The
image still remains displaced. Shouldn't the image be repositioned in the moment that the mouse cursor
leaves the image area? And the image should be displaced again, when the mouse enters the image area of the
awful.widget.button again (if the mouse button is still pressed). This would be the usual habit of a
button. Is this possible?

Nico Trebbin | 18 Sep 10:52 2014
Picon

Rule to start application on screen 1 using Awesome 2.3.6 on SLES 11

Hello everyone,

I have a problem starting an application on an second screen.
My setup consists of 2 GPU's, 4 Monitors and a Dual-Twinview setup.

Therefore I have a DISPLAY :0.0 and DISPLAY :0.1 each spanning over two monitors. The setup of tags and two screens works fine, but I can't figure out how to start an application on the tag on screen 0. Below please find my configuration:

screen 0
{
    general
    {
    new_get_focus = true
    new_become_master = true
    sloppy_focus_raise = true
    }
    styles
    {
        normal
        {
            font = "sans 8"
            fg = "#dddddd"
            bg = "#444444"
            border = "#555555"
        }
        focus
        {
            fg = "#000000"
            bg = "#535d6c"
            border = "#535d6c"
        }
        urgent
        {
            fg = "#111111"
            bg = "#ff4500"
        }
    }
    tags
    {
        tag TEST_1 { }
        tag TEST_2 { }
    }
    layouts
    {
        layout tile { image = "/usr/share/awesome/icons/layouts/tilew.png" }
        layout tileleft { image = "/usr/share/awesome/icons/layouts/tileleftw.png" }
        layout tilebottom { image = "/usr/share/awesome/icons/layouts/tilebottomw.png" }
        layout tiletop { image = "/usr/share/awesome/icons/layouts/tiletopw.png" }
        layout max { image = "/usr/share/awesome/icons/layouts/maxw.png" }
        layout spiral { image = "/usr/share/awesome/icons/layouts/spiralw.png" }
        layout dwindle { image = "/usr/share/awesome/icons/layouts/dwindlew.png" }
        layout floating { image = "/usr/share/awesome/icons/layouts/floatingw.png" }
    }
    statusbar mystatusbar
    {
        position = "top"

        taglist mytaglist
        {
            mouse
            {
                button = "1"
                command = "tag_view"
            }
        }
    }
}

screen 1
{
    general
    {
    new_get_focus = true
    new_become_master = true
    sloppy_focus_raise = true
    }
    styles
    {
        normal
        {
            font = "sans 8"
            fg = "#dddddd"
            bg = "#444444"
            border = "#555555"
        }
        focus
        {
            fg = "#000000"
            bg = "#535d6c"
            border = "#535d6c"
        }
        urgent
        {
            fg = "#111111"
            bg = "#ff4500"
        }
    }
    tags
    {
        tag TEST_CLI { }
    }
    layouts
    {
        layout tile { image = "/usr/share/awesome/icons/layouts/tilew.png" }
        layout tileleft { image = "/usr/share/awesome/icons/layouts/tileleftw.png" }
        layout tilebottom { image = "/usr/share/awesome/icons/layouts/tilebottomw.png" }
        layout tiletop { image = "/usr/share/awesome/icons/layouts/tiletopw.png" }
        layout max { image = "/usr/share/awesome/icons/layouts/maxw.png" }
        layout spiral { image = "/usr/share/awesome/icons/layouts/spiralw.png" }
        layout dwindle { image = "/usr/share/awesome/icons/layouts/dwindlew.png" }
        layout floating { image = "/usr/share/awesome/icons/layouts/floatingw.png" }
    }
    statusbar mystatusbar1
    {
        position = "top"

        taglist mytaglist1
        {
            mouse
            {
                button = "1"
                command = "tag_view"
            }
        }
    }
}

rules
{
    rule {
    name = "wks"
    tags = "TEST_2"
    float = false
     }
    rule {
    name = "cli"
    tags = "TEST_CLI"
    float = false
     }
    rule {
    name = "epb"
    tags = "TEST_1"
    float = false
     }
    rule {
    name = "login_script.py"
    tags = "TEST_1"
    float = true
     }
    rule {
    name = "config.py"
    tags = "TEST_1"
    float = true
     }
}

keys
{
   key
   {
    modkey = { "Control" }
    key = "t"
        command = "spawn"
        arg = "exec xterm"
   }
   key
   {
    modkey = { "Control", "Shift" }
    key = "left"
        command = "tag_viewprev"
   }
   key
   {
    modkey = { "Control", "Shift" }
    key = "right"
        command = "tag_viewnext"
   }
   key
   {
    modkey = { "Control", "Shift" }
    key = "a"
        command = "spawn"
        arg = "config.py"
   }
}

The start of wks and epb on screen 0 and their assignment to their specified tag works fine. But the start of cli fails, and the application opens on screen 0 MCS_1, which might be a default behavior of awesome. Do I miss some screen variable? I tried:

    rule {
    name = "cli"
    tags = "MCS_CLI"
    screen = 1
    float = false
     }
    rule {
    name = "cli"
    tags = [1][1]
    float = false
     }

but the application is still showing up on the first tag of screen 0.

Any help on this issue is much appreciated!

Unfortunately there is no awesome 3 available for SLES 11, which forced me to use awesome 2.
Fabian Furger | 18 Sep 09:49 2014
Picon

Shortcut to clear "urgent"-flag

Hello everyone

I'm attempting to create a shortcut key that removes all tags that are marked in red (tags that contain urgent clients, as I understand it). This is useful for example when launching a music player and starting last time's playlist with a media key. Then, hitting one shortcut to clear the urgent flag is easier than Mod4-u, Mod4-Esc. To that end, I assumed I should use client.urgent.delete(client). Since my initial attempt seemed to have no effect, I tried the following:

local cc = awful.client.urgent.get()
if (cc ~= nil) then
    urgent = tostring(cc.urgent)
        naughty.notify({ text = cc.name .. urgent })
        awesome.client.urgent.delete(cc)
        urgent = tostring(cc.urgent)
        naughty.notify({ text = cc.name .. urgent })
end

Judging by the notifications, awesome.client.urgent.delete(client) doesn't seem to do anything to the client's urgent flag. Both notifications contain the name of the first urgent client as well as "true" for their urgent-value. Same result when re-assigning "cc" after "awesome.client.urgent.delete(cc)" has been executed.

Am I using the wrong command or is it possibly not working? I'm running awesome 3.5.5 as well as Shifty from git.

Thanks for your time and have a nice day!



Gmane