WhatPulse Forums » Support » Client software v » [Ubuntu] Simple way to run WP at start-up Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Ubuntu] Simple way to run WP at start-up
01-04-2013, 02:39 PM
Post: #1
[Ubuntu] Simple way to run WP at start-up
Hi there,

Is there a simple way to run WhatPulse automatically at start-up in Ubuntu 12.04 (LTS)? I've tried putting it in "Settings => Startup Applications" but then WhatPulse complains it isn't able to find a tray bar and stops. Also, it would have to run with root permissions (doens't seem to be able to capture any keys otherwise).

Thanks in advance!
Find all posts by this user
Quote this message in a reply
01-04-2013, 08:17 PM
Post: #2
RE: [Ubuntu] Simple way to run WP at start-up
you need to add whatpulse to your whitelist for tray. install unsettings and add it using that GUI, the command line is a pain cause there's no append and the whitelist already has entries. The whitelist config is in the Panel tab of unsettings
Find all posts by this user
Quote this message in a reply
01-04-2013, 11:39 PM
Post: #3
RE: [Ubuntu] Simple way to run WP at start-up
Give this a shot to fix the start problem...
Change your command in startup manager, replacing your location with where it actually resides on your computer, to this:

Code:
sh -c "sleep 15 && /home/username/Documents/whatpulse"

As for the root permissions, there's an sh script around here somewhere that will set everything up for you. Go here: http://http://jmrk.whatpulse.org/
and get the setup permissions file, you don't have to run it as root.
Find all posts by this user
Quote this message in a reply
01-05-2013, 06:00 PM
Post: #4
RE: [Ubuntu] Simple way to run WP at start-up
Thanks!

All is working perfectly well now. I didn't alter the tray whitelist because WhatPulse ran fine when I opened it manually, so the whitelist wasn't the problem. The weird thing is that now suddenly WhatPulse added itself to my Startup list (I ran it a few times before, weird that it didn't do this before). The Startup entry is the same as the one I created except for the "onstartup" parameter which was added, probably this also fixes the problem with the tray.

So, in short, in order to have it run at startup (without having to go into init.d and all) you have to add this to your "Startup applications":
/home/username/whatpulse onstartup

The permissions script indeed gave my user permissions to read the input devices so now I'm able to run WhatPulse without being root. Also, for those who stumble upon this topic at a later date, Bjarno posted a script that installs (and sets correct permissions for the network device as well, which the earlier mentioned permissions script doesn't do) WhatPulse all for you:

Quote:For those of you who still got problems with installing and setting up WhatPulse I wrote a small script that installs the necessary packages, downloads setup-permissions.sh and executes it, downloads and unpacks WhatPulse to ~/.whatpulse-bin and make it executable. It will also configure libpcap correctly. I haven't tested it thoroughly yet but I will make changes if needed. If this script worked for you... please leave a comment or send a message (trough Whatpulse or any other way). So I'm sure that there are no problems.

Links:
32-bit:
http://dl.bjarno.be/direct/install-whatpulse_32bit.sh
64-bit:
http://dl.bjarno.be/direct/install-whatpulse_64bit.sh

Still problems?
Follow the comments of lucb1e Wink
Find all posts by this user
Quote this message in a reply
01-05-2013, 07:15 PM
Post: #5
RE: [Ubuntu] Simple way to run WP at start-up
(01-04-2013 02:39 PM)DePhille Wrote:  Ubuntu 12.04 (LTS)

You shouldn't need to do anything, WP has an option to auto-start....

(01-05-2013 06:00 PM)DePhille Wrote:  Links

The new client comes with its own script now, packaged with the download.

[Image: 2itq8g6.png]
^ This was cool xD
[Image: mcdty0-3.png]
Find all posts by this user
Quote this message in a reply
07-27-2013, 04:18 PM
Post: #6
RE: [Ubuntu] Simple way to run WP at start-up
(01-04-2013 11:39 PM)dl1000v Wrote:  Give this a shot to fix the start problem...
Change your command in startup manager, replacing your location with where it actually resides on your computer, to this:

Code:
sh -c "sleep 15 && /home/username/Documents/whatpulse"

As for the root permissions, there's an sh script around here somewhere that will set everything up for you. Go here: http://http://jmrk.whatpulse.org/
and get the setup permissions file, you don't have to run it as root.

Thanks, it works on Mint 15!
Find all posts by this user
Quote this message in a reply
08-10-2013, 02:32 PM (This post was last modified: 08-10-2013 02:32 PM by nimd4.)
Post: #7
RE: [Ubuntu] Simple way to run WP at start-up
(07-27-2013 04:18 PM)nzecheru Wrote:  
(01-04-2013 11:39 PM)dl1000v Wrote:  Go here: http://http://jmrk.whatpulse.org/

Thanks, it works on Mint 15!

Lol @
the amount of spam (and confusion, for new users) you managed to create with one (bad) quote.

[Image: 2itq8g6.png]
^ This was cool xD
[Image: mcdty0-3.png]
Find all posts by this user
Quote this message in a reply
08-10-2013, 09:47 PM
Post: #8
RE: [Ubuntu] Simple way to run WP at start-up
(08-10-2013 02:32 PM)nimd4 Wrote:  Lol @
the amount of spam

You mean sorta like your post here? ;-)
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Cannot start WhatPulse using Ubuntu 19.10 Adrriii 1 125 11-01-2019 02:37 PM
Last Post: Adrriii
  Whatpulse isn't running after upgrading Ubuntu 1geeky 0 257 08-06-2019 05:46 AM
Last Post: 1geeky
  Ubuntu 16.04 and Libqt5 VanackSabbadium 0 471 06-09-2019 02:24 PM
Last Post: VanackSabbadium
  Whatpulse won't start, Unable to install crashRpt! Bai.Bing 0 325 05-24-2019 01:02 PM
Last Post: Bai.Bing
  [CLOSED] Win10 x64 | Start Menu / Context Menu / Desktop becomes unresponsive Anthraxium-64 1 785 10-31-2016 08:24 PM
Last Post: smitmartijn
  [CLOSED] Network traffic not recorded on Ubuntu 16.04 LTS GnaXi 4 1,719 09-15-2016 03:33 AM
Last Post: smitmartijn
  Ubuntu on Mac SeeEmAge 0 731 04-29-2016 09:10 PM
Last Post: SeeEmAge
  Memory leak WhatPulse 2.6.3 on Ubuntu 15.04 Wouter0100 2 1,969 01-07-2016 11:52 AM
Last Post: Wouter0100
Sad [Ubuntu 14.04.3] Mouse clicks not logged Carlgo11 0 961 12-16-2015 09:45 AM
Last Post: Carlgo11
  Doesn't start automatically Sleepyguy 2 1,245 10-23-2015 08:32 PM
Last Post: Sleepyguy

Forum Jump:


User(s) browsing this thread: 1 Guest(s)