Archive for June, 2012
debian git ssh Agent admitted failure to sign using the key
0When you get a “Agent admitted failure to sign using the key” when trying to git pull or push you can add your key to ssh.
ssh-add ~/.ssh/id_rsa
Fix media keys in debian mate/mint
0Start mateconf-editor and set the key /desktop/mate/sound/default_mixer_device to alsamixer:default
Debian linux mint, resume after hibernation fails
0When your hibernated session fails to resume, most of the time your resume partition is wrongly configured in initramfs.
cat /etc/fstab and look for a line like:
# /dev/sda7
UUID=3a3ee660-d330-4c36-847e-54fe39f1d45c swap swap sw 0 0
edit /etc/iniramfs-tools/conf.d/resume
Make sure you have the correct uid;
RESUME=UUID=3a3ee660-d330-4c36-847e-54fe39f1d45c
And update your initramfs;
sudo update-initramfs -u
Done.
Linux Debian mint touchpad sidescrolling and tap
0At this moment the edgescrolling and tap on the touchpad in Linux Debian Mint is disabled.
To enable it you must edit /usr/share/X11/xorg.conf.d/50-synaptics.conf and add
Option “VertEdgeScroll” “true”
Option “TapButton1” “true”
Logout and log back in again to reload xorg.
Encode url from bash
0IF you need to encode parts of a POST url:
SUM=$(md5sum $APPNAME.tar.gz.gpg 1> /dev/null)
SUMENC=$(echo $SUM’ /*$$[]’ | perl -MURI::Escape -lne ‘print uri_escape($_)’)
Resize an ext4 partition manually.
0As gparted doesn’t seem to support ext4 you should resize your partition manually.
It sounds difficult but is trivial.
First delete the partition with fdisk, then recreate it again in the desired size, resize the filesystem, done.
In some more detail, assuming the partition is /dev/sdb3
umount /dev/sdb3
sudo fdisk /dev/sdb
(remove sdb3)
(recreate sdb3 with the same start position as the previous one)
resize2fs /dev/sdb3 (when no size given the whole partition is used)
mount /dev/sdb3
That’s it.
Recent Comments