Comment 14 for bug 946095

Revision history for this message
Jan Groenewald (jan-aims) wrote : Re: [Bug 946095] Re: font not visible in terminal plugin

Hi

If you edit a file belonging to a package, it will be overwritten when
you receive an update for that package.

However creating a custom file here,

0 jan@tunis:~$grep -A1 gnome.gedit.plugins.terminal
/usr/share/glib-2.0/schemas/00_aims_settings.gschema.override
[org.gnome.gedit.plugins.terminal]
use-theme-colors=false

And running

sudo glib-compile-schemas /usr/share/glib-2.0/schemas

will set this for your system (system-wide, for all users, as a default,
they can change it again).

Regards,
Jan

On 19 July 2012 23:06, Voidcode <email address hidden> wrote:

> Wee just need to edited the /usr/lib/gedit/plugins/terminal.py.
>
> Search for:
>
> fg = context.get_color(Gtk.StateFlags.NORMAL)
> bg = context.get_background_color(Gtk.StateFlags.NORMAL)
>
> I replace with
>
> fg = Gdk.RGBA(0, 0, 0, 1)
> bg = Gdk.RGBA(1, 1, 1, 1)
>
> Info: fg = black text, bg = white background
>
> Find this on askubuntu: http://askubuntu.com/questions/35109/how-to-
> change-background-color-of-gedit-embedded-terminal<http://askubuntu.com/questions/35109/how-to-%0Achange-background-color-of-gedit-embedded-terminal>
>
> ** Attachment added: "replace: fg =
> context.get_color(Gtk.StateFlags.NORMAL) bg =
> context.get_background_color(Gtk.StateFlags.NORMAL) with fg = Gdk.RGBA(0,
> 0, 0, 1) bg = Gdk.RGBA(1, 1, 1, 1)"
>
> https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/946095/+attachment/3228834/+files/terminal.py
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/946095
>
> Title:
> font not visible in terminal plugin
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gedit/+bug/946095/+subscriptions
>

--
  .~.
  /V\ Jan Groenewald
 /( )\ www.aims.ac.za
 ^^-^^