Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Nice "apt" deb file installer action for Thunar & Dolphin

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Nice "apt" deb file installer action for Thunar & Dolphin

#1 Post by stevepusser »

In development right now, but it already beats gdebi on several points in that it allows installation of multiple debs at once, plus allows downgrades--and you just need gksu and xfce-terminal currently (may change): https://forum.mxlinux.org/viewtopic.php?f=134&t=43537
Last edited by stevepusser on 2017-12-22 02:08, edited 2 times in total.
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Nice "apt" local deb installer custom action for Thunar

#2 Post by stevepusser »

I also made a package for KDE that adds the Action to Dolphin right-clicks on deb files, and also can check md5, sha1, and sha256 hash sums on any file. Link is in the original thread. The "apt" actions have a couple big advantages over using gdebi. :D
MX Linux packager and developer

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Nice "apt" local deb installer custom action for Thunar

#3 Post by stevepusser »

And we are going to move the thread to Development where you plebes can't see it.

Here's the link to the latest Dolphin servicemenu package: https://drive.google.com/open?id=1kMlCn ... u99EzY4JHM Now you need to have sudo enabled.

Haven't figured out how to package the Thunar action, you need to edit ~/.config/Thunar/uca.xml and add this action:

Code: Select all

<action>
   <icon></icon>
   <name>install deb files</name>
   <unique-id>1513721208408617-2</unique-id>
   <command>gksu "x-terminal-emulator -e apt install %F"</command>
   <description>install deb files</description>
   <patterns>*.deb</patterns>
   <other-files/>
</action>
And that one requires that gksu be installed.
MX Linux packager and developer

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Nice "apt" local deb installer custom action for Thunar

#4 Post by Head_on_a_Stick »

stevepusser wrote:Haven't figured out how to package the Thunar action
I think johnraff figured that out, here is his package:

https://kelaino.bunsenlabs.org/~johnraf ... en-thunar/
deadbang

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Nice "apt" local deb installer custom action for Thunar

#5 Post by stevepusser »

Thanks! I'll take a look at it. We already have some localizations done for the MX version.

Edit: OK, we know that MX's custom unca.xml file is installed by one of MX's custom packages (desktop-defaults), so we can just add the action for that. For current users that need to modify the file in their home, we could make it dead simple by creating a script they just need to click to do the same...thinking of certain non-techy people I know.
MX Linux packager and developer

User avatar
johnraff
Posts: 2
Joined: 2011-02-16 15:19

Re: Nice "apt" local deb installer custom action for Thunar

#6 Post by johnraff »

Head_on_a_Stick wrote:
stevepusser wrote:Haven't figured out how to package the Thunar action
I think johnraff figured that out, here is his package:

https://kelaino.bunsenlabs.org/~johnraf ... en-thunar/
That package removes the "set as wallpaper" action (not supported by BunsenLabs' desktop), but doesn't offer any generic path to adding custom actions, I'm afraid.

Post Reply