DevHeads.net

Ubuntu 18.04 GUI File Manager Weirdness

OK, first of all *I* don't use a GUI File Manager. However I provide IT
support for the local library where most people do use the GUI File Manager.
All of the machines are running an up-to-date Ubuntu 18.04. The only other
weirdness is that the /home filesystem is NFS mounted and user authentifcation
is via LDAP.

What is happening is that users cannot open folders on their desktop. Either
left clicking on the folder icon or right-click and Open. Nothing happens.
They can open up their files if they explicitly launch the GUI File Manager
from the launcher (file cabinate icon).

What is going on? Is this part of Gnome3's adversion to starting programs
from the desktop? Or is there some other weirdness going on?

Comments

Re: Ubuntu 18.04 GUI File Manager Weirdness

By Little Girl at 07/03/2019 - 15:11

Hey there,

To mount shares manually (which is what it sounds like you want to
do), it recently became necessary to specify "users" in the NFS line
in your /etc/fstab file.

For example, you would change this:

192.168.1.200:/foo /bar nfs rw,hard,intr,noauto,noexec 0 0

To this:

192.168.1.200:/foo /bar nfs users,rw,hard,intr,noauto,noexec 0 0

Then you'd export your share again and restart the network:

sudo exportfs -ar
sudo service nfs-kernel-server restart

I've got an updated NFS guide online if you're interested.

Re: Ubuntu 18.04 GUI File Manager Weirdness

By Robert Heller at 07/03/2019 - 15:46

No, the whole /home file system is mounted at boot time and all of that is
properly set up. Nothing is automounted or mounted manually by users (well
things like USB thumb drives get mounted by the Gnome automounter). *I* am an
old hand at NFS, automount, etc. I however deeply suspect that "modern"
desktop applications do not well support NFS mounted file systems and
sometimes misbehave when dealing with NFS mounted file systems (firefox,
Chrome/Chromium, and now nautilus).

Re: Ubuntu 18.04 GUI File Manager Weirdness

By oxy via ubuntu-users at 07/03/2019 - 14:19

Hi Robert,

just a shot in the dark. Could it be that the home folder on the
desktop is some virtual gvfs folder or similar, while when the users
access the home folder by using the file manager, they access it as a
normal folder, by the normal path?

Regards,
Ralf

Re: Ubuntu 18.04 GUI File Manager Weirdness

By Robert Heller at 07/03/2019 - 14:34

The desktop folders *look* like normal folders. How would I check to see if
is some virtual gvfs folder? What is shown on the desktop is what I get when
I use a terminal and do a 'ls Desktop' (except with the icons). And why/how
would things end up in a virtual gvfs folder anyway? Exactly what good is
that?

The only thing is these folders were created under Ubuntu 14.04 (or earlier in
some cases, like CentOS 5 or maybe some really old version of Ubuntu -- eg
back in 2006).

Re: Ubuntu 18.04 GUI File Manager Weirdness

By Colin Law at 07/03/2019 - 15:01

On Wed, 3 Jul 2019 at 19:36, Robert Heller < ... at deepsoft dot com> wrote:
What is in the file
.config/user-dirs.dirs

Colin

Re: Ubuntu 18.04 GUI File Manager Weirdness

By Robert Heller at 07/03/2019 - 15:46

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

Re: Ubuntu 18.04 GUI File Manager Weirdness

By Colin Law at 07/03/2019 - 16:54

On Wed, 3 Jul 2019 at 20:48, Robert Heller < ... at deepsoft dot com> wrote:
That shows that the Desktop is showing the folder $HOME/Desktop, which
is as it should be. One possibility was that XDG_DESKTOP_DIR had got
set to something strange.

Colin

Re: Ubuntu 18.04 GUI File Manager Weirdness

By oxy via ubuntu-users at 07/03/2019 - 14:58

If you list Desktop/, is Trash a link against .local/share/Trash/? I
suspect that it isn't, see <a href="https://en.wikipedia.org/wiki/GVfs" title="https://en.wikipedia.org/wiki/GVfs">https://en.wikipedia.org/wiki/GVfs</a>.

gvfsd-computer provides computer://
gvfsd-trash provides trash://

Note, on my Linux installs gvfs is not installed. I installed empty
dummy packages, that fulfil the package dependency.

I don't know if your issue is caused by gvfs, but this issue does fit
this mould.

Re: Ubuntu 18.04 GUI File Manager Weirdness

By Robert Heller at 07/03/2019 - 15:46

There is no Trash folder in ~/Desktop.

Re: Ubuntu 18.04 GUI File Manager Weirdness

By oxy via ubuntu-users at 07/03/2019 - 15:57

On Wed, 3 Jul 2019 14:34:12 -0400 (EDT), Robert Heller wrote:
On the desktop there are not the folders of a user's home, there are
either regular links, files with information about the location or
there's nothing at all, even if it's shown on the GUI desktop.

What's the output of

ls -Al Desktop/

?

Re: Ubuntu 18.04 GUI File Manager Weirdness

By Robert Heller at 07/03/2019 - 16:20

[goodneighbors@newserver ~]$ ls -Al Desktop/
total 12
drwxrwsr-x. 6 goodneighbors goodneighbors 4096 Jul 3 11:42 GoodNeighbors
drwxrwxr-x. 2 goodneighbors goodneighbors 4096 Oct 9 2012 Nancy's Documents
drwxrwxr-x. 2 goodneighbors goodneighbors 4096 Feb 28 2018 Untitled Folder

Note: this is on the NFS server machine (running CentOS 6). I'm *not* logged
into the Ubuntu workstation. Oh, these are exactly the folders shown on the
Desktop when the user in question is logged into the Ubuntu workstation.

Re: Ubuntu 18.04 GUI File Manager Weirdness

By oxy via ubuntu-users at 07/03/2019 - 16:01

On Wed, 2019-07-03 at 21:57 +0200, Ralf Mardorf via ubuntu-users wrote:
I should rephrase this.

In the desktop folder ...