Bill Sun | 17 May 15:53 2016
Picon
Gravatar

Stack-like behavior for restoring minimized windows

Hi all,

Currently there's a keyboard shortcut in my config so that I can use
keyboard to restore minimized windows. It reads:
    awful.key({ modkey, }, "d", function (c) c.minimized = not c.minimized   end),

It works. Recently I noticed that when I have multiple minimized
windows, awesome always first restore the window that is created first.

For me, it would be better if the un-minimizer has a stack-like
behavior: that is, restore first the window that is minimized last.

Any suggestions? Thanks.

Adam Nielsen | 7 May 15:32 2016
Picon

Split one screen into multiple

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 goes to the
top-right sub-screen, Mod4+F3 goes to the bottom-left, etc.

I don't want to use fake RandR stuff because I still want apps like
mplayer to go full screen on the whole monitor, I just want Awesome to
fit four desktops onto the one monitor and behave like there are four
monitors there, each with its own desktops.

Is this sort of thing possible?

Many thanks,
Adam.

Jeroen Budts | 5 May 23:09 2016
Picon
Gravatar

Vicious CPU graph direction

Hi all,

In my rc.lua I created a simple CPU graph using Vicious. Is it possible
to change the direction in which this graph moves? Currently it moves
from left to right, but I would like to see it move from right to left
(the same as the CPu graph on xfce4-panel).

I use this code:
cpuwidget = awful.widget.graph()
cpuwidget:set_width(50)
cpuwidget:set_background_color(theme.bg_normal)
cpuwidget:set_color(theme.fg_focus)
vicious.register(cpuwidget, vicious.widgets.cpu, "$1", 1)

Thanks for any tips,
Jeroen

--

-- 
website: http://budts.be/ - twitter:  <at> teranex
___________________________________
Registered Linux User #482240 - GetFirefox.com - ubuntu.com

Jeroen Budts | 30 Apr 16:28 2016
Picon
Gravatar

AwesomeWM + Gvim resize crashes (segfault)

Hi all,

A few days ago I started using Awesome as my window manager (running
inside XFCE on xubuntu 15.10). The versions from the repository are
v3.5.6 (awesome) and 7.4.712 (gvim). I upgraded Awesome to 3.5.9 using a
ppa[1].
When Gvim gets resized, either because I resize the master-pane of
awesome, or simply by switching Awesome layout, Gvim will frequently
hang and/or crash.
From what I could find it seems to be a segfault, but I have no clue
what is causing this. In the past I have been using Gvim without any
problems with xfwm4 (default xfce window manager). I also tried xmonad
for a week where I didn't see these crashes when similarly resizing the
xmonad master-pane or switching layouts.

This is what I saw in the Ubuntu crash-submit tool:
 vim.gnome crashed with sigsegv in get_syntax_atttr()

When starting gvim with `strace gvim -V9log.txt file.tex > stdout.txt 2>
stderr.txt` I got the following in stdout.txt:
RenderBadPicture (invalid Picture parameter)
Vim: Got X error
Vim: Finished.

Any help on this is much appreciated.

[1] https://launchpad.net/~klaus-vormweg/+archive/ubuntu/awesome

Kind regards,
Jeroen
(Continue reading)

Jeroen Budts | 30 Apr 16:22 2016
Picon
Gravatar

Screen attach/detach: avoid restart?

Hi all,

When I attach or detach an external screen (using xrandr) it seems
Awesome automatically restarts.
Is there any way to avoid this? During a regular working day I happen to
connect/disconnect my screen easily 3 to 5 times. This causes my layouts
to reset each time (size of master pane, number of applications in the
master etc), which is a bit annoying. This also causes scratch.drop
(https://awesomewm.org/wiki/Scratchpad_manager) to lose track of the
applications so they become regular tiled applications.

I'm using awesome 3.5.9 inside XFCE on Xubuntu 15.10.

Thanks for any help,
Jeroen

--

-- 
website: http://budts.be/ - twitter:  <at> teranex
___________________________________
Registered Linux User #482240 - GetFirefox.com - ubuntu.com

Markus Gutschke | 22 Apr 20:35 2016

Can't un-minimize windows

I have been using awesome for many years. I install it as the window manager in a GNOME fallback session on Ubuntu. In other words, I have all of the GNOME session manager, and I have the old-school GNOME panel. But everything else is awesome.

This has worked beautifully for as long as I can remember. But today, I decided to update to the new Ubuntu LTS release (Xenial). The upgrade went surprisingly uneventful. After waiting for an hour, the computer rebooted and at first sight, everything looked exactly the same as before. That's good!

Well, until I tried to minimize windows (either from the gnome-panel, or using Mod-n). The window minimizes just fine, but I can't figure out how to restore it. As far as I can tell, un-minimize has absolutely no effect. I installed the most recent version of awesome, and still no improvement.

I am a bit at a loss how to debug this problem. Does anybody have a suggestion of where I should even start looking?

Thanks


Markus
Louis LÉVÊQUE | 7 Apr 12:24 2016
Picon

awful.spawn seems to modify the command to run

Hello everybody !

I am trying to set up my volume keys so I took a snippet from
https://awesomewm.org/wiki/Volume_control_and_display

I only took the binding part, but when I press the keys, the volume is
increased / decreased by a dramatic level... When I try to run

amixer set Master 9%+

in a terminal the volume correctly gets increased by 9 % while the key
defined llike that :

   awful.key({ }, "XF86AudioRaiseVolume", function ()
       awful.util.spawn("amixer set Master 9%+") end)

causes the volume to jump from 0% to 65% or from 1% to 74%
At first I thought that there may be some string processing that could
change the command but replacing it with echo amixer set Master 9%+ >
/tmp/out proved this wrong.

What could cause this different behaviour ?

Thank you by advance,

Louis

Abraham Baker | 12 Mar 02:36 2016

Awesome Wikipedia UBX

Hi,

I've made a Wikipedia userbox for the Awesome WM:

I just wanted to mention it here before adding it to the Software UBX page.  I'm not sure whether it should go under "Desktop Environments", "Other Software", or if I should suggest a new section for "Window Manager" (there are some wms under the Other section already, but they could be moved).


Hope this is useful to some of you!

Abe
Uli Schlachter | 6 Mar 15:19 2016
Picon
Gravatar

[ANNOUNCE] awesome 3.5.9 released


Hi again,

it's been awfully long since the last release and Google Chrome is playing
dirty tricks on us, so here is some new awesomeness to enjoy. Oh and we are
holding Java's hand some more so that it's slightly less confused about the
position of its own windows.

Cheers,
Uli
-- 

awesome version 3.5.9 has been released. It is available from:

tar.xz: http://awesome.naquadah.org/download/awesome-3.5.9.tar.xz
md5: 62a0b5c6bd3baeb4879d7e8399e5ad87
sha1: 802a6e0524b5f79b7485026d3c68dc6df2dc4eab

tar.bz2: http://awesome.naquadah.org/download/awesome-3.5.9.tar.bz2
md5: 3e3268231fbd131fa9d5c27615b1efea
sha1: 3fc91f6b4d4dc5f69b4db18d12fad832542558d6

number of changes
-----------------
9

number of commiters
-------------------
1

shortlog
--------
Uli Schlachter (9):
      Always send ConfigureNotifies
      Don't modify WM_HINTS in client_set_urgent()
      Fix awful.ewmh to handle window gravities
      Check that the Lua stack is empty in the main loop
      Fix unbalance Lua stack usage in event_handle_leavenotify()
      Balance the stack in luaA_loadrc()
      Fix arguments to luaL_checkstack()
      Make client key bindings for e.g. xeyes work again
      change codename

diffstat
--------
 awesome.c             |  7 +++++++
 awesomeConfig.cmake   |  2 +-
 common/luaobject.c    |  4 ++--
 event.c               |  5 ++++-
 lib/awful/ewmh.lua.in |  4 ++--
 luaa.c                | 57 +++++++++++++++++++++++++++++----------------------------
 objects/client.c      | 54 ++++++++++++++++++++++++++++++++++--------------------
 objects/client.h      |  3 +++
 8 files changed, 82 insertions(+), 54 deletions(-)
A M | 28 Feb 18:49 2016
Picon

Re: Redshift, no effect?

Redshift works fine outside of awesome, I've been using it for several 
years.

I discovered the issue and resolved it. I had to replace the relative 
path to the .redshift.conf with the absolute path.
The only edit I did was thus:
redshift.options = "-c /home/alex/.config/redshift.conf"

In the error log I has these messages:
fopen: No such file or directory
Unable to load config file.

It seems fairly odd that a relative path using tilde (~) leads to 
errors, but the most likely explanation is that somewhere the 
tilde-expansion fails.
Without going in-depth I'd guess the error comes at awful.util.spawn() 
in the library. Maybe awful.util.spawn_with_shell() would work better?

On 02/28/2016 05:26 PM, fatemail1993 <at> gmail.com wrote:
> Does redshift work outside awesome, run it from console, with your
> config, if it works, show log of the awesome when you trying to use
> awesome-redshift
> On Sun, Feb 28, 2016 at 05:18:03PM +0100, A M wrote:
>> Hello
>>
>> I've setup redshift integration as described in these two links:
>> https://awesome.naquadah.org/wiki/Using_redshift_with_awesome
>> https://github.com/YoRyan/awesome-redshift/blob/master/README.md
>>
>> I've followed the instructions carefully and imitated them precisely. As far
>> as I am aware of all dependencies are fulfilled (redshift and xrandr is
>> installed) .
>> I am getting no results at all. I've added the key-binding for
>> redshift.toggle and nothing happens when triggering it.
>>
>> I'm using Fedora 23 with awesome 3.5.8 (Major Tom)
>>
>> Should these instructions work with recent versions of awesome (they appear
>> to be a few years old)?
>> Is anyone else successfully using redshift?
>> How can I debug and determine the issue?
>>
>> Best Regards
>> Alex
>>
>> -- 
>> To unsubscribe, send mail to awesome-unsubscribe <at> naquadah.org.

A M | 28 Feb 17:18 2016
Picon

Redshift, no effect?

Hello

I've setup redshift integration as described in these two links:
https://awesome.naquadah.org/wiki/Using_redshift_with_awesome
https://github.com/YoRyan/awesome-redshift/blob/master/README.md

I've followed the instructions carefully and imitated them precisely. As 
far as I am aware of all dependencies are fulfilled (redshift and xrandr 
is installed) .
I am getting no results at all. I've added the key-binding for 
redshift.toggle and nothing happens when triggering it.

I'm using Fedora 23 with awesome 3.5.8 (Major Tom)

Should these instructions work with recent versions of awesome (they 
appear to be a few years old)?
Is anyone else successfully using redshift?
How can I debug and determine the issue?

Best Regards
Alex


Gmane