Archive

Posts Tagged ‘ubuntu’

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.

Advertisements
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: , , ,

Switching your default Sans/Sans Serif/Monospace Fonts 2.0

October 1, 2010 2 comments

Updated from my original post to replace the default Sans/Sans-Serif/Monospace defaults to something different.

These days I like the new ChromeOS Fonts a lot, so I wanted fontconfig to use them as defaults. In this regard, they are really well suited as Arial/Verdana/Times New Roman/Courier New replacements, too. Killing two birds with one stone? Me likes! 🙂 Replacing those Microsoft fonts with their counterparts therefore comes quite naturally as they aren’t always installed – and actually, I don’t really like them being installed. In case they are indeed installed, I use a match/edit combination here – aliases only work if the original fonts are not installed and fail if they are. Strong binding is used to override any distribution defaults.

ChromeOS/Microsoft font comparison

ChromeOS/Microsoft font comparison, thanks to http://www.omgubuntu.co.uk

Snippet this into $HOME/.fonts.conf:

<!--?xml version="1.0"?>-->
<!--DOCTYPE fontconfig SYSTEM "fonts.dtd">-->
<!-- ~/.fonts.conf for per-user font configuration -->
<fontconfig>

	<!-- Alias commonly used default names -->
	<!-- serif, sans-serif, sans and monospace -->
	<!-- to the ChromeOS fonts -->
	<alias>
		<family>serif</family>
	<prefer>
		<family>Tinos</family>
	</prefer>
	</alias>
	<alias>
		<family>sans-serif</family>
	<prefer>
		<family>Arimo</family>
	</prefer>
	</alias>
	<alias>
		<family>sans</family>
	<prefer>
		<family>Arimo</family>
	</prefer>
	</alias>
	<alias>
	<family>monospace</family>
	<prefer>
		<family>Cousine</family>
	</prefer>
	</alias>

	<!-- Replace Arial, Times New Roman, Verdana and Courier New -->
	<!-- with their counterparts. Strong binding used to override -->
	<!-- distribution defaults -->
	<match target="pattern" name="family" >
    		<test name="family" qual="any" >
        		<string>Arial</string>
    		</test>
    		<edit name="family" mode="assign" binding="strong">
        		<string>Arimo</string>
    		</edit>
	</match>
	<match target="pattern" name="family" >
    		<test name="family" qual="any" >
        		<string>Times New Roman</string>
    		</test>
    		<edit name="family" mode="assign" binding="strong">
        		<string>Tinos</string>
    		</edit>
	</match>
	<match target="pattern" name="family" >
    		<test name="family" qual="any">
        		<string>Verdana</string>
    		</test>
    		<edit name="family" mode="assign" binding="strong">
        		<string>Arimo</string>
    		</edit>
	</match>
	<match target="pattern" name="family" >
    		<test name="family" qual="any" >
        		<string>Courier New</string>
    		</test>
    		<edit name="family" mode="assign" binding="strong">
        		<string>Cousine</string>
    		</edit>
	</match>
</fontconfig>
Categories: linux 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: , , ,
%d bloggers like this: