<noinclude>
{{Header}}
__TOC__
</noinclude>Open file <code>{{{filename|MissingFileName}}}</code> in an editor with root rights.
{{Box|text=
{{Tab
|type=controller
|content=
{{Tab
|type=section
|linkid=os-nonqubes
|active=true
|addToClass=info-box
|image=[[File:Kicksecure-logo-icon.svg]]
|title= {{Headline|h=5|content={{non_q_project_name_long}}}}
|content=
See {{kicksecure_wiki
|wikipage=Software#Open_File_with_Root_Rights
|text=Open File with Root Rights
}} for detailed instructions on why to use <code>sudoedit</code> for better security and how to use it.

Note: Mousepad (or the chosen text editor) must be closed before running the <code>sudoedit</code> command.

{{CodeSelect|code=
sudoedit {{{filename|MissingFileName}}}
}}<!-- close CodeSelect -->
}}
{{Tab
|type=section
|linkid=os-qubes-template
|addToClass=info-box
|image=[[File:Qubes-logo-blue.png]]
|title= {{Headline|h=5|content={{q_project_name_long}}}}
|content=
NOTES:

* When using [[Qubes|{{q_project_name_short}}]], this needs to be done inside the Template.

{{CodeSelect|code=
sudoedit {{{filename|MissingFileName}}}
}}<!-- close CodeSelect -->

* After applying this change, shutdown the Template.
* All App Qubes based on the Template need to be restarted if they were already running.
* This is a general procedure required for Qubes and [[unspecific|unspecific to {{q_project_name_long}}]].
}}
{{Tab
|type=section
|linkid=os-other
|addToClass=info-box
|image=[[File:Any12312.png]]
|title= {{Headline|h=5|content=Others and Alternatives}} 
|content=
* This is just an example. Other tools could achieve the same goal.
* If this example does not work for you or if you are not using {{project_name_short}}, please refer to [[Software#Text_Editor|this link]].

{{CodeSelect|code=
sudoedit {{{filename|MissingFileName}}}
}}<!-- close CodeSelect -->
}}
}} <!-- End Tab Controller -->
}} <!-- close open file with root rights template Box --><noinclude>
[[Category:MultiWiki]]
{{Footer}}
</noinclude>