On Sun June 20 2010 18:37:57 Dj YB wrote:
On Sunday June 20 2010 18:49:37 Christian Jann wrote:
> On Sun June 20 2010 16:18:03 Dj YB wrote:
> > thanks,
> >
> > > edit your current gtkrc-file or create a new one for that app
> >
> > how do I create a gtkrc-file for a specific app, it seems like a way to
> > change the setting for all gtk apps, same as changing it in the control
> > panel. I must have misunderstood you,
> > please try to explain.
>
> just use kmenuedit and change the Command from e.g. "openoffice.org
> -writer %U" to
> bash -c 'GTK2_RC_FILES=/usr/share/themes/Clearlooks/gtk-2.0/gtkrc
>
openoffice.org -writer %U'
there is a small problem, if the filename contain spaces (I guess special
charachters generally) the shortcut doesn't work...
any idea? I tried replacing the ' with " but that was just a shot in the
dark.
bash -c 'GTK2_RC_FILES=/usr/share/themes/Clearlooks/gtk-2.0/gtkrc
openoffice.org
-writer "%U"'
because %U will be replaced with the url of the file