John Lips | 12 May 2013 20:16
Picon
Gravatar

awesome taskbar still shown with GTK+ application in fullscreen mode

I just tested this same application in fluxbox and the taskbar is
covered by the GTK+ application at startup.

In awesome (3.4.15) the taskbar shifts the application upward by the
height of the task bar.  I know this is the case and not that the
taskbar is covering the application because when you move the window one
increment downward (mod+down) the application is as it should be
covering the full screen.

On application startup with the awesome taskbar showing under the
application, if I toggle fullscreen (mod+f) the window is tiled (bottom
half of screen), then if I toggle fullscreen again the application is as
it should be covering the fullscreen.  This tells me that awesome thinks
that the application is fullscreen at startup.

Is there something in my rc.lua that needs set to allow applications to
be truly full screen at startup without having to toggle fullscreen
twice?

Thanks,
John

Knut Halvor Skrede | 11 May 2013 01:19
Picon

Adding a margin option to the awesome themes

Hi,

I would like to add a margin option to the awesome theming by updating the layout files.

Where can I find information about contributing to the project?

Cheers,
Knut Halvor
Alexander Yakushev | 9 May 2013 12:31

Picturesque - automatic wallpaper fetching/changing

Hello guys,

Just in case anyone is interested, I hacked together a small module that 
grabs a random wallpaper from 4walled.com once in a while.

Here's the link: http://awesome.naquadah.org/wiki/Picturesque

Have a nice day.

--

-- 
Alexander Yakushev
http://bytopia.org

"Java is like a variant of the game of Tetris in which none of the
pieces can fill gaps created by the other pieces, so all you can do is
pile them up endlessly."
    -- Steve Yegge

Manuel Kasser | 8 May 2013 19:44
Picon
Favicon

spawn something on a certain tag without rules

Hi,
I want to start a process on a certain tag. I could do this combining
awful.util.spawn() and a rule, but in this case I need to do it entirely
without a rule.

The exact scenario is that I have a script which changes to a certain
directory and starts a filemanager (pcmanfm) in there afterwards. This
filemanager shall come up on a certain tag (getting the correct tag is
no problem).

But just this filemanager spawned by this script shall be started on
this one tag, other filemanager processes shall not be affected by this
(that's why I can't work with a rule, because the way of spawning is the
only differernce between certain instances).

Any good ideas how to archieve that? I can pipe most commands to awesome
from a shellscript via "echo 'command' | awesome-client", if someone
knows how to implement it completely (with the directory change) in
awesome/lua, feel free to tell me about that way!

Thanks in advance,
Manuel

mimosinnet | 3 May 2013 21:49
Picon
Gravatar

Specific menus in each tag

I am new in the list and I just started with awesome. I have been using
fvwm for years, and I thought nothing could have made me ever
considering manging window managers...., till something awesome
appeared. 

My question. I have emulated changing tags with the numeric keyboard:

>---------
-- Numeric pad (JPT) {{{
Teclat_Numeric = { "KP_End", "KP_Down", "KP_Next", "KP_Left", "KP_Begin", "KP_Right", "KP_Home",
"KP_Up", "KP_Prior" }

-- Got to tag with numeric pad  
for i = 1, 9 do
    globalkeys = awful.util.table.join(globalkeys,
		awful.key({ }, Teclat_Numeric[i], function () awful.tag.viewonly(tags[mouse.screen][i]) end)
		)
end
>---------

And I have defined different menus and been able to get a personalised menu in each tag:

>---------

-- Go to tag and menu with shift and numeric pad 
-- Menus: "M_File", "M_Mail", "M_Office", "M_Fox", "M_Sys", "M_Oci", "M_Chrome", "M_Xarxa",
"M_Awesome" 

globalkeys = awful.util.table.join(globalkeys,
	awful.key({ "Shift" }, Teclat_Numeric[1], function () 
			awful.tag.viewonly(tags[mouse.screen][1])
			M_File:show({keygrabber=true}) 
	end),
	awful.key({ "Shift" }, Teclat_Numeric[2], function () 
			awful.tag.viewonly(tags[mouse.screen][2])
			M_Mail:show({keygrabber=true}) 
	end),
	awful.key({ "Shift" }, Teclat_Numeric[3], function () 
			awful.tag.viewonly(tags[mouse.screen][3])
			M_Office:show({keygrabber=true}) 
	end),
	awful.key({ "Shift" }, Teclat_Numeric[4], function () 
			awful.tag.viewonly(tags[mouse.screen][4])
			M_Fox:show({keygrabber=true}) 
	end),
	awful.key({ "Shift" }, Teclat_Numeric[5], function () 
			awful.tag.viewonly(tags[mouse.screen][5])
			M_Sys:show({keygrabber=true}) 
	end),
	awful.key({ "Shift" }, Teclat_Numeric[6], function () 
			awful.tag.viewonly(tags[mouse.screen][6])
			M_Oci:show({keygrabber=true}) 
	end),
	awful.key({ "Shift" }, Teclat_Numeric[7], function () 
			awful.tag.viewonly(tags[mouse.screen][7])
			M_Chrome:show({keygrabber=true}) 
	end),
	awful.key({ "Shift" }, Teclat_Numeric[8], function () 
			awful.tag.viewonly(tags[mouse.screen][8])
			M_Xarxa:show({keygrabber=true}) 
	end),
	awful.key({ "Shift" }, Teclat_Numeric[9], function () 
			awful.tag.viewonly(tags[mouse.screen][9])
			M_Awesome:show({keygrabber=true}) 
	end)
)

>---------

This more of a lua question: is it possible to simplify the above code?
I have unsuccessfully tried to get the menu in a variable and use them
afterwards. Or maybe am I using a wrong approach?

Thanks for your attention and for this awesome window manager!

Cheers!

--

-- 
Mimosinnet
Linux User: #463211
41:25:16N (41.421110) 2:11:28E (2.188333)
Arvid E. Picciani | 3 May 2013 12:32
Favicon
Gravatar

Prevent keyboard focus for dock

Hi,

dzen2 behaves correctly in awesome. When you click it, keyboard focus 
remains in the active window instead of going to dzen.

Hacking my own dzen style panel, i'd like the same behaviour, but just 
setting netwm dock type doesn't seem to do it.
Whenever i click my panel, awesome sets keyboard focus to it, although 
it doesn't even accept keyboard events.

Any idea what i'm doing wrong there?

--

-- 
Arvid E. Picciani

Rainer M Krug | 29 Apr 2013 19:46
Picon

Now I am feeling dumb - how to start awesome from Ubuntu raring ringtail?

Hi

This is likely very straightforward, but I am stuck:

I installed Ubuntu Raring Ringtail new, installed awesome and loged out and wanted to start awesome - but I can't find a way of selecting the session!. I tried gdm, and there the session selector is greyed out, indicating to me that I only have one session available, but I have:

07:44:52 ~$ ls /usr/share/xsessions/
total 12
-rw-r--r-- 1 root root 158 Dec 24 15:36 awesome.desktop
-rw-r--r-- 1 root root 188 Mar 21 07:08 gnome.desktop
-rw-r--r-- 1 root root 185 Mar 21 07:08 ubuntu.desktop

So what the heck is going on here? Am I to dumb to find the session selector under lightdm?

Rainer

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax (F):       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at> krugs.de

Skype:      RMkrug
mrrhq2 . | 28 Apr 2013 18:43
Picon

rc.lua/Gears errors

Hi, I'm migrating from awesome 3.x to 3.5. I'm not very fluent with Lua syntax and I'm still learning how to use it. I'm trying to figure out what the following error message means, and how to fix it:

--
/usr/share/awesome/lib/gears/debug.lua:23: Assertion failed: 'draw is not a function'
stack traceback:
    /usr/share/awesome/lib/gears/debug.lua:23: in function 'assert'
    /usr/share/awesome/lib/wibox/widget/base.lua:113: in function 'check_widget'
    /usr/share/awesome/lib/wibox/layout/fixed.lua:55: in function 'add'
    /home/mrrhq/.config/awesome/rc.lua:332: in main chunk
/usr/share/awesome/lib/gears/debug.lua:23: Assertion failed: 'draw is not a function'
stack traceback:
    /usr/share/awesome/lib/gears/debug.lua:23: in function 'assert'
    /usr/share/awesome/lib/wibox/widget/base.lua:113: in function 'check_widget'
    /usr/share/awesome/lib/wibox/layout/fixed.lua:55: in function 'add'
    /home/mrrhq/.config/awesome/rc.lua:332: in main chunk
--

I'm running:

--
awesome v3.5.1 (Ruby Tuesday)
 • Build: Apr  1 2013 19:51:47 for x86_64 by gcc version 4.7.2 (nobody <at> copy)
 • Compiled against Lua 5.2.1 (running with Lua 5.2)
 • D-Bus support: ✔
--

Uname:
--
Linux pc-main 3.8.8-2-ARCH #1 SMP PREEMPT Tue Apr 23 10:28:14 CEST 2013 x86_64 GNU/Linux
--

Here's a Pastebin link: http://pastebin.com/q8zjghbq
k054 | 26 Apr 2013 01:42

Running apps in four different monitors.

Hi there!

I'm comimg from here:

http://unix.stackexchange.com/questions/69272/start-different-applications-on-second-third-and-fourth-monitor

I have two GeForce GT 610 nvidia cards with 2 screen plugged to each one.

What I need to do it to somehow set them up to work as a picture slider.

What I've been doing so far ir to start gnome, move the mouse to screen
1, run eog --fullscreen --slideshow ~/images/1/*

move the mouse to screen 2 and run eog --fullscreen --slideshow ~/images/2/*

and do on, but I would like it ton happen automagicaly :)

I read some threads about dual monitor on the archive but I barely
undestand most of them 'couse this is the first time I have to deal with
4 screen using nvidia drivers and a tricky xorg.conf file, and first
time tryign awsome too.

Thanks in advance.

--

-- 
k054

Daniel | 25 Apr 2013 09:16
Picon
Favicon

launching a program on a tag, without static rules

I want to launch a program and have it open its window on a specific
tag. The thing is that I don't want to set up any rules for the window
(for class, instance or so). This because I'm actually experimenting
with a little session handler that should re-open (certain) programs'
windows where they were last time.

I would like to avoid starting a program and then finding its window (by
pid; i.e. wmctrl can do this) and moving it in place. That would
probably also involve waiting around for the window to appear and going
through my programs one by one. (Alternatively creating tag, show it,
launching and waiting for program's window to appear, and the moving on
to the next program). It feels like a hassle and potentially ugly... but
maybe that's the way.

If the tag doesn't exist, I will of course create it first. But any
clues otherwise on how to achieve this? Maybe I'm forgetting something
obvious!

Timur Polatov | 15 Apr 2013 16:53

(unknown)

Hi guys! 
I set  awful.key({  }, "Caps_Lock", function () kbdcfg.switch() end) and following widget in my rc.lua 
And now i have problem. When i switch layout to another language and write something letters appear in an upper register. But switching of layout is the way i needed.


Gmane