Johannes Kimmel | 1 Oct 2009 15:10
Picon
Picon

Re: Fair-Tiling

Gabriel Fornaeus wrote:
> Can't you just switch places on the windows or use one of the other
> fair layouts? 
>   
Well, that doesn't solve the problem and it would end in more work than
using normal tiling and a new opened window wouln't get full height.
Maybe I didn't make myself clear enough :)
I want a new window on the left with highest possible height with the
current number of windows :)

Regards

Johannes
> 2009/9/30 Johannes Kimmel <johannes.kimmel <at> gmx.de>:
>   
>> Hi,
>>
>> i use Fair most of time, but something annoys me, when having uneven
>> number of windows.
>>
>> atm:
>>
>> +-----+-----+
>> |  1  |     |
>> +-----|  3  |
>> |  2  |     |
>> +-----+-----+
>>
>> how I liked it:
>>
(Continue reading)

James Pearson | 1 Oct 2009 23:40
Picon
Gravatar

Re: set a floating client to be always on top

On Fri, Sep 11, 2009 at 1:42 AM, Javier Barroso <javibarroso <at> gmail.com> wrote:
I'm having trouble with sticky propierty.

I probe with 2 different configs (awful.client.sticky.set (c,..)) y
c.sticky=true :
$ diff -C3  /etc/xdg/awesome/rc.lua .config/awesome/rc.lua
*** /etc/xdg/awesome/rc.lua     2009-05-18 11:53:55.000000000 +0200
--- .config/awesome/rc.lua      2009-09-11 10:33:22.000000000 +0200
***************
*** 381,386 ****
--- 381,388 ----
     local inst = c.instance
     if floatapps[cls] ~= nil then
         awful.client.floating.set(c, floatapps[cls])
+         -- awful.client.sticky.set(c, floatapps[cls])
+       c.sticky=true
     elseif floatapps[inst] ~= nil then
         awful.client.floating.set(c, floatapps[inst])
     end

Then I start gimp in awesome, but it seems like it is not sticky, it
only appears in the tag where it was launched.

You're only setting sticky=true if the cls is in floatapps; your rule for gimp probably matches the instance, meaning that you need to add that line right below the check for `floatapps[inst] ~= nil`, too.

--
James Pearson
--
The best way to predict the future is to invent it.
 - Alan Kay
Javier Barroso | 2 Oct 2009 08:51
Picon

Re: set a floating client to be always on top

On Thu, Oct 1, 2009 at 11:40 PM, James Pearson <xiong.chiamiov <at> gmail.com> wrote:
> On Fri, Sep 11, 2009 at 1:42 AM, Javier Barroso <javibarroso <at> gmail.com>
> wrote:
>>
>> I'm having trouble with sticky propierty.
>>
>> I probe with 2 different configs (awful.client.sticky.set (c,..)) y
>> c.sticky=true :
>> $ diff -C3  /etc/xdg/awesome/rc.lua .config/awesome/rc.lua
>> *** /etc/xdg/awesome/rc.lua     2009-05-18 11:53:55.000000000 +0200
>> --- .config/awesome/rc.lua      2009-09-11 10:33:22.000000000 +0200
>> ***************
>> *** 381,386 ****
>> --- 381,388 ----
>>      local inst = c.instance
>>      if floatapps[cls] ~= nil then
>>          awful.client.floating.set(c, floatapps[cls])
>> +         -- awful.client.sticky.set(c, floatapps[cls])
>> +       c.sticky=true
>>      elseif floatapps[inst] ~= nil then
>>          awful.client.floating.set(c, floatapps[inst])
>>      end
>>
>> Then I start gimp in awesome, but it seems like it is not sticky, it
>> only appears in the tag where it was launched.
>
> You're only setting sticky=true if the cls is in floatapps; your rule for
> gimp probably matches the instance, meaning that you need to add that line
> right below the check for `floatapps[inst] ~= nil`, too.
Sorry, I don't understand (maybe my bad english), which line should be
the right line ?

Thank you
PD: Note what I want to do is create a "stickyapps" table which will
be to acts like floatapps but with sticky apps

Omid Fathi | 2 Oct 2009 10:27
Picon
Gravatar

pin-em-up error on system tray

Hey

i wanna user pin-em-up sticky note program (http://pinemup.sourceforge.net/). it's java based.
i use awesome 3.3.4 on my debian Sid. when i try to start pin-em-up with below command, i get this error "Error! TrayIcon not supported by your system. Exiting..."

java -jar pinemup.jar

but i know Awesome system tray is okay cause i have piding on it, google-desktop and other programs!
is there anyway around this issue?

thank you

Lane Lester | 2 Oct 2009 16:16
Picon

Beginner Needs a Pointer

The pointer I need is to a place to get some familiarity with how this WM works. I have it running in Ubuntu Karmic Alpha 6 right now, and I'm having trouble getting control of it. I've printed the man page, which will probably be useful at some point... but not yet.

Windows Key - Enter doesn't bring up a terminal.

My mouse has only three buttons, so what are 4 and 5?

Well, I just read this in the wiki, and I suppose I should bail out now:

We're talking about Lua, so first, learn Lua. Don't want to? Do not use awesome 3 and stop reading right now.

I'm not a programmer; I'm a user, but I enjoy alternative wm's like icewm and xfce4. I'm not afraid of the terminal or editing text files. But I don't want to spend my life with those things; I want to get on to Firefox, OpenOffice, Gimp, GnuCash, VirtualBox, etc., etc.

So can you point me to a good place to get a handle on tags, layouts, and such? Or should I "stop reading right now"?

Lane
Lane Lester
Gregor Best | 2 Oct 2009 16:58

Re: Beginner Needs a Pointer

On Fri, Oct 02, 2009 at 10:16:51AM -0400, Lane Lester wrote:
> The pointer I need is to a place to get some familiarity with how this WM
> works. I have it running in Ubuntu Karmic Alpha 6 right now, and I'm having
> trouble getting control of it. I've printed the man page, which will
> probably be useful at some point... but not yet.
> 
The manpage is not really intended to be a document which you carve in
stone (or paper in your case) and keep on a bookshelf. It's intended to
give quick pointers on the default behaviour of awesome.

> Windows Key - Enter doesn't bring up a terminal.
Try Window + R and enter the name of a terminal you use

> My mouse has only three buttons, so what are 4 and 5?
Those are scrollwheel up and down, one "click" of the wheel is one
button press and release

> Well, I just read this in the wiki, and I suppose I should bail out now:
> We're talking about Lua, so first, learn Lua. Don't want to? Do not use
> awesome 3 and stop reading right now.
> 
That's probably a bit zealous, you can edit the file just fine without
knowing any lua at all (I learned Lua through using awesome, so if I had
adhered to that sentence, I'd be a wmii or dwm user right now)

> I'm not a programmer; I'm a user, but I enjoy alternative wm's like icewm
> and xfce4. I'm not afraid of the terminal or editing text files. But I don't
> want to spend my life with those things; I want to get on to Firefox,
> OpenOffice, Gimp, GnuCash, VirtualBox, etc., etc.
> 
Most of our users are not programmers. That's not bad at all, because we
need feedback from people like you to make awesome more accessible.

> So can you point me to a good place to get a handle on tags, layouts, and
> such? Or should I "stop reading right now"?
> 
I'd simply start using awesome. If you encounter something that trips
you up, just join our IRC channel #awesome on OFTC, we are more than
happy to help you :)

--

-- 
GCS/IT/M d- s+:- a-- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- ?O M-- ?V PS++ PE- Y++ PGP+++ t+ 5 X+ R tv b+++ DI+++
D+++ G+ e h! r y+

    Gregor Best
Lane Lester | 2 Oct 2009 17:45
Picon

Re: Beginner Needs a Pointer

Thanks to all for the tips and encouragement. You and I both know there are projects where only those who have no life other than the project are welcome. So I thought it would be a good idea to learn that right away.

I'm in Gnome right now, so let me look at rc.lua as Matti suggested before I jump back into awesome.

I'm also trying to get hooked to #awesome with pidgin, but I don't think I succeeded. I have almost zero experience with chat. I see there are 12 people online at #awesome, but my "Hi" has gone unanswered so far. Maybe they're doing "real work" right now. :)

Lane




Adrian C. | 2 Oct 2009 19:22

Re: Beginner Needs a Pointer

On Fri, 2 Oct 2009, Lane Lester wrote:

> I'm also trying to get hooked to #awesome with pidgin, but I don't think I
> succeeded. I have almost zero experience with chat. I see there are 12
> people online at #awesome, but my "Hi" has gone unanswered so far. Maybe
> they're doing "real work" right now. :)

You are on the wrong network. There are 170 people on the official 
channel.

--

-- 
Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618

Alessandro Massignan | 2 Oct 2009 20:24
Picon

Re: Beginner Needs a Pointer

Hi Lane,

i'm a beginner too! :-)
I suggest you to point at the wiki, and read all examples... Awesome
WM seems to
be great and if you're starving for knowledge it could be a good toy ;-)

> I'm in Gnome right now, so let me look at rc.lua as Matti suggested before I jump back into awesome.
Yes, look at rc.lua, modify it and try it without destroy anything:
you could try Awesom WM
inside Gnome through Xephyr:

http://awesome.naquadah.org/wiki/Using_Xephyr

Using Xephyr doesn't let the stuff you're doing getting lost (surfing
the Internet,
listening to music, ...) due a wrong change in rc.lua (or other configuration
files) after restarting Awesome WM.
Wiki suggests it as a development tool, but i think it should be fine
for learning.

Cheers.
ff0000

Alessandro Massignan | 2 Oct 2009 20:58
Picon

Re: Beginner Needs a Pointer

Hi Lane,

> I did manage to destroy rc.lua (with a lot of whining on the IRC), but I have it going again and
> will change things more slowly. I'm in awesome right now, but if... when I break it, I'll try Xephyr.
You could copy rc.lua to rc.lua.test, apply your changes, execute
Xephyr as the wiki intends:

$ Xephyr -ac -br -noreset -screen 800x600 :1

And form another terminal:

$ export DISPLAY=:1.0
$ awesome -c <PATH_TO_CONFIGURATION>/rc.lua.test

If everything goes fine (no errors on terminal) you could port the changes to
"$HOME/.config/awesome/rc.lua" (default configuration file) and restart the WM.
I suggest this way, because first attempts with Lua i made a lot of
mistakes (mmh, now
i'm making mistakes too ;-) and if rc.lua cannot be parsed corretly your hands
over WM go away (eg. key bindings aren't recognize anymore and if you
had something
that isn't in the current tag, you couldn't reach it).
If anyone in the ML have any suggestion to avoid this kind of
situation, i'll be grateful! :-)

Bye.
ff0000


Gmane