Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for (Linux) command line options #336

Open
mjcourte opened this issue Apr 8, 2017 · 4 comments
Open

Documentation for (Linux) command line options #336

mjcourte opened this issue Apr 8, 2017 · 4 comments
Labels

Comments

@mjcourte
Copy link

mjcourte commented Apr 8, 2017

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.

@PalmerAL
Copy link
Collaborator

PalmerAL commented Apr 9, 2017

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.

@Jorval
Copy link

Jorval commented May 15, 2019

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.

@PalmerAL
Copy link
Collaborator

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.

@edmundlaugasson
Copy link

edmundlaugasson commented Sep 15, 2019

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!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants