Posts: 7
rosalux
Joined: 21 Apr 2012
#1
Excuse my ignorance.Somewhere is a default option,how to set it?Or the best polished way to do it?
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#2
If you use the
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ignorantguru.github.com/spacefm/"
linktext was:"SpaceFM File Manager"
====================================
:

Right click the file ------> Open -------> Edit as Root

Debian packages are
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/IgnorantGuru/spacefm/tree/master/packages"
linktext was:"here on Github"
====================================
- or
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://igurublog.wordpress.com/downloads/ppa/"
linktext was:"add the sources"
====================================
& install via Synaptic.
Last edited by tradetaxfree on 30 Apr 2012, 02:40, edited 1 time in total.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
I use gexec and check the tab as root. Open Geany or Leafpad. Open the file from there.

or like my terminal screenshot.

Posts: 7
rosalux
Joined: 21 Apr 2012
#4
@tradetaxfree:I have not option 'open as..' in the filer.Not in Rox,neither in Nautilus or Thunar.
@Antix:also possible search and operate with files in a root terminal,but I have preferred less machinery to do,just in the
filer window.I know it's possible but it's a config file to edit,not at my level.
Actually I open with gksu the application to manage the file or the filer itself,it's useful to edit /home files from another distro to make an example.
It is just how to enable the above said"open as" option I would like to know,please.
Posts: 75
tradetaxfree
Joined: 18 Jan 2012
#5
Hi Rosa,

I have posted instructions
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"antix.freeforu ms.org/post24556.html?hilit=qtfm#p24556"
linktext was:"here"
====================================
for installing the qtFM File Manager & setting the Custom Actions so you can"Edit as Root" & also extract archives / open deb files with Gdebi.

For setting Custom Actions in Thunar see
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://thunar.xfce.org/pwiki/documentation/custom_actions"
linktext was:"here"
====================================

Thunar allows users to add custom actions to the file and folder context menus . You can setup new actions in the Custom Actions dialog, available via the Configure custom actions… item in the Edit menu.

Editing as root

Name: Edit as root
Command: gksu put-your-favourite-text-editor-here %f
File pattern: *
Appears if selection contains: Text files

Note: You'll need to replace put-your-favourite-text-editor-here with your favourite text editor (e.g. mousepad or geany).
Last edited by tradetaxfree on 01 May 2012, 06:03, edited 1 time in total.
anticapitalista
Site Admin
Joined: 11 Sep 2007
#6
spacefm is also a good alternative that has an edit as root option when you click on a file. (it is in the Open part).
Rox doesn't have this, though it can be set up. have a look here, on page 2 Open With


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forums.debian.net/viewtopic.php?t=22864"
linktext was:"http://forums.debian.net/viewtopic.php?t=22864"
====================================
&