Choose style:

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

0 Members and 1 Guest are viewing this topic.

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1933
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
terminal error : Could not load Gedit repository
« on: July 01, 2014, 08: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 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


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

Offline spence

  • Trusted User
  • Veteran
  • *****
  • Posts: 1933
  • Karma: 199
  • peppermint user since 2010
    • View Profile
    • My MeWe profile
  • Peppermint version(s): Peppermint 10
Re: terminal error : Could not load Gedit repository
« Reply #1 on: July 01, 2014, 08:36:45 pm »
well gksudo gedit eliminates the error message.... dunno why though yet... learning something new every day...
spence
PeppermintOS 10 currently installed  on:
'16 Antec Aria rebuild
 '18 Asus VivoBook


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

Offline kendall

  • Administrator
  • Member
  • *****
  • Posts: 565
  • Karma: 80
  • Co-Founder
    • View Profile
Re: terminal error : Could not load Gedit repository
« Reply #2 on: July 01, 2014, 09: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

  • Trusted User
  • Veteran
  • *****
  • Posts: 1851
  • Karma: 476
  • 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, 03: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
"Life first -- Peppermint a close 2nd!" -- Zeb

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