LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2021, 11:02 AM   #1
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Rep: Reputation: 15
Question Ubuntu 20.04.3 LTS: Paste Function Greyed Out = Dropbox Fail


Hello All,

Running Ubuntu 20.04.3 LTS:

Background to current problem (which may or may not relate):
Desktop objects sometimes disappear; re-appear on re-boot.

My question is: Is there a solution other than OS re-install?

Details of problem:

All folder/file permissions in properties are read/write.
(1) IF I create a Test folder:
(2) I CAN cp that folder to desktop.
(3) I CANNOT cut/copy any file/folder to any location because "paste" is greyed out.
(4) I CAN drag/drop a file/folder to another folder but I CANNOT drag/drop that object out of the folder, nor paste. That object remains "in jail" in that folder.
(5) Dropbox fails because I CANNOT cut/copy/drag and drop any object into it. To check that this was not a Dropbox issue, I purged Dropbox from terminal, re-installed and, ditto, same problem. Needless to say, when I ran Ubuntu MATE from a virtual machine, none of the above problems occurred, including with Dropbox.

So it seems I have a corrupted OS. The question is, What is corrupted and can it be repaired?

I'd be grateful for any solution other than wiping and starting over. I have a Brother monolaser multi-function printer which is very difficult to install, a driver for every function via CLI, so I'm really trying to avoid a re-install.

Many thanks for any suggestions.

P.S. I am NOT querying about a Dropbox problem but an OS problem which happens to be fatal to Dropbox functionality.
 
Old 11-04-2021, 03:03 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
You have either a laptop? or Desktop? computer running Ubuntu 20.04, as a 'live' system? or as a fully installed system? on some unknown hardware? What objects sometimes disappear and then reappear on reboot? Desktop icons? How do these objects appear initially? Doe the user create them or do they just 'appear'?

An ordinary user should be able to copy a file or directory to that particular users /home/user directory. You're are using a multiuser system whether you see yourself as the only user or not. You should be able to copy/write to any sub-directory of the /home user but not write outside that area.

Familiarize yourself with Linux owner:group and permissions.
 
Old 11-04-2021, 03:09 PM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,678

Rep: Reputation: Disabled
Quote:
Originally Posted by kajensen View Post
Running Ubuntu 20.04.3 LTS
Quote:
Originally Posted by kajensen View Post
Desktop objects sometimes disappear; re-appear on re-boot
What are desktop objects? Icons? But vanilla Ubuntu 20.04 doesn't show any icons on the desktop by default.
Quote:
Originally Posted by kajensen View Post
Needless to say, when I ran Ubuntu MATE from a virtual machine, none of the above problems occurred, including with Dropbox.
So, is it Ubuntu or Ubuntu MATE? MATE allows you to have icons on the desktop by default, for vanilla Ubuntu you'll have to install gnome-shell-extension-desktop-icons first. For folder shortcuts, see How to create desktop shortcuts for folders in Ubuntu 20.04 (the link is for vanilla Ubuntu with GNOME).
 
Old 11-04-2021, 03:34 PM   #4
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by yancek View Post
You have either a laptop? or Desktop? computer running Ubuntu 20.04, as a 'live' system? or as a fully installed system? on some unknown hardware? What objects sometimes disappear and then reappear on reboot? Desktop icons? How do these objects appear initially? Doe the user create them or do they just 'appear'?

An ordinary user should be able to copy a file or directory to that particular users /home/user directory. You're are using a multiuser system whether you see yourself as the only user or not. You should be able to copy/write to any sub-directory of the /home user but not write outside that area.

Familiarize yourself with Linux owner:group and permissions.
For more than a year I have run 20.04 as a fully installed system on a desktop I assembled. I am the only user. A new problem that never existed before, to me, suggests that something is broken rather than that I have made an error, for there have been no changes in my daily computer work. When I say "objects," I mean any items that you can place on the desktop: a .wav file, a .png file, a .doc file, an mp4 file, etc. Of course, I am using virtual desktops by default. Sometimes one or more items "disappears." They re-appear upon re-boot. This has been going on for about a year, less than once per day. I run the computer 24/7 (BOINC). Like I said, I don't know if this problem is related to the paste greyed out function.
 
Old 11-04-2021, 03:40 PM   #5
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by shruggy View Post
What are desktop objects? Icons? But vanilla Ubuntu 20.04 doesn't show any icons on the desktop by default.

So, is it Ubuntu or Ubuntu MATE? MATE allows you to have icons on the desktop by default, for vanilla Ubuntu you'll have to install gnome-shell-extension-desktop-icons first. For folder shortcuts, see How to create desktop shortcuts for folders in Ubuntu 20.04 (the link is for vanilla Ubuntu with GNOME).
Please see reply to yancek for explanation of what I mean by "objects" which are essentially files with various extensions depending on the file type. I understand that Ubuntu vanilla does not permit app shortcuts, except for Dropbox, but that MATE does. But I'm not referencing apps, only files.

Dropbox is the center of my workflow as it is for many. If I cannot paste any of the numerous objects I need to paste to it, Dropbox ceases to function. But neither can I paste anything to my desktop independently of Dropbox. Please read again my list of what I can and cannot do. Ubuntu 20/04.3 is my installed OS and MATE I was running in a virtual machine.
 
Old 11-04-2021, 05:50 PM   #6
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Original Poster
Rep: Reputation: 15
Unhappy Paste Greyed Out

I just googled "linux paste greyed out" and found about 25 instances, all on Debian based distros, going back several years, usually reported as bugs, and no solutions.

It doesn't look good . . .
 
Old 11-05-2021, 06:45 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
I don't use dropbox so I don't know if that has anything to do with your problem.
I don't generally use Desktop icons or link and currently the only Desktop icon I have on the standard Ubuntu Desktop is shown below. When I double lick the Desktop icon, it runs the simple bash mount script to mount Slackware on another partition on the drive which performs as expected.

Quote:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=true
Exec=/home/user/mount-slack
Name=Slack
Comment=
Icon=/home/user/gcr-key.png
Quote:
#!/bin/bash
sudo mount /dev/nvme0n1p6 /mnt/slack
I can copy a .pdf, .png or any other type file from the /home/user directory to the Desktop and paste it on the Desktop and view/access it.

Prior to doing this I installed: sudo apt install gnome-shell-extension-desktop-icons

It is generally suggested to have these desktop files in /home/user/.local/share/applications or in /usr/share/applications. With the gnome-shell-extension-desktop-icons software installed, nether is necessary.

Have you reviewed the link below.

https://www.omgubuntu.co.uk/2018/01/...s-removed-3-28
 
Old 11-05-2021, 09:12 AM   #8
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by yancek View Post
I don't use dropbox so I don't know if that has anything to do with your problem.
I don't generally use Desktop icons or link and currently the only Desktop icon I have on the standard Ubuntu Desktop is shown below. When I double lick the Desktop icon, it runs the simple bash mount script to mount Slackware on another partition on the drive which performs as expected.





I can copy a .pdf, .png or any other type file from the /home/user directory to the Desktop and paste it on the Desktop and view/access it.

Prior to doing this I installed: sudo apt install gnome-shell-extension-desktop-icons

It is generally suggested to have these desktop files in /home/user/.local/share/applications or in /usr/share/applications. With the gnome-shell-extension-desktop-icons software installed, nether is necessary.

Have you reviewed the link below.

https://www.omgubuntu.co.uk/2018/01/...s-removed-3-28
I have confirmed that the Dropbox issue is unrelated although involved. It is an OS failure. Do you have any idea for a solution. I only need to bring "paste" back.
 
Old 11-05-2021, 02:42 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
Other than the info in the links posted, no.
 
Old 11-05-2021, 04:34 PM   #10
kajensen
Member
 
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Original Poster
Rep: Reputation: 15
Talking Paste Greyed Out PROBLEM SOLVED!

Quote:
Originally Posted by yancek View Post
Other than the info in the links posted, no.
Problem SOLVED! From terminal I upgraded to the next iteration, Hirsute Hippo, and my problem disappeared! It was a long shot but it worked. I guess that whatever was corrupted, was replaced. So now we have another solution in our toolbox!
 
Old 11-06-2021, 06:22 AM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
Quote:
I guess that whatever was corrupted, was replaced
I don't believe anything was "corrupted", but rather it was a deliberate choice by the "Gnome" developers. Many articles in recent years explaining the disdain Gnome developers have for "Desktop icons" and their reasons for it. I saw an article last year in which the Gnome developers actually suggested using Nemo rather than Nautilus as a File Manager if they wanted desktop icons!

I found the link below after reading your previous post yesterday which explains the changes

https://fostips.com/app-icons-to-desktop-ubuntu-21-04/

I would suggest that if this is important to you, desktop icons with Gnome, that you keep detailed notes in a safe place because who knows when someone will decide to change back?

I ran across this last year for the reason I mentioned in my initial post. I've been using KDE since I started with Linux 2 decades ago and am comfortable with it so have never changed. It may be that the developers listed to users as I have seen numerous complaints about this 'problem'. Hopefully, that being the case, they can work on the Ubiquity EFI installer (been complaints about that for 7+ years).

Anyhow, congratulations on your accomplishment!

The link in this post explains how to create a desktop link in Ubuntu 21.04 and Ubuntu 21.10.

The link below explains how to do the same on Ubuntu 20.04. Near the bottom of the page, it also explains how to do this manually. It basically requires creating a proper Desktop Entry as shown in post # 7 above, with the correct Exec and Icon paths. It is necessary to right click the desktop icon and select Permissions tab and click the check box to the left of Allow executing as a program.

https://linuxconfig.org/how-to-creat...al-fossa-linux

In this same properties window, click the Open With tab and have Default Application show Run Software and click Set as Default tab in lower right. Close the window and Right click desktop icon again and you should see an option to Allow Launching, click that The icon you set should show and clicking the desktop icon should run the application/program you want.

I would suggest that if this is important to you, you either use 21.04 or 21.10 as suggested by the OP or explained in the link above. You may also try testing the whole set up in Virtual Box or similar software or on a secondary installation on another drive or usb installation.

Everything I had previously read in regard to creating these desktop links seemed to indicate that it would be necessary to have files in either /home/user/.local/share/applications for local user links or in /usr/share/applications for system wide application desktop files. I don't have either and am not sure why this works, perhaps the installation of: sudo apt install gnome-shell-extension-desktop-icons OR, if there is some other reason.

Last edited by yancek; 11-07-2021 at 08:45 AM. Reason: Add info
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropbox - no "Dropbox -> Copy Dropbox Link" on right click in Nautilus Chris Watts Linux - Software 7 12-19-2020 12:34 PM
LXer: How to Install Dropbox and Dropbox-cli on Debian 10 LXer Syndicated Linux News 0 07-04-2020 08:21 PM
LXer: Dropbox To Stop Following Symlinks To Items Outside The Dropbox Folder LXer Syndicated Linux News 0 09-06-2019 01:32 AM
[SOLVED] New user problem with Dropbox and sudo relating to "Can't monitor Dropbox folder" error. globetrotterdk Slackware 9 03-22-2018 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration