tag:blogger.com,1999:blog-10638675310693603532024-03-08T06:22:24.703-08:00sharkbaitbobbyWorking on <a href="http://wiki.awn-project.org/Feeds_Applet">Feeds Applet</a>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.comBlogger27125tag:blogger.com,1999:blog-1063867531069360353.post-27914402195336690582010-06-13T13:53:00.001-07:002010-06-13T20:28:20.271-07:00Awn Indicator Applet Now AvailableIn Ubuntu 10.04 (Lucid Lynx) the GNOME-Panel <a href="https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators">Indicator Applet</a> became a major part of the User Interface. There have been many requests for a similar applet in Awn, and today I am happy to report that one is now available in the <a href="https://launchpad.net/~awn-testing/+archive/ppa">Awn-Testing PPA</a> for Lucid and Maverick! For many users, including me, this was the only thing preventing them from removing their (relatively ugly) GNOME-Panels.<div><b>Screenshots:</b></div><div><b><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_2ETP46MogiA/TBVGmg1_L5I/AAAAAAAAAvM/u43wGyoPSok/s1600/4.png"><img style="cursor:pointer; cursor:hand;width: 186px; height: 308px;" src="http://1.bp.blogspot.com/_2ETP46MogiA/TBVGmg1_L5I/AAAAAAAAAvM/u43wGyoPSok/s320/4.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5482365748858793874" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_2ETP46MogiA/TBVGl-RKv1I/AAAAAAAAAvE/NBOeWQ9cx-4/s1600/3.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 234px;float:right;" src="http://1.bp.blogspot.com/_2ETP46MogiA/TBVGl-RKv1I/AAAAAAAAAvE/NBOeWQ9cx-4/s320/3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5482365739577556818" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_2ETP46MogiA/TBVGlhnMe5I/AAAAAAAAAu8/1IvA6syqUuw/s1600/2.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 51px;" src="http://2.bp.blogspot.com/_2ETP46MogiA/TBVGlhnMe5I/AAAAAAAAAu8/1IvA6syqUuw/s320/2.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5482365731885317010" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_2ETP46MogiA/TBVGkMnWyzI/AAAAAAAAAu0/o4Sr7GTREhI/s1600/1.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 90px;float:right;" src="http://2.bp.blogspot.com/_2ETP46MogiA/TBVGkMnWyzI/AAAAAAAAAu0/o4Sr7GTREhI/s320/1.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5482365709068978994" /></a><br /></b></div><div><br /></div><div><br /><br /><br /><br /><br />Adding (or updating) the <a href="https://launchpad.net/~awn-testing/+archive/ppa">Awn-Testing PPA</a> and installaing <tt>avant-window-navigator-trunk</tt> will include the Indicator Applet. Go to the Applets page of Awn Settings to add the applet. For full effect, also remove the applet from your GNOME-Panel (if any).</div><div><br /></div><div>If you are building awn-extras from source, pass <tt>--with-indicator</tt> to autogen.sh after updating your branch.</div><div><br /></div><div><b>Icons</b></div><div>The icons I'm using in the screenshots have been very popular among Awn users; they are from the <a href="http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBYQFjAA&url=http%3A%2F%2Fbrsev.deviantart.com%2Fart%2FToken-128429570&ei=BUgVTJfSDdDUlQetybWCDg&usg=AFQjCNE12rAkjz5-9N4rhcXLVS8T6wSZBg&sig2=HKyzjzPCGtYn4mHo8W7EDw">Token icon set</a>. I have organized collections of these icons for all the Awn applets and as many apps as I could find. To use them, download the archive and extract the files to <tt>~/.icons/awn-theme/scalable</tt> - the icons should appear immediately. <b>Download: </b><a href="http://dl.dropbox.com/u/1139576/awn-token-DARK.tar.gz">Dark set</a>, <a href="http://dl.dropbox.com/u/1139576/awn-token-LIGHT.tar.gz">Light set</a></div><div><br /></div><div><b>Lucido</b></div><div>In case you <a href="http://www.omgubuntu.co.uk/2010/05/new-experimental-awn-build-is-beautiful.html">haven't</a> <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=2412&page=1&isLive=true">heard</a> <a href="http://www.webupd8.org/2010/05/awn-lucido-new-avant-window-navigator.html">already</a>, there is a new Awn style available, as seen in my screenshots, called Lucido. It is very stylish and it's available in the <a href="https://launchpad.net/~awn-testing/+archive/ppa">Awn-Testing PPA</a>. Add Expander applets to define where the curves should be and change the "Curviness" variable to change how curved the curves are.</div>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com15tag:blogger.com,1999:blog-1063867531069360353.post-1692407639942792632009-12-22T20:23:00.000-08:002009-12-23T15:52:12.355-08:00Awn Rewrite UpdateIt's been a while since I've posted anything about Awn. Development of Awn/Awn Extras shifted to a mostly rewrite of both projects. There are tons of changes; many are summed up in <a href="http://blogger.malept.com/2009/06/avant-window-navigator-awn-04-progress.html">malept's blog post</a> and several posts of <a href="http://moon-shiny.blogspot.com/">moonbeam's blog</a>. I'm going to talk about four <span class="Apple-style-span" style="font-size:x-small;">(really three)</span> applets.<div><br /></div><br /><div><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_2ETP46MogiA/SzJ1M02DyAI/AAAAAAAAApg/Ka6AR6APE0M/s1600-h/Screenshot.png"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 215px; height: 320px;" src="http://3.bp.blogspot.com/_2ETP46MogiA/SzJ1M02DyAI/AAAAAAAAApg/Ka6AR6APE0M/s320/Screenshot.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5418522164884391938" /></a><b><a href="http://wiki.awn-project.org/File_Browser_Launcher">File Browser Launcher</a></b> now has GIO support. If Python bindings for GIO are available (since GNOME 2.26/Ubuntu 9.04 I believe), File Browser Launcher is able to manage mountable drives like Nautilus' Places side pane does. If a drive (e.g. flash drive or mounted network place, etc.) is mounted, an eject icon will appear for that drive (as seen in the screenshot) and clicking it will eject the drive. If the place is not mounted but is mountable, clicking it will mount it and (upon success) open it in the file browser.</div><div><br /></div><div>The applet also has drag-and-drop support, as seen in the <span class="Apple-style-span" style="font-size:x-small;">recursive</span> screenshot. Dragging a file (or folder) over the applet icon for (currently) 600ms makes the dialog open. (During this time a progress pie chart will appear.) The file can be dropped on any mounted place or bookmark, and it will be moved there. Upon success, the folder will open.</div><div><br /></div><div><b><a href="http://wiki.awn-project.org/To-Do_List_Applet">To-Do List</a></b> received no significant changes, other than working with the rewrite and in the way progress buttons are drawn. Detach support has been removed.</div><div><br /></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_2ETP46MogiA/SzJ50y9qqUI/AAAAAAAAApw/9M1MoA7qAn4/s1600-h/SlickSwitcher.png"><img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 210px;" src="http://2.bp.blogspot.com/_2ETP46MogiA/SzJ50y9qqUI/AAAAAAAAApw/9M1MoA7qAn4/s320/SlickSwitcher.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5418527249620707650" /></a><div><b><a href="http://wiki.awn-project.org/SlickSwitcher">SlickSwitcher</a></b> is now in Awn Extras. Thanks to work in Awn core, the background and border colors of the applet's dialog can be customized properly. This theming helps with backgrounds that don't quite match the normal dialog background color. The version in Awn Extras is also slightly more RAM-efficient than previous versions. Detach support has also been removed from Slickswitcher.</div><div><br /></div><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_2ETP46MogiA/SzKUiwKDhcI/AAAAAAAAAp8/JQsWwdputqY/s1600-h/feeds-dnd.png"><img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 221px;" src="http://3.bp.blogspot.com/_2ETP46MogiA/SzKUiwKDhcI/AAAAAAAAAp8/JQsWwdputqY/s320/feeds-dnd.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5418556626443666882" /></a><div><b><a href="http://wiki.awn-project.org/Feeds_Applet">Feeds Applet</a></b> is a new applet to monitor Web Feeds. Enter the URLs of RSS or Atom feeds to add them to the applet. Their items are visible from the dialog, and clicking the item opens it in a web browser. You can also log in to your <a href="http://www.google.com/reader/">Google Reader</a> account to add it as a feed. Whenever any of your Google Reader feeds is updated, it'll show in the dialog. If Google Reader is the only feed, the icon will turn blue instead of orange. Like with virtually every other applet, you can still drag and drop an icon onto the applet to use that icon instead. </div><div><br /></div><div>There is an option (enabled by default) to automatically update every five minutes (adjustable). Feeds Applet also has an option (enabled by default) to display standard notifications when a feed is updated. With these two features, you don't need to constantly check your sites or Google Reader for updates.</div><div><br /></div><div>Like File Browser Launcher, Feeds Applet also has drag and drop support. If you drag and drop a link to an RSS or Atom feed onto the applet icon, it will add that feed. When the dialog is open, you can drag and drop the toggle buttons of the feeds to reorder them. If you drag a feed out of the dialog, you can drop a link to its main page into another app. This may or may not work with your web browser's bookmarks or tab bar, depending on a) which browser it is, and b) how it's feeling that day. <span class="Apple-style-span" style="font-size:x-small;">(It's sometimes inconsistent.)</span></div><div><span class="Apple-style-span" style="font-size:x-small;"><br /></span></div><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_2ETP46MogiA/SzKVI7wMM8I/AAAAAAAAAqE/5C4Xah1s1bM/s1600-h/feeds-add-and-prefs.png"><img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 280px;" src="http://4.bp.blogspot.com/_2ETP46MogiA/SzKVI7wMM8I/AAAAAAAAAqE/5C4Xah1s1bM/s320/feeds-add-and-prefs.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5418557282391438274" /></a><div>Lastly, if logged in to Google Reader, when adding a feed you can search for feeds using the same system as the main Google Reader web interface. This way, you can just type in <tt>cnn</tt> instead of <tt>http://rss.cnn.com/rss/cnn_topstories.rss</tt>. It also helps if you want to find multiple feeds about a specific topic, such as Linux or NASA.</div><div><br /></div><div>There's still a lot more to be done. To-do needs a backend for all its items that's better than awn.Config. Feeds needs OPML import/export. To-do also needs import/export of its list. SlickSwitcher has several little quirks, needs to use the standard text overlay, and needs better background acquiring. To-do also needs to use the standard text overlay. SlickSwitcher and To-do might add drag-and-drop support.</div><div><br /></div><div>P.S. Can't get enough Planet Awn? Then subscribe to <a href="http://twitter.com/avantwn/dev">MicroPlanet Awn</a>!</div>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com3tag:blogger.com,1999:blog-1063867531069360353.post-172211908353378692009-10-17T15:43:00.000-07:002009-10-17T15:54:51.281-07:00Chromium OSSo as to not bore the <a href="http://planet.awn-project.org/">Planet Awn</a> readers, I've created a separate blog to track Chromium OS (the non-Google version of Chrome OS) news and updates. It features screenshots and downloads (yes, downloads) of Chromium OS, as well as a description of changes and updates. The blog currently has revision 29376, a bit newer than what was spread around <a href="http://www.techcrunch.com/2009/10/12/chrome-os-peaks-out-its-head-a-bit-further-and-what-is-the-touchpad/">TechCrunch</a> <a href="http://www.omgubuntu.co.uk/2009/10/chromeos-pictures-google.html">and</a> <a href="http://livinginagoogleworld.blogspot.com/2009/10/chrome-os-browser-tour-possible-look-at.html">the</a> <a href="http://sites.google.com/site/randomlinuxnerd">like</a>. Chromium OS now features a timezone selector.<div><br /></div><div><b><span class="Apple-style-span" style="font-size: x-large;"><a href="http://chromium-os.blogspot.com/">chromium-os.blogspot.com</a></span></b></div>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-37762823875240842982009-10-06T18:02:00.000-07:002009-10-06T18:07:42.645-07:00Google Chrome OS Screenshots (Seriously)<a href="http://sites.google.com/site/randomlinuxnerd/">http://sites.google.com/site/randomlinuxnerd/</a>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-48125522846353703802009-08-15T14:48:00.000-07:002009-08-15T15:02:04.227-07:00Memorizer 0.2 Released!<a href="http://picasaweb.google.com/lh/photo/cN-rBw3ujMWg6jNvM8ujpA?feat=directlink"><img src="http://lh4.ggpht.com/_2ETP46MogiA/SoctbtaSGHI/AAAAAAAAAjQ/KanHxWa6mzE/s400/Memorizer-0.2.png" /></a><div><br /></div><div>This is the first version of Memorizer, a tool for studying and memorizing lists of data. It has testing modes of flash cards, multiple choice, and matching. It also includes a helpful vocabulary building list feature, which automatically fetches the definitions of entered words. Lists can be exported to plain text format and existing list files, such as those from sites like quizlet.com, can be opened and edited in Memorizer.</div><div><br /></div><div>This version includes partial Spanish, Italian, and Russian translations. Many thanks to Feder Sáiz and Israel Guerras (Spanish), Nicola Piovesan (Italian), and Alexander Semyonov (Russian).</div><div><br /></div><div>There are Debian files built for Ubuntu 8.04 and newer, along with .tgz archives, <a href="https://launchpad.net/memorizer/+download">on Launchpad</a>.</div><div>A PPA for Ubuntu versions 8.04 (Hardy Heron) to 9.10 (Karmic Koala) <a href="https://launchpad.net/~memorizer/+archive/ppa">is also available</a>.</div><div>There are several <a href="http://picasaweb.google.com/lh/view?psc=G&filter=1&tags=memorizer">screenshots available</a> for your viewing pleasure.</div><div>If you want to help out, Memorizer is <a href="https://translations.launchpad.net/memorizer">translatable on Launchpad</a>.</div><div><br /></div><div>Any comments, suggestions, etc. are welcome.</div>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com1tag:blogger.com,1999:blog-1063867531069360353.post-49980305969030676882009-06-30T21:48:00.000-07:002009-07-03T22:02:13.778-07:00Intoducing My Dad to Ubuntu<b>Introduction: </b>My dad is a lawyer who does most of his work inside Microsoft Works on XP on his Dell laptop. Recently though, he's been trying OpenOffice and liking it. His XP install seemed to be degrading significantly (AVG was on the fritz, some weird DSL dialog would popup on startup, the system would lock up and the HD would be in full use for several seconds). He bought a nice HP printer connected to his Compaq desktop a while ago. The printer has an ethernet port, but the router in use is too old and broken to allow for static IP addresses, and Windows on his laptop could not work with it. I decided to introduce him to Ubuntu.<br /><br /><div><b>The laptop</b> is a few-years-old Dell Inspiron 9400 (17 inch) with Dell/Broadcom WiFi and ATI 256mb GPU. With Ubuntu 9.04, everything except the WiFi worked completely out-of-box, even compositing graphics. After the install, the WiFi worked with Ubuntu's proprietary drivers dialog and a restart. Standby works fine and hibernate worked the first time I tried it, but it probably took about as long as a full reboot. As far as I can tell, all the function keys work, including volume and brightness. Notify-osd pops up for volume, brightness, eject, and battery status.</div><div><br /></div><div><b>The process: </b>I decided to dual-boot XP and Ubuntu, in case he still needed XP for something or he didn't like Ubuntu. Partitioning was complicated because there were already 4 primary partitions ("DellUtility", XP, Dell MediaDirect, and a seemingly unused backup), and I could not create another. I deleted the backup partition (it was only 3GB and only 1GB was used (the numbers were exact in GiB)) and used it as swap and downsized the XP partition by 9-10GB for Ubuntu. It took 30-45 minutes as it had to move several things around. Then I installed Ubuntu, which took under 30 minutes. Afterwards, I had to do the classic setup routine:<div><ol><li>Disable the oh-so-annoying and loud system beep</li><li>Install the proprietary Broadcom drivers</li><li>Choose the best apt mirror</li><li>Apt update & upgrade</li><li>Don't have update notifier pop up (set /apps/update-notifier/auto_launch to false in gconf-editor)</li><li>Install that printer (System->Administration->Printing->New; couldn't be easier)</li><li>Copy actual documents from Windows' "My Documents" into ~/Documents</li><li>Install Banshee, add "My Music" to library</li><li>Install ubuntu-restricted-extras</li><li>Create ~/Downloads, add as bookmark, and have Firefox download to it</li><li>Install gnome-colors icon themes</li><li>Change to Dust Sand gtk with blue (#7395b9) select color, gnome-brave icons, Clearlooks window decoration</li><li>Install <a href="https://launchpad.net/memorizer">Memorizer</a> just to show it off. ;)</li></ol><b>Thoughts</b>:</div><div>Many people say Ubuntu will only be "ready for the desktop" when a grandmother can download, install, and use it all by herself. I say that is a horrible metric. The average user would not be able to install even Windows or OS X, and should not be expected to. My thoughts on what I had to do to setup:</div><div><ol><li>The system beep should not be enabled. I don't know why it is. It's very loud and annoying.</li><li>This could not be easier. Click icon, click Enable, enter password, restart, rinse, repeat.</li><li>This is just an advanced optimization. The main server works just fine.</li><li>Apt would upgrade eventually, and is easy to do. This was a large update, so I did it then to get it out of the way.</li><li>I'm split between "this is a horrible decision" and "it's a matter of personal taste." Either way, I don't like it too much, and there's nothing wrong with the icon in the systray.</li><li>Again, couldn't be easier. Hell of a lot easier than in Windows (driver CDs!) (additional crapware!) (not working!).</li><li>This isn't necessary for most users. I'm not one of them. However, this process could be difficult for a beginner. The Windows partition is called "103.9 GB Media". Ubuntu should be able to recognize that it's a Windows partition and label it as such. (I think there's a <a href="https://launchpad.net/hundredpapercuts">paper cut</a> about that.) Also, there should be an easier way to access "My Documents", maybe in the Places menu or added as a bookmark (if the Windows and Ubuntu user names match closely enough). Or there could be a series of "Bob's Documents", "Tom's Documents", etc, like in Windows' "My Computer" as an administrator.</li><li>Same as above about the Windows partition. Rhythmbox is fine for most users, I find Banshee to be easier and better looking.</li><li>This is why the average user would not be expected to setup a system he installed; a brand new Ubuntu user would not know about ubuntu-restricted-extras. But when attempting to play an audio or video file, the install-codec popup could not be much easier otherwise.</li><li>Should be default, plain and simple. Keeps things organized.</li><li>Personal taste. (Very nice and complete icon theme.)</li><li>Personal taste. The Human Gtk theme isn't too bad, but the icon theme is ugly, clunky, and not Tango-like at all. Much space could be saved by making the button size smaller and the background color should be just a shade darker.</li><li>He likes Memorizer, though he has no use for it.</li></ol><div><b>Other Thoughts:</b></div><div><ul><li>He's had Ubuntu for a few days now. He said he likes it, but will still use Windows to do work for now until he becomes more accustomed to Ubuntu.</li><li>He grasped the concept of an operating system pretty easily. However, he had difficulty understanding the idea of separate partitions for Ubuntu and Windows, what exactly would be updated by Apt, and how Ubuntu can be free. If people have serious difficulty understanding <a href="http://www.youtube.com/watch?v=o4MwTvtyrUQ">what a browser is</a>, explaining Linux can only be more difficult. Fortunately, he's above that level, as knows he's been using Firefox, not "the Google".</li><li>He has not touched the terminal. He does not know what a "terminal" is. I removed it from the menu. As far as I remember, I've only used it to add and sign the <a href="https://launchpad.net/~banshee-team/+archive/ppa">Banshee</a> and <a href="https://launchpad.net/~memorizer/+archive/ppa">Memorizer</a> PPAs and install them, which can be done without the terminal.</li><li>The only terms he's learned through this process are Ubuntu, Linux, OpenOffice(.org), Banshee, RMS and Linus Torvalds. He has not even heard Apt, GNOME, Gtk, terminal, or command line, nor should he have to. How is an average user supposed to know what a "widget toolkit" is?</li><li>He has almost 10GB of music (about 1% of which I like). Banshee uses at most 38mb of what gnome-system-monitor calls "Memory", even while playing. While I type this, the <a href="http://wiki.awn-project.org/Pandora_Applet">Pandora applet</a> is using over 100mb. Much of the concern over Banshee's memory usage is concerning netbooks. I doubt that many netbook users would have thousands of songs, but I'm not one of them.</li><li>I taught him how to export to PDF, and he had no difficulty with flash drives. Though I haven't asked him directly, I suspect he thinks clicking the "eject" icon is much easier than Windows' crappy "Stop device" method.</li><li>I haven't yet introduced him to Awn. Because the screen is so wide, Awn will have to be on the left or right, so I'll have to wait until 0.4 is released or at least the rewrite hits trunk. He likes Pandora, so I'll have to add that applet. I'll also add to-do, mail, tomboy/<a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1691&page=1&sl=0&isLive=true">notes</a>, weather, a main menu applet (probably YAMA), and maybe quit/logoff.</li></ul><div>Overall, I'd say the process is going very well. Ubuntu really has come a long way, though not enough where most people could install it by themselves. However, OS installation is an inherently difficult and complicated task.</div><div>Especially with the <a href="https://launchpad.net/hundredpapercuts">Hundred Paper Cuts</a> project for 9.10, I think that, with setup from an experienced user, Linux is ready for the desktop.</div></div></div></div>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-60271002112451666912009-06-25T10:27:00.000-07:002009-06-27T12:35:39.189-07:00Intoducing Memorizer!About three weeks ago, it was exam studying time for me. I had a list of 60 mostly unfamiliar vocabulary terms to know for the exam. A bit of googling brought me to <a href="http://wordnet.princeton.edu/">WordNet</a>. I wrote a simple Python script to quickly retrieve the 60 definitions from the downloaded version and output everything to a single file. Then, I had to memorize all these terms, so I wrote a simple flash cards app in Python + Gtk. I decided to expand this simple app into what is now <a href="https://launchpad.net/memorizer">Memorizer</a>.<div><br /></div><br /><a href="http://picasaweb.google.com/lh/photo/TP_xxWi730IrOLNM6u6fjQ?feat=embedwebsite"><img src="http://lh4.ggpht.com/_2ETP46MogiA/Sj-4oRW_UuI/AAAAAAAAAdM/eOjEmip6e-M/s400/main.png" /></a><div><br /></div><div>Memorizer offers a Flash Cards mode for quick memorization. Matching has the user match the terms on the left with those on the right. Multiple Choice offers a basic testing mode in which the user chooses which term on the right goes with the one on the left. And Vocabulary quickly builds the list of words and definitions and allows the user to choose from different definitions and parts of speech.</div><div><br /></div><div>I have future plans for Memorizer, such as a distraction-eliminating fullscreen mode and the sharing and downloading of lists.</div><div><br /></div><div>Memorizer and its development reside in <a href="https://launchpad.net/memorizer">Launchpad</a>. Of course, there is a <a href="https://launchpad.net/~memorizer/+archive/ppa">PPA available</a> for Ubuntu 8.04 (Hardy) to 9.10 (Karmic). If you want to help out, you can report bugs or suggest features by <a href="https://bugs.launchpad.net/memorizer">filing a bug report</a>. Memorizer is also <a href="https://translations.launchpad.net/memorizer">fully translatable</a>. Lastly, if you want to contribute code, memorizer is 100% C and I try to keep the code clean. :)</div><div><br /></div><div><br /></div>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com2tag:blogger.com,1999:blog-1063867531069360353.post-5407091317592532452009-04-25T07:33:00.000-07:002009-05-04T16:29:14.471-07:00Setting up 9.04 (Jaunty); Affinity CoolnessUbuntu Jaunty Jackalope (9.04) is <a href="http://www.ubuntu.com/">finally here</a>. Being the person that I am, I need to set up my desktop exactly how I like it. Doing so takes a while, but I think I have it just about right. I did the following in the order I remembered to do:<br /><br />* Choose the best apt mirror. (System->Administration->Software Sources) For me it's archive.linux.duke.edu<br />* Apt update & upgrade<br />* Add system monitor to top panel (CPU & RAM)<br />* Revert to <a href="https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4">8.10's Intel driver<br /></a>* Add the new tab button to Firefox, between home and the location bar (should be defualt, IMO)<br />* Install some apps:<br /><ul><li>Awn/Awn Extras (duh)</li><li>Affinity (also duh)<br /></li><li> Bazaar (<a href="https://launchpad.net/%7Ebzr/+archive/ppa">PPA</a>)</li><li> Geany</li><li> Terminator (<a href="https://launchpad.net/%7Egnome-terminator/+archive/ppa">PPA</a>)</li><li> XChat</li><li> Banshee</li><li> Gwibber (<a href="https://launchpad.net/%7Egwibber-team/+archive/ppa">PPA</a>)</li><li> Chromium (<a href="https://launchpad.net/%7Echromium-daily/+archive/ppa">PPA</a>)</li><li> Shutter</li><li> Ubuntu Tweak</li><li> Vuze</li><li> HandBrake</li><li> VLC</li></ul>* Install the keys for each PPA<br />* Set up Awn and applets, using my <a href="http://sharkbaitbobby.googlepages.com/blue_perfection-awn-theme.tgz">saved theme</a><br />* Do bzr launchpad-login & whoami<br />* Set up an <a href="https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair">SSH key</a> and configure Launchpad for it<br />* Disable the annoying system beep<br />* Install codecs, flash, etc. (ubuntu-restricted-extras)<br />* Install <a href="http://www.stefanoforenza.com/get-androids-fonts-on-ubuntu-how-to/">Android fonts</a> (ttf-droid)<br />* Restore saved Firefox bookmarks<br />* Restore backed up Music, Pictures, etc. dirs<br />* Further tweak the theme<br />-Change #996B5C to #5C6B99 in Dust Burnt (brown to blue)<br />-Change window border to use <a href="http://gnome-look.org/content/show.php/Dust+Blue+Metacity?content=91808">blue prelight</a><br />-Change icon theme to <a href="http://gnome-look.org/content/show.php/GNOME-colors?content=82562">GNOME-Colors</a> (Brave)<br /><br />This is the finished product:<br /><br /><a href="http://picasaweb.google.com/sharkbaitbobby/Sharkbaitbobby?feat=embedwebsite#5331643785718449858"><img src="http://lh6.ggpht.com/_2ETP46MogiA/Sf3NxlyqxsI/AAAAAAAAAa4/MCZz6f9lQx4/s288/finished-9.04-desktop.png" /></a><br /><br /><br />Now for the Affinity coolness:<br /><a href="http://picasaweb.google.com/sharkbaitbobby/Sharkbaitbobby?feat=embedwebsite#5331647311641173666"><img src="http://lh6.ggpht.com/_2ETP46MogiA/Sf3Q-04J3qI/AAAAAAAAAbE/0NKv4zfeBLU/s288/affinity-add-dialog.png" /></a><br />Right-click Affinity or its status icon, and you'll be presented with an easy-to-use dialog asking you for a plugin and a location. The chosen plugin appears instantly. You can also move or remove each plugin through <a href="http://sharkbaitbobby.blogspot.com/2009/03/affinity-updates.html">its menu</a>. Also, with GTK+ 2.16 and newer, (included in 9.04) you can add icons to text entries without using a separate library. Affinity uses this feature for the recent searches/clear button (see screenshot).<br /><br />Lastly, and probably most exciting-ly, <a href="https://launchpad.net/%7Eaffinity-devel/+archive/ppa">Affinity now has a PPA</a>! The PPA allows Ubuntu (and Ubuntu-based) users to install and get updates of Affinity automatically and without compiling from source. In-depth instructions are available on the <a href="http://affinity.wikidot.com/installation">installation page</a> on the wiki. <a href="https://launchpad.net/%7Egilir">gilir</a> created all the debian files and patches, and <a href="https://launchpad.net/%7Emalept">malept</a> helped with the PPA stuff (including AutoPPA).<br /><br /><span style="font-weight: bold;">Note:</span> As of writing, you must install affinity-preferences for the plugins to load. This should be fixed by the next time the PPA is updated.<br /><br />The PPA will be updated whenever there are significant changes in Affinity. It makes Affinity much easier to install and update and will hopefully attract new users.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com4tag:blogger.com,1999:blog-1063867531069360353.post-64276919424895273252009-03-28T08:36:00.000-07:002009-04-08T14:46:10.309-07:00Affinity UpdatesI've been pretty quiet recently, but Affinity development hasn't been. Affinity now has a shiny new Clock plugin! It's pretty simple and displays the time and date in text form. The clock plugin uses the logo from <a href="http://macslow.net/?page_id=23">MacSlow's Cairo-Clock</a> in Affinity Preferences, so it needed an about dialog to give credit. I added a simple about button next to its preferences button. I figured all the applets should have one, so I added one to each. However, I thought all the star icons might be <a href="http://picasaweb.google.com/lh/photo/_3nU0H571hD1jUD9tOJIhA?feat=directlink">a bit overkill</a>, and <a href="http://blogger.malept.com/">malept</a> said that it wasn't obvious what the icons represented. So, instead, I made a plugin button with the plugin's icon. Clicking it pops up a menu like right-clicking an Awn applet would.<br />Screenshot:<br /><br /><a href="http://picasaweb.google.com/lh/photo/91kCYw0_ZtW4J9CUZ5Ei_Q?feat=embedwebsite"><img src="http://lh3.ggpht.com/_2ETP46MogiA/ScgUxdy1XwI/AAAAAAAAAZE/L3BL9R-nt5c/s288/Pantallazo-Ventana%20de%20b%C3%BAsqueda%20de%20Affinity.png" /></a><br /><br />Of course, that's not all the exciting news: the translation template has been updated and there are 12 languages at least partially-translated, and two (Spanish and British) are completely translated. Nine others are over 50% translated. Of course, there are many thanks to the translators. If you want to help with translations, just <a href="https://translations.launchpad.net/affinity">start here</a>.<br /><br />The Awn rewrite has still been progressing. Affinity now supports it automatically, but still stays with <a href="http://gilir.wordpress.com/">gilir</a> has been working on <a href="https://code.launchpad.net/%7Egilir/affinity/trunk-debian">Debian packaging</a> and has a Jaunty package of revision 160 in <a href="https://launchpad.net/%7Egilir/+archive/unstable">his PPA</a> for testing. Also, he is now a member of <a href="http://launchpad.net/%7Eaffinity-devel">~affinity-devel</a>.<br /><br />In other Linux news, I've been using the fonts from Android a la <a href="http://www.stefanoforenza.com/get-androids-fonts-on-ubuntu-how-to/">these instructions</a>. They look great and use much less space. Also, the beta of Ubuntu 9.04, Jaunty Jackalope, <a href="http://www.ubuntu.com/testing/jaunty/beta">was released</a>. I've been trying it in a VM since alpha 4 and it's been working great, with only a few minor bugs and (surprisingly!) no audio problems. I decided to skip 8.10 because I didn't feel compelled enough to upgrade and I heard of audio problems, so 9.04 should bring plenty of changes (hopefully not including <a href="https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/317781">dataloss</a>). I've also added a countdown (24 days as of writing) to the right on my blog.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com2tag:blogger.com,1999:blog-1063867531069360353.post-80783011335566478732009-02-13T21:35:00.000-08:002009-02-13T22:15:05.444-08:00Awn-Extras TranslationsThere hasn't been much in Awn-Extras translations: Only 32 strings, all from mail, that weren't imported into awn-extras and wouldn't work even if they were. I uploaded a new template to Launchpad that includes 273 strings from all the applets that at least use the gettext functions. It's been approved, but (as of writing) it hasn't yet been imported. There's also a new file in libawn-extras, 'defs', that tells the prefix and the gettext directory:<br /><pre>>>> from awn.extras import defs<br />>>> defs.PREFIX<br />'/usr/local/'<br />>>> defs.GETTEXTDIR<br />'/usr/local/share/locale'</pre>This way all the translations are/will be in a single place, and translating will be much easier. To-do now supports translations, and mail will be able to when the new template is imported. The template is created by using 'xgettext'. This is what I ran to get the template:<pre>xgettext src/*/*.py src/*/*.c --keyword=_ -o po/messages.pot --from-code=utf-8</pre>This is the necessary Python code for making an applet translatable:<br /><pre>import gettext<br />import locale<br />from awn.extras import defs<br /><br />APP = "awn-extras-applets"<br />gettext.bindtextdomain(APP, defs.GETTEXTDIR)<br />gettext.textdomain(APP)<br />_ = gettext.gettext</pre>Pass every translatable string to the '_' function. Make sure to put all the text in one long line, as in don't use multiple strings combined by '+'. If you need to use variables, use '%s', etc. This is necessary for xgettext to recognize the string.<br /><br />I imagine it's mostly the same in C. Some of the applets already have the translation code. When the translations are downloaded from Launchpad, the .po files go in the po folder, the ISO codes are added to the LINGUAS file in po and the ALL_LINGUAS variable in configure.ac. I did some testing with To-do in Spanish, and it works.<br /><br /><a href="https://translations.launchpad.net/awn-extras/trunk">Awn Extras Translations</a><br /><br /><b>P.S.</b>: If you haven't tried out 0.3.2, <a href="http://blogger.malept.com/2009/02/awnawn-extras-032-released.html">what are you waiting for</a>?<br /><br /><b>Update</b>: The template has been imported!Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-78304370061914899342009-01-24T15:30:00.000-08:002009-01-24T16:17:32.491-08:00It's Been a WhileAlmost two months. Very much has happened: new year, new presidency, new semester.<br /><br /><span style="font-weight: bold;">Awn Rewrite</span><br />The Awn rewrite has been progressing rapidly, with bugfixes and new features. Malept has written up a <a href="http://blogger.malept.com/2009/01/regarding-awn-rewrite-04-status.html">blog entry</a> about it. The rewrite magic happens <a href="https://code.launchpad.net/%7Eawn-core/awn/trunk-rewrite-and-random-breakage">here</a>.<br /><br /><span style="font-weight: bold;">Awn Trunk</span><br />More work has been done on mostly bugfixes and translations. Even the ages-old bug of Awn crashing when the taskmanager applet is removed was fixed. Check <a href="https://code.launchpad.net/%7Eawn-core/awn/trunk">this branch</a> for the changes.<br /><br /><span style="font-weight: bold;">Awn Extras</span><br />Awn Extras has had considerable development: Comics, Cairo Clock, Awn Terminal, PyNot, and the build system all had significant work. [<a href="https://code.launchpad.net/%7Eawn-extras/awn-extras/trunk">Branch</a>]<br /><br /><span style="font-weight: bold;">Affinity</span><br />Affinity development hasn't been very active over this time, though there's been a bit more development recently. Affinity now correctly detects Beagle if it's installed and now installs an Awn applet if Awn's installed. [<a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=2176&page=1&isLive=true">Forum thread</a>]Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-11469927924108672322008-12-08T17:22:00.000-08:002008-12-08T18:01:37.190-08:00Happy Uzbekistan Constitution Day!Although it's not as exciting as <a href="http://sharkbaitbobby.blogspot.com/2008/10/trick-or-treat.html">Halloween</a> or <a href="http://sharkbaitbobby.blogspot.com/2008/11/happy-belated-thanksgiving.html">Thanksgiving</a> to most, there's some exciting news for Affinity:<br /><br /><a href="http://picasaweb.google.com/lh/photo/MudMGNZJdhn7talgM9pW-g"><img src="http://lh6.ggpht.com/_2ETP46MogiA/STyRMX4I5QI/AAAAAAAAAU4/2szukVhyEug/s288/screenshot_04.png" /></a><br /><br /><a href="http://affinity.wikidot.com/libaff:affwindow">AffWindow</a> now allows for multiple instances! This can be used for dialogs, such as preferences and about dialogs, as seen in the screenshot. If it's not the main window, Affinity will draw a nice little X in the top right corner to close the window. It even changes color on hover and button press.<br />Also, though more on the minor side, <a href="http://affinity.wikidot.com/libaff:affframe">AffFrame</a> allows plugins to place arbitrary widgets in an HBox with the label. This allows for the preferences button in To-Do and the clear button in Favorites.<br />Otherwise, there are only some minor fixes and enhancements, and a <a href="https://translations.launchpad.net/affinity/trunk">new translation template</a> with new strings.<br /><br />In the Awn world, there are (at least) <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=2150&page=1&isLive=true">three</a> <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=2137&page=1&isLive=true">new</a> <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=2125&page=1&isLive=true">applets</a> out on the <a href="http://awn.planetblur.org/">forum</a>. The <a href="https://bugs.launchpad.net/awn-extras/+bug/195151">'exit' problem</a> has been fixed in the <a href="http://wiki.awn-project.org/AWN_Terminal_Applet">terminal applet</a>, and (I think) it now has initial tab support. Triggerhapp has been working on RGBA support in <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1884&page=1&isLive=true">PyNot</a>. Both the comic (Dilbert) and the Comics! applets got new comics and other enhancements. And, of course, work on the rewrite <a href="https://code.launchpad.net/%7Eawn-core/awn/trunk-rewrite-and-random-breakage">has been progressing</a>, with partial thanks to a nvidia driver bugfix.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com2tag:blogger.com,1999:blog-1063867531069360353.post-85471247204762453572008-11-30T16:54:00.000-08:002008-11-30T17:54:33.943-08:00Happy Belated Thanksgiving!To those who don't celebrate Thanksgiving, happy belated November 27th. :)<br /><br />It's been a month since I last posted about Affinity (or anything else for that matter). That's not because there hasn't been much to talk about. Actually, it's quite the opposite.<br /><br /><br /><a href="http://picasaweb.google.com/lh/photo/eSsykTTycSsZ-dYe4Rlxlg"><img src="http://lh6.ggpht.com/_2ETP46MogiA/STM2hCfWzsI/AAAAAAAAAUQ/XrhDKF1sAzg/s288/to-do.png" /></a><br /><br />Here's the most exciting stuff:<br /><ul><li>A to-do list plugin. (!) Currently it's bare-bones but eventually it'll be more like Awn's <a href="http://wiki.awn-project.org/To-Do_List_Applet">to-do list applet</a>. It's not yet committed as of posting, but it will be soon.</li><li>AffSettings is now a GObject, which allows for multiple instances, allowing plugins (such as to-do), etc. to manage their own separate config files. It also uses GKeyFile instead of gconf. This is one step closer to making Affinity desktop agnostic.<br /></li><li>AffButton and AffFrame now use GObject properties and are much more robust. AffButton can now take the icon name and size instead of a GtkImage.</li><li>An AffPlugin class, which should simplify and reduce code. As Affinity's plugin system becomes more robust, AffPlugin will probably serve more of a purpose.</li><li>Recent searches and files plugins are both fixed.</li><li>Of course, many bugfixes, some minor, some <a href="https://bugs.launchpad.net/affinity/+bug/291952">blocking</a>.</li></ul>And, of course, there are many other things, all of which can be found on the <a href="http://bazaar.launchpad.net/%7Eaffinity-devel/affinity/trunk/changes">bzr changelog</a>.<br />Also, Affinity is now <a href="https://translations.launchpad.net/affinity">translatable</a>! Six languages are currently translated or almost translated. (Thanks to the translators :)Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-30573887915124912312008-10-30T16:55:00.000-07:002008-10-31T15:54:29.998-07:00Trick or Treat!To celebrate the mass consumption of sugary candy on this <a href="http://en.wikipedia.org/wiki/All_Hallows_Eve">Hallowed Eve</a>, I present to you some chocolate coated eye candy:<br /><br /><a href="http://picasaweb.google.com/lh/photo/p43NZU6KpwkfEWYXNJbMwA"><img src="http://lh5.ggpht.com/_2ETP46MogiA/SQpMRvyg6LI/AAAAAAAAASg/Ed6KeHEvoUE/s400/layout.png" /></a><br /><br />That's njpatel's Affinity, which hasn't been worked on in a while until the past month or so. Here are some things that I got done on it:<br /><ul><li>a right-click context menu,</li><li>an about dialog,</li><li>a recent searches / clear current search button,</li><li>the option to only hide the window when forced,</li><li>the option to have the buttons draw as normal Gtk buttons,</li><li>the option to get the colors from Gtk,</li><li>the option to draw borders and a gradient around the frames,</li><li>automatic refresh of colors when changed,</li><li>and, most notably, plugins!</li><li>Also a "Run" plugin, like Alt-F2.</li></ul>Affinity lives in <a href="https://launchpad.net/affinity">Launchpad</a> and has a <a href="http://affinity.wikidot.com/">wiki</a> with some <a href="http://affinity.wikidot.com/screenshots">screenshots</a>. Want to try out Affinity?<br /><pre>bzr co lp:affinity<br />cd affinity<br />./autogen.sh<br />make<br />sudo make install</pre><br />I'd love to say more, but I have to go hand out candy to ghosts and goblins <span style="font-family:trebuchet ms;">in costumes</span>, <span style="font-family:georgia;">and I can't think of much else to say. :)</span>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com3tag:blogger.com,1999:blog-1063867531069360353.post-45422219451509123582008-09-13T18:30:00.000-07:002008-09-13T18:43:43.269-07:00To-Do Progress Button; Other UpdatesAs suggested by onox, to-do now has a visual way of displaying an item's progress in the main listing. There's now a small button to the left of the edit details button. It's in pie chart form, and the colors come from the main icon. Scrolling on the button will increase or decrease the progress by 5%. Clicking it will edit the item's details, giving focus to the SpinButton for progress. It also has a tooltip that displays the progress. Of course, a screenshot is in order, so:<br /><table style="width: auto;"><tbody><tr><td><a href="http://picasaweb.google.com/lh/photo/B1ymAqgiDc05E8WIh1gTbw"><img src="http://lh5.ggpht.com/sharkbaitbobby/SMxS40fRP0I/AAAAAAAAAPA/5GwTtWbIl_c/s144/todo-progress.png" /></a></td></tr><tr><td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;"><br /></td></tr></tbody></table><br />There are also a few new applets: <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1994&page=1&isLive=true">CPU Frequency Monitor</a>, <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=2038&page=1&isLive=true">Firefox 3 Bookmarks</a>, and <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1307&page=1&isLive=true">Media Player</a>. Off the top of my head, these applets have been committed to trunk recently: Animal Farm, CPU Frequency Monitor, DesktopManager, and Media Player.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com1tag:blogger.com,1999:blog-1063867531069360353.post-69491193914633473852008-08-14T15:21:00.000-07:002008-08-14T21:21:10.806-07:00Detach in C again, but in AwnAppletI switched development of Detach to these two branches:<br /><a href="https://code.launchpad.net/%7Eawn-extras/awn/awn-detach3" class="external text" title="https://code.launchpad.net/~awn-extras/awn/awn-detach3" rel="nofollow">lp:~sharkbaitbobby/awn/awn-detach2</a><br /><a href="https://code.launchpad.net/%7Eawn-extras/awn/awn-detach3" class="external text" title="https://code.launchpad.net/~awn-extras/awn/awn-detach3" rel="nofollow">lp:~awn-extras/awn-extras/awn-detach3</a><br /><br />Instead of being a separate GObject in libawn-extras, Detach is now a bunch of functions integrated into AwnApplet in libawn. It now does everything but save the position when Awn is restarted. As far as I can tell, to use Detach, most applets only have to add 4-5 lines and modify another one. As of writing this, only two applets, main-menu and to-do have been converted. Also, Python bindings work well now.<br /><br />There is a wiki page with documentation <a href="http://wiki.awn-project.org/Detach">here</a>.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-45648694414139800932008-08-07T17:25:00.000-07:002008-11-09T06:19:37.398-08:00Gedit Web Browser PluginIf you've ever been typing away on Gedit and needed to look for some obscure Gtk reference, then this plugin might be for you. It adds an address bar between the toolbar and main Gedit pane, along with buttons for back, forward, new tab, and, of course, go. If you are currently editing a text file and hit the go button, it'll open a new tab with the page in the address bar. The plugin makes it look like it's integrated, so that one tab could be a text document, another a web page, the next a text document, etc.<br /><a href="http://picasaweb.google.com/lh/photo/N3fLzZec3Yuu8H1zgJqXtQ"><br /></a><a style="font-weight: bold;" href="http://picasaweb.google.com/lh/photo/N3fLzZec3Yuu8H1zgJqXtQ">Screenshot</a><br /><br /><span style="font-weight: bold;">Download</span><br />Current version: 0.1.0.0.1rc2<br />You can download the plugin <a href="http://sharkbaitbobby.googlepages.com/gedit-webbrowser-0.1.0.0.1rc2.tar.gz">here</a>. Unpack it in ~/.gnome2/gedit/plugins (the directory might not exist, so create it if neccessary) or /usr/share/gedit-2/plugins. It will show up in Gedit's list of plugins as "Web Browser."<br /><br /><span style="font-weight: bold;">Problems</span><br />It's not really integrated, and could conflict with other plugins that do things certain things like adding other widgets to Gedit's main VBox. Also, doing things like saving and printing the "current document" when it is actually a web page will do so to a blank document, because Gedit itself doesn't actually know about the web page.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com25tag:blogger.com,1999:blog-1063867531069360353.post-52247611348577963042008-07-30T11:08:00.000-07:002008-08-14T21:21:42.782-07:00Some Updates<span style="font-weight: bold;">Detach</span><br />The first version of Detach is out, and is fully functional. Two applets, Awn Main Menu and Awn Terminal Applet, have been converted. The Python bindings unfortunately currently don't work. [<a href="https://code.launchpad.net/%7Esharkbaitbobby/awn-extras/awn-detach">Link to Branch</a>] [<a href="http://picasaweb.google.com/sharkbaitbobby/Sharkbaitbobby02/photo#5228612028763205746">Screenshot 1</a>] [<a href="http://picasaweb.google.com/sharkbaitbobby/Sharkbaitbobby02/photo#5226696644037913090">Screenshot 2</a>]<br /><br /><span style="font-weight: bold;">Wiki</span><br />Malept has rewritten the "<a href="http://wiki.awn-project.org/HowToUseBzr">How to use Bazaar</a>" page on the wiki. It shows how to set up Bazaar for Launchpad. Even if you're not using Bazaar + Launchpad for Awn [Extras], it's <a href="http://wiki.awn-project.org/HowToUseBzr">worth a look</a>.<br /><br /><span style="font-weight: bold;">Applets</span><br />We now have three new applets. The first, "<a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1982&page=1&isLive=true">Desktop Switcher</a>," can organize your desktop backgrounds and even cycle through them. The second, <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1983&page=1&isLive=true">Xfce Menu</a>, is a main menu for Xfce users. And the third, <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1975&page=1&isLive=true">Netflix Applet</a>, views the RSS feeds from Netflix.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-6831928161831545322008-07-24T10:54:00.000-07:002008-07-24T11:10:46.520-07:00Detach now detachesDetach now detaches. (!) It handles the showing and hiding of an Awn dialog and can also detach. Right-click the applet and click 'Detach', and a new window will popup. The default is the applet icon. Click it to show the dialog, with a transparent background. So far, the only applet converted to use Detach (in C) is the Main Menu Applet. <a href="http://picasaweb.google.com/sharkbaitbobby/Sharkbaitbobby02/photo#5226442316497975666">See Screenshot</a>. The are many, many little things that have to be fixed or implemented, such as not hiding the dialog when clicking it, and a few large things, such as attaching.<br /><br />Get Detach in C <a href="http://code.launchpad.net/%7Esharkbaitbobby/awn-extras/awn-detach">at my branch</a>.<pre>bzr co lp:~sharkbaitbobby/awn-extras/awn-detach<br />./autogen.sh<br />cd src/libawn-extras<br />make<br />sudo make install<br />cd ../main-menu<br />make<br />sudo make install</pre><br />Here's an example of what the code will look like now:<pre>Detach *d;<br />d = detach_new(applet);<br />detach_add(d, widget);<br />GdkPixbuf *icon = awn_applet_simple_set_awn_icon(applet, APPLET_NAME, APPLET_ICON);<br />detach_set_pixbuf(d, icon);<br />detach_add_menu_item(d, detach_menu_item_simple(d));<br />...<br />detach_hide_dialog(d); //Would be used to force the dialog to hide, even if focus isn't lost<br /></pre>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-51763519038611098532008-07-21T10:01:00.000-07:002008-07-24T11:11:14.938-07:00Detach now compilesThe Detach library now compiles. (!) It's written in C and is included in libawn-extras in <a href="https://code.launchpad.net/%7Esharkbaitbobby/awn-extras/awn-detach">my branch</a>. This will allow any applet to detach just like to-do, run, and SlickSwitcher do. Unfortunately, there's not too much to see now. You can <a href="http://bazaar.launchpad.net/%7Esharkbaitbobby/awn-extras/awn-detach/files">look at the source code</a> to get an idea of what the it'll be like. Here's some examples:<pre>GObject *d;<br />d = detach_new(applet);<br />detach_add(d, widget);<br />detach_set_icon_type(d,DETACH_ICON_SURFACE);<br />detach_set_surface(d, surface);</pre>This is only the second thing I've done in C, and, for me, the process has been surprisingly easy. C does seem somewhat intimidating with pointers and type casting, etc., but it's really not that hard. I learned a lot by just looking at Awn's (and -Extras') source code.<br /><br />Next I'm probably going to do Python bindings for it so I can test it more easily.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-67411311920054083522008-07-16T10:25:00.000-07:002008-07-16T13:28:20.349-07:00SlickSwitcher it is!I recently decided on the name SlickSwitcher... and, um...<br />You can download it <a href="http://sharkbaitbobby.googlepages.com/slickswitcher-r42.tgz">here</a>, however the <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1929&page=1&isLive=true">forum thread</a> will always have the most recent version, until it is included in Awn Extras. :)Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-81361962453934998782008-07-14T18:51:00.000-07:002008-07-16T13:28:20.349-07:00Sin Nombre dialog colorsYou can now change the colors of the Awn dialog in Sin Nombre, via the Preferences window. Personally, I currently don't use this as I like my black background-blue border dialogs. :)<br /><br /><a href="http://picasaweb.google.com/sharkbaitbobby/Sharkbaitbobby02/photo#5223052129110778898">See Screenshot</a><br /><br />In other news, I'm very close to choosing "SlickSwitcher" as the name. isaac_j87 started an Ubuntu Forums thread asking for name suggestions. Most people agreed with SlickSwitch[er], but there are some other suggestions. [<a href="http://ubuntuforums.org/showthread.php?t=857927">Link</a>]Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-5443833250671759352008-07-13T12:11:00.000-07:002008-07-24T11:13:47.630-07:00Awn Icons<a href="http://moon-shiny.blogspot.com/">moonbeam</a> has been working on a new feature in Awn called <a href="https://blueprints.launchpad.net/awn/+spec/awn-icons">awn-icons</a>, which allows users to drag an icon onto the applet itself and change the icon. The user can choose from the applet instance, the applet, or the type of icon for applying. So, if a user drags a new icon onto File Browser Launcher and chooses icon type, all of the applets that use the 'folder' icon will change. (AFAIK, this would require a restart of Awn/ the applets.)<br />This enables users to change icons for applets that they couldn't before, such as the media icons and MiMenu. Use Ubuntu but want the translucent GNOME logo on MiMenu? Just drag and drop it on MiMenu. Got some nice back, play, and forward icons? Just drag them on to the media icons applets.<br /><br /><a name="AwnIconsConverted" style="text-decoration: none; color: rgb(0, 0, 0);">Applets that have been converted (note: I'll try my best to keep this updated):</a><br />*Affinity<br />*aRSS<br />*AWNLib (not an applet, but still)<br />*Awn Notification Daemon<br />*Awn Terminal<br />*Cairo Menu<br />*Cairo Menu Classic<br />*Comic<br />*Comics<br />*File Browser Launcher<br />*Main Menu<br />*Media Control<br />*Media Icons<br />*MiMenu<br />*Mount Applet<br />*Mobile Meebo<br />*Pandora<br />*Places<br />*Quit Applet<br />*RTM<br />*Run <a href="http://awn.planetblur.org/index.php?shard=forum&action=g_reply&ID=1928&page=1&isLive=true">(not in Awn Extras)</a><br />*Show Desktop<br />*Tomboy Applet<br />*TsClient<br />*Web Applet<br />IIRC, every applet that should use Awn Icons does. (!)<br /><br />Several applets distribute icons that aren't found in a normal theme and use them as their icons. One example is the Quit Applet. You have to modify Makefiles to place the icons in the appropriate directory. I'll show the Quit Applet's [Make]files.<br /><pre><br />src/quit-applet<br />Makefile.am<br />quit-applet.py<br />quit-applet.desktop.in.in<br />icons/<br />Makefile.am<br />application-exit.svg<br /></pre><br />src/quit-applet/Makefile.am:<br /><pre><br /><b>SUBDIRS = icons</b><br />APPLET_NAME = quit-applet<br />APPLET_MAIN_FILE = quit-applet.py<br />include $(top_srcdir)/Makefile.python-applet<br />dist_applet_DATA = \<br />COPYING \<br />$(NULL)<br /></pre><br />src/quit-applet/quit-applet.desktop.in.in:<br /><pre><br />[Desktop Entry]<br />Version=1.0<br />Name=Quit-Logoff applet<br />Type=Application<br />X-AWN-AppletType=Python<br />Comment=A applet to exit your session<br />Exec=quit-applet/quit-applet.py<br /><b>Icon=quit-applet/icons/scalable/apps/application-exit.svg</b><br />Name[en_US]=Quit-Logoff applet<br />X-AWN-AppletCategory=System<br /></pre><br />src/quit-applet/icons/Makefile.am:<br /><pre><br /><b>dist_quitapplet_DATA</b> = \<br />application-exit.svg \<br />COPYING \<br />LGPL<br /><br /><b>quitappletdir = ${prefix}/share/avant-window-navigator/applets/quit-applet/icons/scalable/apps/</b><br /></pre><br />You must place the icon[s] in a separate directory named "icons," otherwise this won't work. Note that you can actually omit the instances of "scalable/apps," which would be better if you have only one icon. Also, if your icon is not an SVG image, either change "scalable" or just omit that part.<br /><br />Now all the quit applet has to do to get the icon is this:<br /><tt>self.set_awn_icon('quit-applet', 'application-exit')</tt><br /><br />If an applet needs the icon as a Pixbuf, such as for preferences dialogs, etc., the set_awn_icon method returns the Pixbuf. It's owned by awn-icons, so you would want to use the awn-icons API directly, which currently doesn't have Python bindings.<br /><br /><br />Note: If you are using this as a tutorial for converting these applets and you need anything clarified, etc., just tell me. :)Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-60041679976738312852008-07-11T09:57:00.000-07:002008-07-16T13:28:44.338-07:00Confirmation dialogs for To-DoThe To-Do List Applet now includes confirmation dialogs whenever you try to delete an item or category. You can choose whether or not to use these confirmation dialogs. The Preferences dialog now has a better layout and includes the above option.<br /><a href="http://picasaweb.google.com/sharkbaitbobby/Sharkbaitbobby02/photo#5221805023388339794"><br />See Screenshot</a>Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0tag:blogger.com,1999:blog-1063867531069360353.post-13909954769044171932008-07-10T09:20:00.000-07:002008-07-16T13:28:44.338-07:00Preferences Dialog for To-Do ListThe To-Do List Applet now has a preferences dialog/window, as of r670. You can change the title of the list, which will be displayed when you hover over the applet icon and when you open the dialog. (Not when detached, though) You can also change the color of the icon to:<br />*one of the <a href="http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines#Color_Palette">Tango Desktop Project colors</a><br />*from the current Gtk theme<br />*custom colors<br />If you choose custom colors, you can change the outer border, inner border, main color, and text color. You can also choose which type of icon to use:<br />*standard with number showing number of items<br />*partial inner border showing progress along with ##% as the number<br />*both the border of progress and the number of items<br /><a href="http://picasaweb.google.com/sharkbaitbobby/Sharkbaitbobby02/photo#5221445144702467186"><br />See Screenshot</a><br /><br />I plan on adding a confirmation dialog when you try to delete an item or category ("Are you sure you want to delete this item?"), with a check box next to "Don't show this again." You'll be able to change the showing of that in the preferences dialog.Sharkbaitbobbyhttp://www.blogger.com/profile/04437194444557484281noreply@blogger.com0