Differences between revisions 46 and 47
Revision 46 as of 2014-09-03 16:14:52
Size: 7101
Editor: JosueAbarca
Comment: Tips about transitions added to my home page.
Revision 47 as of 2015-03-13 17:52:20
Size: 7496
Editor: JosueAbarca
Comment:
Deletions are marked like this. Additions are marked like this.
Line 150: Line 150:

Initial Setup: https://wiki.fsfe.org/Card_howtos/Card_reader_setup_%28udev%29

Files:
{{{
 # cd /home/directory/where/you/saved/the/file (change for the right path)
 # cp gnupg-ccid.rules /etc/udev/gnupg-ccid.rules
 # cp gnupg-ccid /etc/udev/scripts/gnupg-ccid
 # chmod +x /etc/udev/scripts/gnupg-ccid
 # ln -s /etc/udev/gnupg-ccid.rules /etc/udev/rules.d/gnupg-ccid.rules
}}}


Josué Abarca

Email: <jmaslibre AT SPAMFREE debian DOT org DOT gt>

IRC: jmaslibre, freenode and OFTC.

Debian Work

My TODO list

DONE

Multiple Useful (for me) tips

  • Don't clear tty1 after boot:

sed -i 's|1:2345:respawn:/sbin/getty|1:2345:respawn:/sbin/getty
--noclear|' /etc/inittab

Source: http://lists.debian.org/51F90C18.3050204@debian.org

  • Running a Shell When Build Fails in Pbuilder:

sudo mkdir /var/cache/pbuilder/hook.d

Edit ~/.pbuilderrc and add the following line:

HOOKDIR="/var/cache/pbuilder/hook.d"

Create: /var/cache/pbuilder/hook.d/C10shell

# invoke shell if build fails.

apt-get install -y --force-yes vim less bash
cd /tmp/buildd/*/debian/..
/bin/bash < /dev/tty > /dev/tty 2> /dev/tty

sudo chmod a+x /var/cache/pbuilder/hook.d/C10shell

Source: https://wiki.ubuntu.com/PbuilderHowto#Running_a_Shell_When_Build_Fails_.28Intro_to_Hook_Scripts.29

https://wiki.debian.org/PbuilderTricks

Use the pgp agent instead of Gnome Keyring

sudo mv /etc/xdg/autostart/gnome-keyring-gpg.desktop /etc/xdg/autostart/gnome-keyring-gpg.desktop.disabled

Source: http://www.jwiltshire.org.uk/content/2010/12/19/the-perfect-gpg-agent-setup/

Mate Desktop Environment and Awesome Window manager

# To use awesome instead of marco
gsettings set org.mate.session.required-components windowmanager 'awesome'
# You can verify it with:
gsettings get org.mate.session.required-components windowmanager
# To return to the default window manager (marco) run:
gsettings reset org.mate.session.required-components windowmanager
# To disable the desktop icons provided by caja
gsettings set org.mate.background show-desktop-icons false

About the OpenPGP smart card

Reference: http://www.ozonesolutions.com/programming/2014/04/pgp-smart-card-ssh-login-gpg-agent-ubuntu/

# Software for gnupg2
apt-get install gnupg2 gnupg-agent pcscd libpcsclite1 opensc gpgsm
# disable gnome-keyring
mv /etc/xdg/autostart/gnome-keyring-gpg.desktop /etc/xdg/autostart/gnome-keyring-gpg.desktop.inactive
mv /etc/xdg/autostart/gnome-keyring-ssh.desktop /etc/xdg/autostart/gnome-keyring-ssh.desktop.inactive

About errors, reference: https://www.opensc-project.org/opensc/wiki/OpenPGP

Initial Setup: https://wiki.fsfe.org/Card_howtos/Card_reader_setup_%28udev%29

Files:

 # cd /home/directory/where/you/saved/the/file (change for the right path)
 # cp gnupg-ccid.rules /etc/udev/gnupg-ccid.rules
 # cp gnupg-ccid /etc/udev/scripts/gnupg-ccid
 # chmod +x /etc/udev/scripts/gnupg-ccid
 # ln -s /etc/udev/gnupg-ccid.rules /etc/udev/rules.d/gnupg-ccid.rules

Transition tips


CategoryHomepage