Package Details: insomnia-bin 2020.4.1-1

Git Clone URL: (read-only, click to copy)
Package Base: insomnia-bin
Description: API Client and Design Platform for GraphQL and REST
Upstream URL:
Keywords: api graphql rest
Licenses: MIT
Conflicts: insomnia
Provides: insomnia
Submitter: caltlgin
Maintainer: caltlgin
Last Packager: caltlgin
Votes: 99
Popularity: 9.90
First Submitted: 2020-09-20 20:46
Last Updated: 2020-10-04 17:55

Latest Comments

1 2 3 4 5 6 ... Next › Last »

SpotlightKid commented on 2020-09-09 17:30

This package should be named insomnia-bin, since it is not build from source and installs pre-compiled binaries. The insomnia-src package should be renamed to insomnia.

Also, the PKGBUILD is missing a license field.

marmotz commented on 2020-07-20 08:04

Sorry for the delay, I was on vacation. The package is now up to date.

ufo666 commented on 2020-07-16 18:31

Thanks for the workaround @telmo! Was driving me absolutely crazy.

telmo commented on 2020-07-16 17:17

Workaround for anyone driven crazy by the bugs in 2020.3.0, you can download the current release from GitHub ( and overwrite the files at /opt/Insomnia to get the new release.

telmo commented on 2020-07-16 17:07

Please update the package to 2020.3.3, it fixes two really annoying issues recently introduced: * Fix text inputs not persisting on paste * Fix autocompletion of variables resolving to wrong value

Xanarion commented on 2020-07-13 10:36

2020.3.3 is out (md5sum bda77e0d0d905700debd571759ae6313 )

WhyNotHugo commented on 2020-06-08 15:35

What I AM wondering, is why we have

/usr/bin/insomnia -> symlink to /opt/Insomnia/insomnia
/opt/Insomnia/insomnia -> script that runs /opt/Insomnia/insomnia.bin
/opt/Insomnia/insomnia.bin -> the actual binary.

Can we flatten this down to this?:

/usr/bin/insomnia -> symlink to /opt/Insomnia/insomnia.bin

[EDIT] Here's the diff for that, works fine:
[EDIT2]: Removed some unnecesary install lines that don't do anything:

diff --git a/PKGBUILD b/PKGBUILD
index ff1e2ca..32eb8d6 100644
@@ -3,22 +3,16 @@

 pkgdesc="HTTP and GraphQL client for developers"

-    "${pkgver}/Insomnia.Core-${pkgver}.deb"
-    ""

 package() {
-    # Define some helpers
-    SCRIPT_PATH=${pkgdir}/opt/Insomnia/insomnia
     # Extract the core package
     tar -xf data.tar.xz -C "${pkgdir}"

@@ -26,18 +20,9 @@ package() {
     chmod -R go-w ${pkgdir}/usr
     mkdir -p ${pkgdir}/usr/bin

-    # Setup the start script and permissions
-    mv ${pkgdir}/opt/Insomnia/insomnia ${pkgdir}/opt/Insomnia/insomnia.bin
-    cp ${srcdir}/ ${SCRIPT_PATH}
-    chmod 755 ${SCRIPT_PATH}
+    # Add application to PATH
     ln -s /opt/Insomnia/insomnia ${pkgdir}/usr/bin/insomnia
-    # Install the necessary parts
-    install -d ${pkgdir}/usr/share/applications
-    install -d ${pkgdir}/usr/share/icons
-    install -d ${pkgdir}/opt/Insomnia

 # Generated by `$ makepkg -g >> PKGBUILD`
-         'dfe139daf29b508bdb83bc735681a381')

WhyNotHugo commented on 2020-06-08 15:33

/opt is for packages that don't follow the usual separation seen in linux (e.g.: data files in /usr, and just the binaries in /bin).

Since Insomnia expects all its files to be dumped into a single directory, that's the only place where it makes sense (actually, that's EXACTLY what /opt is for).

There's nothing that can be done to improve this on the packaging side -- this needs to be addresses by upstream.

sentriz commented on 2020-06-08 10:52

hi thank you for the package! why does it install to /opt? I've not seen a package install to there yet

aliasbody commented on 2020-05-25 10:05

Could you add the libxss library as a dependency? It doesn't open without that.