Tag Info

Hot answers tagged

26

From your terminal, just open nautilus as follow: nautilus . It will open a new instance of Nautilus in the directory where you were in your Terminal. From the nautilus man page: SYNOPSIS nautilus [options] URIs...


12

The udisks command is most likely what you are looking for. While sudo unmount /dev/sdXY will work, udisks can do this without root level (sudo) permissions. If you have a drive /dev/sdXY, mounted, where X is a letter representing your usb disk and Y is the partition number (usually 1), you can use the following commands to safely remove the drive: udisks ...


11

As well as nautilus . you can also do: xdg-open . and it will do the same as if you double clicked a file in nautilus. Which also means you can open a spreadsheet in LibreOffice with xdg-open mysheet.ods etc. I have it aliased to xopen for slightly quicker typing by putting the following in my .bashrc alias xopen=xdg-open


10

The actual equivalent to Nautilus Mount/Unmount operation is gvfs-mount -m -d /dev/ice /some/directory and gvfs-mount -u /some/directory. This uses the same API that Nautilus uses, GIO virtual file system (gvfs), which provides different tools to use several services as mount points, such smb, NFS, FTP, block devices, etc. To identify which device you need ...


9

Install the nemo file manager: it has a terminal-and-file-manager-in-one. My nemo is customised with home-brewn steam punk icons, but you get the point... ;-) Commands to install: sudo sudo add-apt-repository ppa:webupd8team/nemo sudo apt-get install nemo Optional packages: (bold ones are the ones I've got installed as well) nemo-dbg - File manager ...


8

Once inside your terminal, simply type nautilus . to open a new nautilus window. There is also a file explorer for the terminal itself. Type: sudo apt-get install mc Then when in a directory, type mc to open it. Screenshot of Midnight Commander(MC) File Manager: I use MC all the time in tty. It's mainly keyboard shortcuts and although you can click ...


8

df to find the mount point of your flash drive. rcpao@bun:~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/ubuntu--vg-root 1916153032 658404668 1160390336 37% / none 4 0 4 0% /sys/fs/cgroup udev 16438692 4 16438688 1% ...


8

Once you know the device, possibly using the df info as in @rcpao answer, the best way to "eject" the disk is, imho, using the same command that the graphical interface is using: udisksctl unmount --block-device /dev/sdc1 I have a script to do a backup to a disk that I know will mount under /media/romano/movlin, and after the backup I do: sync ...


8

This a Nautilus bug, you can check it here.


7

The seahorse-plugins is deprecated since 10.04 and as stated in the error message, the seahorse-nautilus package now replaces it. For details you can look at the source package and its debian/control file: Package: seahorse-nautilus Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, seahorse-daemon (>= 3.2.2) Recommends: ...


7

The easiest method is this keyboard combo: Alt+F, D, E. This basically mimics Florian Diesch’s answer: Alt+F opens “File”, D opens “New Documents” and E is for “Empty Document”.


7

Create a new (empty) file with the file type of your choice in ~/Templates, eg a simple (txt) file: touch ~/Templates/empty.txt After that you can create a new file with a right click in Nautilus. Example screenshot


6

There is actually a way to do this. Run these commands: sudo add-apt-repository ppa:alessandro-strada/ppa sudo apt-get update sudo apt-get install google-drive-ocamlfuse Configure the program by running google-drive-ocamlfuse. Make a mount point in your home directory, called "gdrive": mkdir ~/gdrive. Mount Drive: google-drive-ocamlfuse ~/gdrive. ...


6

To achieve this we will edit nautilus.css. We will do this for the current user and not system-wide. Copying your theme to your home folder Open a terminal: mkdir ~/.themes/ cp -R /usr/share/themes/Ambiance/ ~/.themes/ (if you are not using the Ambiance theme (default), you will need to adapt the last command) Editing nautilus.css In a terminal open ...


6

I don't enjoy saying this, but customizing Nautilus is not high on the list of priorities of GNOME devs at the moment. If you're unwilling to modify the source code of Nautilus, I very strongly recommend that you consider installing Nemo. Nemo is everything that Nautilus was, and more. Installing Nemo is easy: search in the Software Centre (where it's ...


6

The clean way would be to create a .desktop file for your script and then make it the default text editor. Create a file called /usr/share/applications/foo.desktop with the following contents: [Desktop Entry] Name=foo Exec=/usr/bin/foo.sh %U Terminal=false Type=Application MimeType=text/plain; Make it the default program for the text/plain mimetype: ...


6

If the command only replies one file with its path then use the following command: nautilus $(dirname "$(locate /home/*special*.odt)") dirname strips the last component of the path nautilus ... open nautilus file manager at the given folder But I recommend to use it like this: nautilus "$(locate /home/*special*.odt)" With the file as argument, the ...


5

This seems to be a limitation of the GTK+. You can't force its file selector to do something it just can't currently do. Any applications that use the GTK+ file selector widget are going to have the same problems. However applications that use the Qt equivalent (and therefore all KDE applications and many others), can open directly from HTTP links. I have ...


5

Sometimes Nautilus lags behind on filesystem changes. I don't think I've ever experienced a delay that allowed me to post a whole question but oh well. You can refresh Nautilus by pressing F5, or changing directory and then back.


5

It seems for an icon theme to let Nautilus display the contents of plain text files as thumbnails, its sub-directory for mime types, which might be named, for example, mimes or mimetypes should have a file named text-x-preview.icon (along with an icon file named text-x-preview.png or text-x-preview.svg, etc. serving as a backdrop for the file contents ...


5

As of a long time, the Places list and Recents is hardcoded into Nautilus. There is nothing you can do about it at all. You could theoretically modify the source code, but that is very problematic. You could theoretically use another file manager (Nemo seems good), but that seems to be your only choice if you do not want to modify source code. Or, you could ...


5

Since shift-clicking did not work for me I searched and found another solution. Workaround mentioned in the corresponding bug report: Scroll the mouse wheel on the Nautilus icon.


5

Open Nautilus go to Edit ► Preferences then under Display tab checked: List View Navigate folders in a tree And also In Views tab select "List View" mode and close. Close and open Nautilus again see the changes.


5

Both packages are in the Ubuntu universe repository. Enable this repository in Software & Updates as per screen-shot below. After that sudo apt-get update sudo apt-get install nautilus-refresh


5

gksudo seems appropriate: gksudo nautilus / & From the gksudo man page: gksu is a frontend to su and gksudo is a frontend to sudo. Their pri‐ mary purpose is to run graphical commands that need root without the need to run an X terminal emulator and using su directly. Note: if gksudo is not available for your release of Ubuntu you can ...


5

If there is no blank space you have to use New Document » Empty Document from the File menu.


4

The canonical command to create an empty file is indeed touch. From the command line, enter touch <filename(including full path)>. (Although, beware arguments containing spaces.)


4

The extension for this menu entry is in the package deja-dup. % apt-file search /usr/lib/nautilus/extensions-3.0/libdeja-dup.so deja-dup: /usr/lib/nautilus/extensions-3.0/libdeja-dup.so Therefore and as you don't use backups (really? You should read this.), a simple solution. Remove Déjà Dup from your system: sudo apt-get remove deja-dup and the menu ...


4

just kill the command again: go the terminal from which you run the command sudo nautilus and then press the key Ctrl+C Or easily just close the terminal by clicking on X, this would kill nautilus process


4

Just use the command apt-get --purge remove nautilus-open-terminal with sudo sudo apt-get --purge remove nautilus-open-terminal This is because some commands require administrative privileges to run, and sudo can give you that. Just be careful that you know what the command is for, when you're using sudo along with it.



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