You are not logged in.
Pages: 1
Hi,
is there any option to run app with another visual style? Eclipse looks really bad in my VS
Offline
So you just want to change the looks of your gtk programs if I understand correctly? There are various tools/options to do that; have a look at the GTK wiki page.
Burninate!
Offline
I just want to change visual style (gtk style) for only one application (Eclipse)
Offline
I think it works if you change the file, run Eclipse, then change it back. This could be automated in a script, something like ...
#!/bin/sh
cd ~
# Assume .gtkrc-2.0-default and .gtkrc-2.0-eclipse exist.
cp .gtkrc-2.0-eclipse .gtkrc-2.0
eclipse &
sleep 10s # Wait for Eclipse to start, not sure if this is necessary.
cp .gtkrc-2.0-default .gtkrc-2.0Code is untested.
Offline
I think it works if you change the file, run Eclipse, then change it back. This could be automated in a script, something like ...
#!/bin/sh cd ~ # Assume .gtkrc-2.0-default and .gtkrc-2.0-eclipse exist. cp .gtkrc-2.0-eclipse .gtkrc-2.0 eclipse & sleep 10s # Wait for Eclipse to start, not sure if this is necessary. cp .gtkrc-2.0-default .gtkrc-2.0Code is untested.
Idea is very nice but it sadly dosen't work. It might be connected with that I use XFCE
You can edit your gtk theme file to include per app settings as described here
I couldn't find specific fragment on that page. Can you point me in which paragraph i can find that?
Offline
To be successful you'll probably want to read the whole page ... it's not that long. The line directly relevant to having settings specific to a given application is under "widget matches".
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
GTK2_RC_FILES=~/.gtkrc-2.0-alternative /path/to/some/appl
Offline
Nope, tried that already.
If i add this to .gtkrc-2.0:
style "eclipse" {
font_name = "Sans Condensed 8"
}
class "GtkWidget" style "eclipse"
It change font, but how can i change visual style using "style"?
Offline
READ the link. It's clearly described. There are complete examples on that page.
Last edited by Trilby (2012-05-10 12:26:25)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I read that part! I tried to make something like
style "eclipse"
{
widget "*eclipse*" style "Vorta"
}
class "GtkWidget" style "eclipse"
but it does not work (Vorta is the name of visual style)
Also widget "*eclipse*" style "Vorta" give me nothing
Offline
I don't know why you nested the style like that. That is not in any of the examples.
If you already have the style Vorta created and working, then all you need is
widget "<ecclipse window name>.*" style "Vorta"You will need to get ecclipse's actual window name though. xprop should do the trick for that.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Hm, sadly it dosen't work ![]()
I tried with eclipse and other apps too
Offline
Pages: 1