Mac – x11 looks ugly while opening a remote window from ssh. Can I use GTK themes

gtkmacsshxorg

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?

Best Answer

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"
Related Question