Memyandi42 / gnome-menu-file-browser-applet

Automatically exported from code.google.com/p/gnome-menu-file-browser-applet
0 stars 0 forks source link

Open terminal and open as root #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I found it isn't handily to open terminal by middle-click or F4. Maybe you 
can add as an option this commands above the open folder entry? I mean, 
when you point an entry (p.ex. Video), submenu opens and the first entry 
is "Video" which opens the folder. The idea is to add "Open as root" and 
"Open terminal here" as entries in the submenu.

Sorry, cannot find where to change the type of an issue to the 
"Enhancement" and not the "Defect" :-(

Original issue reported on code.google.com by brother....@gmail.com on 27 Jan 2010 at 12:04

GoogleCodeExporter commented 9 years ago
This should be relatively easy. I'll have to think about whether I want to do it
though...

Original comment by bertol...@gmail.com on 27 Jan 2010 at 3:56

GoogleCodeExporter commented 9 years ago

Original comment by bertol...@gmail.com on 15 Feb 2010 at 9:39

GoogleCodeExporter commented 9 years ago
Added "Open terminal Here" and "Edit File" actions to context menu.

Will look at terminal/open as root later...

Change is in svn only right now.

Original comment by bertol...@gmail.com on 22 Feb 2010 at 4:38

GoogleCodeExporter commented 9 years ago
So, I implemented open terminal as root then had a thought. Is anyone using this
applet to browse files outside of ~/ ? If not, is root really necessary?

Original comment by bertol...@gmail.com on 12 Mar 2010 at 5:43

GoogleCodeExporter commented 9 years ago
I don't browse outside ~, but I often use root privileges to run scripts, 
binaries and 
make other administrative things.

Maybe it can be an option in preferences? Show/hide "open as root" and so on/

Original comment by brother....@gmail.com on 12 Mar 2010 at 6:25

GoogleCodeExporter commented 9 years ago
Hmmm, thinking along these lines it might also make sense to have an "edit as 
root"
and run script as root" options. I'll think about this a little more to make 
sure
it's implemented sanely.

Thoughts?

Original comment by bertol...@gmail.com on 15 Mar 2010 at 5:13

GoogleCodeExporter commented 9 years ago
OK, I've checked a preliminary implementation into svn. If you're comfortable 
with
compiling code, please give it a try.

Thanks,
axel.

Original comment by bertol...@gmail.com on 16 Mar 2010 at 3:33

GoogleCodeExporter commented 9 years ago
I'm not so familiar with sources, but I tried. It was pretty hard to satisfy 
all 
dependencies =) No problems with configure, make and make install (I like to 
use 
checkinstall instead), but -- it doesn't work. I can't add it through 
gnome-panel 
item adding dialog -- simply no entry for File Browser. :-(

Original comment by brother....@gmail.com on 18 Mar 2010 at 1:56

GoogleCodeExporter commented 9 years ago
Hey,

I'f you're on a Debian-based system,

sudo apt-get install libgtkhotkey-dev libpanel-applet2-dev

should take care of all the dependencies. To build it, try

cmake -D CMAKE_INSTALL_PREFIX=/usr
make
sudo make install

You might need to waid a bit or log out/back in before it applet appears in teh
applets list.

a.

Original comment by bertol...@gmail.com on 18 Mar 2010 at 3:27

GoogleCodeExporter commented 9 years ago
It's alright, just installed it. Works fine!

But noticed that you made "Open root terminal", not "Open in Nautilus as root" 
as I 
mentioned. Maybe it is more reasonable. Anyway, great work, thank you!

Original comment by brother....@gmail.com on 18 Mar 2010 at 9:12

GoogleCodeExporter commented 9 years ago
Oops, I think I misunderstood your original email. I'll look into adding an 
Nautilus
as root item.

a.

Original comment by bertol...@gmail.com on 22 Mar 2010 at 4:24

GoogleCodeExporter commented 9 years ago
Added "Open As Root" option. All the new context menu actions are in version 
0.6.6

Original comment by bertol...@gmail.com on 31 Mar 2010 at 9:32