I want to add my tunable power savings to startup script location /ect/rc.local. I’ve exported PowerTOP report to HTML file (which I assume will be in /home.) Where I fall over is pretty basic, trying to edit /ect/rc.local file as root in a text editor;
sudo kwrite /ect/rc.local
root's password:
kwrite: cannot connect to X server
On 04/11/2013 05:46 PM, fleamour wrote:
>
> Please be gentle! Once again, I’m used to Ubuntu.
ok, but please gently mention the desktop environment you use
(because we have more than one here–and often the correct will
change among the various desktops)…like:
while there read up on the differences between using sudo and
actually being root–ubuntu doesn’t allow you to be root–here you
can make ‘grown up’ decisions…for good, or to murder your system in
one easy stroke
On Thu, 11 Apr 2013 15:46:02 +0000, fleamour wrote:
> Code: --------------------
> sudo kwrite /ect/rc.local
> root’s password:
> kwrite: cannot connect to X server
>
> --------------------
sudo won’t let you launch X applications.
Try:
kdesu kwrite /etc/rc.local
(note that it’s “etc” and not “ect” as well)
Note that if you’re using 12.3 (you don’t mention the version), then
modifying rc.local won’t work because that’s a sysvinit script, and 12.3
is completely systemd for startup.
Using 12.3 Tumblweed repos. Been using sudo all over the place & have a rabbit warren spaghetti like mess of subscribed repos. MP3 playback broke today (see latest post) maybe a reinstall & more care is needed?
On Thu, 11 Apr 2013 17:06:02 +0000, fleamour wrote:
> Is there a systemd equivalent to etc/rc/local?
Yes - but it looks like it’s basically creating a service definition
file. One option that looks promising (if you have an rc.local file
already that you want to use) is an rc.local service that calls it. I
found an example of this at:
> Using 12.3 Tumblweed repos. Been using sudo all over the place & have a
> rabbit warren spaghetti like mess of subscribed repos. MP3 playback
> broke today (see latest post) maybe a reinstall & more care is needed?
Perhaps, though it’s possible it may not be difficult to fix. But I’ll
leave that for the other thread.