Currently Thunderbird displays time in AM/PM mode.
How can I change it to 24h mode?
UPDATE 1:
$ locale |grep LC_TIME
LC_TIME="en_US.UTF-8"
Currently Thunderbird displays time in AM/PM mode.
How can I change it to 24h mode?
UPDATE 1:
$ locale |grep LC_TIME
LC_TIME="en_US.UTF-8"
How to change the decimal comma ',' to decimal period '.' in the numeric pad of the keyboard?
I have used xmodmap
but every time that I change my keyboard layout the changes (by xmodmap) are being reset.
Which is the best way in order to resize an encrypted (ecryptfs) ext4 home partition ?
Pros nad Cons of each method are greatly appreciated.
$ fdisk -l
Disk /dev/sda: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 63 41945714 20972826 7 HPFS/NTFS/exFAT
/dev/sda2 207007744 211206554 2099405+ 82 Linux swap / Solaris
/dev/sda3 42946560 82008063 19530752 83 Linux
/dev/sda4 82008064 207007743 62499840 83 Linux
What is the package candidate or alternative for the python-pgsql (module) package in Ubuntu 11.10 ?
An error indicator that could help:
Error: You need to have the python-pgsql module installed to use this script. 'apt-get install python-pgsql' on debian.
UPDATE:
The davical-cmdlnutl version 1.2.0 works.
I would like to move my current installation of Ubuntu 11.10 to a bigger harddisk, since the old one is failing.
I would like to avoid solutions like dd block copying (since there would be unused space at the end) with something cleaner, but I'm open to suggestions.
Partitions info:
Size Used Avail Use% Mounted on Partition type Encrypted
19G 9.9G 7.6G 57% / ext4
59G 50G 6.2G 90% /home ext4 Yes
What is the best way to accomplish such a task, preferably with advantages/disadvantages of any given approach.
I have used deluser
without the parameter --remove-all-files
:
$ deluser 'user'
Is there a way other than rm -r /home/user
to remove all files owned by a user now (since I have already executed deluser)?
I am using Awesome Window Manager
How can I permanently add private keys with password?
Inspired by the answer here I have added the private keys in ~/.ssh/config
Contents of ~/.ssh/config:
IdentityFile 'private key full path'
Permissions of ~/.ssh/config: 0700
But it doesn't work for me.
If I manually add the key in every session, it works but I'm looking for a more elegant way (not in .bashrc)
EDIT:
After adding the SSH key with ssh-copy-if
to the remote host, I get the following prompt in terminal (GNOME Terminal 3.0.1) when I'm logging in:
ssh -i .ssh/Password-Protected-Key user@host
Enter passphrase for key '.ssh/Password-Protected-Key':
gnome-keyring-dameon
so I killed the other pid and run gnome-keyring-daemon --start | grep SOCK
(I also added it in .profile) the (grep) output:SSH_AUTH_SOCK=/tmp/keyring-2LXXXX/ssh
I followed the exact same steps and likewise I haven't got any GUI ssh-add dialog.
EDIT 2:
I created a new password protected key from Ubuntu 11.10 virtual machine on unity and I still can't get any password prompt.
EDIT 3: It seems that this cannot work in Awesome window manager :( and possibly other..
I was trying to find a way in order to use aptdcon -- the command line client for aptdaemon in a script.
aptdcon misses options such as:
The following package will be upgraded (1): xxx
Need to get xxx of archives.
Do you want to continue [Y/n]?
So aptdcon prompts for a user response making it inappropriate for shell scripts.
How can I use aptdcon or any other app (that doesn't need root permissions) in non user-interactive scripts?