PDA

View Full Version : [kubuntu] Permission to edit /etc/modprobe.d/alsa-base



webwiller
March 8th, 2009, 05:27 PM
It's surely a sillt question but...
I need to edit the above mentioned file...but with nautilus I get the answer that I have no permission. Obviously the file is owned by root and I dont know how to switch to root.

Otherwise..which code do I have to use in terminal to open that file as root to edit?

sudo....???

ty;)

webwiller
March 8th, 2009, 05:29 PM
I have Ubuntu...not Ku..

HavocXphere
March 8th, 2009, 05:34 PM
Hit alt-f2. Type in:

kdesudo kate /etc/modprobe.d/alsa-base
:KS

taurus
March 8th, 2009, 05:36 PM
gksudo gedit /etc/modprobe.d/alsa-base

webwiller
March 8th, 2009, 05:39 PM
I made a mistake...dont have kubuntu, have ubuntu...
so it's sudo then...which is the terminal command for "edit"?

xpod
March 8th, 2009, 05:41 PM
so it's sudo then...which is the terminal command for "edit"?

See taurus` post above yours.You should use "gksudo" as apose to "sudo" when opening graphical applications.

nyk
March 8th, 2009, 05:46 PM
gedit will open a simple text editor GUI. If you want an editor based completely in the terminal, use vim.

HavocXphere
March 8th, 2009, 05:49 PM
I made a mistake...dont have kubuntu, have ubuntu...
My bad..kinda missed the second post.:oops: