Results 1 to 7 of 7

Thread: Editing sources.list permissions problem 11.10

  1. #1
    Join Date
    Jun 2012
    Beans
    6

    Editing sources.list permissions problem 11.10

    Hey all,
    I've been trying to edit my sources.list file in /ect/apt.
    I try to use sudo gedit; however, terminal spits back a strange error set that seems related to permissions problems since it will still not let me save the new text file.

    Any help on this would be great!
    Thanks!

    BTW here is the error from terminal:

    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Editing sources.list permissions problem 11.10

    Those messages are an annoyance but shouldn't prevent you from using gedit as root to edit your file:

    Code:
    gksu gedit /etc/apt/sources.list &
    "gksu" is preferred over "sudo" for graphical apps.
    http://www.psychocats.net/ubuntu/graphicalsudo
    GRUB2

    Retired.

  3. #3
    Join Date
    Jun 2012
    Beans
    6

    Re: Editing sources.list permissions problem 11.10

    Yup that worked!
    Why was the & necessary, if you don't mind me asking.
    Last edited by Rotblatt; June 11th, 2012 at 09:04 PM.

  4. #4
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Editing sources.list permissions problem 11.10

    Quote Originally Posted by Rotblatt View Post
    Yup that worked!
    Why was the & necessary, if you don't mind me asking.
    It's not necessary, but it frees up the terminal window so you can run other commands if you wish even while gedit is open.

    The SOLVED tag is accessed via Thread Tools to the top right of the first post when you feel satisfied with this thread.
    GRUB2

    Retired.

  5. #5
    Join Date
    Aug 2009
    Location
    USA
    Beans
    4,054
    Distro
    Ubuntu Development Release

    Re: Editing sources.list permissions problem 11.10

    Code:
    gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    Drs305, weren't those errors indicative of the problem with using sudo instead of gksu on a graphical application?
    Just wondering myself.
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Intel Core2 Quad CPU Q9550 @ 2.84Ghz. 4.0GB DDR2 RAM, NVIDIA Geforce 9800 GT

  6. #6
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Editing sources.list permissions problem 11.10

    Quote Originally Posted by Cavsfan View Post
    Code:
    gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    
    (gksu:2414): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
    Drs305, weren't those errors indicative of the problem with using sudo instead of gksu on a graphical application?
    Just wondering myself.
    Not sure. I don't get the error with either sudo or gksu, to be honest. But I may have tweaked my system - see below. I know I have gotten that error using nautilus on some releases, and I never use "sudo" with graphical apps.

    The pixmaps error is a known bug, and the messages can be eliminated by installing gtk2-engines-pixbuf.
    GRUB2

    Retired.

  7. #7
    Join Date
    Aug 2009
    Location
    USA
    Beans
    4,054
    Distro
    Ubuntu Development Release

    Re: Editing sources.list permissions problem 11.10

    Quote Originally Posted by drs305 View Post
    Not sure. I don't get the error with either sudo or gksu, to be honest. But I may have tweaked my system - see below. I know I have gotten that error using nautilus on some releases, and I never use "sudo" with graphical apps.

    The pixmaps error is a known bug, and the messages can be eliminated by installing gtk2-engines-pixbuf.
    Good to know! I installed gtk2-engines-pixbuf just to be safe. For some reason the 32 bit version was already installed (gtk2-engines-pixbuf:i386).
    Thanks
    Check Java Version | Install Java via WEB UPD8 PPA
    Creating a Custom Maintenance Free GRUB2 Screen Community Wiki
    Intel Core2 Quad CPU Q9550 @ 2.84Ghz. 4.0GB DDR2 RAM, NVIDIA Geforce 9800 GT

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •