Wine 1.5.23 from Ubuntu ppa breaks Starcraft 2

2013-02-06 00:23:43 PST

Tags: , ,

Heads up, wine 1.5.23 from the Ubuntu ppa seems to break Starcraft 2. So I had to apt-get remove wine1.5 wine1.5-i386 wine1.5-amd64 (or use synaptic to remove it) and then from the cached deb files in /var/cache/apt/archives reinstall (dpkg -i) wine1.5 wine1.5-amd64 and wine-1.5-i386. Then all was good again. Now I have to not take that update as well.

I recommend following the instructions on version locking for those 3 packages to prevent updating wine the next time the update manager pops up. Launch synaptic, search for wine1.5, select the 3 packages and use the menu package->lock version.

Or follow the illustrated instructions here on package holding:
https://help.ubuntu.com/community/PinningHowto#Introduction%20to%20Holding%20Packages

Links for 2011-11-23

2011-11-23 09:37:38 PST

Tags: , ,

A coworker just got a new box and tried a fresh Ubuntu 11.10 install (the rest of us have stayed safely with 10.04). He found this link and after looking through it I definitely wanted to save it for later if I need it:

Things to Tweak After Installing Ubuntu 11.10

A whole list of commands to get rid of global menus, modify all kinda of Unity WM behavior and Gnome 3 behavior (like get screensavers back) and even how to install Gnome Shell on Ubuntu and tweak that. Looks like a great collection for anyone underwhelmed by Ubuntu 11.10′s default offerings.

Fedora 15 / Gnome Shell

2011-06-14 21:08:56 PST

Tags: , ,

So after a few failed attempts at installing Ubuntu 11.04 on my parents computer I thought I’d give Fedora 15 a try. It worked.

The install was pretty painless, and no weird unresponsive 10 to 20 minute pauses, so that was nice. Rebooted, logged into Gnome Shell.

It’s ok. It’s not bad. I like it better than Unity, but both of them suffer from the developer “my hands are always on the keyboard, why can’t I launch apps by search” syndrome. That’s cool for you, but sometimes if I have one hand on the mouse I just want to use the mouse to lauch apps and having to fling or click the top left of the screen, then move to the other side to click applications and the find my app in an unsorted list that over fills a screen is not optimal. At least Gnome Shell obviously offers the categories on the side to filter by. But at this point it is way way slower than the old Gnome menu was. Also, not offering an window list for me to easily toggle between apps? Either I again have to fling or click the top left and the select my window from a different display or Alt-Tab it. It’s like these new exciting GUIs are less friendly to traditional graphical interface tools like… a mouse. They are more friendly to keyboard combos.

Still, ranting aside, Gnome Shell was ok, and definatly better than Unity. And it and Fedora were more stable, why, this system has been runing for over an hour, and no random crashes. There are a few visual artifacts but I guess that’s just what I get for runing Linux on a new AMD Radeon 6500. Maybe in half a year there won’t be visual artifacts.

What really got me though was how much worse package management is on Fedora than it is on Ubuntu. It’s a colossal pain. Ubuntu / Debian have really spoiled me. Flash didn’t come with the system, so I followed online advice and downloaded the YUM and then it installed and nothing happened. But then flash was in the package manager, except it just sat there with a “Waiting in queue” message doing nothing for like 10 minuets with no way to fix. Awesome. And searching for apps? *Office also doesn’t come installed, and good luck trying to find it. I search Libre Office all kinds of ways. Among the truly large amount of not Libre Office results, the one that was closest that I usually got was “Libre Office development”… I eventually gave up and found a .doc file and tried to open it and Fedora then asked me if I wanted to install Libre Office Writer. Why yes I would. Then the installer went to work, it looked like it froze on the download, but with so little feed back it was hard to tell so I left it alone for a while and it sorted it self out. It’s just really not remotely helpful.

Finally, one of my mom’s favorite features on the computer is making a screen saver of all her family photos (they had several thousand photos and slides digitized recently) and it appears Gnome Shell has abolished the screen saver…. Really? Also, one of the other winning features of Gnome 2.0 for my Mom was I could place absurdly large icons of her few apps (Web Browser, Office, Picture folder) on her desktop. Not any longer.

All this new “usability” seems to make things more of a nuisance for me and simply remove key features my mom relied on. Critical regressions. I’m pretty sad.

Notes on Ubuntu 11.04

2011-06-06 21:07:44 PST

Tags: , ,

Family got a new computer and Mom wanted Ubuntu on it. A good sign. They’ve won her over. The battle should be done right?

  • Time spent waiting while the installer is unresponsive and gives no indication it is working or if it is dead: 30 minutes
  • First install booted up with a thin stripe of graphics about 1cm tall at the top of the screen and blank black for the rest. Completely unuseable
  • Second install, I chrooted it from the liveCD, updated all the software and installed fglrx
  • Second install booted, started using Unity (the new Ubuntu interface):
    • Only a few visual artifacts :/
    • Software discover-ability is about zero compared the the old well structured Gnome menu :(
    • Having to type the names of the apps I want or sort through a giant unstructured alphabetical list of all software installed is not the way I want to launch my programs and is slow and cumbersome
      • Also, after typing there is a noticable pause before the search list populates. Live AJAX web services like google search which are remote are/feel more responsive :(
    • New sidebar buttons are huge, greatly limiting the number of shortcuts I can pin to it
    • No smooth and wobbly windows anymore.
    • No applets
  • After about 30-45 minutes use the screen blanked. I changed to a shell (alt-f1) and rebooted. It booted up and the monitor got no signal. Repeated with same result. It completely died. (remounting from the liveCD Xorg.0.log reports some problem with the fglrx driver not loading (but it worked from the liveCD and for the first while of the fresh install?). What happened to the good old indestructible bullet proof X Ubuntu touted a few years ago? Do modern graphics cards no longer support fall back graphics modes like VESA?)
  • Mom is stuck with Windows 7 because it works

:(

Ubuntu 10.10 netbook beta: unusable on my Gateway netbook

2010-09-08 20:37:12 PST

Tags: , ,

Wow, I think my addiction to the bleeding edge is dying due to risk aversion. I don’t have time to deal with breaks anymore, work is taking priority over time to fool around with buggy betas. Part of the reason my bleeding egde addiction has lasted this long (long out living my general move away from Gentoo to Ubuntu on the desktop) is because generally Ubuntu late alphas and betas have all been surprisingly stable and usable. Until now.

I just upgraded to Ubuntu 10.10 on my netbook. Wow it’s unusable. The new default interface appears to rely on acceleration or something but that isn’t working on my Gateway netbook with an Intel n10 graphics card. So it’s unusably slow. I can’t even tell how the side bar is really supposed to work, it doesn’t really scroll properly or quickly and apps don’t really seem to launch in any kind of timely manor. On an interface designed for small vertical real estate I question preloading the sidebar with so many apps that I don’t want to use, and not supplying an obvious editing mechanism requiring me to rely on the slow and broken scrolling mechanism. Also why use such large icons, it’s just wasteful and ugly. Then they have a new desktop launcher that seems to lack some the normal free desktop menu categories, with unusually small icons. Who is picking sizes in this interface, these icons have the room to be larger, unlike the sidebar. Additionally it’s more sluggish than non native apps like Google Suggest. I type in a search and in more time the a webapp takes it finally starts popping up apps that match, then seconds later loads their icons. Searching my “menu” for my apps should not take seconds. Unacceptable.

Additionally the fallback desktop options do not include the 10.04 interface, just bad remixes of it like the normal gnome desktop with or without the 10.04 launcher running as the wallpaper. That is massively suboptimal.

Finally external monitors don’t work with my netbook under 10.10 which is a show stopper. I can’t really work without an external monitor.

I’ve loved Ubuntu netbook remix 10.04 because it makes my netbook feel fast and really usable. 10.10 is unusably slow and buggy. It’s also surprising since normally I don’t wait this long before updating and things normally work just fine. I know it’s a beta, but in the past the late alphas and betas have always been workable and acceptable to pretty much perfect. This is the first time it’s been unusable, and it’s only a month till release. I’m really worried that all of the bugs I have will not be fixed and the some of these problems are design decisions that I just disagree with.

Now I get to reinstall 10.04 so I can get back to work. My addiction to updating before release seems to have been killed dead and I’m still quite worried about upgrading to 10.10 later. The beta has left a horrible taste in my mouth.

Tomboy sync and Ubuntu One

2010-08-22 15:40:57 PST

Tags: , , ,

I love tomboy. I drop tons of my ideas into it. And plans. Lists. Anything on my brain. The problem is as soon as I have more than one computer, like now with my netbook and laptop, all my thoughts are split in half. Ever since tomboy hit the scene years ago I’ve loved it but also known it needed synchronization to be the best and truly useful to me. I’ve only had sporadic luck with the sshfs sync. It worked last year. Now it doesn’t.
Anyways, I finally couldn’t stand it any longer and decided to sign up for an Ubuntu One account that goes with the Ubuntu Web Sync plugin shipped with Tomboy on Ubuntu. I’m not normally one for web services, I like to roll my own where I can (email, jabber, blog), but here since sshfs sync wasn’t working and snowy (tomboy online) is pre alpha, I didn’t have a choice.
(Actually, in hindsight I realize I could have tried and been using sync to local folder and placed that in my DropBox, whoops)
Anyways, it was painless and now my notes are synced to the cloud and my brain is healed. So thank you Ubuntu. I’m not a huge fan of proprietary solutions but no one else has a solution at all, so you win by virtue of just shipping. (Of course this isn’t exactly a multi platform approach, I just thankfully only run Ubuntu on my laptops right now. A few years ago when I ran Gentoo on desktops/laptops this would have been a no go, and Dropbox would have probably floated to the top of my mind sooner)
Let that be a lesson to the rest of you, ideals are good, but solid options are better.

I need to get back into blogging, but like so many others, twitter has been eroding at that. We shall see.

Ubuntu and DVDs: Still pathetic in 2010

2010-01-15 11:05:27 PST

Tags: , ,

I’m a little blown away that Ubuntu 9.10 still has no DVD support and can’t even install it. Pretty amazing 0_o.

Ah well, after seconds of googling I found a slightly popup laden answer:
http://shibuvarkala.blogspot.com/2009/10/how-to-make-ubnutu-910-karmic-koala.html

Not bad. a) install Mediabuntu repos, b) install DVD support.

Still, it’s 2010 and Ubuntu has no support for DVDs. In any way. Lame.

Shoes 2 packaged for Ubuntu: My first package

2009-08-20 10:36:01 PST

Tags: , ,

So you may have noticed a few days ago a link to an article on teaching to program in a newish language called Shoes. Its a cute language on top of Ruby for whipping up fun cute little GUI apps, event oriented and good for introductions to programming. So I wanted to play with it but Ubuntu and Debian ship the old version 1 and version 2 has been out since December 2008. So I checked Ubuntu’s bugzilla and sure enough, there was a bug from April asking for a version bump with no response. So I figured it might be time to step up to the plate. So I brought up the Ubuntu Packaging Guide and gave it a read. Turns out Shoes wasn’t trivial to package but with the old version 1 Deb package as a starting point I was able to get version 2 packaged! It’s now sitting in Ubuntu’s bugzilla at https://bugs.launchpad.net/ubuntu/+source/shoes/+bug/359031 and if you just want the Shoes 2 i386 deb, its at http://launchpadlibrarian.net/30491206/shoes_0.r1134-1_i386.deb. So yeah, check it out, give it a whirl, have fun.

As a side note, I’ve found Ubuntu’s bugzilla to be sporadically responsive which sucks a bit, but does encourage one to step up some… But looking at Debian, where this package actually originated from is even worse. They have no web interface for entering bugs, they only accept them via email or a command line tool. It does seems like a epic usability fail. So here’s hoping that now that Shoes 2 has been packaged as a .deb we’ll see it in Ubuntu sooner rather than later. Maybe I should just make a new bug for it?

(I hate to say it, but I still have found the Gentoo bugzilla to be blazingly responsive and have fond memories of it. I wish other communities could learn from it, what ever it is they are doing right.)

Backup around firewalls with ssh and rsync to encrypted destinations

2009-08-14 12:09:08 PST

Tags: , , , ,

I decided I really needed to work on a server backup system, so here are my notes on the system I have now.

First things first, the files I want to backup are owned by all different users, so the only user who can run the backup process is root. Therefore I can’t just run rsync from my local machine and grab the files from the server, the backup process has to be run on the server and backup to the backup machine. Now in my case this was a bit of a trick because the backup machine was behind a firewall, so the server had no direct line of communication to it. So I wrote a script to turn on a reverse ssh port forward.

recv-serv-backup.sh

#!/bin/sh
 
ssh -R 8000:127.0.0.1:22 -N user@kvasir.mindstab.net

When run on the backup machine behind a firewall, it connects to the server (kvasir) and listens on port 8000. When ssh on kvasir connects to port 8000 it redirects that traffic to local port 22, the ssh port of the backup machine. This is how the firewall is gotten around. Reverse port mapping is a cool trick to master.

Next as root on kvasir I generated a public ssh key and put it on the backup machine so root could automatically log on repeatedly to the back up machine (think lots of rsync calls) once the key was loaded once. Then I hooked up the key to keychain. That is all better outlined at:
Gentoo Linux Documentation: OpenSSH key management, Part 1 and
Gentoo Linux Documentation: OpenSSH key management, Part 2.

The all I needed to do was poke the rsync syntax to use the nonstandard ssh port for backup. The best method I found was

rsync -e "ssh -p 8000" -av 

rsync for those of you who don’t know is a great little backup tools. It’s like a smart (in that it only copies files that have been modified since the last backup) network aware (since it can use ssh) copy tool. Simple but really useful.

So with that I wrote a backup script on the server

server-backup.sh

#!/bin/sh
 
backup () {
        echo "$1..."
        DST=`echo "$1" | awk '{split($0,a,"/");  result = "/"; for (i=2 ; i < length(a)  ; i++)   result = result "/" a[i];  print result;  };'`
        rsync -e "ssh -p 8000" -acv $1 dan@127.0.0.1:~/kvasir$DST ;
 
}
 
backup "/svn"
backup "/git"
...

There is one caveat, rsync won’t create subdirectories on the other side specified in the path so you need to create the basic directory structure.

 rsync -e "ssh -p 8000" -av /git user@127.0.0.1:~/kvasir/git 

is fine because it will create /git just fine, but

 rsync -e "ssh -p 8000" -av /home/user user@127.0.0.1:~/kvasir/home/user 

will fail if ~/kvasir/home doesn't exist. So you'll need to create the basic directory structure or enhance the backup function to strip out extra directories in the target path.

Finally, I didn't want anyone and everyone to potentially be able to gain access to private data on the backup machine, so the target directory needed to be encrypted. There are a lot of options, but I opted for the easy encFS route and just installed "cryptkeeper" and had it setup the directory.

Now all I have to do is mount the encrypted backup directory, run the script to turn on the reverse ssh tunnel, and run the backup script, and I have an encrypted backup solution for my server that gets around firewalls.

Not bad.

References

    Is Gentoo dying or just becoming old?

    2009-02-25 12:58:21 PST

    Tags: , , ,

    So I haven’t really touched my Gentoo desktop in over a year since I bought my new laptop, it’s biggest use now is that it’s plugged into my 5.1 speakers so I run MPD on it and remote control it for music use. However, I just got a gorgeous new 22″ LCD screen for it so I plan on using more now, at least for movie viewing. So I decided it was really time to upgrade the software on it, so I did an emerge –sync, changed to the newest 2008.0 profile and started looking at what shiney new software I’d get.

    Well, Gnome 2.24 is still unstable. A bit disappointing, but there was a gentoo wiki page detailing all the packages I needed to put in /etc/portage/packages.keyword to get Gnome 2.24. So then I was looking at Xorg. xorg-server 1.3 is still the only stable release under Gentoo. It’s like 2 years old now! Really? That is the best Gentoo can do? So then I started looking at other stuff. GCC 4.1 is still the latest stable release (4.3.* has been out for a year and 4.1′s latest release is 2 years old). At which point I realized that if I wanted a current modern Linux system I either would HAVE to run a unstable Gentoo system, or change distros.

    Looking at the fact that if I wanted to stay with Gentoo, I’d have a day or two of compiling a head of me, and then who knows what integration head aches as programs and config files change just to get a vaguely working vanilla Gnome system on an “unstable” Gentoo system, I balked. It just didn’t seem worth it. Also, Gentoo is a system that really depends on the compiler, so having the only stable compiler be a two year old version really surprised me and kind of was the nail in the coffin.

    So I’m downloading Ubuntu 8.10 and I’ll have it installed probably before even ‘emerge –system’ would be done. And it will be modern, and cutting edge, and all the desktop software will work and be integrated together in all the ways that Gentoo never really does with out lots of extra work.

    And so I’m forced to ask: is Gentoo dying? It used to be easy to at least have a cutting edge system with Gentoo. That was one of it’s big appeals, that software hit portage before anywhere else. But now, lots of “new” stuff is off in an overlay, and stable in the main portage tree is shockingly (at least to me) old and conservative. It seems way to much hassle to get a cutting edge desktop out of Gentoo now, especially with Ubuntu doing a decent job of it so trivially.

    I still have Gentoo on my server, but again, I just had to install a new overlay, just to get the “new” Ruby 1.9 line which has been out for a year, and everyone, even Debian stable is carrying (do you know how weird that is to me?). And what is the point of having a “stable” if it’s so old as to be half unusable and older than even Debian stable? This is not the Gentoo I remember, and I’m even a little surprised with how easy I decided to abandon it on my desktop, but when it came down to it, it really didn’t offer me much of a compelling or even difficult choice. :(

    Valid XHTML 1.0!
    Valid CSS!
    Mindstab.net is proudly powered by WordPress
    Entries (RSS) and Comments (RSS).
    20 queries. 0.650 seconds.