Author Topic: terminal error : Could not load Gedit repository  (Read 4935 times)

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2952
  • Karma: 335
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
terminal error : Could not load Gedit repository
« on: July 01, 2014, 05:25:48 pm »
anybody got a clue about how to rectify this?

Code: [Select]
spence@hpG6 ~ $ sudo gedit
[sudo] password for spence:

** (gedit:2291): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found

a duckduck search tells me to use gksudo instead of sudo?

http://askubuntu.com/questions/369915/warnings-while-launching-gedit-from-the-ubuntu-terminal

since that post is dated prior to P5s release I'll await instruction from here...
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline spence

  • Administrator
  • Hero
  • *****
  • Posts: 2952
  • Karma: 335
  • peppermint user since 2010
    • View Profile
  • Peppermint version(s): PMVII, PMVIII, PMIX, PMX Respins
Re: terminal error : Could not load Gedit repository
« Reply #1 on: July 01, 2014, 05:36:45 pm »
well gksudo gedit eliminates the error message.... dunno why though yet... learning something new every day...
spence
PeppermintOS 8,9 & 10 Respins currently installed  on:
'16 Antec Aria rebuild
PMX Respin on '18 Asus VivoBook


Do not despair, grasshopper...
    with patience all will be revealed...
       Through pain, enlightenment will come.

Offline kendall

  • Administrator
  • Member
  • *****
  • Posts: 656
  • Karma: 133
  • Co-Founder
    • View Profile
Re: terminal error : Could not load Gedit repository
« Reply #2 on: July 01, 2014, 06:26:27 pm »
It's just a warning so it won't affect the actual function of the application. In addition to running it with gksudo you can install the package "gir1.2-gtksource-3.0" which should eliminate the warning.
Peppermint is powered by VPS.NET Cloud Servers.

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2343
  • Karma: 616
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: terminal error : Could not load Gedit repository
« Reply #3 on: July 02, 2014, 12:51:36 am »
I believe that you should in general start GUI-based programs using gksudo and CLI-programs (i.e. those without a graphical user interface) by using sudo;)


Regards,
-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome