Eyestrain relief possible on ubuntu?
Erik Christiansen
erik at dd.nec.com.au
Fri Mar 31 07:34:46 UTC 2006
Oops! Setting firefox's edit->preferences->"fonts & colours":"text &
background" to (e.g.) yellow on grey did nothing, despite having ticked
"Always use my colours", ... _until_ I observed and unticked "Use
system colours". Initially I missed the inbuilt conflict.
For openoffice, format->page->background allows filling the page
background, so that leaves only the application background on high beam.
Unfortunately, that's the largest area, by default.
Looking at a theme's gtkrc file, assignments for background, foreground,
and other colour data stand out, but does gnome support setting of the
window backgrounds? At
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html, the
GTK+ Reference Manual seems to suggest we can only set the colour of
widgets:
>>>
Within a style declaration, the possible elements are:
bg[state] = color Sets the color used for the background of most widgets.
fg[state] = color Sets the color used for the foreground of most widgets.
base[state] = color Sets the color used for the background of widgets
displaying editable text. This color is used for
the background of, among others, GtkText, GtkEntry,
GtkList, and GtkCList.
<<<
So the window background still eludes us, it seems. :-(
When I try:
ooffice2 -draw -bg darkslategrey ~/drafts/test_drawing.odg
openoffice complains with: "/home/erik/darkslategrey doesn't exist"
before opening the drawing, with a white background. It was worth a try,
even though the ooffice2 manpage didn't explcitly mention support for
basic X options.
Hmmm ... there has to be some way.
Erik
More information about the ubuntu-users
mailing list