Saturday, December 20, 2008
There have been so many releases is mostly because of all the bugs that came out of the woodwork, but also because of some incidents that went sort of like "Now to... hey, this doesn't have feature X and it's one I use fairly often. One more for the to-do list. *sigh*" Then there was also the "I can't believe I forgot to make this able to open its own files!" moment, too. I still shake my head in amused disbelief at that one. RC2 will have fewer bugfixes because it didn't have any feature improvements. I have a development version that I'm working on that has a few new features, but I don't think it's ready for primetime just yet.
Paladin is also now hosted at SourceForge [project page here]. While I would have liked to use Subversion for source control, the BeOS port is old and doesn't support checkins using the https: protocol, which, coincidentally, is what SF uses, so I'm stuck with CVS. Having the revisioning (is that a word?) and the online backup of the sources is a relief, considering the antics my development box has had lately.
Some of the maturing that Paladin has seen has been due to my actually using it for development and discovering bugs as I was using it. I've had a need for a way to show flashcards to my computer classes to quiz them on PC components, but literally nothing I've seen did what I needed, so I'm writing my own and writing it with my own software. I've been quite pleased with how things have been progressing, and I have a machine dual-booting Xubuntu and Haiku to show it off. Just earlier tonight, I actually used RC1 to build from the RC1 sources with a quick patch to a significant bug in the code which adds files dropped into the project window. It seemed really weird to use Paladin to build itself, but when I walked away with a successfully-patched executable in Haiku, I must be doing something right. I guess the next step would be to support the goofball rez resource files so I can do the same thing with PalEdit. One more thing for the to-do list, I guess. ;-)
Sunday, December 14, 2008
The actual installation wasn't any more difficult than a regular Windows XP installation. In fact, there wasn't much difference. Considering that XP and Server 2003 are based on the same codebase, this isn't at all surprising. Once installed I did have some issues with drivers.
There isn't nearly as good official hardware support as XP. My Via Vinyl AC'97 sound card wasn't recognized, nor was my D-Link DWL-g510 WiFi card. I didn't have Service Pack 1 slipstreamed on my disc and my machine uses a wireless connection, so even if I had had drivers for the devices, I still had a few hoops to jump through to get things working at all. Luckily for me, even though neither officially supports Server 2003, I was able to get them both working using the XP drivers.
Once Server 2003 is installed, if you're looking to run it as a regular desktop OS, you still have quite a bit of work to do. Fortunately, at least a few other people had gone before me in this area and wrote an excellent guide which can be found at the Microsoft Software Forum Network. There are quite a few things that need changed, mostly for convenience's sake. Here's a quick summary of all the tweaks needed:
- New User: you need to create a regular user account to use instead of the Adminstrator account
- Disabling Internet Explorer's Enhanced Security settings: By default, IE will only go to a whitelisted set of sites. Good for a server, bad for a desktop, so this has to get disabled.
- Disabling Shutdown Event Tracker: Server 2003 logs all shutdowns and reboots. How annoying for a desktop.
- DirectX, Sound / Graphics Acceleration: DirectX isn't installed and acceleration is turned off. Few people do any gaming on a server, so this makes sense. Installing and enabling these wasn't a big deal.
- Theming support: Server 2003 uses the ugly Classic look by default, so turning on XP's shininess was a requirement.
- CD Burning and Image Acquisition: Most desktop users have a need for a digital camera, scanner, or CD burner, so these services also had to be turned on.
- Error Reporting, CPU Scheduling, System Restore: Once again, just some more configuration because of the different outlooks for a desktop and a server. Error Reporting is turned off except for critical errors, the processor scheduling is set to give programs priority, and system restore is turned on.
- Games: The usual games which ship with XP are not included at all with Server 2003. It was surprising just how much work was required just to install them, too!
- Three-Finger Logon: Logging in on a Windows Server involves using Ctrl+Alt+Delete to supposedly get around keyloggers. I don't know how successful it is, but knowing M$'s track record, I'm not real confident. I much prefer as simple a login as possible, preferably an automatic one.
After every Windows install, there is the inevitable install of what seems like 50,000 programs to get things from spartan to usable. With all the tweaks listed above, Server 2003 really looks and acts like Windows XP, so it's easy to forget that you're not running XP until you change hardware or install certain programs.
Antivirus software is one of them. I'm a fan of AVG's free-for-non-commercial-use antivirus package, but it won't install on Server 2003. By running a server operating system, it thinks you're running a server and, thus, refuses to install. I can't say I completely blame AVG for this move, and there's probably a way to beat it into submission (probably illegally, though), but I wasn't about to mess around with it. Instead, I installed DriveSentry, which while also free for non-commerical use, didn't slam the door in my face like AVG did.
After fighting with A-V software I ran into the same thing for several other programs. Office was one of them, for example. I actually had to install my copy of Office 2007 Professional on my machine (I avoid Office when/where/if I can), but Micro$ft did the same thing as AVG. When I installed a copy of my legitimately-licensed corporate version on it, it ran without a problem, but then Google Calendar Sync pulled the same stunt. It seems that quite a few people expect you to actually run a server with a server OS.
Other Configuration Adventures
One of the reasons I tried the whole Workstation 2003 thing was because of Remote Desktop. I'm well-versed in using VNC for my network, but it really is a bandwidth hog and I see noticeable lag even within my home network, so I wanted to give it a shot. I found out that licensing and setup for Terminal Services is just as draconian as the copy protection found in Vista. It wouldn't surprise me if the same guys are responsible for both. Once I did get it set up -- which did take some doing, though not as much as remote login via VNC on a Linux box -- I was quite pleased to see how responsive and easy-to-use it was. No wonder it's closely guarded.
File sharing using Server 2003 still stumps me, and I never got it working correctly. Perhaps I'm just a Weenix Unie on this one, but user management and file permissions under Windows operating systems just seems weird. I had what I thought was the proper boxes checked and the right users added and so forth, but I couldn't access files on my other Windows box that was running XP. Oh well.
It's kind of a nice idea in theory, but running Windows Server 2003 Standard Edition as a desktop operating system is not all that it seems on the surface. In the end for me, it was far too much work to stay with it. Even more than Linux, believe it or not. You're on your own for hardware support, certain regular desktop programs won't support it, and from a cost effectiveness standpoint, it makes no sense whatsoever. The only compelling reasons to run a Windows server might be for Active Directory (not sure about that one) or Terminal Services. Then again, that may not even be true -- I need to investigate xrdp a little further before I can definitively say so. For now, the jury's still out.
Friday, December 12, 2008
The big thing that I really got excited about this week was actually doing some development with Paladin. I found a couple of bugs and found plenty of ways to do some refining. Right now, one of my personal favorite features over BeIDE is the New File window. If I want to add a new class to the project, I can hit Alt+N, type in the name of the file, hit Tab and then Space to check the box to create both the header and the source file, and then Enter. In a matter of a few seconds, I have both a header and a source file and the header already has the header guard filled in for me. Sure, it's just a little thing, but with as often as I add new files to my projects, it's a nice convenience. The same goes for just being able to add a particular system library to a project just by checking a box in a window. Small, thoughtful touches to an interface don't amount to much on their own, but their combined helpfulness paves the way for a more pleasant experience overall.
Thursday, November 27, 2008
I'm happy to say that Paladin has reached alpha -- it's now feature-complete. While I know of a few bugs that I found shortly before I stopped for the day, I bet there are more yet to be discovered and fixed before I'm comfy with releasing the official Beta 1. I'll be eating my own cat food (dog food? No thanks...) on this one, so it may be a bit, knowing my perfectionist tendencies. It should be well worth all the trouble, and the closer it gets to actual usefulness as a tool, the more excited I get. I'll be able to get rid of BeIDE's annoyances, and the community at large will have a free-as-in-freedom development environment. Who knows? Maybe the guys back at Haiku might even find it worthwhile to have as one of those tools included in the pre-alpha builds. I won't push for it or anything, but that'd be the icing on the cake.
Saturday, November 15, 2008
The more I worked on the Niue sources in an attempt to clean them up, the more I felt like it was spaghetti code which would be easier to rewrite from scratch than to clean up. One night I just decided to see what it would take to put together a rudimentary project manager and it all snowballed from there. The result? An MIT-licensed IDE called Paladin which is modelled after the illustrious BeIDE which is based on Metrowerks' CodeWarrior. Xcode it ain't, but should be a pretty good improvement upon BeIDE.
BeIDE is an excellent, if dated, IDE which lends itself pretty well to beginners picking it up. Just so you know, BeIDE has been my right-hand coding tool since Day 1 when I started tinkering with the sources for an open-source paint program called Photon that I sort-of developed into BePhotoMagic. With the hundreds of hours I've logged using it, I've learned a few of its quirks. I've also found myself wanting certain features that, obviously, weren't going to materialize. I now have that chance to fix that.
The only IDE that we have for C/C++ development which even comes close to BeIDE is Niue. Niue's got some great features, like code completion and the ability to see the actual compilation output as if you were watching it in a Terminal window. So far, the only major problems I've seen outside of the maintainability department are that it depends on make to do all the heavy lifting, it eats up screen space like candy, there are bugs in the editor, and the code is a mess. Keep in mind, though, that the last two are probably the result of having lived and breathed BeIDE for years.
The project manager has gone together quickly, but I wanted to be able to hit Alt+M to build the thing while I still had focus on the editor. I also had some other integration-related desires that I'd need to have a text editor for. As a result, I started looking for information about writing one or building upon existing code. In my search, I learned about (and am reading) the book Design Patterns: Elements of Reusable Object-Oriented Software by Gamma, Helm, Johnson, and Vlissides. I also discovered that Niue's editor is, in fact, a quite-modified version of Yate and why: writing a text editor is hard and time-consuming. Yate's sources, by the way, are part of the reason for the mess of Niue's sources, because Yate's code is bad. Really bad. There aren't very many other open-source text editors for BeOS. I narrowed things down to a port of Scintilla or hacking Pe. After spending a weekend off and on playing with Scintilla, I decided to go with Pe. The only thing about Pe is that it uses a different resource compiler, rez, which supports other text-based resources, such as dialog boxes and menus.
The only bad news that I have is that the result of these antics isn't even in an alpha state yet, but it is quite a promising IDE nonetheless. Currently I can build quite a few different kinds of projects, including Paladin itself. Pe is being pared down into a leaner text editor primarily focused on C++ development, so, for example, the HTML palette has been given the heave-ho. This doesn't mean you can't use it for other things -- the syntax highlighting for other languages is staying -- it just means it would be a little like using BeIDE for writing Python or Perl.
Paladin has a lot of potential because of both the features it has and the ones that are coming. Project files are just special text files, so they are both user-readable and friendly with CVS, git, SVN, and so on. Paladin can also be executed from the command line to build a project without a GUI, so it can be scripted. While no visual editor is planned, a boilerplate code generator feature is in the works -- choose what class to add to the project, give it a name, check off options and virtual methods you want implemented, and voila! Instant skeleton code, both header and source file. I'll probably be adding a feature to generate makefiles and jamfiles from projects. Projects can be run in the debugger, run from the Terminal, or (eventually) run with predetermined command-line arguments. Adding libraries from the standard locations to a project is literally a matter of clicking on a menu item and checking (or unchecking) items in a list. There is also some basic project template code which will probably be expanded, as well. Best of all, the thing is MIT-licensed, so once it's released, anyone can contribute to its development or utilize its code in other projects. I'm also contemplating a code library feature for those bits of code that we codemonkeys seem to be reusing time and again.
I'm excited about the whole thing and I hope this gives you a little more to look forward to for Haiku's future. Obligatory screenshot:
There's a new code warrior on the block. Have a good weekend everyone. :)
Thursday, November 6, 2008
Friday, October 17, 2008
The premise behind BumpTop is that managing your files is easier if it is done in a way that is just like the Real World. In this case, it caters particularly to people who organize by piles, and this organizational method is explicitly mentioned in the prototype video. There's one question that I have to ask about this, though: as cool as it is, does it really make someone more productive? I highly doubt it. Let's take a look at why this is probably a better demo than a productivity app.
This 3D desktop has some inspiring ways of working with file icons, but, in doing so, introduces a new interaction vocabulary, i.e. a new set of actions to get things done. Instead of just point, click, double click, and drag, there is drag and throw, lasso, push with maximum pen pressure (impossible with a mouse), pigtail (a variation on lasso), lasso and cross (another variation on lasso), and probably a few others. This introduces more complexity into the interface. This is actually good for touch and pen interfaces because there is only one "button" to use and adds to the otherwise-limited vocabulary, but for desktop and laptop PCs, this actually makes things harder because it breaks with the de facto point-and-click standard interface that is the status quo. Call it a blessing or an obstacle, depending on your needs.
The prototype utilizes icons to represent files, but I don't know if this is intended to be final. In fact, previews of photos and web pages are used. This could be quite good for photos and even perhaps movies, but mp3s, which have no useful visual component (album art doesn't count), and office documents and web pages, which require much greater visual detail, are hard to identify using this interaction model. It is also hard to see how files could be differentiated without having additional information displayed, such as file names. Previews are not always enough in this respect. It could be a highly effective method, however, in conjunction with, say Microsoft's Surface multitouch tables.
One focus for BT is how it empowers the user to organize their files, but I'm not so sure that it is as empowering as some think. As with hierarchical filesystems, there isn't any inherent organization to the system and, thus, the burden of organizing files is placed on the user. Piles of files -- that has a nice ring to it, now that I think about it -- certainly are one way of organizing them. There is one catch, though: they occupy space, limiting how far this method of organization can scale before it has a negative impact on productivity. Let's say that a secretary or some other office worker has literally hundreds or thousands of documents and has them organized into a hierarchy of folders and subfolders by category. Now imagine converting each folder in the hierarchy into a pile. It would easily be possible to have fifty or sixty piles on the desktop; some of them possibly more than a hundred items tall. Perhaps I'm too much of a neatnik, but the thought makes me shudder. I wouldn't even want to think about searching for one particular document in those piles and not remembering which one it was in? Ouch.
One neat thing about the BumpTop desktop is how far the designers went to emulate real life. On more than one occasion I've seen cross-stacked papers in an office to be able to make a large pile of papers while being able to group papers that belong together. You can do the same thing on the BT desktop. Some people dogear (fold over a corner) of a paper to remember something special about it. The virtual icons can be folded just like in real life. A paper can be crumpled and thrown in a corner to be deleted later. There is one thing I question: in real life, tricks like this are generally done to make the best of a situation, such as the lack of a sticky note at the time or not having a better way to organize papers. Why dogear a paper when you could tag it with metadata? It would be the virtual equivalent of using a sticky note instead of folding the corner and trying to remember why you did it. Maybe it's just me, but it seems like this emulates a what amounts to a hack in real life.
I'll probably need an asbestos suit after saying this, but I think that the BumpTop 3D desktop environment is very similar to the Dock in OS X -- it demos very well, but it lacks in the productivity department. Direct manipulation does not scale well. The interface isn't very discoverable, either, and to use a concept from Donald Norman's The Design of Everyday Things, more information is kept in the user's head instead of the world, increasing the workload of a user instead of decreasing it. Outside of the desktop environment, however, I can think of a marvelous use for it: card games. An Internet game of Euchre this way would rock.
Wednesday, October 8, 2008
For as long as I can remember, I have had a strong sense of duty, i.e. if I feel responsible for something, I make sure that it gets taken care of properly. That's probably why things were so hard for me with Haiku: a lack of time combined with a sense of responsibility leading to frustration and, ultimately, a lack of enjoyment of what I do. Thanks to the change in my job description from last year to this (music teacher -> janitor), I have learned how much I need to enjoy what I do. Things have gone from "I love what I do" to "Gee, do I really have to go in today?" :(
As a nice diversion (I need variety) from my work on the DeskPanel, I've been working with Oliver Ruiz Dorantes (urnenfeld) and Tako Lansbergen on Niue. The current code is a mess, so there are efforts to clean up the code. Code cleanup isn't exactly the most exciting thing in the world, but for a neatnik like me, it fits. Maybe more to write about next time. Until then, readers, God bless.
Sunday, September 21, 2008
The DeskPanel has been probably the most complicated piece of code I've worked on since my app_server days. There are some sections of the Deskbar's code that work some BeOS black magic and other parts that are not so pretty. BNavMenu is one massive class. It's what gives us those wildly-convenient navigational menus accessed by right-clicking on a folder in Tracker. It's also the code that powers the Deskbar's Applications and Preferences menus. The nice part is that it wasn't too difficult to unbolt certain important sections of code and place them elsewhere for the reorganizational part of the DeskPanel.
Some of you may be wondering what the big deal about all the effort I'm putting into this extended-from-summer project. It's all about organization and simplification. At the risk of being boring, allow me to go into some details about some of the new tricks it does.
First of all, there is the Programs menu, the first of the three screenshots from the last post. Gone are the days of "one menu to rule them all." The only thing you'll find in this menu are programs. I added a permanent Run Program item which could easily one day turn into a swiss-army knife command prompt that you could type in stuff like map "1313 mockingbird lane, schenectady, ny, 12345" and do a Google Maps lookup on the address or define grace and get a lookup from an online (or offline) dictionary. As for the actual program shortcuts and the categories in the Programs menu, it's a case of smoke and mirrors. The main menu is a listing of /boot/home/config/be/Programs, but the items in it are queries for the category attribute. This attribute is a new indexed attribute which is used for Programs menu entries. Tagging an application with a particular category suddenly adds it to the menu under the appropriate category. The actual category entries are just saved queries with custom icons to make them look nice. I think it works quite well, and unlike the current situation with the Deskbar, there are no symlinks to break. You can even add a folder to the list simply by tagging a folder with the appropriate category.
The Computer menu is pretty straightforward -- items related to the system in general. I'll probably be renaming About this System to About Haiku (or BeOS or Zeta, as appropriate) and adding an item named About this Computer to fire up a small, relatively simple system info app (like a less-technical version of BePCInfo). I've mentioned the System Settings app started by the Computer menu item of the same name -- a launcher for the various preferences apps in the same vein as the OS X system settings app, but without the resizing and the Back button. The Quit item removes the "Are you sure?" messages that exist in Haiku right now without having accidental reboots and shutdowns that can happen in R5 at the moment.
I personally think the Bookmarks menu is really, really convenient. All your NetPositive bookmarks can be accessed with a couple of clicks, you can add bookmarks just by dropping items on the Bookmarks button, and organizing them is as simple as file management. The Recent Documents / Folders / Applications menus are still there and as useful as ever. This menu is one feature that makes me wish the DeskPanel were ready to replace the Deskbar right now.
The other stuff is in a state of change, but not in a bad way. The running programs list, now that it is debugged, works just as well as the Deskbar's except for two things: you can run so many programs that not all of them are visible in the list and, as I mentioned before, you can't open a file by dropping it on an entry in the list. I'm still working on a good solution to the first issue and the second is just incomplete code, so no big deal. There are other things that should be attended to before release, such as the preferences app for the DeskPanel other little things. I also need to formalize the way that add-ons are added to the Deskbar. Right now, they're all hard-coded, but the addons themselves are written in a way that they can be added and removed on the fly.
Overall, a lot has been acccomplished on the DeskPanel, but there is still quite a bit to do. Instead of just having an incomplete and/or buggy demo, I'm going to give it a good solid go and make a proper app. It'll take longer, but it'll be worth it. While it will be quite a while before a stable R1 is released, if I have anything to do with it, when it finally arrives it'll be possible to create a tricked-out R1 install that will be pretty sweet and a usable, productive, and free environment for people to work with.
Monday, September 15, 2008
Others were not nearly so lucky. The street I live on, for example, is currently a detour for a major state route that has a huge fallen tree across it. I'm also quite glad I don't subscribe to the digital phone package that Time Warner pushes alongside its RoadRunner service. Both my in-laws and some very good friends of the family were not only without power, but also without a source of communication by not having a cell phone or a landline. Over 450 school districts -- not schools, but districts -- were closed for today.
Over 230 schools were closed in my area , including my own, so I had an unexpected -- but nonetheless welcome -- day off. With my newly-found spare time, I spent the morning hacking on the DeskPanel, the proposed R2 retooling of the Deskbar. Progress? Igor, it's alive, I tell you. ALIVE!! HAHAHAHAHAHA!! Well, it's certainly comparable to Dr. Frankenstein's monster -- the sources aren't exactly pretty. Then again, the Deskbar's sources wouldn't have won any beauty contests to start with. *shrug* Anyway, the changes are more evolution than revolution -- more reorganization and some minor improvements here and there. While it's definitely a work in progress, I finally have some eye candy for all of you. I won't comment on them, but with the cat out of the bag on the last of my summer projects, I should be publishing the revisions I made to my desktop RFC in the next day or so.
Saturday, September 13, 2008
Normally I try to have fun with icons for my apps. The fortune cookie I used for Fortuna and the Metroid-inspired icon for Seeker come to mind when I say this -- they were fun to create, especially Seeker's. The Filer and the DeskPanel projects are supposed to be system-level applications, so the icons really should follow the isometric perspective like the rest. Unfortunately, isometric icons are a pain in the neck to draw. Oh well.
The big feature to this release is the AutoFiler that I just mentioned. Karl vom Dorff (of Haikuware fame) suggested a daemon to automatically file items in certain folders. Hazel, the app which I used as inspiration for some of the features for the Filer, requires a folder for each rule. I didn't want to have this requirement, but having it as an option makes the Filer more useful than before. The main use I see for it is for a downloads folder. Point the AutoFiler at your browser's download folder and set up rules for your files. Here's an example rule:
Name ends with .zip
Terminal command... unzip %FULLPATH% -d /boot/home/Desktop
Move it to the Trash
The part that I also see could be really cool is if I managed to get the program bundle code working properly under R5, you could conceivably install programs with literally one click -- your browser downloads the bundle, the AutoFiler invokes the Filer on the download folder, and the Filer installs it. One click. Now that's ease of use.
Monday, September 8, 2008
I've got a new release for the Filer pretty much ready to go out the door. It's been held up for a while because I haven't had time to get it packaged up and handle the inevitable busyness -- in a good way -- that follows a release. I'm still hacking away at the new Deskbar, tentatively titled DeskPanel. It's been a real pain in the neck. I slapped together some icons that, while not my best work, look halfway decent. The layout code has been a real problem. I walked away after 3 hours of fighting with it. I also cleaned up some of the interface-related code that handles the Programs menu, but most of the time was spent on layout. A major pain. Hopefully, I'll have more good news to relate next time. TTFN.
Friday, August 22, 2008
Since last time, I've spent more than a little time attempting to finish up the other project that I've mentioned this summer -- an application bundling program. The concept? To the user, the program is just one file; delete it and you've uninstalled a program. Installation is as simple as downloading it from the Internet. The only downside to this method of packaging programs is the size of the file. The BFS filesystem forces packages to be at least about 1.5MB for even something small like Mr. Peeps or Run Program. With hard drive storage being so cheap and the unlikelihood that someone will have as many program bundles as MP3s, I figure it's not that big of a deal except when downloading. The solution? Compress them, which they do very nicely.
There is one problem, however. In testing a Filer rule for uncompressing and installing zipped bundles, I ran into some very strange instances where if I zipped a bundle and then turned around and unzipped a new, theoretically exact duplicate of the original, the original would run just fine but the new one wouldn't. I even compared CRC32 signatures with perfectly matching results. The conclusion? Something doesn't work so well under R5. I get some totally different error messages in Haiku, so a bug report is probably in order there. If any of you more technical readers would be willing to do a little testing under Zeta or Dano, I'd genuinely appreciate it. E-mail me or leave a comment. In any event, the program bundling is on the back burner for the moment, leaving me time to work on my final R2 project of the summer: the Deskbar.
In my R2 desktop proposal, I described changing the Deskbar to make it more functionally useful and better organized. All the details can be boiled down to breaking the Be menu into three and making the Deskbar behave a little more like a panel used in Linux, with addon widgets for things like inbox monitoring, weather, and other useful tools. I've started it and made much more headway than I thought I would. I was intimidated by the Deskbar code, which is mature, stable code which more complicated, architecturally speaking, than I'm used to dealing with. After some code study, though, it isn't nearly as difficult as it looks.
How far have I gotten? Well, I have all three menus implemented: Programs, Computer, and Bookmarks. Integration of NetPositive bookmarks is complete, and would be wildly convenient if I had a decent browser to use them with (might try NetSurf). No more broken Deskbar links, either -- applications are found by query and there is an almost-imperceptible delay when browsing the menu. The system settings program (screenshot in an earlier post) drastically reduces the clutter in the Computer menu. The Bookmarks menu doesn't create bookmarks when you drop files on it yet, but that's currently being investigated. Overall, I really like it, and I can't wait to get it to the point where I can replace the Deskbar on my machine with it. That day will come, and it will be a good one. No screenshots yet -- I'm also working on some nice icons to replace the cruddy placeholder ones I currently have in place. Stay tuned!
Tuesday, August 12, 2008
I like Windows' Run window because you can hit Win+R and run explorer, regedit, and other apps. It certainly saves hunting the Start Menu. One of the few features that Vista introduced that I liked was the ability to search the Start Menu. Type in a few letters and you have the program you want. Run Program combines the two -- start typing and you can start a program in the Deskbar or do a quick Terminal command. I bound it to a quick key combination using SpicyKeys and now I can run just about any program (StyledEdit comes to mind) without using the mouse. Considering how twitchy my mouse is, that's a good thing. You can find this on BeBits and Haikuware. Who knows? Maybe someday I may extend it to act more like Enso.
Thursday, August 7, 2008
The second beta adds some niceties that I thought would be really useful. If you send the Filer a symlink, it treats the link as if the real file were sent to it from the link's location. In other words, if I have a link to a file on the Desktop and I send the link to the Filer, it treats the file as if it really were on the Desktop. The Open command fires up the file's default application, and you could set up a simplistic form of backups with the Add to Archive command. One thing that I thought would be really useful (alas, wput doesn't exist for R5 :( ) would be to have the Filer automagically turn one of my project development folders into a zipfile and upload it to my old website. It certainly would make releases a little faster. I also added the %FOLDER% substitution pattern. Sometimes you want the folder a file is in and not the file itself. :)
It's kind of all a blur at the moment, but if I remember correctly, someone asked me how exactly you could use it to organize your MP3s for you when used with id3attr. Here's a rule to do it all:
Name ends with .mp3
Terminal command: id3attr '%FULLPATH%'
Rename it to: %ATTR:Audio:Artist% - %ATTR:Audio:Title%.mp3
Move it to: /boot/home/music/%ATTR:Audio:Artist%
Note that the %FULLPATH% section in the Terminal command has single quotes around it. This makes sure that things like spaces don't mess things up. If you also wanted to play it after it was sorted away, add an 'Open it' action at the end.
All in all, not bad for a day's work. TTFN :)
Wednesday, August 6, 2008
One of the really neat things about it is being able to grab Axel's id3attr from BeBits (that creates attributes from MP3 tags) and use the Filer to organize an MP3 library. You can do this because of pattern substitutions and the ability to use bash commands. Pattern substitutions are a feature in cd ripping software where you can set a format for a file name, such as writing in %A - %T.mp3 to have the software make files with names like Skillet - Savior.mp3 and Big Tent Revival - Two Sets of Joneses.mp3. Unzipping a Zip file to the Desktop is as simple as one command: unzip '%FULLPATH%' -d /boot/home/Desktop. %FULLPATH% substitutes the full path of the file being processed before the command is executed. I listed some other examples in the help file bundled in with the executable.
If you come up with a really neat rule, put it in the comments or e-mail me and I'll put it up to share with everyone. Enjoy!
Monday, August 4, 2008
Unlike many other ideas that were in my original Desktop RFC on the Haiku website, this one did not change much, so the info is pretty close to what is in the revised -- and still yet unpublished -- version. You can find more detail on the Filer by following the link, but to quickly summarize, it's a program to let you automatically organize your files according to a set of rules that you create. The idea has actually been around for quite a while, but I only heard of the only two implementations this summer: Belvedere, a freeware Windows app well-known to Lifehacker readers, and the original which inspired it, Hazel, an incredible shareware OS X app from Noodlesoft. The difference from these two is that -- hopefully -- mine will be integrated with the OS, offloading one more task for the user when he wishes.
Filer development, simply put, has been long and difficult, which is why it's taken so long before I mentioned anything about it. It's probably the biggest "little" app I've written, so I want to do more testing and fixing before releasing it. There are other features planned, but it has the essentials and with two weeks before school starts, I want to make sure the last project gets done or at least most of the way done. As is my habit, here is a screenshot to keep you going:
Saturday, July 26, 2008
The second screenshot (posted on the 18th) was one which I left as a bit of a puzzle. Pieter, the only commenter, was correct. It is a package builder, and simple enough to pick up and use. All that is needed is to point it at an executable and, optionally, the topmost folder to use for the package. The developer provides some additional basic information about the app, click Start, and voila! A package is created in a process that is so easy it makes a man speak French against his will. ;-)
What was not in the screenshot is something equally important: an package runner. Doubleclicking on one of these packages runs the app. While I can't claim originality in the idea, no one has implemented it. One file for the entire program. Want to delete the program? Delete one file and you're done. It's also done in a way that you can use queries with them.
It's incredibly simple and works for most apps, but not all. Just as OS X has disk image files (.dmg) and package files (.pkg), Haiku will need them, too. Most of the code needed for regular packages is already there, and I released something like it some years ago. It still needs some tweaking and thought, but it won't take much work.
My current project is much more complicated than the settings launcher and the utilities for program bundles, but it will be worth it. I'll be forthcoming with the details once it's finished, which will probably be a couple of weeks -- I'm currently writing this from out-of-town and I won't be returning until 7/31/08. Until then, I guess we'll all have to wait.
Tuesday, July 22, 2008
- Lineman's pliers or, alternatively, needlenose pliers
- Cotton swabs (Q-tips)
- Philips-head screwdriver
- small flathead screwdriver (or other small prying device)
- old toothbrush
- compressed air
- rubbing alcohol
- Unplug it from the computer. While this might seem obvious, some people might go commando and use the thing while in the process of cleaning it. You've been warned. ;-)
- Remove (no exaggeration) 21 screws from the underside.
- Place right side up and wiggle off the faux-leather wrist rests.
- Remove a screw from under each of the newly-removed wrist rests.
- Find a small flathead screwdriver (or some other flat prying object), slide under the front edge of the space bar and gently give it a twist. The spacebar should pop right out. Set it aside.
- Remove two silver screws and then remove the top cover. Note that this will require some wiggling becase there are a few plastic catches sort-of holding it in place, such as in front below the F-Lock light.
- If your keyboard is anything like mine was, you'll need to be able to clean under what's left, so remove 4 more screws under where the Back and Forward buttons normally are along with the metal bar they hold down.
- Remove the silicone overlays.
- The best way I've found to get the keycaps out is to use one hand with the pliers to slightly pinch together catch for the keycap while gently pulling on it from the other side with your other hand. If you pinch too much, you'll bend the plastic on the catch and possibly break it, which would be a Bad Thing (TM).
- If the warranty was good on your keyboard, it certainly isn't now.
- It's amazing how many crumbs (and in my case, cat hair) fall in between the keys and collect in this thing
- The compressed air will come in really handy for cleaning under the components that are still in place.
- The bigger keys (spacebar, Backspace, Caps Lock, number pad +, etc.) have a little metal bar that slides under a couple of plastic "hooks" which are a great place for crud to collect and make the action for those keys pretty gummy. Cotton swabs and rubbing alcohol work well for cleaning it from the back side of the key grid.
- The silver buttons at the top shouldn't need cleaning unless something has been spilled on your keyboard.
- Cleaning an empty grid is pretty easy with the sprayer hose on the kitchen sink. You *might* be able to get away with running the grid through the dishwasher, but you might melt the plastic, so don't complain to me if it does.
Saturday, July 19, 2008
For those of you who haven't heard of it -- most people, I'd imagine -- it's a repository of MIT-licensed code which is sorely missing from the BeOS API, like menu items and list items which can have an icon, a font chooser, and other stuff. It also provides a point of access for useful-but-homeless code floating around the Web, like some code that exists for a dropdown combo box that's been around for years. LibWalter It has been done in such a way that when R2 comes around that most, if not all, of the code can be incorporated into the Haiku source tree and give it a nice shot of progress.
These little code projects that I'm currently working on are in the same vein. Too many people have suggested bizarre, impractical, and/or undesirable ideas on the Glass Elevator list. I also fear a "designed by committee" user interface which doesn't really do a decent job of helping someone. No one really seems to have a vision for R2. I do, but I'm in no position to dictate anything, and even if I were, not all of my ideas are necessarily good ones. These screenshots (and the to-be-released-later programs) are an attempt to show that my vision for R2 is good, sensible, practical, and worth putting into place, and because of the way that I'm writing them, it will be possible to try them out on R5, Zeta, or Haiku long before R2 is even a practical target.
Friday, July 18, 2008
Now, the good news: The last screenshot was a new way of accessing system preferences. I've got a new one for today. Once again, this is a screenshot that has only seen the crop tool to make it download faster. This one is a developer tool, but a very important one for the new desktop. I won't explain it just yet. What do you think it's for? Leave a guess in the comments. The only thing I will say is that it will be released later this summer when all the little projects are released all at once.
Saturday, July 12, 2008
Thursday, July 10, 2008
I visit Lifehacker frequently because of all the really useful information that is posted there. When I saw a post for 360 Desktop for Windows, I thought I'd take it for a spin. It certainly sounded like a neat piece of software.
360 Desktop changes the "flat" mental model of desktop workspace into something of a cylindrical one and gives you the ability to add widgets to the desktop, as well. For people who are into this kind of thing (I'm not), this is nice, especially because it opens the door for Windows XP users. The picture at the right, courtesy of UpToDown.com, gives you an idea of how it works. A small slider is placed in a window at the top right part of the screen and an icon is placed in the system tray after installation. By dragging the slider left or right, the desktop pans in that direction. By using 360 Desktop, you suddenly have a lot more desktop space and some nifty backgrounds and widgets to go with it.
It certainly adds work desktop space, and being Windows still does not have built-in support for workspaces like the rest of the world, this is quite helpful for people with smaller monitors. The space taken up by desktop widgets doesn't matter quite so much any more. The panoramic desktop wallpapers were really pretty.
The extra work involved with accessing and navigating the extra desktop space wasn't really worth the benefit it gave. For example, if you have a plethora of open windows strewn across the cylinder, how do you jump from one side to the other quickly. Panning is great for keeping track of where you are, but it's not so good on speed. It's also not very precise. Also, unless I missed something moving windows around the cylinder isn't possible, either, so you have to either repeatedly pan the screen some and then drag the window or close the window, pan to the new location, and reopen it. Either way is a pain. The selection of panoramic wallpapers wasn't very big and most of them were really bright, which looks nice but makes finding icons on the desktop more difficult.
I'd say that 360 Desktop is a nice idea, but it's another case of a nifty demo being developed into a full-fledged program when it really shouldn't have. Some people may really like it, but in this writer's opinion, it just slows you down -- workspaces are much faster by way of the keyboard, much more precise, and the jury's still out on desktop widgets. :)
Wednesday, July 2, 2008
Not everything has been paint, drywall, and resumes, though. The skunkworks has gone back into production. It took some time, but I managed to put together a basic coding machine from spare parts -- my workhorse can't run R5 or Zeta, which is a huge bummer. It has some minor issues, but it works well enough to get the job done. Unfortunately, I don't have a good coding environment (i.e. desk, forearm rests, decent chair), so I'm waiting on a KVM to arrive so that I can sit the development box beside the other one and be able to work without hurting myself.
I have my R2 document about as done as it's going to get, but because it seems like some people tend to offer their opinions without giving serious consideration to many of my ideas (and because design also needs testing), I've been hacking some code to put teeth to my ideas. So far things have worked as I expected them. Some are really exciting to play around with. Others need some more hacking. What are these things you ask? I'm not quite ready to let everything out of the bag just yet, but I'll tell more later. For now, one thing I will say that I'm studying the sources for Tracker and the Deskbar to be able to... improve them. I was never allowed to do anything official for R2 while a member of Haiku, but nothing is stopping me from doing stuff on my own while I have time this summer. Who knows? Maybe some of it will go into the official stuff then. It'd be nice to see R1 in the near future. I'd do some work, but it's terribly boring work and most of it is too technical for me to be able to do anything besides test. Oh well. I'm working on the fun stuff right now. *heh*
Just to give you an idea of what I've been up to, renovation-wise, here are the before and after photos of my bedroom, and it was not nearly as nice-looking as the before photo would have you to believe. The new wall color looks kind of pinkish in the photo, but's a nice light brown that looks awesome IRL.
Wednesday, June 11, 2008
Saturday, May 24, 2008
Apparently, Windows Vista sales are really good in Steve's opinion. More and more often I hear about low opinions--often very vocal ones--about the latest desktop OS from Redmond. This article was quite an enjoyable read. Why? It shows just how much of the Kool-Aid he really has drunk. He's happy that Vista is selling really well because of OEM preloading it onto machines. I wonder what he would say if he had to depend on selling Windows than depending on OEMs to do the dirty work for him by not offering customers a real choice. Here's where I translate the marketing speak Steve used into real English:
Steve: "Application compatibility in Vista was not as high as many of our customers would have liked."
English: People didn't like that we broke as many programs as we did.
Steve: "I think we’re going through something of a process whereby Vista users are still getting used to Vista after moving from XP"
English: People are going to have to get used to all of the changes we made, whether or not they're good ones.
While there are those people who wanted it for whatever reason, many consumers who bought it with a computer don't necessarily know the difference between Office and Windows, but they knew something was wrong when their hardware wouldn't work and a comparatively smaller number of people don't want it at all. He really thinks that a lot of people like Windows Vista and wanted to upgrade it. Now that's funny.
Tuesday, May 6, 2008
The Out-of-the-Box Experience Matters
This one is mostly for Haiku, but it could also apply to just about any Linux distro. Apple has got this one nailed, but I digress. Microsoft did well on the OOBE for Vista. From the unpackaging the CD (or DVD) to the "junk papers" included in it, the installation and ability to upgrade from within Windows, Vista at least gives you the impression that it is a well-polished piece of software.
The installer is nice-looking, clear, well-worded, and--dare I say it--usable. I can do without all the marketing-speak, but that's par for the course and easy to ignore. I think that Haiku could do more to reduce the amount of interaction needed to get an install done, but Redmond has certainly improved over, say, XP's installer.
Proper Hardware Support Really Matters
Driver support has been spotty in Vista. I know more than a couple of people who have been burned by unsupported peripherals after an upgrade to Vista. My desktop machine is about a year old, and -- unsuprisingly -- its game port is not supported. I have an old 3com 3c905b network card which I'm not exactly surprised isn't supported. Yeah, yeah, some of you are might be saying that it's up to the manufacturers to support their hardware, but I'll say it again: the technical details only matter to the technically-minded. Businessmen don't typically care unless it significantly changes profits, one way or the other. Nontechnical home users don't care. Many office workers don't either.
Some devices in Linux work perfectly out of the box. Others require some tweaking, and then there is the On Your Own realm where either a device requires a lot of playing, configuring, reconfiguring, swearing, forum scrounging, and possibly even code hacking to get to work. Of course, there are more than a couple devices that don't work at all, for whatever reason. The funny thing is that even between distros you find support for certain hardware or hardware-related features, such as suspend / hibernate, varying between distributions.
BeOS did somewhat better in this matter. It either worked or it didn't, and there generally wasn't anything in between. Unfortunately, there were occasions where it wasn't obvious whether a device worked and, as a result, remained a mystery without some digging around. An easier device manager app might be the solution to this. Hardware support for Haiku will be hit and miss in many cases for a while, but it should be easier to make it come around, thanks to many of the inroads made by Linux.
Place No Unnecessary Restrictions on Your Users
Vista has a variety of methods for getting in the way. You can't use GRUB (or any other bootloader, for that matter) without some hackery. The UI is comfortable, but slow. More steps are required to do certain tasks than in XP. There is much change for the sake of change. UAC makes me Cancel or Allow seemingly everything, and while Linux and its brethren have the occasions where you have to type in your password to do administrative tasks, this happens much less frequently in my experience than Vista. Filesystem permissions can give headaches from time to time, but they have nothing on the annoyance value that Vista's do. Using an upgrade license key isn't that bad unless you need to change the partition table, in which you will have no choice but to install Vista twice -- the key only works when installed from Windows and the partition table can only be changed when booted from the install media. Joy. It's things like this that make books like O'Reilly's Vista Annoyances necessary.
Eye Candy isn't Required, but it is Nice to Have
Believe it or not, I'm not even referring to a 3D-accelerated desktop experience, even though that is the direction that Vista took. Good looks aren't necessary for the experience, but it does help to initially draw someone in to take a second look and it makes working with the OS more enjoyable. One thing that I've felt in using Vista is that it feels like going on a luxury cruise: it looks pretty nice, has its annoyances, costs a lot of money, has a generally cushy feel to it, and it takes some time to get used to your surroundings. It also makes some people want to throw up. Don't get me wrong, though. Let's just say good looks has enough value to make a requirement.
Linux has some distros that look good and others not so much. GNOME and KDE go in opposite directions in terms of general look and feel. GNOME is very conservative and KDE is brightly colored-- so much so that some would say it is garish.
The initial work that Stephen Aßmus and others have done on the icons and general look is praiseworthy. The colors aren't too bright, but it does look nice and without shying away from the use of color. I'd say Haiku's in good hands on this one.
A Broken Trust is Hard to Repair
This has more to do with a company behind the software than the software itself. There are numerous instances in both XP and Vista where it shows that Microsoft groups users into two categories: geeks and clueless people, and it doesn't trust geeks without making any attempt to hide it. How? Let me see... Windows / Office Genuine Advantage and its WGA Notifications nagware, DRM in Windows Media Player, Trusted (ha!) Computing, the privacy-invading Windows Vista Customer Experience Improvement Program, and forced software activation, and even stealth computer updates by means of Windows Update, just to name a few.
Most of this stuff has been put into place because of software piracy in the warez scene and bootlegging overseas, even though Microsoft has made money by the truckload with Office and Windows. As a result, many existing customers have less trust for MS than most citizens have in the Internal Revenue Service here in the U.S. The sad part that Microsoft neither seems to care nor has any plans of changing this. Combine this distrust of its users with several botched software upgrades like XP SP3 and you have a reputation problem on your hands that even Redmond's spin doctors will have a hard time fixing.
Linux proponents vary in their opinions, which, considering the wide variety of its users and developers, isn't surprising. Many of them fall into the Richard Stallman camp which not only preaches software that is free as in speech, but has a somewhat-justified distrust of proprietary software.
My experience with the BeOS / Haiku community is that open source is good. Haiku is developed under the MIT license but bundles in software with other licenses. I remember asking Michael Phipps about the "what if someone grabs the source and makes a closed-source product with it" scenario and I liked his answer. It went something like, "So what? Haiku is still free. Call it a gift to the community. If some one makes a closed source version, Haiku is still free." If that's not goodwill, I don't know what is.
All-in-all, Vista's not a bad experience for most folks. It's just that, at best, it's not very compelling and at its worst, it's a nightmare. High cost, steep hardware requirements, too many choices of editions, a development cycle that went way too long, a company whose bureaucracy weighs heavily on software development, a lack of trust for its customers, and many other factors combine for a let-down with few positives. If Microsoft wants to head into decline, it need only continue its current behavior. However, it's unlikely that Linux's chaotic development into all directions without a clear vision for certain markets will cause it to become a Windows-killer, but that leaves opportunity for Haiku to find a clear niche. Only time will tell to see if anyone learns from Vista and Microsoft.
Friday, April 18, 2008
Linux is Intended for Servers
To use a quote from Michael Phipps at the first WalterCon, "You can put a pig in a dress, but it's still a server." Linux's kernel is primarily intended as a server operating system. Yeah, yeah, there are tweaks that have been made to the sources to help with responsiveness on the desktop, but they have not been made official part of the kernel. X Windows is not going away any time soon, and despite the efforts of the XOrg team, it's still got problems, primarily the complexity of configuration but also other things like multiple monitor support. Yes, most configuration is hidden away from the user, but it still manages to rear its ugly, textfile-based head now and then. Xinerama helps, too, but it's too difficult to setup and has limitations in its flexibility. This one area that Windows beats Linux on, hands down. These issues stem from the UNIX origins that Linux is based on.
Linux is not Commercial-Friendly
Have you noticed that while there are a few companies out there that are gung-ho about Linux development and open source software in general, most won't touch it? A lot of corporations are not about to develop for an operating system that forces them to give away the family jewels, free or not. nVidia has a bad reputation among the GPL zealots because it won't do this. Making wireless networking under Linux is a crapshoot with the odds stacked against you, for example. Most of it is because of the GPL.
Linux Desktop Usability has a Long Way to Go
I am writing this from within Firefox 3.0 Beta 5 on a laptop that only runs Xubuntu Hardy Heron. I am not afraid to use Linux and am relatively comfortable using it on the desktop. Simply put, desktop Linux is too much work. I use it because I don't have to reinstall it every 6 months to a year to keep it from bogging down, unlike Windows, and because I am more productive using it for day-to-day tasks and office work. It takes a lot of tweaking -- regardless of the desktop environment -- to get productive. I would not dare ask my wife to try to install any Linux distro, nor would I try to get her to learn all the things I've had to learn about Linux.
Need some examples of places where Linux usability is ridiculously bad? Here are a few: a user should never have to edit config files. Ever. Regular users do not care about the GPL. At all. Not in a million years. A user should not have to ever compile a kernel (or anything else) for any reason. Go beyond the basics and nice, sweet, Ubuntuland becomes a wilderness of BASH, text files, tweaking, and forum searching. I could go on and on here.
Linux has no Cohesiveness
I've said this before: if I sit down at a Windows desktop, I have a reasonable expectation of the experience to come, for bad or worse. If I sit down at a Linux (or UNIX, for that matter) desktop, I have no idea what to expect: Xfce, GNOME, KDE, GNUStep, WindowMaker, or something else, particularly if the maintainer of the machine is a bigger geek than I am. The parts don't all work together, visually, functionally, or otherwise. Try copying some text to the clipboard, closing the app, and then pasting the text into another app. It doesn't work. Motif doesn't look like GNOME or KDE. Same with Java. The lack of a unifying vision and direction for the OS results in chaos in general, and this shows in using Linux.
Haiku is Easier for Developers
While it has been a while since I did any development for BeOS, I have been experimenting with APIs from other toolkits and OSes. BeOS is still easier than any other I've seen. The only one that comes reasonably close is Qt, and even it has its difficulties. It is easier for a developer to write a responsive, multithreaded (and, thus, multicore-friendly) application under BeOS than any other toolkit. SMP support doesn't have to be compiled into the kernel because it's already there. The filesystem automatically has support for extended attributes.
Linux is Slow on the Desktop
There are so many reasons why Linux is slow for the desktop. The network transparency that X has doesn't have much use in one- or even two-computer homes. The Linux kernel, by default, does not include low-latency code, so home audio work takes more work than it needs to. Programs are single-threaded, so there are countless instances of waiting for a window to redraw itself because it's off doing something else. Boot time is on par with Windows XP or Vista and shutdown time isn't much different. I have not seen any mainstream OS -- or any seriously developed hobby OS -- that shuts down faster than Haiku does, bar none.
This may sound like I'm bashing Linux. In some places, yes I am, but not because I hate it or anything. Many of the problems that go with Linux have to do with either using a tool for a purpose other than what it was intended (server on the desktop), development decisions that have an impact on relations with corporations, or because of the geek culture that Linux is best suited to. The desktop market is primarily regular, non-technical people. Linux is a culture of geeks. The two don't really mix very well. Red Hat was smart in saying that a desktop distro is hard, because it is. Why not help Linux, because Joe User is a person, too.
Wednesday, April 9, 2008
Thursday, March 27, 2008
I thought I knew a lot about Writer, but I've learned so much in just the 6 days that I've been working on it. I never thought it would be as much fun as it has been. The upshot of the whole thing is that it requires *so* much less mental energy than writing code. I've put code on the back burner for now -- this is just as fun and has the potential to make me some money. With me moving late this year (tentatively), it's not like I don't have need for it.
Sunday, March 16, 2008
Anyway, I started work on what I consider my first app when learning a new toolkit: a program to randomly generate bingo cards from a word list. It's a helper app for some teachers that I work with, and it's a good first project because it familiarizes me with basic UI programming, file I/O, and printing. After a few hours, I've got everything working except the actual printing implementation, which should come soon enough. As soon as I have something worth downloading, I'll probably post it on my website. Not BeOS, but if the port of wxWidgets to Haiku takes off in a reasonable amount of time, it will be also for BeOS.
Saturday, March 8, 2008
Ultimate++ is quite an interesting toolkit. The driving goal behind it is increased developer productivity. The method? To quote the project's pages, "aggressive use of C++ features." It's quite an intriguing API, too, and definitely utilizes concepts foreign to the BeOS way of thinking. I'll probably post more in-depth on it later. It makes cross-platform programming easy to set up, unlike wxWidgets, but it does have its warts. For example, it lacks its own calls to show the Windows common Page Setup dialog and there isn't an included sound or movie API. Documentation is spotty -- some sections are very good, some are incomplete, and some are completely missing. Anyway, I'm working on a couple of projects. We'll see how far they get, but I'm learning.... slowly.
Sunday, March 2, 2008
To start things off with some actually useful content, I'll start with a project I've been twiddling with for the last couple of weeks that has actually increased my productivity under Linux somewhat. You might have heard of a person who made Xubuntu look like Windows Vista and then later, OS X Leopard. Well, that got me to thinking about how it could possibly help something that I'd done: work on designing the 3D-accelerated desktop experience for Haiku R2. The experimenting led somewhere, and I can't say that I didn't learn anything, either.
Xfce 4 is Really Tweakable
I've heard it mentioned that the Xfce desktop environment that Xubuntu is based on is quite configurable. I'll agree with that. I could have done most of this stuff in GNOME, but if you asked me, Xfce is like a good compromise between GNOME and KDE after going on a diet. The big thing was the panel. Originally, I thought that completely getting rid of the Deskbar was the way to go. I was wrong. Instead, what really needs to happen is expand its capabilities to enhance the desktop's needs. The panel concept common to Xfce, GNOME, and KDE fits the bill: small, useful widgets which are useful, but not visually distracting.
Believe it or not, the panel was quite carefully thought-out. First of all, it is in the bottom left corner to allow people to keep a habit from Windows: throw the mouse to the bottom left corner and click to open the main menu. It also allows the user to develop habits for other items in the panel because it only grows in one direction.
Beside the main menu is a visual separation between it and the next section... Places. One thing that this feature is missing is Tracker's filesystem menu. A proper Places item for Haiku would utilize Tracker's filesystem navigation menus or an appropriate replacement. It should be divided into two sections and the bottom section is dedicated to the Recent [Documents / Applications / Folders] menus, user bookmarks, and for a menu item to allow the user to edit the bookmarks.
The fast launcher sits beside Places. In the screenshot, there is just FireFox, but obviously, there could easily be others. The weather applet is just there for fun, and the timer is for helping me maintain good computing habits and stave off RSI issues. The CPU graph is good feedback for the user in knowing how hard the computer is working, and the clock.... well, no one likes to have to look down at their watch. ;-)
One other tweak that only the more perceptive readers would notice is the bigger icon sizes. By default, Xfce uses some tiny icon size for its menus. I think it's 16 pixels, but it might be 20. My computer is runs at a resolution of 1280 x 1024. At that resolution, it's hard to navigate the menu because of the small size. While I have experimented with as large as 32 pixels, 24 seems to be much easier for higher resolutions. Even the largest menu (Settings) doesn't take up more than about 75% of the vertical screen size. Perhaps there should be something about a possible method for computing menu item size based on screen resolution, so that people with smaller screens don't have massive menu items, but better equipped computers don't require users to have the coordination of a 3D-shooter tournament champion in order to run a program.
The main driving force behind the 3D desktop on Linux is the whole Compiz / Beryl thing. I have a hard time following the different soap opera that go on, but Fusion is the result of the reuniting of the efforts of the Beryl and Compiz teams. Their efforts are promising, but at the moment, buggy enough to not be useful on the desktop at the moment.
Some of the desktop effects, such as painting on the screen with fire, are just novelties, but some have the capacity to be really helpful. They're not overly complicated, either. Here's a list of the desktop effects that I put into place:
Desktop Wall: This adds a slide transition when switching workspaces and additionally shows the location in the workspace grid along with the direction travelled. This is really helpful for keeping context for power users.
Expo: A keypress zooms out to see a live overview of all workspaces. If a movie is playing -- you guessed it -- you could theoretically watch it from this overview. You can select a new workspace just by clicking on one or using the arrow keys and Enter. This would make a good workspace switcher for more novice users.
Show Desktop: This plugin is a direct copy of the same feature in OS X. Quite helpful, especially when you have applications minimized to the desktop.
Animations: A multi-effect plugin. Even though there are some neat ones, most of them are more distracting than helpful. A few were nice to have to provide additional feedback on the actions of a particular window -- a curved fold on close (window folds in on itself and disappears), a fade effect when a window is brought to the front of the stack, and some zooming effects for minimizing and opening windows.
Window Snapping: This is also called Edge Resistance, originally named "Snap and Go" and mentioned in my 3D Desktop RFC.
Application Switcher / Ring Switcher / Shift Switcher: These were plugins for different methods of changing between open applications. Application Switcher was the easiest for me to use, but the others could be valid alternatives.
The only feature that I couldn't properly test was Minimize in Place because the Shelf plugin is not currently stable. However, Xfce's window manager has a mode where all minimized apps show up as icons on the desktop. Almost as good.
Just for fun I changed the background, icons, main menu icon, and splash to be Haiku-themed. I only wish that I could've had all the 3D-Accelerated goodness with a BeOS-related window decorator. KDE does have a BeOS-like one, but it's ugly and no amount of tweaking that I did made it look decent... only less ugly. Xfce has a very good one, but, sadly, it can't be converted to a metacity theme and there isn't a decorator plugin for compiz that works with xfwm's themes, though I wish there were.
Was it Worth It?
I'd say yes. While Windows XP is my primary OS out of necessity and being the path of least resistance, after all that tweaking, I found that I preferred to work in Linux because of all the extra niceness. It's difficult to describe in words, but the extra effects impart a feel-good kind of quality that makes working somewhat more enjoyable -- kind of like the difference between a regular just-for-going-to-work beater of a car and the same car with a Bose sound system and leather seats: not absolutely necessary, but it makes the experience nicer. If anyone would be interested in trying this out, too, I probably could post the config files or at least the "recipe" for proper tweaking and the media files.