inky icon indicating copy to clipboard operation
inky copied to clipboard

Feature: Linux desktop menu entry

Open kfedick opened this issue 5 years ago • 5 comments

A useful feature for Linux would be a desktop menu entry so Inky can be started from the desktop menu instead of the terminal. This can be done with an executable .desktop file which can also be double clicked on using a file explorer. I can share one that I have written if that is not against the rules. I can also write a bash script that automatically generates the file and copies it to the directory where the start menu .desktop files are stored (so it shows up in the desktop menus) if anyone is interested.

kfedick avatar Dec 08 '20 02:12 kfedick

If you install Inky from flathub.org, you will get a menu entry: https://flathub.org/apps/details/com.inklestudios.Inky

manuq avatar Dec 08 '20 12:12 manuq

"Instead of the terminal" - You can just double click the executable (as long as it has permission) from the file manager. Because their main distribution is just the application files in a zip, you'll have to just make your own desktop menu entry, because desktop files have to use absolute paths - you can't ship a desktop file that says "launch from here".

lunarcloud avatar Jan 11 '22 19:01 lunarcloud

"Instead of the terminal" - You can just double click the executable (as long as it has permission) from the file manager.

Yes but a searchable menu item is more convenient. It's why I offered to set it up.

Because their main distribution is just the application files in a zip,

you'll have to just make your own desktop menu entry, because desktop files have to use absolute paths - you can't ship a desktop file that says "launch from here".

That is what the Bash script I had offered to share addressed. It generated the desktop file from the working directory it ran from as the path so it would work regardless of where the files were stored. For convenience, another script could also have been made to remove the desktop link again if needed as well. However, since manuq had already provided a desktop link through the flathub package, it is not needed. Thanks for that link by the way manuq. I thought I had replied to your post but I see now that I did not.

On Tue, Jan 11, 2022 at 2:13 PM Sam Sarette @.***> wrote:

"Instead of the terminal" - You can just double click the executable (as long as it has permission) from the file manager. Because their main distribution is just the application files in a zip, you'll have to just make your own desktop menu entry, because desktop files have to use absolute paths - you can't ship a desktop file that says "launch from here".

— Reply to this email directly, view it on GitHub https://github.com/inkle/inky/issues/301#issuecomment-1010279574, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBWL5XWDLFVITAWNXF44XDUVR6OVANCNFSM4URKH6TQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

kfedick avatar Jan 12 '22 03:01 kfedick

@kfedick - by the way, I'm only just discovered some older versions of gnome-based distros make it really difficult to run a plain executable. Maybe #278 would help if the flathub version isn't what you're interested in (flatpaks still don't respect user theme it seems...)

lunarcloud avatar Jan 13 '22 15:01 lunarcloud

A contained package would be very useful for some users. I did have trouble installing the pre-requisites and may have installed more of one library than was required (I mentioned this in another post). For now, the git version is fine for my purposes though.

On Thu, Jan 13, 2022 at 10:51 AM Sam Sarette @.***> wrote:

@kfedick https://github.com/kfedick - by the way, I'm only just discovered some older versions of gnome-based distros make it really difficult to run a plain executable. Maybe #278 https://github.com/inkle/inky/issues/278 would help if the flathub version isn't what you're interested in (flatpaks still don't respect user theme it seems...)

— Reply to this email directly, view it on GitHub https://github.com/inkle/inky/issues/301#issuecomment-1012264394, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBWL5TY2Z4ONJC3BY6CLLLUV3YJPANCNFSM4URKH6TQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

kfedick avatar Jan 18 '22 18:01 kfedick