20140105 making nautilus open terminal work right - plembo/onemoretech GitHub Wiki

title: Making nautilus-open-terminal work right link: https://onemoretech.wordpress.com/2014/01/05/making-nautilus-open-terminal-work-right/ author: phil2nc description: post_id: 372 created: 2014/01/05 09:35:03 created_gmt: 2014/01/05 14:35:03 comment_status: open post_name: making-nautilus-open-terminal-work-right status: publish post_type: post

Making nautilus-open-terminal work right

Time for an update to this original post from 2009, written during the painful months I was immersed in Ubuntu. Some tips for setting up right-click desktop for terminal on Fedora 21 follow. If you want the old right-click-for-terminal behavior back on the current Gnome 3 in Fedora 21, there are basically 4 steps you need to take: 1. Install gnome-tweak-tool, gconftool-2 and nautilus-open-terminal. 2. Go into gnome-tweak-tool, click on the "Desktop" tab and turn on "Icons on Desktop" (this will enable control over the desktop by Nautilus). 3. To have the terminal open up into the root of the user's home directory (rather than the default which opens the Desktop), run this command: [code lang="bash" gutter="false"] gconftool-2 --set --type=bool /apps/nautilus-open-terminal/desktop_opens_home_dir true [/code] 4. To display icons on the (right click) context menu, execute the following as each user wanting the customization [code lang="bash" gutter="false"] gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}" [/code] Gnome does not provide a way to make those last three customizations globally, or at least they haven't documented one (which is just as bad in my mind), so you'll need to run them manually or as a post install/upgrade script (the revision of this post comes in the wake of my upgrading from Fedora 20 to 21). Following is the text of the old post, kept for historical purposes. _ OK, so maybe this is all just a matter of preference, but since moving up to Ubuntu 8.10 x86_64 the one annoyance I've had to deal with is that nautilus-open-terminal (the package that gives you a terminal icon on your right-click context menu) always defaults to opening into ~/Desktop. Yes, I understand that this mod is supposed to let you open up into whatever you click on, and that technically when you right click on the desktop you’re actually “on” ~/Desktop, but that’s not the behavior you’ll get in every other distro, even x86 Ubuntu 8.10 — so I consider it an annoyance.

Well, here’s how to “fix” it. Open a terminal and invoke this command:

gconftool --set --type=bool /apps/nautilus-open-terminal/ desktop_opens_home_dir true

Note: In releases of Fedora Linux since the Gnome Shell became the default desktop getting the terminal to open in the root of the user's home directory rather than in the Desktop folder is done by using the gconf-editor utility to modify the /apps/nautilus-open-terminal key so that desktop_opens_home_dir is checked (true). _

Copyright 2004-2019 Phil Lembo