~ % ls -la /usr/lib/python2.7/site-packages/gtk-2.0
итого 584
drwxr-xr-x  5 root root   4096 янв 22 17:43 .
drwxr-xr-x 15 root root   4096 янв 22 08:06 ..
-rwxr-xr-x  1 root root 278856 сен 14 19:29 atk.so
-rw-r--r--  1 root root  16351 сен 19 23:06 dsextras.py
-rw-r--r--  1 root root  17835 сен 19 23:06 dsextras.pyc
-rw-r--r--  1 root root  17835 сен 19 23:06 dsextras.pyo
drwxr-xr-x  2 root root   4096 янв 22 08:06 gio
drwxr-xr-x  2 root root   4096 сен 14 19:29 gtk
-rwxr-xr-x  1 root root  37672 сен 14 19:29 gtkunixprint.so
-rwxr-xr-x  1 root root  20392 сен 14 19:29 pangocairo.so
-rwxr-xr-x  1 root root 175208 сен 14 19:29 pango.so
drwxr-xr-x  2 root root   4096 июл  1  2014 pynotify
 ~ %
и ещё

~ % strace -eopen python2 -c 1 2>&1 | grep 'gtk'
open("/usr/lib/python2.7/site-packages/pygtk.pth", O_RDONLY) = 4
open("/usr/lib/python2.7/site-packages/gtk-2.0/sitecustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/gtk-2.0/sitecustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/gtk-2.0/sitecustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/gtk-2.0/sitecustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/gtk-2.0/usercustomize.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/gtk-2.0/usercustomizemodule.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/gtk-2.0/usercustomize.py", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.7/site-packages/gtk-2.0/usercustomize.pyc", O_RDONLY) = -1 ENOENT (No such file or directory)
~ %
~ % ls -la /usr/lib/python2.7/site-packages/pygtk.pth
-rw-r--r-- 1 root root 8 сен 19 23:06 /usr/lib/python2.7/site-packages/pygtk.pth
~ % cat /usr/lib/python2.7/site-packages/pygtk.pth
gtk-2.0
~ %
pygtk переустановил.
Началась магия.

~ % strace -eopen python2 -c 1 2>&1 | grep -ve '-1 E'
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libpython2.7.so.1.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/python2.7/site.py", O_RDONLY) = 3
open("/usr/lib/python2.7/site.pyc", O_RDONLY) = 4
open("/usr/lib/python2.7/os.py", O_RDONLY) = 4
open("/usr/lib/python2.7/os.pyc", O_RDONLY) = 5
open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 5
open("/usr/lib/python2.7/posixpath.py", O_RDONLY) = 5
open("/usr/lib/python2.7/posixpath.pyc", O_RDONLY) = 6
open("/usr/lib/python2.7/stat.py", O_RDONLY) = 6
open("/usr/lib/python2.7/stat.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/genericpath.py", O_RDONLY) = 6
open("/usr/lib/python2.7/genericpath.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/warnings.py", O_RDONLY) = 6
open("/usr/lib/python2.7/warnings.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/linecache.py", O_RDONLY) = 7
open("/usr/lib/python2.7/linecache.pyc", O_RDONLY) = 8
open("/usr/lib/python2.7/types.py", O_RDONLY) = 7
open("/usr/lib/python2.7/types.pyc", O_RDONLY) = 8
open("/usr/lib/python2.7/UserDict.py", O_RDONLY) = 5
open("/usr/lib/python2.7/UserDict.pyc", O_RDONLY) = 6
open("/usr/lib/python2.7/_abcoll.py", O_RDONLY) = 6
open("/usr/lib/python2.7/_abcoll.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/abc.py", O_RDONLY) = 7
open("/usr/lib/python2.7/abc.pyc", O_RDONLY) = 8
open("/usr/lib/python2.7/_weakrefset.py", O_RDONLY) = 8
open("/usr/lib/python2.7/_weakrefset.pyc", O_RDONLY) = 9
open("/usr/lib/python2.7/copy_reg.py", O_RDONLY) = 5
open("/usr/lib/python2.7/copy_reg.pyc", O_RDONLY) = 6
open("/usr/lib/python2.7/traceback.py", O_RDONLY) = 4
open("/usr/lib/python2.7/traceback.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/sysconfig.py", O_RDONLY) = 4
open("/usr/lib/python2.7/sysconfig.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/re.py", O_RDONLY) = 4
open("/usr/lib/python2.7/re.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/sre_compile.py", O_RDONLY) = 5
open("/usr/lib/python2.7/sre_compile.pyc", O_RDONLY) = 6
open("/usr/lib/python2.7/sre_parse.py", O_RDONLY) = 6
open("/usr/lib/python2.7/sre_parse.pyc", O_RDONLY) = 7
open("/usr/lib/python2.7/sre_constants.py", O_RDONLY) = 7
open("/usr/lib/python2.7/sre_constants.pyc", O_RDONLY) = 8
open("/usr/lib/python2.7/lib-dynload/_locale.so", O_RDONLY) = 5
open("/usr/lib/python2.7/lib-dynload/_locale.so", O_RDONLY|O_CLOEXEC) = 6
open("/usr/lib/python2.7/_sysconfigdata.py", O_RDONLY) = 4
open("/usr/lib/python2.7/_sysconfigdata.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/site-packages", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
open("/usr/lib/python2.7/site-packages/pygst.pth", O_RDONLY) = 4
open("/usr/lib/python2.7/site-packages/pygtk.pth", O_RDONLY) = 4
open("/usr/lib/site-python", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/python2.7/encodings/__init__.py", O_RDONLY) = 3
open("/usr/lib/python2.7/encodings/__init__.pyc", O_RDONLY) = 4
open("/usr/lib/python2.7/codecs.py", O_RDONLY) = 4
open("/usr/lib/python2.7/codecs.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/encodings/aliases.py", O_RDONLY) = 4
open("/usr/lib/python2.7/encodings/aliases.pyc", O_RDONLY) = 5
open("/usr/lib/python2.7/encodings/utf_8.py", O_RDONLY) = 3
open("/usr/lib/python2.7/encodings/utf_8.pyc", O_RDONLY) = 4
+++ exited with 0 +++
~ %
Удалил.
~ % python2 -c "from radiotray import radiotray"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/radiotray/radiotray.py", line 6, in <module>
    from RadioTray import RadioTray
  File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 20, in <module>
    from XmlDataProvider import XmlDataProvider
  File "/usr/lib/python2.7/site-packages/radiotray/XmlDataProvider.py", line 23, in <module>
    import gtk
ImportError: No module named gtk
По ходу опять с gtk проблемы или с python.
Новые новости.
~ % python -c "from radiotray import radiotray"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'radiotray'
Не подскажите - созданный в /usr/bin/ каталог src удалить или оставить?
Переустановил. Перегрузился. Ничего не изменилось.
Чувствую запас нервов на исходе.
Создал в /usr/bin/ каталог src.
Новый выхлоп.
~ % radiotray                                                                                :(
Traceback (most recent call last):
  File "/usr/bin/radiotray", line 15, in <module>
    radiotray.main(sys.argv[1:])
AttributeError: 'module' object has no attribute 'main'
~ %
Выхлоп yaourt-gui/
python2-gobject
==> COMMAND: yaourt python2-gobject
1 extra/python2-gobject 3.18.2-1 [installed]
    Python 2 bindings for GObject
2 extra/python2-gobject2 2.28.6-12 [installed]
    Python 2 bindings for GObject2
3 aur/python2-gobject-patched 3.18.2-1 (1)
    Python 2 bindings for GObject, with a patch for cairo
==> Введите номера пакетов для установки (например: 1 2 3 или 1-3)
==> --------------------------------------------------------------
==>
Стоят оба пакета. Удалил python2-gobject, результат тот же.
Да, что-то не то у меня.
[email protected] ~ % which python2
/usr/bin/python2
~ % python2 --version
Python 2.7.11
~ % python2 -c "import sys; print(sys.path)"
['', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gst-0.10', '/usr/lib/site-python']
~ % python2 -c "from radiotray import radiotray"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/radiotray/radiotray.py", line 6, in <module>
    from RadioTray import RadioTray
  File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 20, in <module>
    from XmlDataProvider import XmlDataProvider
  File "/usr/lib/python2.7/site-packages/radiotray/XmlDataProvider.py", line 23, in <module>
    import gtk
ImportError: No module named gtk
Отсутствует этот кусок - /usr/lib/python2.7/site-packages/gtk-2.0
Вместо него это - /usr/lib/site-python
Что интересно, физически каталог gtk-2.0 с файлами присутствует, а каталога site-python нету.
Чёт не пошло.
~ % which radiotray
/usr/bin/radiotray
~ % radiotray
Traceback (most recent call last):
  File "/usr/bin/radiotray", line 12, in <module>
    os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'
~ %
/usr/bin/src - может тут какая засада? Ни файла ни каталога с таким именем нет.
~ % cat .bashrc .zshrc .zshrc.local .profile
cat: .bashrc: Нет такого файла или каталога
# The following lines were added by compinstall
zstyle :compinstall filename '/home/user/.zshrc'
# promptinit
autoload -U promptinit
promptinit
# autocomplit
autoload -U compinit
compinit
zstyle ':completion:*' insert-tab false
zstyle ':completion:*' max-errors 2
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
bindkey -e
# End of lines configured by zsh-newuser-install

# highlighting
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
# brackets
ZSH_HIGHLIGHT_STYLES[bracket-level-1]='fg=blue,bold'
ZSH_HIGHLIGHT_STYLES[bracket-level-2]='fg=red,bold'
ZSH_HIGHLIGHT_STYLES[bracket-level-3]='fg=yellow,bold'
ZSH_HIGHLIGHT_STYLES[bracket-level-4]='fg=magenta,bold'
# cursor
ZSH_HIGHLIGHT_STYLES[cursor]='bg=blue'
# main
ZSH_HIGHLIGHT_STYLES[alias]='fg=magenta,bold'
ZSH_HIGHLIGHT_STYLES[path]='fg=cyan'
ZSH_HIGHLIGHT_STYLES[globbing]='none'
# pattern
#ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
# root
ZSH_HIGHLIGHT_STYLES[root]='fg=red'
# pkgfile
source /usr/share/doc/pkgfile/command-not-found.zsh
# colors
autoload -U colors
colors
# autocd
setopt autocd
# ignore dups in history
setopt HIST_IGNORE_ALL_DUPS
# ighore additional space in history
setopt HIST_IGNORE_SPACE
# reduce blanks in history
setopt HIST_REDUCE_BLANKS
# su с подсказкой
su () {
  checksu=0
  for flags in $*; do
    if [[ $flags == "-" ]]; then
      checksu=1
    fi
  done
  if [[ $checksu == 0 ]]; then
    echo "Use 'su -', Luke"
    /usr/bin/su - $*
  else
    /usr/bin/su $*
  fi
}

# Export
export EDITOR="nano"
export LC_ALL='ru_RU.UTF-8'
export LANG='ru_RU.UTF-8'
source /usr/share/doc/pkgfile/command-not-found.zsh

# Упаковка и распаковка архивов
pack() {
if [ $1 ] ; then
case $1 in
 tbz)    tar cjvf $2.tar.bz2 $2      ;;
 tgz)    tar czvf $2.tar.gz  $2    ;;
 tar)   tar cpvf $2.tar  $2       ;;
 bz2) bzip $2 ;;
 gz)  gzip -c -9 -n $2 > $2.gz ;;
 zip)    zip -r $2.zip $2   ;;
 7z)     7z a $2.7z $2    ;;
 *)      echo "$fg_bold[red]Ошибка:$reset_color '$1' не может быть упакован через pack()" ;;
esac
else
echo "$fg_bold[red]Ошибка:$reset_color '$1' - неподдерживаемый тип файла"
fi
}

unpack () {
  if [ -f $1 ] ; then
    case $1 in
      *.tar.bz2)   tar xvjf $1    ;;
      *.tar.gz)    tar xvzf $1    ;;
      *.tar.xz)    tar xvJf $1    ;;
      *.bz2)       bunzip2 $1     ;;
      *.rar)       unrar x $1     ;;
      *.gz)        gunzip $1      ;;
      *.tar)       tar xvf $1     ;;
      *.tbz2)      tar xvjf $1    ;;
      *.tgz)       tar xvzf $1    ;;
      *.zip)       unzip $1       ;;
      *.Z)         uncompress $1  ;;
      *.7z)        7z x $1        ;;
      *.xz)        unxz $1        ;;
      *.exe)       cabextract $1  ;;
      *)           echo "$fg_bold[red]Ошибка:$reset_color Невозможно распаковать '$1'..." ;;
esac
else
echo "$fg_bold[red]Ошибка:$reset_color '$1' - неподдерживаемый тип файла"
fi
}

cat: .zshrc.local: Нет такого файла или каталога
PATH="/usr/sbin:/sbin:/bin:/usr/games:$PATH"
~ %