Archive for the ‘unix/windows’ Category

The external monitor

Wednesday, August 11th, 2010

Ubuntu logoSince 2 days (guess why) I’m the proud owner of a very shiny external monitor. Took a bit of effort to set up under Ubuntu (tip: don’t set the display to “not cloned”, and then try to run the external monitor at a different, high resolution than the local one — just keep cloning or shut off the local one and things’ll be fine :).

Anyway, I was running non-cloned, and it was nice, shiny and awesome-y resolution-y! But: if I closed the laptop, bam. Screen gone. It’s a power management thing. So we go to preferences > power management. Well guess what we can choose: shutdown, hibernate, sleep or blank screen. That’s right, no option to do nothing.

Luckily, there’s a hidden config option (see above link for explanation):
gconftool-2 --type string --set /apps/gnome-power-manager/buttons/lid_ac "nothing".

Yet another problem solved :)

Calendar woes

Tuesday, June 15th, 2010

Ubuntu logoFunny thing, have been fighting with calendars recently at two fronts: google calendar and ubuntu. For Ubuntu, I’d like the week to start on Monday. Weeks start on Monday, you know? They just do. It is not called “weekend” for nothing…
Anyway, see here on instructions how to fix. Short short version: change your locale files (/usr/share/i18n/locale/$LOCALE) to say first_weekday 2, rebuild the locales (sudo locale-gen) and restart gnome-panel (killall gnome-panel).

The google thing was slightly different. We have a calendar for seminars at work. We do not have seminars in the weekend, but we do have them on Monday. Mornings. So in the weekend, it’d be nice if our embedded Google Calendar would show the next week’s calendar. Gives you a head start. Well, so far it seems the easiest way to do that is to tell Google it’s next week :s.

Will think about this one more too.

Ubuntu 9.10, here I am!

Sunday, May 9th, 2010

Ubuntu splash screenIt’s Sunday, I am terribly lazy and not in the mood to do anything. So, naturally, I booted into windows, installed the necessary BIOS update from Samsung, rebooted, crossed my fingers and hit the update button.

Huawei E1750Reason for being a bit worried and holding off? Well, early reports on 9.10 sounded as if there were some chinks to be worked out. Plus, I am not exactly running a standard PC… I love my little cutsey netbook, but move outside the pre-installed established OS at your own risk. Main worry for me was my USB modem. It took some tweaking to get it running. No clue if that would hold up under the shiny new Ubuntu… and I don’t exactly have a spare net connection to fix things if it breaks down.

As you can guess from this post, that part worked out… more or less. It seemed to work out of the box, but then it recognised the USB modem as a USB stick, and while the network manager managed to connect, I couldn’t get on the Net. Unplugging and replugging solved that. Kind of curious if I have to do that every time now :)

Other than that: first impressions are good! The menu bars’ autohide feature is improved, providing me with more screen real estate (important on small screens). I still need to check some things:

  • Does the printer still work?
  • Does the automatic resolution adaption for beamer/tv still work?
  • Do the Fn-keys work (quick test: seems as good as before)

But overall, first impressions are positive.

Ubuntu happiness!

Wednesday, December 23rd, 2009

Ubuntu logoUbuntu made me happy the other day. We’re talking the previous one here, 9.04. I didn’t dare upgrade yet :) What happened? I’ve been trying to get internet at my place, and ordered an ADSL line. For the time being, they graciously offered me a 3G-usb stick to get connected. Well, somehow Tango Luxembourg is having heaps and bounds of problems “flipping the switch” (the previous owner used Tango, and he thought it would be a matter of “only flipping a switch”. Well, perhaps, but they keep running into problems), so I told them to stuff it. I’ll just keep on using my 3G thingy. Works well, for now. Plus, it saves a bit on having to pay for a phone line :)

Anyway, the Huawei USB E1750 modem (can’t find an official product page :) is made to plug-and-play under Windows, and, admittedly, there it works well. I dreaded Unix, and had been avoiding it for the last weeks. That position was fast becoming untenable, especially if I avoided ADSL altogether. So, time to get it working under Ubuntu!

Was that hard? Well, google a bit and you’ll find solutions. The thing is: if you plug in the USB modem, it gets treated like a USB stick. The “mode” with which your pc accesses the Huawei needs to be switched to “modem”. There are some solutions out there, simplest way seemed to use this shell script. So I did. Then, Ubuntu found my USB modem, went into a wizard to set it up. The wizard asked “where are you?” (Luxembourg) and “which provider in Luxembourg” (Tango). That was it.

BAM BABY!! Modem working! Enter one pincode, and I am online in Ubuntu!!

I had prepared all this info: phone number, data packet size, whatever. Not necessary, Ubuntu is as pluggy and play-ey as Windows (okay okay, download one script and then it is). Awesome! Hats off, well done!

So that part is working out, next up: getting my new printer to work. Hope it’ll be equally easy :)

Update: The printer was plug-and-almost-play under Ubuntu.  It’s a Samsung ML-2240 laser printer, and Ubuntu can’t handle it. Upon plugging it in, it (eventually) proposes to install a printer, make: samsung (ok), then model: ML-2250. There are several drivers for the ML2250, the recommended one does not work. I didn’t try all, but the Foomatic/gdi one does work (found that by googling). Prints high on the page, which is annoying, but plug-and-play ease is preserved. (That’s important, because I’ll be reinstalling my laptop soonish, I think).

Eeeuh… buntu! (part deux)

Tuesday, May 26th, 2009

Just as a heads up, I’ve reinstalled the Eee and am now running Ubuntu 9.04 with Adamm’s kernel. Several things have changed slightly (not necessarily improved over Ubuntu 8.04 with Adamm’s kernel, but changed). I have updated the old post to reflect the new state. (Yes, I use that post to reconfigure the Eee — it’s just quicker that way :)

Main annoying quirk now is that the window manager is just slooooow. There is a bug on that somewhere for the Ubuntu Netbook Remix — which I am not running. I decided to go with vanilla Ubuntu for the time being. It happy me makes so far a bittish.

PS: In case word hasn’t reached you yet: 25th of August! 16:00, Auditorium 5. If you need to ask, you’re out of the loop ;-P

Eeeeeuhh…buntu!!!!

Friday, August 22nd, 2008

Spent a bit more time with Ubuntu 8.04 on the Eee [UPDATE: running that for ages. Updated this post now that I have re-installed the thing with Ubuntu 9.04]. The thing seems fully functioning now, hooray! So how do you get there?

  1. In the BIOS, set the hard-disk order to prioritise the USB drive (not under “boot”, but under disk order (iirc)
  2. boot from a ubuntu Live USB, install to the big harddisk (this’ll leave you Xandros on the small disk)
  3. Restart, install the eeepc kernel from http://www.array.org/ubuntu/index.html
  4. Tweak, twist turn and floptimise: follow the instructions at www.array.org or http://wiki.eeeuser.com/getting_ubuntu_8.04_to_work_perfectly?s=hardy
  5. Just in case your microphone is not working, check http://forum.eeeuser.com/viewtopic.php?id=33794
  6. Comment out the cdrom entry in /etc/fstab — it gets in the way of automounting USB disks in Ubuntu
  7. Get all of your packages in full on there:
    • Shell: zsh
    • Editor: vim (instead of vim-tiny)
    • Text-writing / work: LaTeX (texlive package)
    • Conversion tools: psutils (psnup/psselect/…)
    • Version control / work: Subversion
    • Online movie playback: totem, totem-mozilla, totem-xine (ignore totem-gstreamer, it plays WMV’s frame by frame) [update: not needed any more? works out of the box in 9.04]
    • Music: XMMS (the old package!)
    • offline movie playback: mplayer
    • VoIP: Skype.
  8. Software config tweaks:
    • Put a launcher on the desktop for gnome-terminal with zoom=.7
    • Change all font settings (right-click on desktop, properties-> fonts) from 10 to 8 points
    • Add ServerAliveInterval 240 to $HOME/.ssh/config (to prevent idling out)
    • Fix zsh keybindings:
      • bindkey “\e[A” up-line-or-history
      • bindkey “\e[B” down-line-or-history
      • bindkey “^A” beginning-of-line
      • bindkey “^E” end-of-line
      • bindkey “^?” backward-delete-char
    • fix Firefox backspace button behaviour:
      • surf to about:config
      • change “browser.backspace_action” to 0
    • Skype: fix the sound settings (the defaults are broken since 8.10 apparently) [update: this is still crappy in 9.04, but in a different way. Hope Skype will come out soon with a new version with better sound support]:
      • Incoming Sound: HDA Intel (hw:intel,0)
      • Outgoing Sound: pulse
      • Calling: pulse

Quirks noticed so far:

  • The “mute sound” key sometimes does not mute sound, but it will show the muting/unmuting picture
    [Edit: posted a help-request here]
    [edit2: found out that if you change the sound device to the realtek, the mute will work — until you press another key. Apparently, after that, the sound device setting is forgotten. No workaround yet.]
    [Update: this works in Ubuntu 9.04 out of the box (with Adamm’s kernel)]
  • Received video in skype sometimes stalls a bit (that happens on other systems too) and then suddenly defaults to a tiny window. Doubling the size of this doesn’t matter. Have noticed once that after another stall, the effect disappeared again. Could be related to the feeding webcam “hickuping” the feed, wouldn’t know why though.
  • BIOS update warnings:
    Some of the default settings in the BIOS might get in the way. Example: boot order (not in the BIOS “boot order” menu by the way), webcam (turned off by default. :S).
    Solution: upon upgrading BIOS, check for quirks!
  • Fn-keys: the Fn-F5 also doesn’t work out of the box (it duplicates the effect of the mute key actually, while it ought to be switching displays).
    [Edit: workaround: use xrandr –auto]
  • Non-Eeeebuntu, but still weird:
    The time in Xandros (original OS) is off by 2 hours. Setting time so far did not get me a permanent solution. Changing time in the BIOS did not help (although that used to be off by 2hrs too).
    [Edit: probably caused by the interaction between 2 os’es and the BIOS on my machine. Every time I set time on the one os, it is off on the other os.]

Bread & Games

Sunday, July 27th, 2008

As I am keeping an eye on Maren’s bread baking machine while she is in Canada, I am sometimes experimenting with it. First trial was hilarious: I figured I’d like some fresh bread in the morning, and as I had to be at a conference in my home, the bread need not be finished until 20 minutes before the first talk. That did not begin too early, so fresh bread seemed a good idea — hence I set the machine to have bread finished at roughly 8am.

Miscalculation. Fresh bread is nice, but the machine takes about 3.5 hours to prepare it… and it is noisy. So now it was time for attempt 2. And the second problem I’ve discovered too: 3.5 hours is long. It’s close to 11 now, and I will not have my fresh bread for another hour… :(

Well, that underlines that really, the only possibility is to move the machine when it is operating. Which sucks, as I don’t have an easily accessible non-public location… (well, could put it in my office, but that would be pushing it, and would mean breakfast at work… hey… that might actually be an idea… ;-)

What I did want to confer, is that I also ran a bit to kill the time (and to exercise a bit, of course). Killing time is actually a powerful motivator. I felt like returning home quite often, but a glance at my watch told me roughly how long I would then have to waste time before fresh bread (which gives rise to the nice acronym and measure of time TTWBFB), and hence I ran on. In the end, I crossed the one hour limit, which was the rough idea I had in mind. I need to do this more often, but for today, I have other plans. To shed some light:

  • work a bit
    Am working on the One Paper To Rule Them All, and still need to put in lots of stuff…
    Not to forget, I also should bring Mel up-to-date on WOTE 2008, and somehow secure some of the knowledge I gained while attending WOTE and PETS 2008.
  • get my laptop/ubuntu combo to act as a damn internet bridge :(
    I mentioned this before. Since Maren is in .ca now, the need for this has expanded from just the pleasure of getting my Wii and DS connected to getting the Eee (which comes with a webcam) connected easily. Yesterday I tried the guides to getting my WifiMax running under Ubuntu. I can’t get it to work for now, because of the following:

    • The chipset in it is the Zydas ZD1211B (or so the internet rumours have it)
    • Neither the vendor’s open-sourced driver nor the community-driver based on that one compile on my system. Support for either is low, so also little hope of finding help getting this fixed.
    • The current community driver, the zd1211rw driver, does not support Master Mode. I had no clue what that was either, but that is exactly what you need — it’s the Access Point mode. (To my surprise, no article on “Master Mode” exists on Wikipedia — actually, even having some suspicions as to what it is, it is not trivial to find substantiation for this on Wikipedia.)

    So, for now, this seems like a dead end. [Edit: or does it?? Patch existing, developer has provided some updates too, compilation woes might be addressable??? [Edit2: oops, I might have been trying the version not suited to my kernel…]] Perhaps the zd1211rw driver will eventually support this feature, but I couldn’t find a timeline, or plans, or any indication for doing so. Actually, the development seems more oriented towards supporting “Mesh Mode”, whatever that may be :)
    So the next step is to do the obvious (isn’t it always?): I have a laptop with a wired connection to the internet, and a wireless port. So now to find out how to let that act as an access point. Funny thing is, there are some different suggestions out there, some suggesting bridge-controls, and others not. More investigation needed here.
    (though it is good to have a log of my attempts so far — even if no one else reads this, I can find this back and re-realise what is a good idea and what is not. Hence the lengthy explanation / side track in this post.)

  • Welcome Marcella and Tim to Luxembourg!
    Let me quickly check…. I think it will be the Lasagna ice cream today at Veneziano’s :) :)

Lengthier post than anticipated… if this is the general result of me trying a hand at having fresh bread, I might do this more often ;) But now it is off to the shower for me, and then only another … 25 minutes till breakfast / brunch!!

Ubuntu and lame

Sunday, June 29th, 2008

Yep, this is getting lame… it seems half this blog is becoming a collection of quick links and tips on surviving Ubuntu. Well anyway: the lame I found in the package manager did not work. Downloading & compiling the source myself worked without a hitch (it does need some build-tools, but apparently I had them floating around — probably after the xmms install…).

And, speaking of handy links and also to add some news for you, my trustworthy readers: This link may actually help me getting my USBAP Dongle working under Unix (still need to follow that up, unfortunately my dongle is from Bigben, and not from Datel; fortunately, the whole world seems to be using roughly the same chipset, so it might work in the end(tm)). Ow, and I am the proud owner of eee PC:P It rocks :)

Update: found some images of the driver disc on the web that have the “Datel” logo there… so this might be a quite viable option :) :)

Ubuntu 8.04 and xmms

Friday, June 13th, 2008

Xmms don’t no longer no packagy downloady instally in Ubunty.

Err, I mean: Ubuntu 8.04 does not have a package for xmms. As everyone knows, xmms is the single most perfect music player on the face of this planet or any other non-gasgiant planet, and happens to do your laundry at the same time as clean your appartment. So obviously, we need it. All of us. And now, we have some guidelines! (Yes, I could probably have figured that out myself, but I am a lazy bastard). Will get back to you to see if this works :)

Update:  Not only does it work, I also learned in due course that the Ubuntu equivalent of Windows-key+R (run) is Alt+F2. Might try to find out more aboutsimilar keyboard shortcuts now :)

Ubuntu++

Monday, June 2nd, 2008

I’ve been running the newest Ubuntu for a couple of days now. Major +: screen resolution is ok immediately (without shooting down X). Biggest -: fonts in FF3b5 have changed in slight but annoying ways; XMMS is no longer available under Ubuntu++ :( :( :( (need to find the package for Ubuntu 7 somewhere).