On 2012/12/16 14:08, LEVAI Daniel wrote:
> On v, dec 16, 2012 at 13:02:44 +0000, Stuart Henderson wrote:
> > On 2012/12/16 13:46, LEVAI Daniel wrote:
> > > Hi!
> > > 
> > > Is there a way to change the fonts for ssvncviewer (from the ssvnc
> > > package)? Weirdest thing is that I have two different looks on two
> > > different machines, and I can't for my life figure out what this
> > > depends on :-/
> > 
> > Which font are you talking about, the popup menu on f8 in the viewer,
> > or something else?
> 
> Oh, yes, sorry, I was talking about the font for ssvncviewer(1)'s tiny
> little window, which just swallows a hostname. It seems that although
> it is some weird looking font, maybe the anti-aliasing is off too.

Ah that one - I normally run it from a shell and supply the hostname on
the command line so I don't see it. You can control it with X resources,
e.g. add this to .Xdefaults (and xrdb -merge .Xdefaults to have it take
effect immediately) :-

Ssvnc.serverDialog.dialog.label.font: -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*

I'm not sure what the default is.

> > http://www.karlrunge.com/x11vnc/ssvnc_help.html talks about fonts for
> > the ssvnc Tcl frontend, but not about the viewer itself..
> 
> The ssvnc(1) application's font is totally different and it looks nice,
> and that was even more interesting for me; I thought the two were using
> the same "engine".

The 'engine' is the same (ssvnc just calls out to the normal vncviewer
binary), but it's a Tcl/Tk front-end app, which takes care of tunnelling
and command-line parameters for vncviewer. One non-obvious feature that
is occasionally useful (for example, if you leave something on a running
desktop on a machine at home and need to access it remotely), if you set
'use SSH', then in 'options', you can 'automatically find X session' -
this will attempt to ssh across, run x11vnc on the remote side and
connect to your X desktop.

Reply via email to