Page 1 of 1

How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 3:11 pm
by Stevo
That way it can show up in the menu under Accessories, and we can also have a symlink on the desktop, or maybe the whiskermenu next to the settings icon, that points to the launcher--whatever can make it more noticeable and quicker to access.

Something to decide: whether to keep it consistent with the MX Tools button and have it open in mx-viewer, or have it open in the default x-ww-browser, which is the behavior for many other applicatications' "Help" button.

Re: How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 3:34 pm
by Adrian
Not sure what's going to be decided about desktop icon, but I think x-www-browser is better because it's a full featured browser where people can see videos, mx-viewer doesn't play videos (I think there's an encoding issue that I haven't yet figured out).

Re: How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 3:51 pm
by Jerry3904
Maybe, but I've been thinking in another direction. We had a nice desktop "Quickstart" for Mepis 11:

https://www.mxlinux.org/en-quickstart/index.html

I have been wondering if it would be worth reworking that, maybe making the opening default page in Firefox on first use or something like that. That way we would have a short visually driven doc in front of the user's eyes that could include the UM among the items.

Re: How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 3:58 pm
by richb
Jerry3904 wrote:Maybe, but I've been thinking in another direction. We had a nice desktop "Quickstart" for Mepis 11:

https://www.mxlinux.org/en-quickstart/index.html

I have been wondering if it would be worth reworking that, maybe making the opening default page in Firefox on first use or something like that. That way we would have a short visually driven doc in front of the user's eyes that could include the UM among the items.
Not a bad idea. But what about those who do not use Firefox? Retain something on the Welcome screen?

Re: How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 4:05 pm
by dolphin_oracle
doesn't mx-docs already have a .desktop file. this was the whole conflict between the desktop-defaults packages and mx-docs. Its "Help" in the whisker menu, under "system"

Re: How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 4:17 pm
by Stevo
You're right! So we can just leverage that existing file. It runs xdg-open to open the html file

Code: Select all

Exec=xdg-open /usr/local/share/doc/mxum.html
which uses whatever browser is set as the default x-www-browser (see Alternatives in the Accessories menu to change that manually). Most browsers add themselves to that list automatically, so if Firefox isn't installed, some other browser should open the file, answering richb's question.

Re: How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 4:21 pm
by richb
Stevo wrote:You're right! So we can just leverage that existing file. It runs xdg-open to open the html file

Code: Select all

Exec=xdg-open /usr/local/share/doc/mxum.html
which uses whatever browser is set as the default x-ww-browser (see Alternatives in the Accessories menu to change that manually). Most browsers add themselves to that list automatically, so if Firefox isn't installed, some other browser should open the file, answering richb's question.
Thanks.

Re: How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 4:27 pm
by Jerry3904
Yeah, I should have said "default browser"

Re: How about adding a .desktop file to the MX manual package?

Posted: Wed Mar 08, 2017 6:20 pm
by Stevo
Your "something like that" covered the alternatives, IMO.