I installed avast on suse 12.2 and after update it gives “invalid argument”. Solution on Ubuntu based distros would be “gksu gedit /etc/sysctl.conf” but I can’t edit the file this way.
Any alternative to “gksu gedit”? I need to open the file as root and edit it.
I am not sure if Alt-F2 works in XFCE, but you need to open a run command to type in this command. “xdg-su -c” elevates you to root, leafpad is the text file editor and of course, /etc/sysctl.conf is the file you say you want to edit.
You may want to look at my fewrup bash script which you can use with your file manager. Just select the text file, then Open With and pick fewrup for any text or system file. If the file belongs to root, a password will be requested. User files will not be edited as root. fewrup works with all DE’s that come with openSUSE.
I think I would open YaST, search for ** xdg-utils** and install them. Same for leafpad and install it. Then my previous command should work with these installed and they should work with XFCE as I understand it.
Wow,
All these suggestions on utilities to modify sysctl.conf and not a single suggestiong to use the sysconfig editor in YAST (System).
All roads lead to Rome, but the YAST tool is good at ensuring proper organization and in many cases syntax and typo errors.
The User should also keep in mind that any sysctl.conf edits might not survive futre upgrades to systemd.
So, I highly recommend docummenting for that future day when you’ll need to know what you did.
> Wow,
> All these suggestions on utilities to modify sysctl.conf and not a
> single suggestiong to use the sysconfig editor in YAST (System).
>
> All roads lead to Rome, but the YAST tool is good at ensuring proper
> organization and in many cases syntax and typo errors.
>
> The User should also keep in mind that any sysctl.conf edits might not
> survive futre upgrades to systemd.
> So, I highly recommend docummenting for that future day when you’ll need
> to know what you did.
>
> TSU
Good catch - as often is the case, it’s easy to get focused on doing
things a particular way rather than looking at the end goal. YaST
sysconfig editor is definitely the right place to start.