Aleksander Szczygieł | 28 May 13:32 2015
Picon

Question about client.add_signal("custom_signal")

Hi,

I have question - I need custom signal in my rc and I used undocumented 
function client.add_signal("custom_signal") (like it was made in 
awesoem/lib/awful/client.lua) to do it before using 
client.emit_signal("custom_signal"), but this function is undocumented so I'm 
not so sure if my way doing it is correct...

copied example from rc.lua:

-- add signal for toggling wibox on top (needed for forcing maximized clients 
resize)
client.add_signal("wibox_toggle")
.
.
.
globalkeys = awful.util.table.join(
.
.
.
awful.key({ modkey,           }, "b",
        function ()
            mywibox[mouse.screen].visible = not mywibox[mouse.screen].visible
            client.emit_signal("wibox_toggle")
        end, "Toggle panel"),
.
.
.
-- Connect toggle wibox signal to a resize function
client.connect_signal("wibox_toggle", reload_maximized_windows)
(Continue reading)

dabicho | 26 May 23:58 2015
Picon

weird amd compton focus problem

I am using compton as a composite manager.

I starti it with --backend glx and then focus does not work correctly

I usually have to switch focus (press Mod+Tab) twice if the mouse
cursor is over the previous window.

Anyone has experienced the same problem? or a better alternative to compton?

Also, performance is not very good but I rather like being able to use
blured opacity.

Any hint.

Thankyou

Alexis BRENON | 25 May 17:19 2015
Picon

Re: Combination row+column layout?

Hi Rena,

Joined is a draft patch to add a "corner" layout. Of course, you have to add it in your rc.lua file!
You can also find it on my github account : https://github.com/AlexisBRENON/awesome/tree/feature/corner_layout
I compiled it without any problem and it works quite well. I've got some weird behaviour, but I tried it with small screen resolution, with terminal which honour size hints (round height and width to match a full number of columns and rows), and so, sometimes there is gap between windows.
I hope that you can understand my new file : lib/awful/layout/suit/corner.lua.in, and that you will be able to change it to meet the best as it can you need.

Kind regards,
Alexis

Le lun. 25 mai 2015 à 10:20, Alexis BRENON <brenon.alexis <at> gmail.com> a écrit :

Hi Rena,

I don't use spiral or dwindle layout, so I don't exactly know how they behave. Nevertheless, I think that they are the nearest to what you try to achieve.

I never implement a new layout, so I can't really help you for the moment. I suggest you to copy one of spiral or dwindle and try to modify it. I will try this also. I will tell you if I manage anything.

Kind regards,
Alexis.


Le ven. 22 mai 2015 à 23:40, Rena <hyperhacker <at> gmail.com> a écrit :
On Fri, May 22, 2015 at 3:16 AM, Alexis BRENON <brenon.alexis <at> gmail.com> wrote:
> Hi Rena,
>
> It seems quite similar to spiral or zig-zag layouts, doesn't ? Dis you try
> them ? Maybe you can create a new layout based on these which better fits
> your needs.
>
> Kind regards,
> Alexis
>
> Le ven. 22 mai 2015 à 02:49, Rena <hyperhacker <at> gmail.com> a écrit :
>>
>> How can I achieve a layout like this? http://i.imgur.com/lNF0fpw.png
>>
>> --
>> Sent from my Game Boy.
>>
>> --
>> To unsubscribe, send mail to awesome-unsubscribe <at> naquadah.org.

Those layouts appear to divide the screen area repeatedly in half?
It's not quite what I'm after. Perhaps if I could adjust them a bit.
The spiral, dwindle, and fair layouts don't seem to let me resize any
windows and ignore the nmaster/ncols settings; not sure if that's a
bug?

I think my first image wasn't clear, maybe an animation will help:
http://i.imgur.com/JVnsfkX.gifv

Basically with most layouts there's one row or column for "master"
windows and N for "non-master" windows (where N is adjustable). What
I'm looking for is the non-master windows to be in both rows *and*
columns, with the master window(s) in a corner.

I might have a go at implementing it myself, but I'm not really sure
where to begin there.

--
Sent from my Game Boy.
Attachment (corner_layout.patch): text/x-patch, 6459 bytes
Carlo Cabanilla | 24 May 05:20 2015
Picon

Moving a window's audio when moving monitors

Hello Awesome people,

I have a setup at home where I have my desktop connected to a monitor and speakers, and also connected to my tv which has its own speakers. I'd like to have it so that when I move a window playing sound like a youtube tab or mplayer from my monitor to my tv, the sound also switches from my desktop speakers to my monitor speakers. Is there an easy way to do this?

My idea was to create a timer that would call `pacmd list-sink-inputs` to get the current things that are playing sound and build a table that maps pid to sink input id (the thing playing sound) and sink id (the set of speakers it's currently playing sound out of) and every few seconds checks all the awesome clients to make sure that their sink id matched the screen that they were on. If they didn't make, called `pacmd move-sink-input` to move their sink id to the appropriate on.

The problem I'm running into is that I'm using the pid to match pulseaudio sink inputs with awesome clients, but for Chrome tabs for example, different clients will have the same pid but will be on different screens. Is there a better id I could match on? I was considering using the X window id, but I didn't know how to get that value from pulseaudio's sink inputs.

.Carlo

blokkie | 22 May 11:28 2015
Picon

any linux vmware image with awesomewm installed ?

Hi ,

Does anybody know a vmware linux image that has awesomewm included ? 

I don't care which linux , I only want awesomewm.

 

At work I only have a windows machine available with vmware-player.

 

PS: I don't have internet connection at work either :/

 

Many thanks in advance 

Blokkie

--
-
Rena | 22 May 02:48 2015
Picon

Combination row+column layout?

How can I achieve a layout like this? http://i.imgur.com/lNF0fpw.png

--

-- 
Sent from my Game Boy.

Jeferson Lesbao | 21 May 02:59 2015
Picon

Drop Down Prompt

Hi,
Today I noticed a feature that I haven't seen in awesome, maybe it's available though an external script I'm not aware of, but.

mod-r gives me an prompt where I can type programs I want to open, there's a way to this same prompt gives me a drop down options with last commands I typed or something similar ?
Thomas Baruchel | 18 May 15:45 2015
Picon

How to make a window unfocusable?

Hi,

I have a window containg the xxxterm browser with a clock inside it.
With no border, menu, etc. and a dark background, the clock looks like
part of the wallpaper rather than a true window.

The clock is: http://mbostock.github.io/protovis/ex/clock-full.html

I would like to go a little further; can I expect to:
    * remove the title of the window from the taskbar?
    * make the window unmovable (my tiling mode is
      awful.layout.suit.tile ; I can change it of course,
      but what I like is to have the clock on the left "master window" (?)
      and have my xterm sharing the empty space on the right on
      this workspace);
    * make the window unfocusable; when I change the focus with the keyboard
      by cycling next/previous; is there a way to "jump" over this window in
      order to remove it from the cycle?

Best regards,

--

-- 
Thomas Baruchel

Jeferson Lesbao | 18 May 06:10 2015
Picon

asynchronous auto-start script

Hello,

I have an auto-start script in my rc.lua, which I use to open Emacs, xtrm and other things right after awesome starts, but it's sometimes slow. Do someone have an solution to speed it up (keep this decision inside rc.lua) ? Is there a way to do this with some kind of threads ? I noticed lua doesn't have threads by default, it's 'coroutines' would be able to do this ?

Best regards,
Jeferson
Martin Ueding | 13 May 07:57 2015
Picon

No client focused on tag change

Hi all,

I installed the git version of Awesome on Ubuntu and tried to migrate my
configuration file. Whenever I change a tag, no client is focused. This
is rather annoying.

Then I tried the default configuration and this is not a problem. So I
assume that I broke something in the configuration.

I have uploaded the [difference between upstream rc.lua and my
rc.lua](https://paste.kde.org/pkfwjafol) such that you can easily view
it with syntax highlighting.

Could you please look at it and tell me whether there is something wrong
in it?

Regards

Martin
--

-- 
http://martin-ueding.de/#pk_campaign=Email

This email is formatted with
[Markdown](https://en.wikipedia.org/wiki/Markdown).
Attachment (diff.patch): text/x-patch, 19 KiB
Andreas Radke | 12 May 17:45 2015
Picon

lua 5.3 error

Arch Linux is now using lua 5.3. Basic functions work. I get a dbus
notification error popping up:
naughty.lua attemps to call a nil value in line 556

local w, h, rowstride, _, _, channels, data = unpack(hints.icon_data)

Any idea how to fix this quickly?

-Andy
ArchLinux


Gmane