You are not logged in.

#1 2005-07-31 21:38:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

How do I use artwiz fonts with torsmo?

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

#2 2005-08-01 00:12:22

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: How do I use artwiz fonts with torsmo?

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

#3 2005-08-01 01:09:15

archdaemon
Member
Registered: 2005-01-27
Posts: 83

Re: How do I use artwiz fonts with torsmo?

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

#4 2005-08-01 01:45:36

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How do I use artwiz fonts with torsmo?

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... roll

(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

#5 2005-08-01 02:20:48

archdaemon
Member
Registered: 2005-01-27
Posts: 83

Re: How do I use artwiz fonts with torsmo?

Yeah - plain 'snap' doesn't work. Did you try the pseudo-xft line?

You were addressing lanrat, but I'm here, so smile - 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

#6 2005-08-01 08:06:01

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: How do I use artwiz fonts with torsmo?

Gullible Jones wrote:

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).

Gullible Jones wrote:

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... roll

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

#7 2005-08-01 08:09:04

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How do I use artwiz fonts with torsmo?

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

#8 2005-08-01 09:41:03

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How do I use artwiz fonts with torsmo?

I use Openbox... That's not known to have problems with Torsmo, is it?

Offline

#9 2005-08-01 16:37:53

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How do I use artwiz fonts with torsmo?

Uhh... Just a little question... Anyone know where I can get a torsmorc like the one used in this screenshot?

Offline

#10 2005-08-02 01:26:55

archdaemon
Member
Registered: 2005-01-27
Posts: 83

Re: How do I use artwiz fonts with torsmo?

Just to say I'm not ignoring you smile - 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

#11 2005-08-02 02:43:36

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How do I use artwiz fonts with torsmo?

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

#12 2005-08-02 03:00:14

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: How do I use artwiz fonts with torsmo?

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

#13 2005-08-02 05:03:12

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How do I use artwiz fonts with torsmo?

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

#14 2005-08-02 06:28:04

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: How do I use artwiz fonts with torsmo?

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

#15 2005-08-02 07:23:04

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How do I use artwiz fonts with torsmo?

Gull: Enable XFT and use it in the format snap-10

iphitus

Offline

#16 2005-08-02 18:33:05

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How do I use artwiz fonts with torsmo?

Okay, works. Thanks!

Offline

#17 2005-08-02 18:57:45

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How do I use artwiz fonts with torsmo?

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

#18 2005-08-02 19:15:20

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: How do I use artwiz fonts with torsmo?

I don't use double buffering and torsmo doesn't flicker. :?

Offline

#19 2005-08-20 12:57:32

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,920
Website

Re: How do I use artwiz fonts with torsmo?

Or try using Conky ;-)


Mr Green I like Landuke!

Offline

#20 2008-12-04 21:22:20

adagdag
Member
Registered: 2008-11-23
Posts: 2

Re: How do I use artwiz fonts with torsmo?

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

#21 2008-12-04 22:13:29

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: How do I use artwiz fonts with torsmo?

You do realise you just bumped a 3 year old thread right?


neutral

Offline

Board footer

Powered by FluxBB