Installation Guides

LXDE 
     Working in
•	Lubuntu 16.04
•	Zorin 7 Lite
•	Mint 12
•	Manjaro 16.03
•	PCLinuxOS 2016.06
•	Fedora 23.10
•	Debian 8.5

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/xterm/ 

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. 

Debian
You must add yourself to the sudoers file in order to run the installer. After downloading the installer you must set the file to be executable in the Properties>Permissions tab. You can now click on the installer and select Execute in Terminal from the popup. You will get an HDS Icon on your desktop and it should be in your Menu, under System Tools. If it doesn't show up in the menu open a terminal and type sudo lxpanelctl restart and hit return. 
The HDS Icon should now be visible in your Menu. If you want the HDS Icon on the Panel (taskbar), right click on the HDS Icon in the Menu and choose Add to Panel (or you can drag and drop the HDS Menu Icon onto the Panel, this lets you decide where to put it, whereas the Add to Panel method does not). You can also add it to your Favorites by right clicking on the HDS Menu Icon and selecting Add to Favorites. 
You will need to reboot for the system to be able to actually run HDS. The Icons and scripts will work, but it will not find the HDS program  until after you reboot.     

Fedora
Because LXTerm does not allow you to hold the terminal window open, you must install Xterm for this to work. You can either open a terminal and type sudo yum install xterm or you can go to the Menu>Administration>Yum Extender and install it from there. 
You must add yourself to the sudoers file in order to run the installer. After downloading the installer you must set the file to be executable in the Properties>Permissions tab. You can now 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 System Tools. If it doesn't show up in the menu open a terminal and type sudo lxpanelctl restart and hit return. If you want the HDS Icon on the Panel (taskbar), right click on the Panel, click Add/Remove Panel Items then click to highlight the entry Application Launch Bar and click on the Preferences button. Expand the System Tools entry in the right box, highlight HDSentinel, and click on the Add button between the two boxes, at the top.    

PCLinuxOS 
Use 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 in the Panel, in the area to the left, with all the Icons. You will get a popup and you want to click on Application Launch Bar Settings. In the right hand box, at the top of the list is More Applications. Click on the arrow to its left. Then click on the arrow to the left of Monitoring. Click on HDSentinel, so it is highlighted, and then click on the Add button at the top, in between the two boxes. HDSentinel should appear in the left hand box after you do that. You can control where it is in the group, by highlighting it and using the Up and Down buttons.  

Manjaro
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. 
Because LXTerm does not allow you to hold the terminal window open, you must install Xterm for this to work. Menu>System Tool>Add/Remove Software then type xterm in the search field. Double click on the small blank box to the left of xterm listing in the Repositories section and then click on the apply changes box in the upper left corner of the window (to the right of the X). Once xterm is installed the HDS Icons will function.

Lubuntu /Zorin 7 Lite / Mint
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. Then when you click on the file, to run it, you'll get an Execute File popup and will be given several choices. Generally the choices are Execute, Execute in Terminal, Open and Cancel. You want to select Execute. 
You will now have an HDS Icon on the desktop and in the Menu, in the System Tools section