logo
IRC Archive / Oftc / #awesome / 2010 / May / 31 / 1
Dieter_be
i don't see how python can be better then C+lua
anrxc
I remember something about awesome becoming like a lua implementation of python's object model
but that should be discussed with author him self
Dieter_be
i see
qacek
anrxc: i thought it was bazinga http://git.naquadah.org/?p=~jd/bazinga.git;a=summary
anrxc
there are two projects, one is some kind of core, other a wm
qacek
oh i see
Kodama
anrxc I'd like to make the font size of your .Xdefaults a little bigger but nothing seems to work
anrxc
what font, what application?
Kodama
well the xterm part
anrxc
open one xterm now
execute command xfontsel
Kodama
ok
anrxc
from fndry select xos4, from family select terminus from others select how you wish your font to look like
when you are done click on the "select" button
that will paste the font to your clipboard which you can paste to your Xdefaults
Kodama
don't hav xos4 in fndry
anrxc
then you don't have terminus at all?
heh
Kodama
well I have 17 entries there but no xos4
anrxc
I guess what happens is terminus is not found and xterm defaults to some basic small font
you use arch linux right?
Kodama
right
anrxc
pacman -Ss terminus-font
think you can refresh the font database without restarting X
Kodama
done
anrxc
command should be: xset fp rehash
hope that works, if not you have to restart your X for it to see terminus
you could've used another font, but terminus is good, and you said you want your destop to look like mine
an _I_'ve been using terminus for more years than I can remember
how did I ever find it that first time...
Kodama
looks like I have to restart x
just a sec
GGLucas
Kodama: gnu screen
Look it up.
:)
anrxc: You managed to get terminus in xfontsel?
Kodama
still no terminus or xos4
GGLucas
I never managed to, always had to go through fontconfig/xft.
anrxc
only way for that to happen is you don't have /usr/share/fonts/local/ in the X FontPath ?
GGLucas
Kodama: What does `fc-match -s terminus` output?
anrxc
yeah if xft works you can use that ... and you'll be happier because there's no cryptic lines only "Terminus:size=16"
or something like that
GGLucas
Isn't it slower though?
Kodama: Hm. Your bitmap fonts are probably disabled.
anrxc
perhaps
GGLucas
Oh wait, no they aren't.
You typod.
anrxc
not that he will notice, IRC'ing here :)
he made a mistake
but terminus is available...see bottom of list
GGLucas
Yeah.
Hence my "typod".
anrxc
I don't know how xterm*font is with xft
GGLucas
Oh damn, adding /usr/share/fonts/local to fontpath did the trick. Why did I never think of that.
anrxc
xterm*font: "xft:Terminus"
GGLucas
Doing it directly there _should_ be faster than xft no?
anrxc
don't know let's test
time seq -f "the quick brown fox jumps over the lazy dog %g" 1000000
urxvt 1.49s user 2.22s, xterm with the same font is still running and I see no end :)
Kodama
ok thank you guys...will read the font wiki of arch linux tomorrow...have to go to bed now...bye
anrxc
Kodama: don't need to
let me check my dotfiles log
Kodama
ok but I have to read a little more into xfontsel
anrxc
here it is
GGLucas
13s with xft, 10s with direct x fonts
anrxc
Kodama:
sh*t
clipboard lost, moment
Kodama: from what you pasted we know that xft will work
Kodama: so try this instead of those font lines: xterm*faceName: terminus:pixelsize=10
GGLucas
Oh nice. I can still use xft fonts as backup for unicode glyphs.
anrxc
Kodama: adjust the size as you see fit - it's what got you here in the first place
Kodama
yes, right...it's just that your font size is a little too small for me...kinda hard to read
anrxc
that was not my font size
you did not have my font, xterm was defaulting to some generic one
Kodama
ah, ok, that's why changing the size from 12 to 16 had no effect
anrxc
exactly :)
Kodama
really have to sleep now...thanks for your help
anrxc
I should too
Elv13
(Action) anrxc need to sleep?
this is new
anrxc
should and will are miles away :)
Elv13
oh, wait "should" not will
anrxc
it doesn't go well with my sleep disorder
http://en.wikipedia.org/wiki/Delayed_sleep_phase_syndrome
GGLucas
Bah. I keep getting seduced by smaller fonts.
Every once in a while I switch to 10px terminus.
But then I get annoyed and switch back.
In _theory_ I should be able to use it, so it pisses me off.
anrxc
developed the disorder when I had dial-up, at night rates were cheaper
and in general they were so high 80% of my pay at that time went for the phone bill
GGLucas
anrxc: That sounds like most geeks I know :P
anrxc
...and one crucial fact, 70% of my job was the third shift, nights
bolt
in section 3.9 of the FAQ, what does this line actually do? ==> awful.menu.menu_keys.down = { "Down", "Alt_L" }
GGLucas
Including myself.
anrxc
perfect combination for the disorder, courtesy of T-Com :)
GGLucas
What's the difference between DSPS and regular old can't get to sleep until 3AM?
anrxc
yeah, but can we/you go back? I can not, I tried everything :\
Elv13
it have a not so cool name, thats the difference
anrxc
it's funny how in the beggining I was happy, I was hacking away while the society slept
GGLucas
For one or two days after physical exhaustion :P
anrxc
now I want to cry
this is going on for 7 years now
it's not just some thing...
so beware young(er) hackers :(
Elv13
don't worry, dial up is long dead
but coding at night is fun
anrxc
the romantic idea of hacking while other sleep can get you in trouble :)
Elv13
umm, I found a solution
GGLucas
I've long given up on trying to go to bed early. Sometimes it works but usually you end up sleeping even later than if you'd just stayed up.
Elv13
you should use my wonderfull blue awesome theme, it is so relaxing that you don't need sleep anymore!
anrxc
talking about this reminded me of http://everything2.com/title/deep+hack+mode
you start around midnight on something, next thing you know it's daylight and birds are singing :)
GGLucas
That's really only 4-5 hours.
anrxc
max time I managed to meditate is like 10 minutes :)
being lost like this for hours is amazing to me
I guess gamers experience it too
GGLucas
Happens when I'm biking from/to uni. Suddenly I'm 20 minutes further and I can't remember having been there.
anrxc
not a safe way to participate in traffic :)
GGLucas
Nah, you still do everything you'd normally do, just subconsciously.
anrxc
perhaps like driving, lots of people say they do it automatically without thinking
GGLucas
http://en.wikipedia.org/wiki/Highway_hypnosis
anrxc
wow this is interesting
GGLucas
Of course I object to that name. It makes me insinuate I'm badass enough to drive my bike on a highway, and then people get disappointed when I'm not.
Elv13
It's not badass, it's plain stupid, I did it a few time (drunk) and I almost killed myself 1000 time
GGLucas
I'm assuming you can go the same speed as everyone else on the highway.
Or it would be stupid yes.
Elv13
well, I can go faster than a car, but not on a highway
other subject (and as always in this chatroom, off topic), anybody used the -ffast-math gcc optimisation?
GGLucas
Oh wow with terminus 10px that little seq test took 60 seconds.
I mean I expected it to be slower because it needs to paint more of the screen, but that's crazyi.
bolt
hm.. nevermind. worked it out :)
anrxc
what?
bolt
?
anrxc
define ?
bolt
are you asking me what i worked out?
anrxc
yes, did you ask a question?
bolt
yes
about 30 minutes ago
"in section 3.9 of the FAQ, what does this line actually do? ==> awful.menu.menu_keys.down = { "Down", "Alt_L" }"
anrxc
ah sorry, actually saw that
bolt
it just sets the Down and Alt_L keys to move down in the menu
anrxc
it's a little trick I came up with
in other OS/DE you press Alt+Tab and keep pressing tab to cycle
important thing being to not have to move ones hand to cycle,
bolt
ah. so now you can keep pressing alt :)
clever
anrxc
also important to have a familliar binding, but Alt+Tab is not as good as Alt+Esc
so Tab can not cycle we use Esc, and Esc can not cycle because of why we use Esc in the first place
we use Esc because Esc closes the menu, which also means if you press Alt+Esc while menu is open it will close - effect of toggle
in the end our binding has just one line, just one call to awful.menu.clients!
otherwise we would have to toggle the menu our selves
this is not official, this is my solution to the usability problem
bolt
i bound it to alt+tab, actually. just felt more natural to me. and i had it display at the very upper right corner of the screen, below the wibox. i also moved the Mod4+w menu so it always goes to the upper left corner below the wibox. i like it a lot :D
anrxc
then it is not like I intented...
intended*
bolt
what did you intend?
anrxc
pressing Alt+Tab could end you up with multiple menus
I just explained what, the Esc trick
bolt
ah
that's true
i'll move it to esc then. didn't know about the esc thingy when i read the faq
anrxc
or,
map Tab to close the menu to ge thte same effect, or even better Alt to close Tab to cycle
but it adds more lines to rc.lua - my goal as I said before was to be as minimal as possible - one line
bolt
rebound now :)
(Action) is off to bed
anrxc
I would also like to have it on alt+tab with tab to cycle
but I'm not willing to sacrifice 2 lines of rc.lua
bolt
anrxc: thanks for the great support you're providing. i find you're almost always the one answering my questions, and i greatly appreciate it :D
anrxc
I'm just the looser with least social life :)
tomorrow it could be someone else...
or maybe
I have an IRC disorder! :)
yeah, I like that explanation...
btw I didn't know sh*t when I came in here, it was farhaven answering all my questions
for dust you are and to dust you will return
Bolkonskij
hi
Garoth
Huh: check it out guys, do a google for "awesome" ;)
Elv13
it's mosly localised, so nobody will have the same result
qacek
it might be using your history, i get http://ohmythatsawesome.com/
rbistolfi
I get awesome.naquadah.org/ first and http://ohmythatsawesome.com/ second
Elv13
try using a proxy and see if it is still the case, then google just know too much about you
TheBrayn
howdy folks
how can I get rid of this wallpaper message after starting awesom?
Kodama
good morning...can I set antialias for fonts in my taskbar? (somewhere in the theme.lua maybe?)
noxville
^_^, having a problem with fbsetbg -f on multiple monitors (it's taking image 1 and stretching it). Any ideas?
farhaven
noxville: try nitrogen instead :)
works fine for setting multihead wallpapers here
noxville
farhaven: Okie.
DigitalKiwi
nitrogen++
martin
re
Dieter_be
TheBrayn: ply
TheBrayn
ply?
raph_ael_
re / ply
TheBrayn
:D
macrobat
is there a wallpaper message? haven't noticed
:)