linuxmint / mintwelcome

Welcome screen
http://www.linuxmint.com
65 stars 59 forks source link

Adds a link to run inxi with push to termbin.com #22

Closed Schallaven closed 7 years ago

Schallaven commented 7 years ago

Providing help in #linuxmint-chat/help requires practically always the basic system information of the users computer. For this, users are asked to input a command into a terminal, which runs inxi and pushes the results to a pastebin service (github gist or termbin).

Usually, this is no problem. However, sometimes it is a real hassle because the users have problems to input or copy the command to the terminal (since Ctrl+C/V do not work, etc). Sometimes they ignore the pipe running only inxi - usually with an attempt to copy the output directly to the above channels. Mintbotd complains naturally.

For such cases or all cases in general it would be nice to direct the users to a known place (the Welcome Screen - they got into #linuxmint-help from there after all) and tell them just to push a button to get the results.

This pull request implements such a way. It will add a linkbutton in the bottom left corner of the Welcome screen, asking the user if it can run the command and will - if successful - show the URL for simple copying. I have chosen termbin.com since pushed output only last one month (github is kind of permanent), but this can be changed of course.

I am not 100% happy with the labels, but this is easy to change.

bildschirmfoto zu 2017-02-14_00-16-36

clefebvre commented 7 years ago

Thanks for doing this. However I believe this is better done by the System Settings -> Info -> Upload system information. It's specific to Cinnamon though, and so I suggest doing the same in MATE.