hainproject / hain

An 'alt+space' launcher for Windows, built with Electron
http://hainproject.github.io/hain/
MIT License
3.2k stars 155 forks source link

Port to linux #14

Open ewnd9 opened 8 years ago

ewnd9 commented 8 years ago

Prior discussion happened in gitter chat https://gitter.im/appetizermonster/hain

Short brief: I've started hain by commenting out native addon code at app/platform-util/index.js

Current plan is to make a pull request after config file issue https://github.com/appetizermonster/hain/issues/13 will be resolved, as the current shortcut alt+space is not working on a Linux

zacps commented 8 years ago

I don't think there's any need to port this to Linux as there are plenty of existing native launchers with more functionality. For example rofi, d-menu, lighthouse and DM specific launchers.

ewnd9 commented 8 years ago

@zacps are we running out of space on Linux or something like that?

zacps commented 8 years ago

No :) I just think if this is ported to linux it should offer something not already there.

ewnd9 commented 8 years ago

@zacps There is no way for a single application to fulfil needs of every user, so it is quite essential to have extensibility support.

https://github.com/DaveDavenport/rofi ctrl+f "plugins" 0 results

https://wiki.archlinux.org/index.php/Dmenu ctrl+f "plugins" 0 results

https://github.com/emgram769/lighthouse ctrl+f "plugins" 0 results

zacps commented 8 years ago

All three of them are extendable using scripts, many of which are posted online.

ewnd9 commented 8 years ago

Where can I find them then? Where are instructions to write your own script? Should I manually copy paste them to my dotfiles?

zacps commented 8 years ago
  1. Distro foums, reddit, general linux sites
  2. Man pages, official site, github wiki
  3. git clone/copy paste

As for benifits: Theming Native & lightweight (Don't need to bundle the chrome render engine) Has distro specific packages Large userbase More complete control via scripting (Very simple in the case of lighthouse, just pipes stdin, stdout

ewnd9 commented 8 years ago

I don't like copy paste. A size of the user base of native Linux launchers is limited to a count of Linux users while hain is cross-platform. Theming and pretty much everything else is pretty implementable in node.js as plugins.

ewnd9 commented 8 years ago

I feel like there can be some misunderstanding.

This issue is the acknowledgment of the fact that hain was run successfully on a Linux and eventually there will be a convenient way to install/run on that platform so interested users could follow the progress.

blockloop commented 8 years ago

@zacps having the same application on all platforms creates synergy that multiple applications cannot create with ease, and often not at all. It makes switching between operating systems a little more seamless. I install GNU tools on my Mac, because I'm familiar with them. Do they offer more than the BSD tools? Maybe. Although, I could change a few flags to adapt. Instead, I choose familiarity. Was it foolish to create Google Chrome for Linux? Chrome offers subtle differences to Firefox in many cases, so why do we choose one application over another when they both offer very similar (and sometimes identical) features? Subtle differences to one person might be much more pronounced to others.

notatestuser commented 8 years ago

snapcraft might be a neat way to package up the app for easy installation.

jcklpe commented 6 years ago

I just wanted to toss in my two cents and say that I would def support and would like to see linux support. There are lots of launchers on Linux, true but I use Windows for work, Linux for home, and it would be nice to not have to remember the subtle differences in shortcuts and functionality I have available. This is built in electron. So it should be pretty straightforward right?

Also a plus 1 for snapcraft. It's great.