16

Is it at all possible to have a forwarded X11 session be styled with something other than the default X button styles? It doesn't even appear to use my server's actual styles seeing as both computers are running Ubuntu 10.10. However, the window on the left is from the local machine, and window on the right is forwarded via ssh -X.

Is there any way to change this behavior to mimic the native button style or change it at all? Thanks.

alt text

matpie
  • 759

1 Answers1

9

This has apparently been discussed on SuperUser as well; Suppressingfire's answer looks to me like the correct one:

  1. Install your favorite Ubuntu GTK theme on the remote host as well;

  2. Create a ~/.gtkrc-2.0 on the remote host, and include the theme's own gtkrc from it; e.g., if you're running Ubuntu with the ClearLooks theme on the remote host, you can add use this line:

    include "/usr/share/themes/ClearlooksClassic/gtk-2.0/gtkrc";
    

Update from comments

The GUI way:

sudo apt install lxappearance gnome-themes-extras
lxappearance

With this method you also can change other properties like icons