min icon indicating copy to clipboard operation
min copied to clipboard

Documentation for (Linux) command line options

Open mjcourte opened this issue 9 years ago • 4 comments

A brief documentation of any command line capabilities accessible by min --help would be appreciated.

My specific case is I would like to open Jupyter in Min, separate from my web browsing in Chrome. I would like my bash shortcut to encode jupyter notebook --browser='/path/min %s' with flags to open a clean session, with no tabs from a previous session. Alternatively one could perhaps achieve this by a preferences toggle in the GUI/config which disables session logging altogether, or a toggle to perform a clean exit wherein the session is deleted upon a stable exit (retained during a crash, if possible).

Similar to #211.

This looks like a lovely browser to use as a work space. Thank you.

mjcourte avatar Apr 08 '17 00:04 mjcourte

I don't think there are any command-line options for Min right now, other than the standard Electron ones (you can open a specific URL with min <url>, but it will open alongside your existing tabs). Adding a --help option shouldn't be too difficult, but I'm not sure there's much content to put there right now.

A preference for starting with a new session (#211) would be useful, I will try to include it in 1.6.

a toggle to perform a clean exit wherein the session is deleted upon a stable exit (retained during a crash, if possible)

This is a good idea, I've added it to #211.

PalmerAL avatar Apr 09 '17 03:04 PalmerAL

Adding commandline parameters still will be a good choice. in my case i stumbled over min while searching for a leightweight linux browser prefered borderless starting my private landing page alongside my normal browsers, in best case with systemstart automated with systemd.

So commandlineoptions for Fullscreen(F11) and url would be useful. in terms of sessions a parameter for creating a seperate instance (or temp session) could also be useful. I like min after 5 min. using it so maybe it could get my mainbrowser and i like a restored session. Btw. session managment isn't a feature browsers handle very good, being able to save a browser session to load later could be useful too. (i always have 4-8 foxes open dealing with different tasks)

Thank you.

Jorval avatar May 15 '19 14:05 Jorval

An option to start in fullscreen does sound like a good idea; Chrome has a --start-fullscreen option, but it doesn't work in Electron for some reason, so I guess we could do that.

You can sort of save sessions right now: if you click on the menu button in the upper-right, you can choose the "new task" option at the bottom, and then open the menu later to get your old set of tabs back. I'm planning to change the UI a bit to make this clearer (#747).

Multiple instances is issue #169.

PalmerAL avatar May 15 '19 22:05 PalmerAL

Agree with previous ideas. Was also looking command-line options (like --help or -h) and even man-page (man -k min | grep -w min gives no output - it means no whole word min among man-pages which means no man-page for independent command min). This borderless view is called app mode and was also looking for. E.g. min --app=https://translate.google.com/ Then there would be possible to create so-called web apps where *.desktop files (located either ~/.local/share/applications/ per user basis or /usr/share/applications/ for all users globally) contain a line: Exec=min --app=https://translate.google.com/ or incognito mode: Exec=min --incognito --app=https://translate.google.com/ Currently such behaviour applies to all Chrome-like browsers, also to minimalistic Iridium Browser but not (hopefully yet) for Min Browser.

So, please add these command-line options!!!

edmundlaugasson avatar Sep 15 '19 10:09 edmundlaugasson