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.
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.
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
If your trusty Lenovo T0 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
# suggested blacklist to fix lenovo suspend failure. lambertdw
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.
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:
- Download a Google Chrome release that matches your processor architecture (x86/x86_64):
# wget http://dl.google.com/linux/direct/google-chrome-unstable_current_i386.deb
# wget http://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb
- extract the .deb:
# ar vx <previously downloaded .deb>
- extract the data payload:
# tar --lzma -xvf data.tar.lzma
- copy the plugin to destination folder:
/usr/lib/chromium-browseris valid for my Ubuntu PPA version, might be
/opt/chromium-browseror something on other distributions)
# sudo cp opt/google/chrome/libpdf.so /usr/lib/chromium-browser/
- restart any open Chromium processes
- check about:plugins for the
Chrome PDF Viewer, should not need any enabling
Fullscreen Flash Videos not playing in Ubuntu/Fedora/Debian/Chrome/Firefox/insert-whatever-here when Compiz Fusion Effects are enabled
If the headline seems familiar to you… try this:
sudo mkdir -p /etc/adobe
sudo echo "OverrideGPUValidation=1" > /etc/adobe/mms.cfg
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.
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.
… awesome. ‘Nuff said. Polished. Fonts=
great seriously awesome+1. Theme=great. Overall feel=great+1.
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.
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!
… 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.
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.
- Download the four GDK libraries from http://www.freetechie.com/upload/lotus_notes
- Throw them into /opt/ibm/lotus/notes
Don’t forget to change Notes’ default fonts. They suck. Other than that, works beautifully in my environment.
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
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.
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