x11 looks ugly while opening a remote window from ssh. Can I use GTK themes?
I use to connect to a distant computer running linux from my mac using ssh.
For example I use:
$ ssh -Y login@host
then
$ gnome-open .
in order to open a nautilus window. This window do open but it looks ugly. I found here that one can install GTK themes through Macports.
I installed gtk2-aurora
and gtk-chtheme
and chose the aurora theme successfully, but my remote windows still look ugly.
Is this theme (or others) working for remote windows or is it only for local x11 windows?
Is there a way to improve the look and feel of remote windows?
Solution 1:
GTK primarily does client side rendering. What this means for you is that any themes you want to use must be on the remote system (the system running the GTK application).
Once you install the theme on the linux box, you can cause GTK applications to use it by modifying the .gtkrc-2.0 file (again, on the linux box) by creating that file and adding a line like this:
include "/usr/local/share/themes/Raleigh/gtk-2.0/gtkrc"
Solution 2:
Alternately, you can run your desktop environment's settings daemon. For example, one of
gnome-settings-daemon xfce4-settings-daemon lxde-settings-daemon
Of course, a remote application will be unable to access local themes. If you want a uniform theme across both local and remote applications, be sure that the theme is installed in both locations.