Installation Guides

XFCE 
     Working in
•	Xubuntu 16.04 -- need to modify Readme2
•	Mythbuntu 16.04
•	Mint 17.03
•	PCLinuxOS 2016.06
•	Manjaro 16.06
•	Debian 8.5
•	Fedora 23.10

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

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. 

Fedora
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 must open this in a terminal, but with XFCE this will not automatically spawn its own terminal window. You can right click on the installer, select Open With>Open With Other Application and then scroll down the list and select Terminal Emulator (I'd suggest you also check the box at the bottom that says Use as default for this kind of file). Or you can manually open a terminal window and enter the following ./HDSxfce4XXinstaller.run (where XX is either 32 or 64 depending on your OS) and hit return. You will now have an HDS Icon on your desktop and in your menu, in the System section.
When finished, you will get an HDS Icon on your desktop and in your Applications Menu, under System. If you also want to add the Icon to the Panel (taskbar) you need first create a launcher on the Panel by right clicking on the Panel. Hover over Panel and select Add New Items. Highlight Launcher and click on Add button. Close the Add New Items window  and right click on the new launcher you just added to the Panel. Click Properties and click on the  +  button. Scroll down to HDSentinel, highlight it, and click on the Add button. You should now have the HDS Icon on the Panel.
To launch HDS with the Desktop Icon you need to double click the Desktop Icon (the menu Icon launches with a single click, but not the desktop Icon). 

Debian  
Must use xfce su installers. Because this Debian does not include sudo and many folks see it as a bad thing, these scripts do not use sudo. They use su instead. And that means you need to know the root password for these scripts to work. In addition, even with the root password, for them to work you must first install unzip. Open a terminal and type su -c "apt-get install unzip" and hit return. It will ask for the root password, enter that and hit return.
After all that, and downloading the installer, you must set the file to be executable in the Properties>Permissions tab. You can now click on the installer and it will automatically launch in a terminal. You will be asked several times to input the root password. This is because of how su works. I know it's a pain, but there's no way around it without sudo. When finished, you will get an HDS Icon on your desktop and in your Applications Menu, under System. If you also want to add the Icon to the Panel (taskbar) you need first create a launcher on the Panel by right clicking on the Panel. Hover over Panel and select Add New Items. Highlight Launcher and click on Add button. Close the Add New Items window  and right click on the new launcher you just added to the Panel. Click Properties and click on the  +  button. Scroll down to HDSentinel, highlight it, and click on the Add button. You should now have the HDS Icon on the Panel. 

Manjaro
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. You must open this in a terminal but with XFCE this will not automatically spawn its own terminal window. You can right click on the installer, select Open With>Open With Other Application and then scroll down the list and select Terminal Emulator (I'd suggest you also check the box at the bottom that says Use as default for this kind of file). Or you can manually open a terminal window and enter the following  ./HDSxfce4XXinstaller.run  (where XX is either 32 or 64 depending on your OS) and hit return. You will now have an HDS Icon on your desktop and in your menu, in the System section.
To launch HDS with the Desktop Icon you need to double click the Desktop Icon (the menu Icon launches with a single click, but not the desktop Icon). 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.

Xubuntu/Mythbuntu
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. You must open this in a terminal but with XFCE this will not automatically spawn its own terminal window. You can right click on the installer, select Open With>Open With Other Application and then scroll down the list and select Terminal Emulator (I'd suggest you also check the box at the bottom that says Use as default for this kind of file). Or you can manually open a terminal window and enter the following  ./HDSxfce4XXinstaller.run  and hit return.
To launch HDS with the Desktop Icon you need to double click the Desktop Icon (the menu Icon launches with a single click, but not the desktop Icon). 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.

Mint
After downloading the installer you must set the file to be executable in the Properties>Permissions tab. You must open this in a terminal but with XFCE this will not automatically spawn its own terminal window. You can right click on the installer, select Open With>Open With Other Application and then scroll down the list and select Terminal Emulator (I'd suggest you also check the box at the bottom that says Use as default for this kind of file). Or you can manually open a terminal window and enter the following  ./HDSxfce4XXinstaller.run  and hit return. You will now have an HDS Icon on your desktop and in your menu, in the System section.
To launch HDS with the Desktop Icon you need to double click the Desktop Icon (the menu Icon launches with a single click, but not the desktop Icon). 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.

PCLinuxOS
Must use xfce 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 on the installer and it will automatically launch in a terminal. You will be asked several times to input the root password. This is because of how su works. I know it's a pain, but there's no way around it without sudo. 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 drag the Desktop Icon to the Panel if you place it properly, you'll get a popup asking if you want to create a new launcher from 1 desktop file. Click the Create Launcher button and you'll get an HDS Icon in the Panel.