You are not logged in.
Pages: 1
Title says it all. No matter what I put in my .torsmorc, I can never get torsmo to use the Snap font... :x Any advice?
Offline
I'm not using torsmo often but this seems to work fine here:
background yes
own_window no
update_interval 2
#font -xos4-terminus-bold-r-normal-*-14-*-*-*-*-*-iso8859-2
font -artwiz-snap-normal-r-normal-*-*-*-*-*-*-*-iso8859-2
use_xft no
double_buffer yes
minimum_size 350 100
alignment bottom_right
gap_x 24
gap_y 105
border_margin 10
border_width 1
stippled_borders 2
draw_shades yes
draw_outline no
draw_borders yes
default_color white
default_shade_color black
default_outline_color white
no_buffers yes
uppercase no
TEXT
.....blablabla
You need to use xfontsel to get proper font name. I guess you could also use xft but I didn't try it.
Offline
Yeah - strangely enough, this works:
use_xft yes
xftfont smoothansi-10
Weird, but that's what I have at the moment. I must have been having problems, too, and pulled that off the net somewhere. Or just did the '1000 monkeys write Shakespeare' method of configuring.
lanrat's way should be how it works, though. Actually, what *should* work is
:xlsfonts | grep ^snap
snap
just putting 'snap'.
Offline
Just putting in "snap" doesn't work - I get a message about how it can't find that font.
Lanrat: What the heck is with all the "*-*-*-*-*-*" crap? :shock: I've seen that in just about every torsmorc I've looked at, but I haven't a damn clue what it's for.
BTW, why does using double buffering cause my mouse to "catch" whenever torsmo updates its display? Using torsmo without double buffering causes it to flicker all the time, but using double buffering causes my mouse to behave in a most annoying fashion, halting momentarily whenever torsmo updates...
(Yeah, I've tried conky. It seems to be... well, exactly the same as torsmo. Maybe it has extra features, but I haven't seen them.)
Offline
Yeah - plain 'snap' doesn't work. Did you try the pseudo-xft line?
You were addressing lanrat, but I'm here, so - the asterisks are undefined elements of the XLFD - X Logical Font Description. You specify things like Family, Weight, Pixel Size, whatever. But if certain things don't matter or aren't applicable, a '*' matches anything/nothing.
Conky adds stuff like the torsmo mpd patch that never made it out of CVS and so on. It is basically the same. I still use torsmo.
I use double-buffering because it did cause flicker without, but don't suffer the mouse hang issue. May be a wm issue.
Offline
Lanrat: What the heck is with all the "*-*-*-*-*-*" crap? :shock: I've seen that in just about every torsmorc I've looked at, but I haven't a damn clue what it's for.
That's just how X11 can see fonts (archdaemon explained it better already). Just open your torsmo with nano or vim and run xfontsel. Choose font family and other parameters so xfontsel will show only 1 font matching. Click "select" and switch to xterm with nano/vim and paste using middle mouse button. That's how it works with xfontsel. I'm assuming you're using artwiz fonts from arch package (artwiz fonts are not ttf, they are pcf type fonts - bitmaps).
BTW, why does using double buffering cause my mouse to "catch" whenever torsmo updates its display? Using torsmo without double buffering causes it to flicker all the time, but using double buffering causes my mouse to behave in a most annoying fashion, halting momentarily whenever torsmo updates...
What kind of graphic acceleration do you have? I'm using doube buffering with GeForce 4 and 2.4 GHz celeron cpu. It seems to work fine - no "catch" effect at least. Flickering without double buffering is "normal" and can also depend on your WM/DE since torsmo is using root window. In xfce4 for example I got rid of xfdesktop to have pure X "desktop" with only wallpaper loaded via xinitrc. Without it torsmo was disappearing from time to time. Some other WMs also don't work well with torsmo.
Offline
Graphic acceleration wont affect torsmo in this situation. I have integrated intel graphics and zero issues.
its much more likely to be a result of your wm/de.
iphitus
Offline
I use Openbox... That's not known to have problems with Torsmo, is it?
Offline
Uhh... Just a little question... Anyone know where I can get a torsmorc like the one used in this screenshot?
Offline
Just to say I'm not ignoring you - I don't use OB, so I dunno and that webpage times out on me, so I don't what torsmorc might be producing it. Sorry.
One thing you might try, if your wm can do it right (as far as the hang) is run torsmo with the -o flag which puts it in its own window. With fvwm, I just whack all the decorations off and it seems the same. (Well, I also have to layer it and put it on a couple of skip lists so that it doesn't act like a real window and get in the way, but you get the idea.) I had to do that because I wanted to run root-tail at the same time and torsmo kept clobbering it. I suspect it might free up your mouse, because torsmo would be drawing to its own window and not (presumably) grabbing the server to scribble over the entire root window.
Offline
Runs okay in its own window, but window is opaque, instead of having pseudotransparency.
BTW, I might add that, the higher the update rate for torsmo, the more common and more pronounced the mouse lag is... At once per second, the lag is intolerable, even though, according to top, torsmo is using very little CPU power.
Offline
When I run it in a window it's transparent just like always. Maybe it's cause I have composite enabled.
Wait, just killed xcompmgr and it still looks transparent in it's own window.
Offline
It's fast pseudotransparency, same as aterm and adesklets - both of which work for me, FWIW.
BTW, torsmo still gives
torsmo: can't load font '-artwiz-snap-normal-r-normal-*-*-*-*-*-*-*-iso8859-2'
when I put the font in that format.
Offline
Do you have
FontPath "/usr/X11R6/lib/X11/fonts/artwiz-fonts"
in the "Files" section of xorg.conf?
Torsmo works here with artwiz fonts. I can post my .torsmorc if you want.
Offline
Gull: Enable XFT and use it in the format snap-10
iphitus
Offline
Okay, works. Thanks!
Offline
Aha, found the original problem: artwiz fonts weren't listed in xorg.conf. :oops: Must have happened last time I edited it... Thanks, anyway.
As for the stupid mouse lag crap: interestingly, that only occurs when I use double buffering. When I do not use double buffering, all is fine... Except that torsmo flickers nonstop.
Offline
I don't use double buffering and torsmo doesn't flicker. :?
Offline
Or try using Conky ;-)
Mr Green I like Landuke!
Offline
I would get lag with conky when I used double buffering: If I would drag a window around it would lag very bad. What I did instead was make conky run in a window and skip the taskbar, and it was much better in terms of lag:
double_buffer yes
own_window yes
own_window_hints below,skip_taskbar
own_window_type desktop
Last edited by adagdag (2008-12-04 21:23:31)
Offline
You do realise you just bumped a 3 year old thread right?
Offline
Pages: 1