1 Attachment(s)
Patch to add "up" button to Nautilus toolbar
When I upgraded to Oneiric, I was disappointed with the changes to Nautilus. Specifically, I didn't like the removal of the up button (up to parent folder) from the toolbar. I was also annoyed that the reload button and the home button were removed from the toolbar. In addition, I wanted to move the buttons to the left of the location entry.
So I made a patch to make Nautilus look like this:
http://i84.photobucket.com/albums/k2...tilus-mod3.png
Instead of this:
http://i84.photobucket.com/albums/k2...tilus-orig.png
It works for me, but I'm not much of a coder, so no guarantees.
Of course, others are free to modify this for their own needs.
I should note, this patch is intended for 11.10 Oneiric. Previous versions do no need this patch because they already have this functionality.
I've made three versions of the patch that do different things. The first only adds the up button. The second adds the up and home buttons. The third adds up, reload and home buttons. Only one is needed. Choose the patch to download here:
Attachment 210735 (Up button only)
Attachment 210272 (Up and Home buttons)
Attachment 210882 (Up, Reload and Home buttons)
INSTRUCTIONS:
Make a new directory to work in, then download the nautilus source code and dependencies:
Code:
mkdir nautilus-mod
cd nautilus-mod
apt-get source nautilus
sudo apt-get build-dep nautilus
Then go to the nautilus source directory:
and move the nautilus-toolbar-patch.txt file to the source directory
Code:
mv [location of patch] .
Patch the source code:
Code:
patch -p1 < nautilus-toolbar-patch.txt
If the patch is successful, build nautilus
Code:
./configure --prefix=/usr
make
Kill any running nautilus process, then install system-wide:
Code:
killall -KILL nautilus
sudo make install
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
Will have to give it a shot. Nice, Thanks
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
So far so good. I've been using the patched version of nautilus heavily for a week and no problems at all.
1 Attachment(s)
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
Here is another patch the only adds the up button to the nautilus toolbar:
Attachment 210735
Here is the result:
http://i84.photobucket.com/albums/k2...autilus-up.png
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
Wow! It works. It is awesome! I've been waiting for this patch for so long. Many thanks!
Question: will I have to patch nautilus again when my ubuntu will update itself to next version?
Greetings,
W.
1 Attachment(s)
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
A new patch, this one adds the up button, the reload button, and the home button, like this:
http://i84.photobucket.com/albums/k2...tilus-mod3.png
Download here: Attachment 210882
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
Quote:
Originally Posted by
wojtalik
Wow! It works. It is awesome! I've been waiting for this patch for so long. Many thanks!
Question: will I have to patch nautilus again when my ubuntu will update itself to next version?
Greetings,
W.
If nautilus is updated, it will overwrite the patched version.
There are numerous ways to handle this:
You could just go into the previously patched nautilus folder and run sudo make install again.
Or, you could pin the current version of nautilus so it never gets updated
Or, you could use checkinstall instead of sudo make install. Make your package have a high version number so it never gets updated.
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
I followed up to the mv command then you lost me. I saved the patch to my desktop but don't know how to move it to the proper place because I don't know what the place is. I found all the nautilus files from synaptic but there are a ton of them and I don't want to screw up nautilus, thanks. It seems so weird to me that at every turn ubuntu 11.10 removes functions rather than adding or improving them. I really miss that up button.
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
Quote:
Originally Posted by
cmcanulty
I followed up to the mv command then you lost me. I saved the patch to my desktop but don't know how to move it to the proper place because I don't know what the place is. I found all the nautilus files from synaptic but there are a ton of them and I don't want to screw up nautilus, thanks. It seems so weird to me that at every turn ubuntu 11.10 removes functions rather than adding or improving them. I really miss that up button.
When you "apt-get source nautilus" it will create a new folder called nautilus-3.2.1 containing the source code for nautilus. You have to move the patch file into that folder and apply the patch to the source code. Then build and install. Nothing affects your current nautilus files until you type "sudo make install"
If you want nautilus back to its original state, do "sudo make uninstall" and reinstall nautilus with this command:
Code:
sudo apt-get install --reinstall nautilus
Re: Patch to add "up" and "home" buttons to Nautilus toolbar
flar, this is magnificent. I really missed that up arrow lol.