Installation Guides

Mate 
     Tested and Working in
•	Mate Ubuntu 16.04
•	Mint 17.03
•	MintDE 2015.03
•	PCLinuxOS 2016.06
•	Manjaro 15.12 Mate

All

This package must be installed for each user. This package contains a zip file, a Readme file, and an installer script (install.sh) used in the installation process. The installer script will extract the HDSentinel.zip file and do some basic housekeeping.

HDSentinel.zip contains the HDSentinel program, a Readme file, an icon file, a simple script to launch HDSentinel directly using the gnome-terminal emulator, and a custom launcher to be used with the script. The launch script is very, very basic. It is primarily for folks who are not familiar with scripting and/or are new to Linux. If you know your way around a script, you probably do not need these and can get this done on your own. If you know enough to have a terminal emulator preference, this will be baby steps to you. This is aimed at folks who don't spend a lot of time outside of the GUIs. That said, the package does make installing and using HDSentinel a lot easier.

The launch script automatically generates and saves a report. This feature is already built into HDSentinel with the -r switch. By default HDSentinel saves the report in the same folder as the HDSentinel program, (in this case ~/HDSentinel/) with the name "report.txt", which is overwritten each time "HDSentinel -r" is executed. This means old reports are not saved. The launch script enables the -r switch but alters the naming protocol and saves the report with a filename that includes the creation date and time, so that the reports are easily identified and old reports are saved rather than overwritten.  If the user does not wish to generate a full report, there is a nosave script. It can be launched manually, but it is not installed automatically. The scripts are located at ~/HDSentinel/Mate/ 

Permissions should be set automatically, but if the launchers do not work properly, you'll need to be sure the permissions are set on the HDSentinel program file to allow executing the file as a program, and also do the same thing for the launch script, and the launcher. 

Manjaro Mate
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. In addition, you must also set some things up in your file manager. File manager does not have a traditional menu bar at the top, but you can set preferences. Right click on Files in the bar at the top of the screen and select Preferences. Click on the Behavior tab and in the Executable Text Files section, select either Run executable text files when they are opened or Ask each time.
To create a profile for Gnome-Terminal , open a terminal window. Click Activities and Terminal is in the Favorites list. Once you have terminal open you will have a menu bar at the top of that window. Click on File>New Profile and name your new profile HoldOpen (you must use this name exactly for the scripts to work). Click on the Command tab and set the When command exits box to hold the terminal open .
The launcher Icon will now be on the Desktop and in the Administration section of the Menu. You can right click on the menu icon and select Add to Favorites and/or Add to Panel. 

Mate Ubuntu 
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. You must also create a profile for Gnome-Terminal. To create a profile for Mate-Terminal, open a terminal window by clicking on the Terminal Icon in the Panel (taskbar) at the bottom of the screen. Once you have terminal open you will have a menu bar. Click on File>New Profile and name your new profile HoldOpen (you must use this name exactly for the scripts to work) and click Create. Click on the Title and Command tab (some versions just call it the Command tab) and set the When command exits box to hold the terminal open. Close the Editing Profile popup and the terminal window. Now you can click on the installer HDSmateXXinstaller.run (where XX is either 32 or 64, depending on your OS) and select Run in terminal. 
Icon will show up on Desktop but you may need to reboot for the Icon to show up in the menu. If you also want to permanently add the Icon to the Panel (task bar at the bottom of screen), right click on the menu Icon and select Add to panel. You can also add it to Favorites this way. Another thing you can do this way, is set HDS to always launch when you login. This gives you an immediate check of your drives every time to login.

Mint 
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. You must also create a profile for Mate-Terminal. To create a profile for Mate-Terminal, open a terminal window by clicking on the Terminal Icon in the Panel (taskbar) at the bottom of the screen. Once you have terminal open you will have a menu bar. Click on File>New Profile and name your new profile HoldOpen (you must use this name exactly for the scripts to work) and click Create. Click on the Title and Command Tab (some versions just call it the Command tab) and set the When command exits box to hold the terminal open. Close the editing Profile popup and the terminal window. Now you can click on the installer HDSmateXXinstaller.run (where XX is either 32 or 64, depending on your OS) and select Run in terminal. 
Icon will show up on Desktop but you may need to reboot for the Icon to show up in the menu. If you also want to permanently add the Icon to the Panel (task bar at the bottom of screen), right click on the menu Icon and select Add to panel. You can also add it to Favorites this way. Another thing you can do this way, is set HDS to always launch when you login. This gives you an immediate check of your drives every time to login.

MintDE
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. 
You must also create a profile for Mate-Terminal. To create a profile for Mate-Terminal, open a terminal window by clicking on the Terminal Icon in the Panel (taskbar) at the bottom of the screen. Once you have terminal open you will have a menu bar. Click on File>New Profile and name your new profile HoldOpen (you must use this name exactly for the scripts to work) and click Create. Click on the Title and Command tab (some versions just call it the Command tab) and set the When command exits box to hold the terminal open. Close the editing Profile popup and the terminal window. Now you can click on the installer HDSmateXXinstaller.run (where XX is either 32 or 64, depending on your OS) and select Run in terminal. 
Icon will show up on Desktop but you may need to reboot for the Icon to show up in the menu. If you also want to permanently add the Icon to the Panel (task bar at the bottom of screen), right click on the menu Icon and select Add to panel. You can also add it to Favorites this way. Another thing you can do this way, is set HDS to always launch when you login. This gives you an immediate check of your drives every time to login.

PCLinuxOS
Use the Xterm-su installers. 
These scripts do not use sudo. They use su instead. But that means you need to know the root password, for these scripts to work. HDS needs root access so there is no way around using su or sudo. The folks behind this distro feel strongly about not using sudo, so I changed the scripts to use su instead. 
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. You can now click (or double click) on the installer and select Execute in Terminal from the popup. You will get an HDS Icon on your desktop and in your Menu, under More Applications>Monitoring. If you also want to add the Icon to the Panel (taskbar) you need to right click the Icon in the menu (not the one on the desktop) to the Panel and select Add this launcher to panel.