Re: gtk through a ssh connection



Am Sun, 31 Dec 2006 16:00:22 +0100 schrieb Ole Laursen:

> Andreas Volz <lists brachttal net> writes:
> 
> > I start often Gtk apps through a ssh connection. But if I do this
> > they fall back to the ugly default theme. So why does this happen
> > and could I prevent Gtk from doing that? I like the user defined
> > theme. The connection is fast enough in my local network.
> 
> When you start X applications through an SSH connection, they run
> remotely. So if you haven't configured a theme on the remote computer,
> it will use the default theme on that computer.
> 
> Think of it this way: you can run the application even if you have not
> installed GTK+ locally, it's not dependent on your local GTK+
> installation at all. The pixels are simply being sent over the wire
> for remote display (actually not pixels but X drawing commands, but
> you get the idea).
> 
> The solution is to configure the theme on the remote computer too,
> e.g. with a stand-alone theme switcher.

Hm, I don't know why, but today it works. But I don't understand it.
I've activated theme GTK-E17 theme on the server and Clearlooks theme
on the client. Then I do this:

#client> ssh -X server sylpheed-claws
(or any other app)

As you explained I would expect to open sylpheed-claws with GTK-E17
theme. But it's opened with Clearlooks theme (from the client). I like
this situation, but it's other than you've explained it. Or did I
misunderstood you?

regards
Andreas



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]