<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Josh Bialkowski (Posts about Stopwatch Applet)</title><link>https://www.joshbialkowski.com/</link><description></description><atom:link href="https://www.joshbialkowski.com/categories/stopwatch-applet.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2017 &lt;a href="mailto:josh.bialkowski@gmail.com"&gt;Josh Bialkowski&lt;/a&gt; 
&lt;a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"&gt;
&lt;img alt="Creative Commons License" style="border-width:0" 
 src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /&gt;
&lt;/a&gt;&lt;br /&gt;
This work is licensed under a 
&lt;a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"&gt;
Creative Commons Attribution-ShareAlike 4.0 International License&lt;/a&gt;.
</copyright><lastBuildDate>Thu, 10 Aug 2017 17:08:03 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Ubuntu Stopwatch Applet</title><link>https://www.joshbialkowski.com/posts/2011/ubuntu-stopwatch-applet.html</link><dc:creator>Josh Bialkowski</dc:creator><description>&lt;div&gt;&lt;p&gt;It has occured to me several times that I would like to have a small stopwatch
utility with quick access (particularly for time tracking on various
projects). I figured the Ubuntu timer applet would have this function, but
alas, it did not. To my surprise, there wasn't any applet in the ubuntu
repositories that does this. I decided it would be sufficiently useful to look
into writing one myself. As usual, documentation was pretty sparse but I
managed to find a good starting point and cobbled together a simple proof of
concept. I'd tell you how much time it took, but I didn't have a handy stop-
watch applet for me to time myself.&lt;/p&gt;
&lt;p&gt;You can find the code in my github
&lt;a href="https://github.com/cheshirekow/gnome_panel_stopwatch"&gt;here&lt;/a&gt;. Compile with gcc 
or just run &lt;code&gt;make.sh&lt;/code&gt; (it's only one
line). The &lt;code&gt;.server&lt;/code&gt; file needs to go in &lt;code&gt;/usr/lib/bonobo/servers&lt;/code&gt;. It also
needs to be edited to point to wherever it is that you put the binary. After
moving it, log out and then back in. Right click on the panel you want to add
it to and select "add to panel". You should see "Stopwatch Applet" in the
list.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Add To Panel" src="https://www.joshbialkowski.com/wordpress/wp-content/uploads/2011/07/screenshot_add_to_panel.png"&gt;&lt;/p&gt;
&lt;p&gt;It'll drop the simple applet on your panel. The applet steals the "timer-
applet.png" image from the timer applet package so you might need that in
&lt;code&gt;/usr/share/pixmaps&lt;/code&gt; in order for the entry to show up in your list of
available applets. The applet looks like this:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Panel" src="https://www.joshbialkowski.com/wordpress/wp-content/uploads/2011/07/screenshot_panel.png"&gt;&lt;/p&gt;
&lt;p&gt;There are basically no features. It starts counting when it's loaded. You can
click on it to reset it. I do have some planned improvements for when I get
around to it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ability to control multiple timers from one instance&lt;/li&gt;
&lt;li&gt;Ability to choose which timer is displayed in the panel&lt;/li&gt;
&lt;li&gt;Ability to pause/lap/resume by clicking on it (configurable)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Also, just in case you were wondering, I spent a total of 23 minutes and 49
seconds on putting this code in version control, adding the project to
redmine, and writing this post.&lt;/p&gt;&lt;/div&gt;</description><category>Stopwatch Applet</category><category>Ubuntu</category><guid>https://www.joshbialkowski.com/posts/2011/ubuntu-stopwatch-applet.html</guid><pubDate>Wed, 13 Jul 2011 19:46:46 GMT</pubDate></item></channel></rss>