Differences between revisions 45 and 46
Revision 45 as of 2014-07-07 05:10:27
Size: 6788
Editor: JosueAbarca
Comment: Minor tip added to my personal page.
Revision 46 as of 2014-09-03 16:14:52
Size: 7101
Editor: JosueAbarca
Comment: Tips about transitions added to my home page.
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
## * My packages :  ## * My packages :
Line 20: Line 20:
Line 30: Line 30:
 * Greed: review the debtags and screenshots for completeness   * Greed: review the debtags and screenshots for completeness
Line 79: Line 79:
sed -i 's|1:2345:respawn:/sbin/getty|1:2345:respawn:/sbin/getty                             sed -i 's|1:2345:respawn:/sbin/getty|1:2345:respawn:/sbin/getty
Line 150: Line 150:
=== Transition tips ===

 * [[ https://wiki.debian.org/TransitionBestPractices ]]
 * [[ https://wiki.debian.org/Teams/ReleaseTeam/Transitions ]]
 * [[ https://release.debian.org/transitions/ ]]
 * [[ https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-runtime ]]
 * [[ https://wiki.debian.org/PackageTransition ]]

Josué Abarca

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

IRC: jmaslibre, freenode and OFTC.

Debian Work

My TODO list


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:


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


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

Transition tips