Re: How to make terminal font smooth?

2011-04-20 Thread Anurag Priyam
 is it possible to make terminal font smooth (now I use gnome-terminal but I 
 can switch to another if it is need)

Lett me know if this post helps.

http://yeban.github.com/2010/05/16/beautiful-font-rendering-on-debian.html

-- 
Anurag Priyam
http://about.me/yeban/

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: How to make terminal font smooth?

2011-04-20 Thread Gennadiy Zlobin
Thanks you very much Anurag, it works perfectly!

- Gennadiy gennad.zlo...@gmail.com


On Wed, Apr 20, 2011 at 4:07 PM, Anurag Priyam anurag08pri...@gmail.comwrote:

  is it possible to make terminal font smooth (now I use gnome-terminal but
 I can switch to another if it is need)

 Lett me know if this post helps.

 http://yeban.github.com/2010/05/16/beautiful-font-rendering-on-debian.html

 --
 Anurag Priyam
 http://about.me/yeban/



Timer and/or stopwatch for awesome tray

2011-04-20 Thread Torsten Andre

Hey guys,

Silly me. I was thinking I could quickly install a timer (or even better 
timer and stop watch) for my tray. But guess what, I wasn't able to find 
one. Can someone help me out? All I found was applets for xfce4, kde or 
gnome panels. But since I don't use any panels, these applets won't help.


I need a timer for my awesome tray which allows me to easily set a 
countdown and informs me visually and/or acoustically (something which 
tea-timer used to do for Debian).


Can someone help me out? Thanks guys.


--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: How to make terminal font smooth?

2011-04-20 Thread Anurag Priyam
On Wed, Apr 20, 2011 at 2:44 PM, Gennadiy Zlobin
gennad.zlo...@gmail.com wrote:
 Thanks you very much Anurag, it works perfectly!

Nice :). I added it to the wiki[1].

[1] https://awesome.naquadah.org/wiki/Better_Font_Rendering

-- 
Anurag Priyam
http://about.me/yeban/

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: How to make terminal font smooth?

2011-04-20 Thread Gennadiy Zlobin
Hmm... I did not change my values which I specified at superuser.com.


- Gennadiy gennad.zlo...@gmail.com


On Wed, Apr 20, 2011 at 5:36 PM, Dieter Plaetinck die...@plaetinck.bewrote:

 On Wed, 20 Apr 2011 16:07:25 +0530
 Anurag Priyam anurag08pri...@gmail.com wrote:

  On Wed, Apr 20, 2011 at 2:44 PM, Gennadiy Zlobin
  gennad.zlo...@gmail.com wrote:
   Thanks you very much Anurag, it works perfectly!
 
  Nice :). I added it to the wiki[1].
 
  [1] https://awesome.naquadah.org/wiki/Better_Font_Rendering
 

 how confusing, how does this compare to other tricks like
 Xdefaults or .gtkrc?

 Dieter

 --
 To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.



Re: How to make terminal font smooth?

2011-04-20 Thread Klaus Umbach
On 20.04.11 16:07, Anurag Priyam wrote:
 On Wed, Apr 20, 2011 at 2:44 PM, Gennadiy Zlobin
 gennad.zlo...@gmail.com wrote:
  Thanks you very much Anurag, it works perfectly!
 
 Nice :). I added it to the wiki[1].
 
 [1] https://awesome.naquadah.org/wiki/Better_Font_Rendering

For me, this looks really terrible compared to:

?xml version=1.0?!DOCTYPE fontconfig SYSTEM fonts.dtd
fontconfig
 match target=font
  edit mode=assign name=rgba
   constnone/const
  /edit
 /match
 match target=font
  edit mode=assign name=hinting
   booltrue/bool
  /edit
 /match
 match target=font
  edit mode=assign name=hintstyle
   consthintmedium/const
  /edit
 /match
 match target=font
  edit mode=assign name=antialias
   booltrue/bool
  /edit
 /match
/fontconfig



-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: How to make terminal font smooth?

2011-04-20 Thread Martin Lee
Its depend on what kind of monitor that we used. So each config will give a
different result.

On Apr 20, 2011 7:10 PM, Klaus Umbach treibholz-awes...@uxix.de wrote:

 On 20.04.11 16:07, Anurag Priyam wrote:
  On Wed, Apr 20, 2011 at 2:44 PM, Gennadiy Zlobin
  gennad.zlo...@gmail.com wrote:
   Thanks you very much Anurag, it works perfectly!
 
  Nice :). I added it to the wiki[1].
 
  [1] https://awesome.naquadah.org/wiki/Better_Font_Rendering

 For me, this looks really terrible compared to:

 ?xml version=1.0?!DOCTYPE fontconfig SYSTEM fonts.dtd
 fontconfig
  match target=font
  edit mode=assign name=rgba
   constnone/const
  /edit
  /match
  match target=font
  edit mode=assign name=hinting
   booltrue/bool
  /edit
  /match
  match target=font
  edit mode=assign name=hintstyle
   consthintmedium/const
  /edit
  /match
  match target=font
  edit mode=assign name=antialias
   booltrue/bool
  /edit
  /match
 /fontconfig



 --
 To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: swap widget from memwidget

2011-04-20 Thread Adrian C.
On Wed, 20 Apr 2011, chris M. sprite wrote:

  but the new swapwidget can not work . display nothing ,

Again, really? 

Let me draw it for you this time: Your code is broken.

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

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Signals on spawned clients

2011-04-20 Thread drebs
Hello, I'm new on this list so I introduce myself here. I'm a brasilian
student and have been using awesome since 2009. I waited patiently until the
release of debian squeeze, so just now, after the upgrade from lenny, i could
start scripting to adapt awesome to my needs.

So, please allow me to begin troubling you (and hopefully contributing with
what I can!). ;)

***

I built a mailbar that shows me new mail from each of the mailboxes from each
mail account. Each mailbox with new mail generates one button that spawns a
terminal with mutt inside that specific mailbox.

I would like to add a signal to the spawned client, so I can refresh the
mailbar when leaving mutt, after having read emails.

The awesome api doc[1] says that awful.util.spawn's return value is
awesome.spawn. When print awesome.spawn's type, I get a function type. But
when I set a variable with the result of the spawn function, i get 'nil' as
its type.

I would like to do something like this:

  client = awesome.util.spawn(terminal ..  -e \mutt -y\)
  client:add_signal(unmanage, function(c) unmanage_client(c) end)

On the mailing list archives, I found someone saying that the return value of
spawn() should be the PID of the spawned process[2]. On another mail[3],
someone attached a hack to keep track of spawned clients with tags, but it
also uses the return value of spawn().

Any ideas? Thanks a lot!

drebs.

--

[1] https://awesome.naquadah.org/doc/api/modules/awful.util.html#spawn
[2] http://www.mail-archive.com/awesome@naquadah.org/msg03170.html
[3] http://www.mail-archive.com/awesome@naquadah.org/msg03586.html

-- 
    __o
  _`\,_
 (*)/ (*)


-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: How to make terminal font smooth?

2011-04-20 Thread Anurag Priyam
On Wed, Apr 20, 2011 at 4:44 PM, Martin Lee hellnest.f...@gmail.com wrote:
 Its depend on what kind of monitor that we used. So each config will give a
 different result.

Hmm, I didn't know that. I will just add it as a note in the wiki, and
add Klaus's config too.

-- 
Anurag Priyam
http://about.me/yeban/

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: How to make terminal font smooth?

2011-04-20 Thread Dieter Plaetinck
On Wed, 20 Apr 2011 18:31:26 +0400
immerrr again... imme...@gmail.com wrote:

 On 04/20/2011 02:36 PM, Dieter Plaetinck wrote:
  how confusing, how does this compare to other tricks like
  Xdefaults or .gtkrc?
 
  Dieter

 gtkrc  Xdefaults is a common way to store configuration parameters 
 for a variety of programs and these parameters may be used to
 fine-tune (override) font rendering configuration on per-application
 basis.
 

ah, that explains.  I thought one could also store cross-application
settings in Xdefaults/gtkrc. (like generic xft options)

Dieter

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: swap widget from memwidget

2011-04-20 Thread chris M. sprite

On Wed, Apr 20, 2011 at 08:17:57 -0700, Perry Hargrave wrote:
 On Wed, Apr 20, 2011 at 4:38 AM, Adrian C. an...@sysphere.org wrote:
  On Wed, 20 Apr 2011, chris M. sprite wrote:
 
   but the new swapwidget can not work . display nothing ,
 
  Again, really?
 
  Let me draw it for you this time: Your code is broken.
 
 lol, I guess we should be more specific?
 
 -- Ram widget
 memwidget = widget({ type = textbox })
 vicious.cache(vicious.widgets.mem)
 
 -- here you 1st register the 'memwidget'
 vicious.register(memwidget, vicious.widgets.mem,  .. colwhi .. Ram
  .. coldef .. colbyel .. $1% ($2 M) .. coldef .. , 13)
 
 -- swap widget
 swapwidget = widget({ type = textbox }) -- you never were
 registering this widget
 
 vicious.cache(vicious.widgets.mem) -- here you are caching again, dont do that
 
  -- Here you are registering the SAME 'memwidget' with vicious.
 -- vicious.register(memwidget, vicious.widgets.mem,  .. colwhi ..
 swap  .. coldef .. colbyel .. $5% ($6 M) .. coldef .. , 13)
 
 -- You should be doing this:
 vicious.register(swapwidget, vicious.widgets.mem,  .. colwhi ..
 swap  .. coldef .. colbyel .. $5% ($6 M) .. coldef .. , 13)

 awesome , you are right , I registered twice . it is solved now . Thanks .
 
 swapwidget, separator,
 memwidget, separator,
 
 -- 
 To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

-- 
I try to detoxify my memory. 
Forget can not be treated as betray.
It's not certainly a love even though you  remember to the end of your life.

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


Re: Signals on spawned clients

2011-04-20 Thread Uli Schlachter

On 20.04.2011 13:18, drebs wrote:

The awesome api doc[1] says that awful.util.spawn's return value is
awesome.spawn. When print awesome.spawn's type, I get a function type. But
when I set a variable with the result of the spawn function, i get 'nil' as
its type.


No idea what you are looking at, but since 3.4.8, awesome.spawn() returns the 
PID in case of success and a string with an error message in case of error. 
Before 3.4.8, it returns nil for success and a string for error messages.


Also, just starting something doesn't mean that a new window appears. You could 
e.g. do awesome.spawn(sleep 10) without getting a new window. It's actually 
quite hard to map a spawn()-call to the resulting window. No idea if it works, 
but you could give this a try (assuming you get the pid from spawn()):


pid = awesome.spawn(terminal ..  -e \sleep 5\)
client.add_signal(unmanage, function(c)
  if c.pid ~= pid then return end
  print(c, disappears!)
end

--
Do you know that books smell like nutmeg or some spice from a foreign land?
  -- Faber in Fahrenheit 451

--
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.


[awesome bugs] #892 - Wibox does not position properly on differently-sized monitors

2011-04-20 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#892 - Wibox does not position properly on differently-sized monitors
User who did this - Uli Schlachter (psychon)

--
Here's my screen geometry:

$ xdpyinfo -ext XINERAMA | tail -n 3
XINERAMA version 1.1 opcode: 151
 head #0: 1024x768 @ 0,0
 head #1: 1680x1050 @ 1024,0

I have two wiboxes attached to the top of either monitor. Works fine here.

How exactly should I change this to hit the bug?
--

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=892#comment2619

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #892 - Wibox does not position properly on differently-sized monitors

2011-04-20 Thread awesome

THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#892 - Wibox does not position properly on differently-sized monitors
User who did this - Dani Church (dchurch)

--
Either (a) set your wibox position to bottom, or (b) Change head #1 to have a 
vertical offset, for example 1680x1050 @ 1024,30, as you would if the second 
monitor were physically lower than the first.
--

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=892#comment2620

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


wiki update

2011-04-20 Thread Anurag Priyam
Hi all,

The syntaxhighlight tag[1] would be a good addition to the awesome
wiki as most of the tips deal with some code. Please, can we have an
updated Media Wiki for awesome?

[1] http://en.wikipedia.org/wiki/Help:Wiki_markup#Format

-- 
Anurag Priyam
http://about.me/yeban/

-- 
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.