Но некоторых городов в списке нет.
вторник, 8 ноября 2011 г.
Добавление города в Weather applet Gnome
На gnome-панели можно добавить прикольную штуковину - (впадлу встать и в окно посмотреть))) погодный апплет. Точнее он есть в двух видах: отдельно для погоды, и с часами, куда можно тоже добавить вывод информации о погоде.
Но некоторых городов в списке нет.
Но некоторых городов в списке нет.
вторник, 1 ноября 2011 г.
Установка Firefox 7.0.1 и Flash Player 11.0.1 в Gentoo Linux
Надоело пользоваться старым файрфоксом (3.6), который ставится по дефолту с Gentoo, решил обновить и.. оказывается, не все так просто :)
Установка Adobe Flash Player 11:
Аналогично устанавливаем Firefox 11:
Установка Adobe Flash Player 11:
su
echo ">=www-plugins/adobe-flash-11.0.1.152 ~x86" >> /etc/portage/package.keywords
echo "ACCEPT_LICENCE="*"" >> /etc/make.conf
emerge ">=www-plugins/adobe-flash-11.0.1.152"
Аналогично устанавливаем Firefox 11:
echo ">=www-client/firefox-7.0.1-r1 ~x86" >> /etc/portage/package.keywords
emerge ">=www-client/firefox-7.0.1-r1"
Enable Open in Terminal on Nautilus Context Menu
Some linux distributions have good feature in context menu - Open folder in Terminal. I'll show how to install it for Gentoo Linux. It's very simple:
..and restart X
sudo emerge nautilus-open-terminal
..and restart X
суббота, 27 августа 2011 г.
Restore GRUB after Windows installation
If your ubuntu is (hd0,3) then this should do it from a liveCD:
In terminal
sudo grub
root (hd0,3) <-- this must point to location of 'stage1', else see nb:
setup (hd0) <-- installs grub IPL to MBR of first hard drive.
quit
Reboot
nb: if location of 'stage1' is unknown,
find grub/stage1
or
find /boot/grub/stage1
is needed, after step #1
http://ubuntuforums.org/showthread.php?t=1285499
In terminal
sudo grub
root (hd0,3) <-- this must point to location of 'stage1', else see nb:
setup (hd0) <-- installs grub IPL to MBR of first hard drive.
quit
Reboot
nb: if location of 'stage1' is unknown,
find grub/stage1
or
find /boot/grub/stage1
is needed, after step #1
http://ubuntuforums.org/showthread.php?t=1285499
воскресенье, 19 июня 2011 г.
Установка nginx + php-fpm + mysql на Gentoo
Устанавливаем nginx:
Установка MySQL:
USE=fastcgi emerge nginxСоздаем юзера и группу для www:
groupadd www
useradd www -g www
Установка MySQL:
среда, 15 июня 2011 г.
Using Masked Packages
The package.unmask location
Important: The Gentoo developers do not support the use of this location. Please exercise due caution when doing so. Support requests related to package.unmask and/or package.mask will not be answered. You have been warned.
When a package has been masked by the Gentoo developers and you still want to use it despite the reason mentioned in the package.mask file (situated in /usr/portage/profiles by default), add the desired version (usually this will be the exact same line from profiles) in the /etc/portage/package.unmask file (or in a file in that directory if it is a directory).
For instance, if =net-mail/hotwayd-0.8 is masked, you can unmask it by adding the exact same line in the package.unmask location:
Code Listing 3.1: /etc/portage/package.unmask
or in the package.keywords file /etc/portage/package.keywords
Code Listing: /etc/portage/package.keywords
Gentoo handbook
Important: The Gentoo developers do not support the use of this location. Please exercise due caution when doing so. Support requests related to package.unmask and/or package.mask will not be answered. You have been warned.
When a package has been masked by the Gentoo developers and you still want to use it despite the reason mentioned in the package.mask file (situated in /usr/portage/profiles by default), add the desired version (usually this will be the exact same line from profiles) in the /etc/portage/package.unmask file (or in a file in that directory if it is a directory).
For instance, if =net-mail/hotwayd-0.8 is masked, you can unmask it by adding the exact same line in the package.unmask location:
Code Listing 3.1: /etc/portage/package.unmask
=net-mail/hotwayd-0.8
or in the package.keywords file /etc/portage/package.keywords
Code Listing: /etc/portage/package.keywords
x11-wm/compiz
x11-wm/compiz-fusion
x11-wm/emerald
gnome-extra/nautilus-dropbox
Gentoo handbook
воскресенье, 29 мая 2011 г.
How to associate firefox with magnet protocol
In the address prompt type:
and promise firefox to be careful :)
add three boolean values:
about:config
and promise firefox to be careful :)
add three boolean values:
network.protocol-handler.warn-external.magnet;true
network.protocol-handler.external.magnet;true
network.protocol-handler.expose.magnet;false
суббота, 21 мая 2011 г.
How to uninstall VMWare workstion.bundle?
Operating system: Gentoo 2.6.36-r8 x86
ipm@i ~ $ vmware-installer -l
Product Name Product Version
====================== ====================
vmware-workstation 7.1.1.282343
ipm@i ~ $ sudo vmware-installer -u vmware-workstation 7.1.1.282343
Password:
ipm@i ~ $
среда, 27 апреля 2011 г.
Установка Adobe Flash в Gentoo Linux
Q: пакет adobe-flash замаскирован, что с ним делать?
A: в файле /etc/make.conf дописать:
т.к. в adobe flash player найдено множество уязвимостей, устанавливаем следующей командой:
все работает! =)
A: в файле /etc/make.conf дописать:
ACCEPT_LICENSE="*"
т.к. в adobe flash player найдено множество уязвимостей, устанавливаем следующей командой:
emerge --ask --oneshot --verbose ">=www-plugins/adobe-flash-10.1.102.64"
все работает! =)
Установка GDM
Долго думал, почему нет кнопочки Shut Down в меню System)) Оказывается все просто: надо было поставить Gnome Display Manager =)
Кстати, удобная штука для управления USE-флагами - gentoolkit (euse -E flag to enable, euse -D flag to disable)
Для того, чтобы использовать GDM, нужно в файле /etc/conf.d/xdm добавить:
И добавить скрипт xdm в автозагрузку:
Кстати, удобная штука для управления USE-флагами - gentoolkit (euse -E flag to enable, euse -D flag to disable)
emerge gdm
Для того, чтобы использовать GDM, нужно в файле /etc/conf.d/xdm добавить:
DISPLAYMANAGER="gdm"
И добавить скрипт xdm в автозагрузку:
rc-update add xdm default
Подписаться на:
Сообщения (Atom)