awesome and TTYs

2010-08-15 Thread Bill Sun
Hi list: I just switched to awesome. Basically, It works well for me, But I still have a weird problem: The first time I run awesome (at TTY1), It starts at TTY7(Ctrl-Alt-F7), then I quit awesome, and restart awesome (or restart more than 1 time, It's always the same), It always starts at TTY8, TT

Re: awesome and TTYs

2010-08-16 Thread Bill Sun
On Mon, Aug 16, 2010 at 11:03:43AM -0300, Vitor Eiji Justus Sakaguti wrote: Hi, > Could you investigate what is the value of $DISPLAY after you quit awesome? > Also, your .xinitrc might be useful. > > Vitor I tried to "echo $DISPLAY" while X is running: the value of $DISPLAY is ":0.0" After

Re: awesome and TTYs

2010-08-16 Thread Bill Sun
Hi, On Mon, Aug 16, 2010 at 01:38:03PM -0400, Tomás Solar Castro wrote: > It happens to me too, and not just with awesome; with xfce, GNOME, wmii, > etc, it works like that. Before I switched to awesome, I had been using openbox for a long time. It seems that openbox doesn't have such a issue(at

Re: awesome and TTYs

2010-08-17 Thread Bill Sun
On Tue, Aug 17, 2010 at 09:54:03AM +0200, Cyprien Nicolas wrote: > > Hi bill > > Hem, Awesome could not be responsible for your problem, this is purely > an Xorg one, but your .xinitrc could be responsible. > > First of all, you shall not use exec in a shell script but for managing > the shell's

How to judge host name in rc.lua?

2010-09-07 Thread Bill Sun
Hi list: I want to judge hostname in rc.lua, in order to have different settings in different hosts. thanks. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: How to judge host name in rc.lua?

2010-09-08 Thread Bill Sun
> > hostname = awful.util.pread("hostname") > > It can't work (for me) without modify. > I'd do awful.util.pread("hostname -f"):gsub("\n", "") > That way a) the trailing newline is removed, allowing simple string > equality tests and b) the fully qualified hostname is used, which may > aid portin

Re: EMail notification

2010-09-14 Thread Bill Sun
Hi, > Usually there's lots of stuff on the wiki, and I'm trying to put everything > there to help others. > I now need a mail notifier and didn't see anything on that wiki. > Can anyone suggest me a program? I couldn't find anything. > Thanks If you are u

Multi tag matching

2010-09-30 Thread Bill Sun
Hi, I want to let "'XTerm' class" match two tags: the current tag and tag "TERM". And I prefer internal libraries to handle that. thanks. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Multi tag matching

2010-10-01 Thread Bill Sun
Hi Zsolt: These documents are really helpful! > See: > http://awesome.naquadah.org/wiki/FAQ#How_to_start_clients_on_specific_tags_and_others_as_floating.3F > "Set Xterm to multiple tags on screen 1" > > And see this too: > http://awesome.naquadah.org/doc/api/modules/awful.tag.html#withcurrent > a

Re: Multi tag matching

2010-10-01 Thread Bill Sun
Hi: After I applied these settings, My screen will blink when I spawn xterm. > { rule = { class = "XTerm" }, > callback = awful.client.setslave }, If I comment the line(s) above, then everything backs to normal. Is there someting wrong with "awful.client.setslave" function? Or it's my

Re: Transparent (sort of) wibox

2010-10-03 Thread Bill Sun
Hi Satoshi: I got a WORKAROUND: > It didn't work. I need the spacer to be INSIDE the tasklist, between > each program. I would guess that this is where I should edit it: > > /usr/share/awesome/lib/awful/widget/tasklist.lua (123-125): > - text = text .. "" + text = " | " .. text .. "" > r

Re: application font size.

2010-10-28 Thread Bill Sun
roblem is related to gtk settings. If that, you can 1)manually edit .gtkrc 2)use some programs to manage gtk settings(such as lxapperance) Sorry for my English. Cheers, Bill Sun -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Re: Theme background Relative Path

2010-12-25 Thread Bill Sun
On Thu, Dec 23, 2010 at 03:46:39PM -0800, Nate Anderson wrote: > Can anyone tell me how to set my theme background with awsetbg using a > relative path? The background is in the theme folder, so I would like > to do something like: > theme.wallpaper_cmd = { " awsetbg ./theme-background.png" } In

Re: Theme background Relative Path

2010-12-25 Thread Bill Sun
On Thu, Dec 23, 2010 at 03:46:39PM -0800, Nate Anderson wrote: > Can anyone tell me how to set my theme background with awsetbg using a > relative path? The background is in the theme folder, so I would like > to do something like: > theme.wallpaper_cmd = { " awsetbg ./theme-background.png" } Sor

Can naughty behavior like notify-osd?

2011-08-29 Thread Bill Sun
" of a pop-up window via a external script written in bash or python or something. Then I tried to $ echo 'naughty.notify({title = "testing", text = "naughty", timeout = 0, replaces_id = 250 })' | awesome-client - and $ echo 'naughty.destr

Re: Missing line numbers and more weirdness with vim

2012-01-26 Thread Bill Sun
e cause and how to fix. > > Marco What is your vim version? Vim had a resize error when one is changing the window size. That error has been fix in recent vim version. If your vim version is 7.3 but not the latest version, maybe you should update your vim. Regards, Bill Sun --

How to execute a program when shutting the computer down?

2012-04-10 Thread Bill Sun
Hi, Currently I'm sharing my computer with someone, and we use different window manager/desktop environment. I want to save alsa volume level on a per-user basis, so I need to execute `alsactl store -f ~/.asoundrc` when logging out. Since I use slim as my 'login manager', I thought I can use .xin

Re: How to execute a program when shutting the computer down?

2012-04-12 Thread Bill Sun
On Wed, Apr 11, 2012 at 02:50:40PM -0700, Perry Hargrave wrote: > I would bet KDE does not wait until it is logging out or shutting down > to store these settings. If you are waiting to trap signals you always > run the risk of missing them. It is also already more complex than it > should be, you'

Re: How to execute a program when shutting the computer down?

2012-04-13 Thread Bill Sun
I managed to solve this problem. Here's my solution, which is a derivative of Uli's solution: > Let's try something random: > awful.key({ modkey }, "]", function() > awful.util.spawn_with_shell("sleep 1 ; /home/user1/bin/poweroff") > awesome.quit() > end) I realized that I can save volume level

Unexpected shadown in one wibox when using compton

2012-07-29 Thread Bill Sun
me complain about shadows on dock/panel. But I can't figure out a solution in this weird scene (one has shadow, the other not). Anyone has similar issue? System infomation: Archlinux linux 3.4.5 X server 1.12.3 compton v0.0.1 awesome v3.4.13 Regards, Bill Sun [1]: A standalong composit

Re: Unexpected shadown in one wibox when using compton

2012-07-29 Thread Bill Sun
I'd better attach my wiboxes.lua. See attachment below. Regards, Bill Sun -- Module: wiboxes.lua -- vim:fdm=marker require("modules.widgets") -- Create a textclock widget textclock = awful.widget.textclock({ align = "right" }) -- Create a systray systray =

Re: Release next major version - how bad could it be?

2012-10-19 Thread Bill Sun
Are you going to update the 'vicious' lib so that it can cope with the next major release? Regards. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Increase the space between tags in taglist

2013-01-09 Thread Bill Sun
Hi, I just upgraded awesome to 3.5. It seems that (I'm not positively sure) the space between tags in awesome 3.5 in narrower. For example, in awesome 3.4, the taglist looks like this: | Tag1 | Tag2 | Tag3| In awesome 3.5: |Tag1|Tag2|Tag3| So, Can I increase the space between these tag

Re: Increase the space between tags in taglist

2013-01-09 Thread Bill Sun
I just found a screenshot for my old awesome 3.4 setup, and I can confirm that the space is indeed narrower. Please see the attached png. (The above taglist is awesome 3.5, and the bottom one is from the screenshot of the old 3.4) Regards. <>

Re: Increase the space between tags in taglist

2013-01-10 Thread Bill Sun
On Wed, Jan 09, 2013 at 06:58:39PM +0100, Manuel Kasser wrote: > Would it be an idea to insert spaces at the beginning and at the end of > the tags' names? Seems to do what you want. I have tried that method, the result is not what I want: | Tag1 | Tag2 | Tag3 | It added too much space.

Stack-like behavior for restoring minimized windows

2016-05-22 Thread Bill Sun
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 alway