Hot answers tagged

61

First, reset all previous folder view preferences by deleting ~/.local/share/gvfs-metadata (source) Next, open Nautilus and select Edit -> Preferences -> Views (tab) -> View new folders using , and change to List View:


52

The following works in all desktop environments by using the default file manager: xdg-open . You can also open files from the terminal as if you had double clicked them in the file manager: xdg-open file


43

Well there is midnight commander: To install: sudo apt-get install mc To run: mc And also Last File Manager: To install: sudo apt-get install lfm To run: lfm


37

Use cat with output redirection. Syntax: cat file [file] [[file] ...] > joined-file. Example with just two files (you can have many more): $ echo "some text in a file" > file1 $ echo "another file with some text" > file2 $ cat file1 file2 > mergedfiles $ cat mergedfiles some text in a file another file with some text In case you have "many ...


35

Got same ergonomic problem! Ctrl+D or Add Bookmark will function only when "desired link folder" is selected on Location Bar. "Bookmarks" will appear only on Places (Nautilus) after placing one bookmark. Not so friendly IMO... References: "Adding a Bookmark To add a bookmark, open the folder or location that you want to bookmark, then choose Places->Add ...


32

There is a much better way to do this without moving files and setting links. Just open a terminal with CTRL+ALT+T and perform this command: xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search Then set up Nemo to handle your desktop: gsettings set org.gnome.desktop.background show-desktop-icons false gsettings set org.nemo....


23

Enter the directory you want to bookmark and go to Bookmarks → Add bookmark or just press Ctrl+D.


23

Open your terminal with CTRL+ALT+T and then paste this: sudo mv /usr/bin/nautilus /usr/bin/nautilus.back && sudo ln -s /usr/bin/nemo /usr/bin/nautilus then try again, hope that helps. Note that this will effectively make Nautilus inaccessible on your system unless you modify shortcuts to point to nautilus.back.


20

As of 11.04, Ubuntu has an even better solution built in: The Dash! With the dash you can do all kind of cool stuff, such as: Search through your files Find installed and available applications Run commands There will be many more features in the future, as the dash is extendible through so called "lenses". These will allow you, for example, search Ask ...


20

The "Home" in nautilus is simply a link to /home/<username>. It is the same way that windows puts different names (.e.g. "My Documents", but it's "Documents" in terminal). It is to make it more user friendly, they want your "Home" space to be obvious how to find. It is only more advanced users that find that it is different - so you don't get ...


19

You could do something like < file tee file-{001..200} however if the medium becomes unreadable it will not matter how many copies are on it - fundamentally backups require diversity. Note that tee writes its standard input to standard output as well as to each of the given files - for large files, or for files containing binary data or other special ...


18

Cardapio is exactly what I was looking for. You'll have to install Tracker, start it, then enable the "File Search" plugin from Cardapio.


18

The .gz, .xz, .bz2, .7z, .lz, .z suffixes are used to make clear that the file is compressed with said compression algorithm. Its use is not limited to .tar files, you will also see files such as initrd.gz (an compressed initial ramdisk) or manual.txt.gz (for a compressed text document). You may also see file.tgz which is also indicates a gzip-compressed ...


18

This is the classic case where shell tricks help a lot. for i in {000..199}; do cp file file-$i; done And I know it's a joke, but if you want a random _ or - separating the number from the name you can use: for i in {000..199}; do cp file file$(cat /dev/urandom | tr -dc '_-' | fold -w 1 | head -n 1 )$i; done (multiple line to help readability......


17

It is called the user's Home directory, even when working from the Linux Command Line. All the directories under /home are called Home directories, they are grouped together for the sake of simplicity. Think of it this way: Just like /bin stores binaries, /home stores Home Directories. So when Nautilus tells you the directory is "Home", it is literally "...


16

You need to do a couple of things then a log out/in should restore. (may be another way but this should suffice First restore your current Downloads folder's icon Open your home folder & right click on the Downloads folder > properties. Click on the folder icon, this will bring up a select custom icon window. Browse to File System > usr > share &...


16

Nautilus does this. Ubuntu up to version 12.10 Just switch to View > List. Ubuntu 13.04 Feature is missing in this release Ubuntu 13.10 and newer activate Preferences > Display > Navigate folders in a tree switch to List View


15

I had the same question some time ago. And I tried all of the mentioned commanders. Krusader is by far the best one but I didn't want to have whole bunch of KDE libraries installed. Gnome-Commander cripples system theme in order to get some more speed (I guess) but it doesn't support tabs. Mucommander is Java based and lacks integration with system (and it's ...


15

GNOME Commander would be the most obvious choice. I don't use a specifically dual paned file manager so I couldn't really say which was best. It's also worth noting that you can get a dual pane mode with Nautilus by pressing F3.


15

Install libfile-mimeinfo-perl from the repository Run (in terminal) mimeopen -d ~/Desktop (any folder can be used) mimeopen should prompt you to pick something to open it with. For me, PCManFM was the first option. Select the option that lists PCManFM. Open Dropbox from the system tray. It should now open in PCManFM.


15

Ranger: ranger is a file manager with VI key bindings. It provides a minimalistic and nice curses interface with a view on the directory hierarchy. The secondary task of ranger is to psychically guess which program you want to use for opening particular files. UTF-8 Support Multi-column display Preview of the selected file/directory Common file ...


15

This did it for me, after I google for a while: xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search I also typed: gsettings set org.gnome.desktop.background show-desktop-icons true


15

In Ubuntu an URL shortcut is stored in a .desktop file as follow (for example): [Desktop Entry] Encoding=UTF-8 Name=Link to Best Practices Software engineering Type=Link URL=http://abdennour-insat.blogspot.com/ Icon=text-html If you still want to open your Windows URL files in Ubuntu, here is described how you can do it: How to Open .url Internet ...


14

Midnight Commander sounds like what you want: mc


14

What you can do is to edit bookmarks by pressing Ctrl+B and change the url of a bookmark that already exists (and if you want you can change the name too). Then the new one that you wrote will appear and the one that you "replace" will be created by ubuntu again. I think that this is an error too but you can fix your problem


13

Found a solution here: http://www.fandigital.com/2013/01/set-nemo-default-file-manager-ubuntu.html The following command once typed into a terminal window (Ctrl+Alt+T) makes nemo default xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search


13

In Unity we have .desktop files for defining items on the launcher, desktop, or other locations. To create these see the following question: How can I create launchers on my desktop? A link to an internet file may have an entry as simple as the following [Desktop Entry] Encoding=UTF-8 Name=Internet Link Type=Link URL=<url> Icon=<icon to display&...


13

You can use find with a somewhat complex exec command: find . -iname '*?.?*' -type f -exec bash -c 'EXT="${0##*.}"; mkdir -p "$PWD/${EXT}_dir"; cp --target-directory="$PWD/${EXT}_dir" "$0"' {} \; # '*?.?*' requires at least one character before and after the '.', # so that files like .bashrc and blah. are avoided. # EXT="${0##*.}" - get the extension # ...


13

The python script below does the job. Hidden files are stored separately in a folder , as well as files without extension. Since it might be used for a wider range of purposes, I added a few options: You can set extensions you'd like to exclude from the "reorganization". If you simply want to move all, set exclude = () You can choose what to do with ...



Only top voted, non community-wiki answers of a minimum length are eligible