Archive

Archive for the ‘ubuntu’ Category

Ubuntu / PERL locale errors/warnings

October 31, 2011 Leave a comment

You get this?

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “en_US.UTF-8″,
LC_ALL = “en_US.UTF-8″,
LANG = “en_US.UTF-8″
are supported and installed on your system.

Use this!

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales

Worked for me. Of course, replace en_US with w/e your primary language is.

Categories: ubuntu, unix Tags: , ,

NoMachine NX, Ubuntu and the XSession

October 27, 2011 1 comment

If you get the dreaded

'Cannot run /etc/X11/xdm/Xsession ...'

when requesting a new session on an Ubuntu server, this – at least for me – fixed it:

sudo mkdir /etc/X11/xdm && sudo ln -s /etc/X11/Xsession /etc/X11/xdm/Xsession
Categories: ubuntu, unix Tags: , ,

Your T400/T500/T410/T510 not suspending/hibernating under Ubuntu 10.10 Maverick Meerkat? Fix.

February 20, 2011 2 comments

If your trusty Lenovo T[45][01]0 does not want to suspend/hibernate under Ubuntu 10.10, but just seems to do it and then comes back right away, blacklist a bunch of modules editing /etc/modprobe.d/blacklist.conf:

# suggested blacklist to fix lenovo suspend failure. lambertdw
blacklist parport
blacklist parport_pc
blacklist ppdev
blacklist lp
blacklist tpm_tis

Alternatively, just rmmod them for testing purposes (thanks to lambertdw). Offending module for me was tpm_tis, which handles the Trusted Platform Module. I don’t need it anyway. Supposedly this should be fixed in kernels >= 2.6.36.

Categories: linux, ubuntu Tags: , ,

How to enable Google’s PDF Plugin in Chromium

November 2, 2010 27 comments

Google’s PDF Plugin is most excellent for most needs – and for anything else you can actually download the PDF and do whatever you want to do with it (sidenote though: printing would be really nice. Pretty please, Google?). Unfortunately, it only ships with the official Chrome version and is therefore not available in the Chromium editions most distributions ship or make available.

Therefore, to get and enable the plugin on your favorite local Chromium version:

Categories: fedora, gentoo, linux, ubuntu Tags: , , ,

Fullscreen Flash Videos not playing in Ubuntu/Fedora/Debian/Chrome/Firefox/insert-whatever-here when Compiz Fusion Effects are enabled

November 1, 2010 6 comments

If the headline seems familiar to you… try this:

sudo mkdir -p /etc/adobe
sudo echo "OverrideGPUValidation=1" > /etc/adobe/mms.cfg

(source)
and restart any open browsers for it to take effect.

Adobe blacklists anything with SGI as GLX vendor string for GPU acceleration. Intel cards/drivers report this though. In combination with Compiz desktop effects = bad. So using above snippet fixed any fullscreen issues on my Lenovo Thinkpad T500 with Mobile 4 Series Chipset.

Categories: fedora, gentoo, linux, rants, ubuntu, unix Tags: , ,

Lotus Notes 8.5.2 + Ubuntu 10.10 = working, out of the box

September 27, 2010 4 comments

Wow, they got it all right this time. Everything works without any tinkering – thanks IBM, you made my day. Seriously.

Disclaimer: On x86 that is.

Categories: ubuntu Tags: , , ,

Ubuntu Maverick Looks = …

September 26, 2010 Leave a comment

… awesome. ‘Nuff said. Polished. Fonts=great seriously awesome+1. Theme=great. Overall feel=great+1.

Categories: ubuntu, unix Tags: , ,

Chrom{e,omium} Radiance Theme

If you are like me and use the Radiance Theme on Ubuntu and the Chromium Browser, do yourself a favor and install the corresponding Chrome/Chromium Theme for it. Really blends in nicely. There is one for Ambiance, too.

Categories: linux, ubuntu Tags: , , ,

Switching your default Sans/Sans Serif/Monospace Fonts

July 22, 2010 3 comments

EDIT: Updated post for ChromeOS fonts and Arial/Verdana/Times New Roman/Courier New replacement.

When I recently switched to the totally awesome and space saving Droid Fonts (monospaced version is extremely nice for programming and shell stuff), courtesy of Google, I had to find a way to have my Ubuntu system translate every request for the default Sans/Sans Serif/Monospace fonts to their respective Droid versions. Not wanting to tamper with the system wide configuration files (I think those forward to the Dejavu family of fonts, nice, but not so cool on small screens), I just used the excellent per-user configuration system. Just dump this snippet as .fonts.conf into your $HOME directory.

<!--?xml version="1.0"?>-->
<!--DOCTYPE fontconfig SYSTEM "fonts.dtd">-->
<!-- ~/.fonts.conf for per-user font configuration -->
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Droid Serif</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Droid Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Droid Sans Mono</family>
</prefer>
</alias>
</fontconfig>

Enjoy the difference!

Categories: linux, ubuntu Tags: , ,

If your Chromium on Ubuntu doesn’t want to play H.264…

… despite having the extra codecs from the PPA installed – a quick

sudo apt-get install ffmpeg

fixes that. FFMpeg (at least for me on 10.4 Beta) isn’t installed by default and is no dependency for Chromium.

Categories: linux, ubuntu, unix Tags: , ,

Lotus Notes 8.5 / A gdk Window is being destroyed out of DestroyWindow / Ubuntu 10.4 /

April 7, 2010 6 comments

Pretty much works out of the box using the .deb’s. Pretty much, because … well, it’s Notes after all.

If you are experiencing the dreaded “A gdk Window is being destroyed out of DestroyWindow” error when starting Notes in a Terminal (or your basic Mail/Calendar/whatever windows are simply not visible/not appearing), follow this bug report on launchpad.

Cliff Notes:

Don’t forget to change Notes’ default fonts. They suck. Other than that, works beautifully in my environment.

Categories: linux, rants, ubuntu Tags: , ,

Install Chrome/Chromium on Ubuntu

Easy steps to enable the Chromium Beta PPA Repository – which actually contains the official Google Chrome Betas. Once Google releases a new Beta, it will get updated there.

sudo add-apt-repository ppa:chromium-daily/beta/ubuntu
sudo apt-get update
sudo apt-get install chromium-browser

For the goodies that are H.264/mov/etc/etc – which you will probably want:

sudo apt-get install chromium-codecs-ffmpeg-extra

If you are a web developer, you will also want this:

sudo apt-get install chromium-browser-inspector

Categories: linux, ubuntu Tags:

Ubuntu.addToDefaultInstallation(“ubuntu-tweak”)

While playing around with my new Ubuntu 10.4 installation, I searched for a quick and easy way to setup Compiz’s screen edge features to show me my windows, desktop and workspaces – but that doesn’t seem to be possible in the default installation. One has to install the Compiz Settings Manager and then do it from there. Sure, easy enough – even though that thing is a beast with all its configuration options.

But while poking around the net, I came across Ubuntu Tweak that features a seriously nice, stripped down interface for that – and so much more.

Screenshot-Ubuntu Tweak

This application should seriously be considered being added to the default installation. “Hide” it somewhere if you need to, name it “Advanced Tweaks” or something, but it’s absolutely helpful to quickly change some more hidden configuration options if you need to.
Kudos to the developer!

Oh, to install it:

sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

Categories: linux, ubuntu, unix Tags: , ,
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: