Wednesday 20 October 2010

Proxy problem with pacman

Recently, I was accessing internet from behind a firewall so I had set http and ftp proxy environment variables. When I ran

pacman -Syu

it could download the database updates for the system packages; but could not retrieve the packages and hung up. I found that wget was able to use the proxy fine. So, I tried

pacman --debug -S mkvtoolnix

to see what was happening and found that it was stuck after detecting the proxy. As wget was working, I tried uncommenting the following line in pacman.conf.

#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

This time the upgrade was smooth and I upgraded 66 packages.

Tuesday 19 October 2010

Sleep from E17 on Arch linux

Recently, I found that sleep and hibernate do not work from E17 while they were working fine from KDE. So, I decided to dig. I found that I had to configure them in sysactions.conf. I had installed e17 in /opt so I searched for it there and found it in /opt/e17/etc/enlightenment. I changed the following line
action:   suspend   /etc/acpi/sleep.sh force
to
action:   suspend   /usr/sbin/pm-suspend
as my system had no such script as sleep.sh and sleep worked fine ine E17.