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

Share your own howto's etc. Not for support questions!

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

Postby stevepusser » 2017-12-20 02:12

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Notepadqq 1.2.0, Pale Moon 27.8.3, KeePassXC 2.3.1, Calligra 3.1, VLC 3.0.1, Firefox 59.0.2, Shotwell 28.2
User avatar
stevepusser
 
Posts: 9435
Joined: 2009-10-06 05:53

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

Postby stevepusser » 2017-12-20 23:16

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
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Notepadqq 1.2.0, Pale Moon 27.8.3, KeePassXC 2.3.1, Calligra 3.1, VLC 3.0.1, Firefox 59.0.2, Shotwell 28.2
User avatar
stevepusser
 
Posts: 9435
Joined: 2009-10-06 05:53

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

Postby stevepusser » 2017-12-21 02:27

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 &quot;x-terminal-emulator -e apt install %F&quot;</command>
   <description>install deb files</description>
   <patterns>*.deb</patterns>
   <other-files/>
</action>


And that one requires that gksu be installed.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Notepadqq 1.2.0, Pale Moon 27.8.3, KeePassXC 2.3.1, Calligra 3.1, VLC 3.0.1, Firefox 59.0.2, Shotwell 28.2
User avatar
stevepusser
 
Posts: 9435
Joined: 2009-10-06 05:53

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

Postby Head_on_a_Stick » 2017-12-21 06:40

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/
"Only the mediocre are always at their best." — Jean Giraudoux
User avatar
Head_on_a_Stick
 
Posts: 7406
Joined: 2014-06-01 17:46
Location: /dev/chair

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

Postby stevepusser » 2017-12-21 20:59

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Notepadqq 1.2.0, Pale Moon 27.8.3, KeePassXC 2.3.1, Calligra 3.1, VLC 3.0.1, Firefox 59.0.2, Shotwell 28.2
User avatar
stevepusser
 
Posts: 9435
Joined: 2009-10-06 05:53

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

Postby johnraff » 2018-01-19 08:11

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.
User avatar
johnraff
 
Posts: 1
Joined: 2011-02-16 15:19


Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable