LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Remove unwanted locales on Ubuntu / Debian

Posted 10-31-2010 at 05:18 AM by bittner (Notes on Linux)
Updated 11-01-2010 at 10:43 AM by bittner
Tags debian, locale

Sometimes you feel bothered by too many locales (pre)installed on your Debian system. If I run a server I typically want basic stuff on it, so for locales "en_US-UTF8" is enough.

Which locales are installed on my machine?
You can check which locales are generated and configured on your system using the locale command:
  • locale ... list the current locale configuration
  • locale -a ... lists all all locales that were generated on your system
  • locale -a -v ... list
...
LQ Newbie
Posted in Uncategorized
Views 19713 Comments 0 bittner is offline
Old

Apparently "update-rc.d" does something essential

Posted 09-04-2010 at 11:20 AM by the dsc (linux-related notes)
Updated 09-04-2010 at 11:21 AM by the dsc

I thought all it did was to create symlinks with the proper prefixes in a automated way for a given script, something that one could do manually... but apparently it does something more.

But perhaps I just did something wrong when trying to do it manually, like using the wrong runlevel folders. Or perhaps it was just the difference from priority 20 to 19 that made the difference even though I thought the key was to be a higher priority (i.e., a lower number than) than 22.
...
Member
Posted in Uncategorized
Views 710 Comments 0 the dsc is offline
Old

xrandr multi

Posted 08-17-2010 at 02:16 PM by jere21
Updated 08-17-2010 at 03:47 PM by jere21

/usr/local/bin/xrandr_TV_dual.sh:
Code:
xrandr \
  --output LVDS1 --mode 1280x800 --primary \
  --output TV1 --mode 640x480 --rate 25 --right-of LVDS1 --set mode PAL
/usr/local/bin/xrandr_VGA_dual.sh:
Code:
#If command fails, readd mode and try again
xrandr \
  --output LVDS1 --mode 1280x800 \
  --output VGA1 --mode 1280x1024 --rate 75 --above LVDS1 --primary ||
(
xrandr --newmode 1280x1024 138.75  1280 1368 1504 1728  1024 1027 1034
...
LQ Newbie
Posted in Uncategorized
Views 1354 Comments 0 jere21 is offline
Old

livehelper Debian rescue image

Posted 08-17-2010 at 02:12 PM by jere21
Updated 08-17-2010 at 02:14 PM by jere21

Code:
lh config \
 --architecture amd64 \
 --packages-lists rescue \
 --distribution squeeze \
 --binary-images iso \
 --debian-installer false \
 --language en \
 --bootappend-live "locale=en_US.UTF-8 keyb=de" &&
sudo lh build
LQ Newbie
Posted in Uncategorized
Views 953 Comments 0 jere21 is offline
Old

exim4 with smtp googlemail on Debian Squeeze

Posted 08-17-2010 at 01:43 PM by jere21
Updated 10-03-2010 at 06:07 PM by jere21

Send a test mail
Code:
$ mail test@example.com
[...]
.
Mail will be From: [username on localhost] <googleusername@googlemail.com>
Mail will often be dumped, if recipient is not googleusername@googlemail.com

Code:
$ dpkg -l "exim4*"|grep ^ii
ii  exim4               4.72-1  metapackage to ease Exim MTA (v4) installation
ii  exim4-base          4.72-1  support files for all Exim MTA (v4) packages
ii  exim4-config        4.72-1
...
LQ Newbie
Posted in Uncategorized
Views 1834 Comments 0 jere21 is offline

  



All times are GMT -5. The time now is 11:44 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration