Hello world,
today I arrived in the USA for the first time.
* Drove a car in the USA
* Ate a burger at Wendys
* Bought beef jerky
* Tired…
|
Hello world, today I arrived in the USA for the first time. Some time ago I bought a notebook with a radeon GPU (codename ‘Evergreen’) because ATI/AMD seemed to be cool with GNU/Linux and opensource (yeah, mock me…), releasing docs and such and I wanted to support that. So I installed debian on the machine aaaand it wouldn’t work as expected. The HDMI port wasn’t working, no 3D acceleration and the backlight of the notebooks LCD wouldn’t turn off. Nah, just kidding. I added the debian experimental repos and pulled some xorg stuff from there, got myself xf86-radeon-ati and a kernel from their respective git repos and kept living on the edge. Tada: HDMI works, randr works great, backlight turns off if LVDS is disabled, glxgears works This went relatively well until recently mplayer stopped showing me pictures. That was unacceptable. Apparently there are some firmware files required for which are not in the linux kernel tree but can be found here: In my case the kernel was looking for CEDAR_pfp.bin. Just a heads up. Next time I’ll be buying something that _already_ works… So the ink-jet printer which had printed the little paper I still needed around here kinda gave up on this world some time ago and thus I went shopping for a new printer. I have to investigate first… After a long period of thinking and searching and comparing and deciding and re-deciding and more searching I finally bought something. It is a used HP LaserJet 2300dtn. I got it off of ebay for about 70 Euros with a 15% full toner which seems to be a pretty good deal. What else could one ask for? Apart from adding my user to the lpadmin group the setup was as simple as plugging everything in, going to localhost:631 and selecting the auto-detected network printer. If I’d be using a standard Ubuntu Desktop or somesuch it would’ve probably been even simpler. I like it. P.S. The default password here seems to be ‘master’ in case anyone is looking for that. I have become a fan of tiling window managers and currently use dwm with the pertag patch on most of my machines. For historical reasons I use one instance of gnome/metacity still, which, from time to time, enrages me with a well-played game of ‘terminal peek-a-boo‘ where the window manager hides the one terminal I so desperately need right now somewhere deep in the bowels of a twelve windowed virtual desktop. Today I found my antidote: pytyle. It turns any EWMH compliant window manager into a tiling window manager, per desktop, per screen. More granularity and it would tiling-manage the pixels on your screen. Tile on! Why would you want that anyway? For my Palm Pre, which has support for html/javascript ‘programs’ and SDL. I know there is Application:Terminal and Terminus, but the former is too hybrid and the latter too enlightened, I guess. Thus I hacked together my own simple terminal which runs on an SDL surface, or rather I pirated parts of code from pdcurses and libvterm and frankensteined them together to run on the Pre. Hey Ho and a bottle o’ Rum! The most complicated part was actually getting the WIDK to work (not that I’m anywhere near finished with the terminal itself) What works, for varying values of ‘works’: Most of these have broken borders and/or weird colors. What doesn’t work (yet): So without further ado: sdlterm (Fancy name, huh?) Today I wanted to set up firefox sync and the captcha field wasn’t there. The web indicated that other people have similar problems so here’s my solution: Disable NoScript for the installation (or allow scripts for th reCaptcha captchas). Should you ever fuck your
Symptoms of fucking up your available are random complaints about e.g. Recommends field in said file, such errors should not be produced with a healthy available file. YMMV with experimental feeds… So today I started setting up a new server and for once wanted to do the right thing with my virtual machines so I stuck their virtual harddisks on lvm logical volumes. In theory… The host part is easy. Now for the VMs, they do also use lvm and some pages on the internet advise this: This technically works on the partition level, but while testing I hab problems with uuids changing and the system being unable to boot. This can even be done online with ext4, haven’t tried with any other fs. Here is a video of the cat in action: We invested dozens of euros in sophisticated cat toys and catnip and her favourites are the small mouse-shaped furball for .9 euros and a shoelace… This post is mostly a post-it for myself I use kvm with virt-manager to manage a couple of VMs to develop stuff and test ideas. Most of the time I install a Debian stable or testing distribution in a small VM and take it from there. As installing Debian is time-consuming and the setup of the machines is mostly the same I wanted to create a template to simply clone and be done. Steps to reproduce: You should now be able to clone the machine, boot it, log in as root ./rename-vm.sh “new name”. Assuming you have libnss-mdns installed and a proper networking setup for your VMs it should then be available as debian-new-name.local. Make sure to update the template from time to time. You might need to remove the persistent-net rules again. Caveats: All the clones have the same ssh host key and user passwords. About that set -e/set -u stuff, I’ve come to put that at the top of all my shell scripts, see: Writing Robust Bash Shell Scripts |
||
|
Copyright © 2012 asmw.de - All Rights Reserved |
||