Installing WhatPulse on Ubuntu (or on any other Linux distribution) is not as easy as installing it on Windows or Mac. Here is the procedure I use every time I have to install it.
First you need to download the binaries from the official WhatPulse site (http://whatpulse.org/downloads/) and extract the files into a folder. You will have to install the dependencies using the terminal. These dependencies are required to allow WhatPulse gather different stats (i.e. network stats):
sudo apt-get install libqtcore4 libqtwebkit4 libqt4-sql libqt4-sql-sqlite libssl-dev libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-webkit libpcap0.8 libpcapnav0
You will need to run the the setup-input-permissions.sh script and follow the instructions:
sudo sh setup-input-permissions.sh
Make sure you add your username when requested and select Yes for other questions. Press Ctrl + C to finish the installation.
What to do if network traffic is not captured
In case your network stats are not captured (network traffic is monitored but not captured) you will be asked if you want to fix it automatically. If you still have issues, then you need to tun the following command (CD to the executable directory in a terminal):
sudo setcap cap_net_raw,cap_net_admin=eip ./whatpulse
Now restart WhatPulse and everything should be OK.
If you are migrating from Windows and you used OneDrive to sync your files, like I did, a wise step is to install OneDrive-D which is a Microsoft OneDrive desktop client / daemon on Linux, written in Python 3.
Install OneDrive on Ubuntu
First you need to download the zip file from github. Extract the zip file and run the install.sh script inside onedrive-d folder. Run the following command in a Terminal:
I am using Elementary Freya and I got an error:
In case you get the same error (./inst: command not found) drag and drop install.sh in your terminal and type sudo ./install.sh
'/home/nicu/Downloads/onedrive-d-future/install.sh' sudo ./install.sh
After OneDrive-D is successfully installed run command onedrive-pref to setup the application.
There are 4 steps in the configuration process, but the most import is the first one, to authorize sign in with your OneDrive account. You need to click on the URL provided and after you authenticate with your OneDrive credentials you will end up at an empty page – just copy the URL and paste it in your Terminal.
For next steps you can select n and use default settings
After finishing the OneDrive configuration run command onedrive-d start to start syncing your OneDrive files.
- Files and folders deleted locally can be found in Trash and files and folders deleted remotely can be found in OneDrive recycle bin.
- Files that are overwritten remotely may not be synced, because OneDrive-D performs overwriting only when it is 100% sure that one file is older than its counterpart.
- Copying and moving files are treated as uploading and when you copy/ or move a folder OneDrive-D will upload the entire folder.
I still need to figure out how to enable it in top panel. On Elementary Freya I have the same issue with Dropbox, even though both apps work and sync as they should.