Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
.desktop File am Plasma/KDE-Desktop
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
mario88
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 122
Location: Vienna

PostPosted: Tue Feb 28, 2017 9:56 am    Post subject: .desktop File am Plasma/KDE-Desktop Reply with quote

Hallo!
Hab' da vor kurzem mal ein KDE-Update reinbekommen und dann nach dem Doppelklicken auf eines meiner Desktop-Icons unbedacht irgendein Hakerl gesetzt, was dazu führte, dass ich nun die Icons nicht mehr "ausführen" kann, sondern immer der Open-With-Dialog erscheint. Über das KMenü kann ich die Anwendungen ganz normal starten. Hat zufällig jemand einen Tipp, was da schief läuft?

Wenn ich rechts draufklicke und "öffnen" wähle, startet ebenfalls ganz normal die gewünschte Applikation...

mfg m4ri0
_________________
Cyber Anarchist
Back to top
View user's profile Send private message
amair
n00b
n00b


Joined: 12 Aug 2003
Posts: 60

PostPosted: Wed Mar 01, 2017 12:36 pm    Post subject: Reply with quote

Hallo Mario,

habe das Problem bei mir vor Kurzem auch bemerkt. Ich vermute, dass es mit dem kde-plasma/plasma-desktop-5.8.5-r2 Update kam und am plasma-desktop-5.8.5-folder-view-script-execution.patch Patch (https://phabricator.kde.org/D4367) liegt.

Habe ihn bei mir mal rückgängig gemacht und ich kann die Anwendungen wieder starten.
/etc/portage/patches/kde-plasma/plasma-desktop-5.8.5-r2/plasma-desktop-5.8.5-folder-view-script-execution.patch mit dem Inhalt:
Code:
commit 771e57f3b2c19f4e6f867c01c2457ec87531b4cf
Author: Kai Uwe Broulik <kde@privat.broulik.de>
Date:   Tue Jan 31 15:07:42 2017 +0100

    [Folder View] show script execution prompt when clicking item
   
    When clicking a file in FolderView, we should ask for whether to open or run a script depending on user settings.
    This is what Dolphin does.
   
    BUG: 375793
    FIXED-IN: 5.8.6
   
    Differential Revision: https://phabricator.kde.org/D4367

diff --git a/containments/desktop/plugins/folder/foldermodel.cpp b/containments/desktop/plugins/folder/foldermodel.cpp
index 758f7f35..1ba12450 100644
--- a/containments/desktop/plugins/folder/foldermodel.cpp
+++ b/containments/desktop/plugins/folder/foldermodel.cpp
@@ -509,8 +509,7 @@ void FolderModel::run(int row)
         url.setScheme(QStringLiteral("file"));
     }
 
-    KRun *run = new KRun(url, 0);
-    run->setShowScriptExecutionPrompt(true);
+    new KRun(url, 0);
 }
 
 void FolderModel::rename(int row, const QString& name)


Gruß
Andreas
Back to top
View user's profile Send private message
mario88
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 122
Location: Vienna

PostPosted: Sat Mar 04, 2017 7:48 pm    Post subject: Reply with quote

Vielen Dank!!
_________________
Cyber Anarchist
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum