Wednesday, October 10, 2012

ubuntu vs xubuntu

in this post i am basically going to explain why i am unhappy with the direction of ubuntu, and why xubuntu - and the xfce way - appeals to me so much more.

ubuntu, unity, and xubuntu

for the past few releases (basically since maverick), the company behind ubuntu has tried to redefine how we interact with our desktop through the development of unity. i've been very supportive of these efforts overall. making design decisions is tough and treacherous, and if anyone has a vision to improve the desktop linux experience, then i applaud their efforts. now i want to evaluate these efforts. does unity improve the desktop experience?

meh. definitely a mixed bag.

the main problem is that everything feels half baked right now, and the improvements in the next version of ubuntu (quantal) don't really fix most of the issues i have. when analyzed from a user experience point of view, the changes canonical has brought to ubuntu can be largely divided into the following categories (i'm not trying to cover everything, just the most bits that we are likely to interact with the most):
  • notifications
  • the top panel (which, in ubuntu, includes the global menu and the status menus)
  • the launcher (including right click menus)
  • the dash and hud
 the problem is that each of these components, both individually and taken together, include a number of design decisions that do not make sense to me (nor do they work well with my work flow). i will consider each in turn and then compare it with xubuntu's xfce analogues.

notifications in ubuntu and xubuntu

the way notifications are implemented in xubuntu make a lot more sense then how they are implemented in ubuntu. in the quantal version of xubuntu (i don't know about previous versions), system notifications are sensibly placed in the upper right hand corner of the screen, close to the status menus, and they include a little 'x' to close them if they are in your way. on ubuntu, they are placed about an inch lower for no apparent reason, and there is no way to close them until they finally fade out (which can be very annoying at times).

xubuntu definitely wins this one.

the top panel


in ubuntu the top panel includes both the global menu on the left and the status menus on the right.

global menu

first, i have to admit, on my fairly small screen, i really like the global menu. but i also fully acknowledge that on big screens it makes considerably less sense, and it takes more time (and often more clicks) to do things than when the menus are attached to each individual window (for example, i don't have to switch windows and then click on the menu item in the global menu, i can just click the menu item directly). also, there are some inconsistencies in ubuntu's implementation, as has been pointed out in the ars technica review of precise:
The global menubar, which is one of the defining characteristics of the Unity environment, still poses a number of problems. The global menu model simply isn’t compatible with the window-specific menu system used in Linux applications. The effort to bolt these conflicting paradigms together could be executed better.
Despite displaying the menu contents outside of the window, the menus are still window-specific. By design, the global menu bar displays the menu of the focused window. This proves awkward in some applications with dialogs and multiple windows.
specific problems are then enumerated in the article (go and check it out). in other words, the implementation of global menus has introduced odd user experience inconsistencies into the picture, one's which are going to be really hard to fix (and, imho, probably won't be).

so... i really like that the global menus reduce chrome clutter, but they do so at a price. this breaks even for me.

status menus

overall i like the design of the status menus, though they still feel inconsistent/unhelpful in a number of ways. the sound menu i haven't been able to get much use of, it is easier to just use rhythmbox or clementine directly, and when multiple music players are installed, it becomes cluttered fast. the email/messaging menu doesn't play well with pidgin (empathy isn't good enough for my needs), i dislike that i can't close thunderbird to the menu so i don't have to have it open as a window, and lots of applications that would generally install something in this panel are blocked from doing so. at least xubuntu doesn't block these applications, and it plays well with pidgin. also, the weather indicator in ubuntu dies pretty much every single day, whereas i've had a lot less trouble with the weather indicator in xubuntu. and, finally, the calender indicator in both is pretty useless in both - i sure it would tell me about upcoming appointments and birthdays.

the launcher

the launcher in ubuntu pretty much drives me crazy. i liked how, in oneric, it would hide when i pushed a window up against it or made a window fullscreen. this default behavior was eliminated in precise - now i must keep it always open or have it automatically hide - and neither option i like. i could work around this, i think, if i were allowed to move it either to the bottom of the screen or the other side. but nope, this is not allowed (thanks designers for knowing what works better for me than i do :/). and it is buggy. like really buggy. open applications don't show up when they are open (especially libreoffice), right clicking on the menus have caused my system to freeze, and sometimes there is a little arrow next to applications that are not open for some reason. plus, i can't press the icon to minimize an application. in xubuntu, the launcher at the bottom just does what it is supposed to do - launch applications. it doesn't try to bake in a whole bunch of functionality that doesn't work all that well (yeah, i'm talking to you, unity). it hides the way i want and i can move it around if i so choose. also in xubuntu, i keep track of the open windows in the top panel. when i click on an application indicator there, it minimizes it or brings it back into view. it is simple, straightforward, and works well. much better than unity's launcher.

the dash and hud

the dash was one of the things i really liked about ubuntu until they polluted it with the integrated shopping lens.now i won't go near it. in fact, it is the main reason that i have given up on unity - canonical, DO NOT send my queries to your servers without my express permission. the end. the dash is trying to be the place to search for everything. no thanks. there is a huge divide between searching for my own files and going online, and i do not want the two to mix.

finally, the hud.

this is probably my favorite improvement that unity has contributed to the user experience, and i have no complaints about it other than wishing it were modular enough to be ported to xubuntu. and if it is not modular enough, then this only shows that canonical is not really helping the open source community, only producing applications that it uses for its own distribution. and this pretty much seems akin to vendor lock-in to me.

Tuesday, October 09, 2012

why ubuntu has soured on me, and my move to xubuntu

a couple of weeks back, there was a huge community backlash to the news that the newest version of ubuntu (quantal 12.10) would send ALL queries made in the dash, via the shopping lens, to canonical as a way to help build revenue. that's right, EVERYTHING you type into the dash (when you search for programs or files or anything) will be sent to canonical for the purpose of advertising directly on your desktop. i protested as loud as anyone. canonical's response (besides defending their position) has been to include a program that can disable all internet activity from the dash. unfortunately, i find this solution unsatisfactory for the following reasons:
  • it is opt-out vs. opt in
this angers me. it works to build revenue by relying on people's ignorance of what canonical is doing with their queries. not everyone pays as much attention to the development of ubuntu as i do, and most will be ignorant of what canonical is up to. this is shitty. and unethical.
  • it is not separated into its own lens, but is integrated into the dash home
if i am looking to buy something (or even looking for music, videos, or programs) then I can understand offering search results from third-parties in separate lenses, but NOT when i am merely searching my own computer for programs, files, or whatever.
  • it is a security breach and a violation of privacy.
sorry, i can't see it any other way no matter how canonical apologists try to reassure everyone that our queries are anonymous and that our privacy is being respected. i do not trust you canonical, and if you truly respected your users, then we wouldn't have to (and your money-making scheme here has only shown how untrustworthy you are).

...so, all of this is to say that i'm done with ubuntu, and i will actively discourage its use (which is sad, since i have been a huge supporter of ubuntu for many years). there are many options for linux desktop users, and i'm glad that this fiasco has given me an opportunity to explore other options. one option i'm particularly happy about is xubuntu, an xfce based, community run distro built on top of the ubuntu software infrastructure. in my next post, i'll explain the reasons for this.

    Saturday, August 25, 2012

    the easiest way to get aircack-ng and reaver working on ubuntu 12.04

    neither aircack-ng nor reaver is in the repos in ubuntu 12.04. aircrack was dropped in the precise cycle because it was dropped by debian temporarily in order to sort out some licensing and maintenance issues, and reaver is fairly new and just didn't make it in time. fortunately both packages are in 12.10. by far the easiest way to get these packages to work in 12.04 is to download the quantal versions and install them in precise. i've done so, and i haven't run into any problems. :) the packages can be found here:

    http://packages.ubuntu.com/quantal/aircrack-ng

    http://packages.ubuntu.com/quantal/reaver

    once installed, run:

    ifconfig

    to figure out your wifi interface. then put it in monitor mode:

    sudo airmon start wlan1

    next, run 'airodump' to figure out the BSSID of the network you are aiming to penetrate:

    sudo airodump mon0

    when you have found it, cntr-c to exit. then run 'wash' on it to see if reaver is possibly going to be successful.

    sudo wash -i mon0

    if so, then let reaver do its magic :)

    sudo reaver -i mon0 -b BSSID -v


    Thursday, August 23, 2012

    making a high quality djvu file/ebook from somewhat crappy pdf scans

    i am assuming you either you have a hard copy of an article/book/etc., or else a pdf file of a scanned in document that you wish you clean up and make into a high quality djvu file. also, i am a linux user, i have no idea (and couldn't care less) how to do it on windows/mac. here is how i do it.

    tools

    gscan2pdf (my fav scanning program presently)
    scan tailor (brilliant piece of software)

    steps

    if you have a hardcopy, i recommend using gscan2pdf (the name is deceiving, it also outputs djvu). it may, in fact, do almost everything you need to get your documents cleaned up. play with it; it is a powerful tool.

     if you have a pdf file, the first thing you need to do is to convert it to a multipage tiff file. the highest quality way to convert it that I have found is by using the following ghostscript command:

    gs -SDEVICE=tiffg3 -r600x600 -sPAPERSIZE=a4 -sOutputFile="output.tif" -dNOPAUSE -dBATCH -- "input.pdf"

    this seems to output a much higher quality tiff file than the easy to use "convert" command:

    convert input.pdf output.tif

    now create a work folder that you put the tiff file you created into, open up scan tailor and open up this work folder. scan tailor is an amazingly powerful application. it will split pages, straighten things out, center the content, de-speckle, and more. again, play around. by the time you are done, you will be able to output a very nice, clean djvu file.

    recommendations for using scan tailor

    even for books, i recommend looking at each page briefly to make sure that the content is properly selected (often it selects more than is needed on marked up pages).

    after the content is selected, i center the content on each page, so the margins are the same.

    i output in 600dpi.

    next

    scan tailor creates an "out" folder in the work folder you created. there are a number of ways you could convert the output files (one for each page) into a single djvu file. this is not my preferred way, but here is a command line way of doing this:

    for i in *tif; do cjb2 $i ${i%tif}djvu; echo $i; done

    instead, i prefer to re-open gscan2pdf, and select all of the tiff file you just generated in the "out" folder. this way, i can see the output files in a scrollable way and notice any corrections i need to make back in scan tailor before producing my final product.

    when things are ready, select the djvu output option, and you should have a really nice djvu file.

    post-processing

    it is often nice to have both a djvu file and a pdf file. to make this conversion, in my experience the best method is the following command:

    ddjvu -format=pdf input.djvu output.pdf

    finally, when i print a document, i often want to save paper by creating a "2x1" document, where each page i print has two documents printed side-by-side in landscape orientation. unfortunately, i only know how to do this with pdf files.(p.s., i wish i knew how to output such a document directly into another djvu document. i do not. if anyone has any tips, please leave a comment!). you need "pdfjam" installed, and then run the following command:

    pdfjam --nup 2x1 --landscape input.pdf

    this will output a file of the same name with "-pdfjam" appended to it.

    other resources

    here are some very helpful resources i used to figure things out:

    http://www.danielstender.com/granthinam/564/
    http://askubuntu.com/questions/46233/converting-djvu-to-pdf

    Tuesday, August 21, 2012

    t-moble short prompt vs. standard prompt?

    anyone know the difference between the two? does it cut out all the rubbish before someone can actually leave a message?

    Sunday, February 14, 2010

    Thinking ahead to the next LTS ubuntu release (after Lucid)

    This post is purely speculative, but I like to speculate. I'm thinking ahead to the next LTS release. If the past reflects the future, then the next one should be 12.04. Of coures Lucid isn't out yet, so its hard to judge exactly how it will turn out. But besides some social networking stuff, the usual application updates, and hopefully more stability and hardware support, its not going to be a very exciting release. I'll probably use it though for a year or two while some really big changes come to the Ubuntu distro. It is my thinking about this that leads me speculate about the next LTS.

    One of the biggest changes will beGnome 3.0, which, from the screenshots I've seen, seems to incorporate a number of fairly radical usability changes. It will be interesting to see exactly the shape it will take - esp the shell part.

    Which applications will likely gain more prominence in the distro? I'm sure Banshee will finally become the default music player, and maybe the default video player if the Banshee folks devise a nifty way for it have a standalone video player (and I've never really liked Totem player anyway - I've always been a VLC guy). Openoffice might get around to overhauling their UI according to all the feedback on their Project Renaissance prototypes (even though the first prototype as uuuugly) - and maybe it be ready in by 1012. Hopefully Empathy will be feature complete - offering things like the ability to change the font stuff in rich ways, but more importantly, I hope it will be able to compete with Skpe on the Linux platform.

    There are lots of little applications I'm excited about that aren't quite ready yet (though they are developing rapidly). For example, I want a damn good task manager (and the one in Evolution sucks hard), and it looks like GTG might step in and fill the gap. Presently I use Tasque, but the development of it looks to have stopped, so I have little hope for it. I'm looking forward to the single window version of GIMP, because seriously its presently a pain in the but to use. Video editors are starting to take off on Linux, and I'm keeping my eye on Pitivi and Openshot (though I also really like Kdenlive) - I'm hoping they will become a lot more feature rich in the next couple of iterations.

    By god, I hope most of the issues will PulseAudio will finally be worked out. Many, many of them have since Hardy (thank goodness), but there still seem to be a lot more. Will Evolution finally get an overhaul? Probably not, but here's to hoping. I also wonder whether or not Netflix will finally be playable on Linux. I really hope so, but I have a hard time seeing Microsoft handing over the info on their DRM stack. Fuckers. And speaking about fuckers - fuck you Poulsbo guys. Get your shit together and put out a decent Linux driver for the hardware.

    Let's see, what else? Maybe Songbird will figure out how it get in the Ubuntu repos (and hopefully by then the Linux client will have feature parity with their Windows client), along with Handbrake. Maybe Nautilus will finally give more information when copying over files (this one just makes me mad - its been years of annoyance and nothing from the developers besides petty disputes).

    Oh, and lets not forget another biggie: Btrfs. I'm pretty sure this will be the default file system for the next LTS release, and I'm looking forward to it.

    I'm hopeful with the release of Lucid, Linux will start to get a big up-tick in use by people who haven't really considered using anything besides Windows or OS X before. Although Linux systems still lack many of the very robust applications that Windows and Macs have, for daily use it pretty much has everything you need. The only thing that needs to change is the perception, momentum, and fear of change that a lot of users have about switching to Linux. I'm pretty excited about the release of Lucid, but I'm really excited about all of the big changes that are likely to happen over the next two years leading up to the next LTS.