Summary: | 19Aug16 Updates (131) Crash Desktop Icon/Scripts | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | pmb <s093x6f6> |
Component: | Icon widget | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bhush94, kde, maxantispam, nate, plasma-bugs, s093x6f6 |
Priority: | NOR | ||
Version: | 5.7.3 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | inxi folderview icon |
Description
pmb
2016-08-19 18:45:42 UTC
A correction . . . It seems that none of my icons pointing to a script or using a terminal work. I click - they die! I tried recreating the offending icons but they do not work. Haven't heard anything so I gave up and installed a clonezilla backup from 14Aug16. One week before the issues raised by this bug report. I tried the offending icons and ALL opened properly, opening in a terminal and running the script. I hoped that my problems were a one time thing so I did a full-upgrade of 313 packages. Guess what? The problem now exists again. Somewhere in those packages is something screwing up my desktop. I have tried moving an icon to another computer - it works I have tried moving an icon to another user on the same machine - does not work I reinstalled the plasma-desktop-* packages - no effect Unless someone at your end can solve my problems then a complete reinstall is the only solution. Please help? Thank You Can you upload an example of this desktop icon that crashes please. Created attachment 100729 [details]
inxi folderview icon
I removed the path and substituted an ellipsis.
Hope this helps
Thank You
This icon is one of many that do not function properly. It appears to be a problem with a desktop icon that opens a terminal. The script itself runs perfectly when run directly with ./ in front. Without that ./ I get command not found even with executable mode set. It could be a Konsole problem. I heard nothing earlier so I reinstalled 5.7.3. There were 500+ updates. Before the updates, the icons worked perfectly. After the problems started. I have tried at my pay grade to diagnose the problem but it is somewhere in the back end and far above my knowledge level. Hope this helps Thank You Sorry to bother you again but I have a printout that is unusual from this issue. I have a Bash script that is named UpDateAll. It updates and downloads and cleans up. It has run perfectly for years and years. Now it doesn't. The executable checkbox is marked but it will not run by itself. I must put ./ in front. Then it runs strangely! It seems to open the icon as a text file with the click or Enter and when it gets to the script itself it runs the Bash Script and continues after the script treating the icon as a text document. The following shows the results. ???@TheMacHine:~/Desktop/???$ sudo ./UpDateAll [sudo] password for???: ./UpDateAll: 1: ./UpDateAll: [Desktop: not found ./UpDateAll: 2: ./UpDateAll: Comment[en_GB]=: not found Update: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] Hit:2 http://archive.canonical.com/ubuntu xenial InRelease Get:3 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease [23.8 kB] Hit:4 http://ca.archive.ubuntu.com/ubuntu xenial InRelease Get:5 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB] Hit:6 http://ppa.launchpad.net/byobu/ppa/ubuntu xenial InRelease Ign:3 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease Hit:7 http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial InRelease Hit:8 http://ppa.launchpad.net/mc3man/avidemux1/ubuntu xenial InRelease Hit:9 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease Hit:11 http://archive.neon.kde.org/user xenial InRelease Fetched 214 kB in 5s (41.6 kB/s) Reading package lists... Done W: GPG error: http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2836CB0A8AC93F7A W: The repository 'http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease' is not signed. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. Upgrade: Reading package lists... Done Building dependency tree Reading state information... Done Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Auto-remove: Reading package lists... Done Building dependency tree Reading state information... Done Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Clean: Auto-clean: Reading package lists... Done Building dependency tree Reading state information... Done No kernels are eligible for removal Finished now . . . ./UpDateAll: 5: ./UpDateAll: GenericName[en_GB]=: not found ./UpDateAll: 9: ./UpDateAll: Name[en_GB]=UpDate: not found ./UpDateAll: 10: ./UpDateAll: All: not found ./UpDateAll: 16: ./UpDateAll: X-DBUS-ServiceName=: not found ./UpDateAll: 17: ./UpDateAll: X-DBUS-StartupType=wait: not found ./UpDateAll: 18: ./UpDateAll: X-KDE-SubstituteUID=false: not found ./UpDateAll: 19: ./UpDateAll: X-KDE-Username=root: not found Hope this helps. This mess continued from a previous install to a new formatted install. Hope this helps Thank You Hi there, I've noticed similar issue on Fedora-23 & Fedora-25: Found out that starting a bash-script via desktop-file as ordinary user is just fine. But same attempt in combination with UID-substitution functionality (the bash-script shall be run as user "root") the execution of bash-script fails. UID-substitution is defined directly inside the desktop-file (or within KDE-properties of the icon). Like this one is asked to authenticate (password) and the script will executed then. This worked for me for years (in particular I run a backup-script as "root"), now this is broken for a while already. Content of example bash-script: ------------------------------- #!/bin/bash echo -n "I am: " whoami Content of example desktop-file: -------------------------------- [Desktop Entry] Comment=A simple script for test proposes Exec=/path/to/above/script/test.sh GenericName=Bash script Icon=application-x-shellscript MimeType= Name=My-Terminal-Script Path= StartupNotify=false Terminal=true TerminalOptions=\s--noclose Type=Application X-DBUS-ServiceName= X-DBUS-StartupType=none #X-KDE-SubstituteUID=true #X-KDE-Username=root Check running the script by clicking the icon - works fine. Uncomment the last 2 lines (enables UID-substitution) - will fail. If my bug should not be related to the reported one please let me know. MaxiPunkt Thank You for the reply. It is appreciated. Your issues are close to mine but 'different'. I tried inserting the user in a terminal via ~/.profile but nothing is amiss. Whenever a bash script uses the konsole it fails. I put in a bug report to Konsole but was told it's not their problem! That is not the least of my problems now. LM KDE updated 5.8.4 to 5.8.5 and now I have more screwed up issues. When I right click on a desktop folder and open it, the cursor closes the new window immediately upon entry. Totally screwed up! Me thinks it is time to move . . . Sorry about this. I forgot something. I put in a UbuntuOne bug report on the new 'feature' in 5.8.5. No crash anymore with the latest Plasma. Looks like this got fixed. |