Вы находитесь на странице: 1из 125

Slackware

I
Slackware linux
, " Red Hat Red Hat,
Slackware linux" "
" . Slackware
,
, .
, Slackware, , bsolute,
,
, Slackware
.
WM (DM) ,
. KDE,
Gnome, XFC, LXDE,
.


, .

.
, gentoo
, ,
,
,
, , , .
,
.
IceWM, openbox Enlightenment
.
WM , WM
(Enlightenment DE, ,
), fvwm , ,
,
,
. IceWM , ,
,
,
. Openbox , , WM. Enlightenment E16
IceWM, ,
, IceWM, ,
. Enlightenment E17 ,
IceWM. Enlightenment "
" ,
. WM
.


, WM(DM), KDE Slackware,
, , ,
Slackware,
. Slackware,
,
. Slackware
,
,
. ,
,

II

(Nvidia www.nvidia.com/object/unix.html
www.nvidia.ru/Download/Find.aspx?lang=ru)

font
terminus
download.salixos.org/i486/14.0/salix/x/terminusfont4.38noarch1gv.txz


ftp.yandex.ru/slackware/slackware*.*iso/slackware*.*
installdvd.iso(ISO c ), * Slackware.
dvd
( 19 /)
liveCD gparted.
ext3 ext4. Xfs jfs
,
, . Reiser3
ext4 ext3, ,
reiser4 , C
,
. Btrfs ext,
,
. ext3 ext4. , ext4
, ext3.
ext4,
,
ext3. ,
,
,
. 19 .
DVD ( bios
CD)
boot Enter
( Enter,
)

Enter ( )
root ( , fdisk
)
setup
"ADDSWAP option" ,

()

fstab
SOURCE DVD (CD),

SELECT
E GNU Emacs, F FAQ , KDE, KDEI Language
support KDE, XFCE, Y Classic textbased BSD games
full mode

,

( , )
utf8
LILO auto mode ( Slackware ,
, Windows, lilo MBR)
, ,

gpm
, ADSL 198.162.1.2,
255.255.255.0, gateway 192.168.1.1, DNS
, ssh, bind, pcmcia ( ) .
Cyr_a8x16
hardware clock in set to localtime (
)

(fluxbox)
root
exit
ctrlaltdel
root
adduser
, /etc/sudoers . ,

, /etc /boot,
.
startx (, , :). fluxbox.
, xwmconfig fluxbox.
,
(xterm, rxvt) .
mc.
installpkg terminus-font-4.30-noarch-1tm.txz

/etc/X11/appdefaults/XTerm /root/XTerm,
, ,
alth mc
XTerm*font: -xos4-terminus-bold-r-normal--22-220-72-72-c-110-iso10646-1
XTerm*scrollBar: True
XTerm*geometry: 119x39+0+17
! Alt - h mc
XTerm*eightBitInput: false
XTerm*metaSendsEscape: true

, ,

netconfig, pppoe, etc


. :
/etc/slackpkg/mirrors (
)

slackpkg update


slackpkg install-new


slackpkg upgrade-all

, , ,
Expert
.
slackwiki.com/Minimal_System

III
lilo

/etc/lilo.conf ,
append=" vt.default_utf8=0"

:
append=" vt.default_utf8=1"

:
/sbin/lilo -v

( , vt.default_utf8=1)

UTF8

/etc/profile.d/lang.sh.
#!/bin/sh
# en_US is the Slackware default locale:
#export LANG=en_US
# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail
# to run properly. In those cases, you can set LANG=C before
# starting them. Still, I'd avoid UTF unless you actually need it.
#export LANG=en_US.UTF-8
export LANG=ru_RU.UTF-8
#
#
#
#
#
#

One side effect of the newer locales is that the sort order
is no longer according to ASCII values, so the sort order will
change in many places. Since this isn't usually expected and
can break scripts, we'll stick with traditional ASCII sorting.
If you'd prefer the sort algorithm that goes with your $LANG
setting, comment this out.

export LC_COLLATE=C
# End of /etc/profile.d/lang.sh

/etc/rc.d/rc.font.
unicode_start Cyr_a8x16
for i in 1 2 3 4 5 6;do
echo -ne "\033%G" >/dev/tty$i
done

/etc/rc.d/rc.keymap .

" \" bash


, ,
. xml
, " \" , ,
,
#!/bin/sh
# Load the keyboard map. More maps are in
#/usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
/usr/bin/loadkeys \
/usr/share/kbd/keymaps/i386/qwerty/ruwin_ct_sh-UTF-8.map.gz
fi


, /usr/share/kbd/keymaps/i386/qwerty/*
UTF8.map.gz.
/etc/rc.d/rc.font /etc/rc.d/rc.keymap .

slackware 13.1 /etc/X11/xorg.conf.d/90


keyboardlayout.conf ( CtrlShift).
Section "InputClass"
Identifier "keyboard-all"
MatchIsKeyboard "on"
Driver "evdev"
Option "XkbLayout" "us,ru"
Option "XkbVariant" ",winkeys"
Option "XkbOptions" "terminate:ctrl_alt_bksp,grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

CapsLock
"terminate:ctrl_alt_bksp,grp:caps_toggle,grp_led:scroll"

, 13.1
cp /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi \
/etc/hal/fdi/policy/10-keymap.fdi

/etc/hal/fdi/policy/10keymap.fdi.
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keymap">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">base</merge>
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">us,ru</merge>
<merge key="input.xkb.variant" type="string">,winkeys</merge>
<merge key="input.xkb.options"
type="string">terminate:ctrl_alt_bksp,grp:ctrl_shift_toggle,grp_led:scroll</
merge>
</match>
</device>
</deviceinfo>

NTFS

/etc/fstab.

/dev/sda* /mnt/sdb5 ntfs-3g locale=ru_RU.utf8,umask=000 1 0

(
Xorg, ),
. ,
www.linux.org.ru/wiki/en_Slackware_13_c_utf8, linuxforum.ru,
unixforum.org,
.

IVSlackware
Slackware ,
.
1

/var/log/packages,
removepkg <>.
installpkg <//>, upgradepkg --install-new
<//>. upgradepkg <//>.
upgradepkg --reinstall <//>.
slackpkg.
slackpkg help man slackpkg.
, . pkgtool,
, .

.
,

.
, , /var/log/removedpackages,
"" , "
" :).
DVD
MANIFEST , FILE_LIST ,
PACKAGES.TXT , DVD ,
www.slackware.org.uk/slackware/slackware14.0/slackware.

CHANGES_AND_HINTS.TXT
,
, , ,
,
, .
PClinuxOS IceWM qt4 (
, IceWM
qt, , ), googlearth.
,
, .
2

,
DVD
, .
,
.

slacky.eu
slakfinder.org
rlworkman.net/pkgs
connie.slackware.com/~alien/slackbuilds
slackers.it
Slackware ,
, (
) .
zenwalk (packages.zenwalk.org/?v=current).
.

slaptget gslapt,
,
. " Slackware"

c
. "",
, .
slaptget
gslapt
software.jaos.org/#slaptupdateservice
rpm
rpm2tgz. rpm pkgs.org,
. deb debian (
python, debain

).

PackageConverter

code.google.com/p/foxoman/wiki/PackageConverter, GUI alien,


. alien slacky.eu
fakeroot co download.salixos.org/i486/14.0/salix/ap dpkg co slackbuilds.org.
,
, .
slakfinder.org,
,
, www.debian.org/distrib/packages#search_packages,
ubuntu, packages.ubuntu.com, .
, ,

, .

,
, src source.
3

, ,
,
, .
slackbuilds
(make &&make
install) , .

README, INSTALL
,
, .

.

workerroxtermjuffed , ,
. worker.tbz.
A.

, .
freshmeat.net, sourceforge.net.
, ,
,
www.debian.org/distrib/packages packages.ubuntu.com/ru,
,
.

, svn, git
mercurial. ,
, youtube
,
.
,
,
, :)
svn
svn co ( checkout) <URL svn>


svn co -r < > <URL svn>

git
git clone <URL git>

mercurial
hg clone < URL mercurial>
B.slackbuild

Slackbuild ,
.
.SlackBuild /tmp ( ,
PKG= slackbuild).

slackbuild slackbuilds.org.
, ,
slackbuilds.or,
www.wuala.com/SergMarkov19/Slackbuilds. slackbuild ,
slackbuilds.org. slackbuild.
, slackbuild,
slackbuild,
VERSION=. ,
slackbuild BUILD, ,
:).
slackbuild configure
( ./configure help ).
(
)

OUTPUT=$(pwd) TMP=$(pwd) ./some.SlackBuild.

, ~/.bashrc,
export OUTPUT="/usr/local/packages"
export PKGTYPE="txz"

slackbuilds.org ,
,
( ), VERSION
( ),
.

make &&make install
, slackbuild , FAQ slackbuilds.org/faq
.

alien.slackbook.org/AST.

ArchLinux www.archlinux.org/packages,

slaptsrc, sourcery,
sbopkg.

,
. ,
, ,
. . sbopkg.
sbopkg.org/queues.php.
,
.
source/, , src, source
.

C.

,
.

: KDE
IceWM openbox, krusader KDE
worker xlib, worker ,
python ,


, ,
,
.

.
, ,
, .
,
.

. ,

, gcc :)
D.


, ,
,
.
.
.

make , ,
./configure .
,
, ,
.
,configure

configure.

./configure --help

( :)
./configure

,
,
[]\.

prefix=/usr/local, /usr
/opt/, /usr/local ,
. prelink, (
13.37) withpic,
./configure help.
,
.
,
,
, .
./configure Makefile
, ,
configure.
,
.
#!/bin/bash
#
renice 19 $$ > /dev/null
./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
# gcc
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1 -fPIC" \
CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1 -fPIC" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
#
#
#
#

gcc,

CFLAGS="-O2 -march=i486 -mtune=i686" \
CXXFLAGS="-O2 -march=i486 -mtune=i686"

,cmake


CMakeLists.txt. cmake README
INSTALL.
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib \
-DMAN_INSTALL_DIR=/usr/man \
-DSYSCONF_INSTALL_DIR=/etc \
-DINCLUDE_INSTALL_DIR=/usr/include \
-DCMAKE_C_FLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \
-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1" \
-DCMAKE_CXX_FLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \
-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1"

build cmake,
README install,
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib \
-DMAN_INSTALL_DIR=/usr/man \
-DSYSCONF_INSTALL_DIR=/etc \
-DINCLUDE_INSTALL_DIR=/usr/include \
-DCMAKE_C_FLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \
-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1" \
-DCMAKE_CXX_FLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \
-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1"

cmake ,
,
DBUILD_foo=OFF, foo ,
. ,
cmake .
ccmake ..
, ,
. cmakegui.
,qmake

*.pro.
qmake README INSTALL,
*.pro.
qmake \
QMAKE_CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \

-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1" \


QMAKE_CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \
-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1"

,waf

, ,
waf.
waf. waf
README INSTALL. :
./waf configure \
--prefix=/usr \
--mandir=/usr/man

,
autogen.sh,
git. configure. .
, Makefile,
, .
Makefile, configure.ac, Makefile.am, Makefile.in,
autoreconf -v --install
E.


, gcc
. .

. , linuxbase (tar,
bz2, zlib ..), (GTK ), python perl
("O2 march=i486
mtune=i686"), .

(
, ,
:),
. x86
( SSE).

. autoconf ( configure)
~/.bashrc configure, configure
~/.bashrc. cmake (
CmakeLists.txt)

/usr/share/cmake
2.8/Modules/Compiler/GNU.cmake. qmake

/usr/lib/qt/mkspecs/common/g++.conf.
- .bashrc
~/.bashrc
# gcc
export CHOST="i686-pc-linux-gnu"
export CFLAGS="-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe -mmmx -m3dnow -falign-jumps=1 \
-falign-labels=1"
export CXXFLAGS="${CFLAGS}"
export LDFLAGS="-Wl,-O1 -Wl,--as-needed"

:
O3
march=native mtune=native

(mtune , )

( )
march=i686 mtune=i686,
.
mmmx (m3dnow, msse)
.
cat /proc/cpuinfo.
gcc.gnu.org/onlinedocs/gcc4.7.2/gcc/i386and
x86_002d64Options.html#i386andx86_002d64Options.
: msse(1,2,3,4) sse, mnosse(1,2,3,4)

pipe
, .
fomitframepointer (frame pointer)
, .
,
(frame pointer); .
.
falign* (
PIII K62).
Wl,O1 Wl,asneeded
( ).
O3, ,
, , , .
,
O3.
C ffastmath ,
,
sql(lite) .

, :) , ,

, ,
.
,
, , ,
.
LDFLAGS CFLAGS
"O2 march=i486 mtune=i686". ,
O3 O2,
LDFLAGS, falign fomit
framepointer.

, qt, gtk, zlib ..

SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LDFLAGS

~/.bashrc bash,
( ).
configuremakemake install
Makefile, configure.
( ,
mplayer , ,
configure
CFLAGS="-O3 -march=native -mtune=native -pipe \
-fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1 \
-falign-labels=1" \
CXXFLAGS="-O3 -march=native -mtune=native -pipe \
-fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1 \
-falign-labels=1" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

, ,

CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffersize=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffersize=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

fstackprotector
~/.bashrc make
&&make install, slackbuild
, /root/.bashrc,
slackbuild ,
.
,
.bashrc. ,
,

.
- configure
configure

#!/bin/bash
#
./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \
-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1" \
CXXFLAGS="-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe -mmmx -m3dnow -falign-jumps=1 \
-falign-labels=1" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
cmake

( " \"
"set" )
/usr/share/cmake-2.8/Modules/Compiler/GNU.cmake
# Initial configuration flags.
set(CMAKE_${lang}_FLAGS_INIT "")
set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g")
set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE "<CMAKE_$
{lang}_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE "<CMAKE_${lang}_COMPILER>
<DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
if(NOT APPLE)


# Initial configuration flags.
set(CMAKE_${lang}_FLAGS_INIT "-O3 -march=native -mtune=native -pipe -fomitframe-pointer -mmmx -m3dnow -falign-jumps=1 -falign-labels=1")
set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g")
set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O3 -march=native -mtune=native -pipe
-fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1 -falign-labels=1")
set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "-O3 -march=native
-mtune=native -pipe -fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1 -falignlabels=1")
set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE "<CMAKE_$
{lang}_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE "<CMAKE_${lang}_COMPILER>
<DEFINES> <FLAGS> -S <SOURCE> -o <ASSEMBLY_SOURCE>")
if(NOT APPLE)
qmake

/usr/lib/qt/mkspecs/common/gccbase.conf (CFLAGS
)
QMAKE_CFLAGS

+= -pipe

QMAKE_CFLAGS_RELEASE

+= -O2 -march=i486 -mtune=i686

QMAKE_CFLAGS+= -O3 -march=native -mtune=native -pipe


-fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1
-falign-labels=1

QMAKE_CFLAGS_RELEASE += -O3 -march=native -mtune=native


-pipe -fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1
-falign-labels=1

- slackbuild
slackbuildconfigure

slackbuild ( )
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

( ) x86 ( ,
~/.bashrc)
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \
-fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1 \
-falign-labels=1"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \
-fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1 \
-falign-labels=1"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \
-fomit-frame-pointer -mmmx -m3dnow -falign-jumps=1 -falign-labels=1"
LIBDIRSUFFIX=""
fi
SLKLDFLAGS="-Wl,-O1 -Wl,--as-needed"

,

CFLAGS="$SLKCFLAGS" \


CFLAGS="$SLKCFLAGS" \

LDFLAGS="$SLKLDFLAGS" \


export CFLAGS="$SLKCFLAGS"


export CFLAGS="$SLKCFLAGS"
export LDFLAGS="$SLKLDFLAGS"

, " \"
"sed"
#!/bin/bash
# slackbuikds.org
#
cp $1 $1.orig
sed -i 's/ SLKCFLAGS="-O2 -march=i486 -mtune=i686"/ SLKCFLAGS="-O3 -march=native
-mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow -falign-jumps=1 -falignlabels=1"/g' $1
sed -i 's/ SLKCFLAGS="-O2 -march=i686 -mtune=i686"/ SLKCFLAGS="-O3 -march=native
-mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow -falign-jumps=1 -falignlabels=1"/g' $1
sed -i 's/ SLKCFLAGS="-O2"/ SLKCFLAGS="-O3 -march=native -mtune=native -fomit-framepointer -pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1"/g' $1
sed -i 's/TAG=${TAG:-_SBo}/TAG=${TAG:-_am}/g' $1
sed -i 's/^NUMJOBS=.*/NUMJOBS=${NUMJOBS:-" -j2 "}/g' $1
sed -i 's/CFLAGS="$SLKCFLAGS" \\/CFLAGS="$SLKCFLAGS" \\\nLDFLAGS="-Wl,-O1 -Wl,--asneeded" \\/g' $1
sed -i 's/\/sbin\/makepkg -l y -c n $OUTPUT\/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$
{PKGTYPE:-tgz}/\/sbin\/makepkg -l y -c n $CWD\/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.
${PKGTYPE\:-txz}/g' $1
echo ' '
slackbuildcmake

configure export
cmake
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \

slackbuildqmake

configure export
qmake
qmake \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS"

prelink

prelink,

. prelink
CFLAGS SLKCFLAGS "fPIC" /
configure withpic.

,
gc, ,
,

,
(
+).
. ,
:)
:

-O3 -march=native -mtune=native -pipe -mmmx -m3dnow \
-falign-jumps=1 -falign-labels=1 \
-fprofile-dir=/tmp/prof/proga -fprofile-generate \
-fprofile-arcs -fprofile-values

/tmp/prof/proga


-O3 -march=native -mtune=native -pipe -mmmx -m3dnow \
-falign-jumps=1 -falign-labels=1 \
-fprofile-dir=/tmp/prof/proga -fprofile-use \
-fbranch-probabilities -fvpt -funroll-loops -fpeel-loops -ftracer

, fprofileuse
.
F.
autotoolscmake


. .
( )
make
make install DESTDIR=/tmp/packages-temp
cd /tmp/packages-temp
makepkg /tmp/packages.tgz ( makepkg /tmp/packages.txz)
cd ..
rm -rf /tmp/packages-temp

packages.txz .txz.
, Makefile DESTDIR,
, Makefile ,
,
/usr . (
:) Install
Makefile , ,
.
Makefile.
Install
-install -d $(PREFIX)/bin/

-install -d $(DESTDIR)/$(PREFIX)/bin/

makepkg slacktrack, ..
make install
cd /tmp/5
makepkg /tmp/.tgz ( makepkg /tmp/.txz)

slacktrack -cmrzSbY -p .tgz make install

slacktrack dvd.

slacktrack ,
,
, ,
.
. .
, /usr/bin/slacktrack
EXCLUDE_LIST="/dev/shm|/dev/shm/|/dev/shm$|/var/run/|/var/run$|/etc/dhcpc/|/etc/dhcpc
$|/var/cache/|/var/cache$|/media$|/media/|/srv$|/srv/|/selinux$|/selinux/|/var/lib/rpm|/var/li
b/rpm$|/var/yp$|/var/yp/|/sys$|/sys/|/initrd$|/initrd/|/dev/input$|/dev/input/|/dev/.udev/|/de
v/.udev$|/dev/vc$|/dev/vc/|/dev/console|/dev/pts$|/dev/pts/|/dev/ptmx|/dev/tty|/var/log|/et
c/mtab|/etc/resolv.conf|/etc/ld.so.cache|/tmp|/root|/proc|/var/tmp|/var/run/utmp"

EXCLUDE_LIST="/dev|/dev/|/dev$|/var/run/|/var/run$|/etc/dhcpc/|/etc/dhcpc$|/var/cache/|/
var/cache$|/media$|/media/|/srv$|/srv/|/selinux$|/selinux/|/var/lib/rpm|/var/lib/rpm$|/var/yp
$|/var/yp/|/sys$|/sys/|/initrd$|/initrd/|/dev/input$|/dev/input/|/dev/.udev/|/dev/.udev$|/dev/
vc$|/dev/vc/|/dev/console|/dev/pts$|/dev/pts/|/dev/ptmx|/dev/tty|/var/log|/etc/mtab|/etc/re
solv.conf|/etc/ld.so.cache|/tmp|/root|/proc|/var/tmp|/var/run/utmp"

, /dev ,
, .
,

#!/bin/sh
#
ARCH=${ARCH:-i686}
# ,
CWD=$(pwd)
name=$(basename $(pwd))
TMP=${TMP:-/tmp/compile-am}
PKG=$TMP/package-$name
OUTPUT=${OUTPUT:-/tmp}
#
rm -rf $PKG
#
#
SLKCFLAGS="-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe -mmmx -m3dnow -falign-jumps=1 \
-falign-labels=1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
#
#SLKCFLAGS="-O2 -march=i486 -mtune=i686"

CFLAGS="$SLKCFLAGS"
CXXFLAGS="$SLKCFLAGS"
# nice -n 19 make,
# make
#
# nice -n 19
nice -n 19 make || exit 1
make install DESTDIR=$PKG || exit 1
# strip
find $PKG | xargs file | grep -e "executable" \
-e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
#
if [ -d $PKG/usr/man ]; then
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
for i in $(find $PKG/usr/man -type l -name "*.?") ; \
do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
fi
# doinst.sh
mkdir -p $PKG/install
cat /opt/scripts/doinst.sh > $PKG/install/doinst.sh
# makepkg
cd $PKG
/sbin/makepkg -l y -c n $CWD/$name.txz
# slacktrack
# slacktrack -mzSp $CWD/$PRGNAM-$VERSION-$ARCH-$BUILD-$TAG.tgz \
# make install
#cp /tmp/$PRGNAM-$VERSION-$ARCH-$BUILD-$TAG.tgz \
#$CWD/$PRGNAM-#$VERSION-$ARCH-$BUILD-$TAG.tgz
#rm -rf /tmp/$PRGNAM-$VERSION-$ARCH-$BUILD-$TAG.tgz
echo ""
echo "" "$name.txz" " "

makepkg,
slacktrack
.

qmake

( )
make
make install INSTALL_ROOT=/tmp/packages-temp
cd /tmp/packages-temp
makepkg /tmp/packages.tgz ( makepkg /tmp/packages.txz)
cd ..
rm -rf /tmp/packages-temp

packages.txz .txz.
,

#!/bin/sh
#
ARCH=${ARCH:-i686}
# ,
CWD=$(pwd)
name=$(basename $(pwd))
TMP=${TMP:-/tmp/compile-am}
PKG=$TMP/package-$name
OUTPUT=${OUTPUT:-/tmp}
#
rm -rf $PKG
#
#
SLKCFLAGS="-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe -mmmx -m3dnow -falign-jumps=1 \
-falign-labels=1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
#
#SLKCFLAGS="-O2 -march=i486 -mtune=i686"
CFLAGS="$SLKCFLAGS"
CXXFLAGS="$SLKCFLAGS"
# nice -n 19 make,
# make
#
# nice -n 19
nice -n 19 make || exit 1
make INSTALL_ROOT=$PKG install || exit 1

# strip
find $PKG | xargs file | grep -e "executable" \
-e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
#
if [ -d $PKG/usr/man ]; then
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
for i in $(find $PKG/usr/man -type l -name "*.?") ; \
do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
fi
# doinst.sh
mkdir -p $PKG/install
cat /opt/scripts/doinst.sh > $PKG/install/doinst.sh
# makepkg
cd $PKG
/sbin/makepkg -l y -c n $CWD/$name.txz
# slacktrack
# slacktrack -mzSp $CWD/$PRGNAM-$VERSION-$ARCH-$BUILD-$TAG.tgz \
# make install
#cp /tmp/$PRGNAM-$VERSION-$ARCH-$BUILD-$TAG.tgz \
#$CWD/$PRGNAM-#$VERSION-$ARCH-$BUILD-$TAG.tgz
#rm -rf /tmp/$PRGNAM-$VERSION-$ARCH-$BUILD-$TAG.tgz
echo ""
echo "" "$name.txz" " "
waf

:
./waf build
./waf install destdir=/tmp/packages-temp
cd /tmp/packages-temp
/sbin/makepkg -l y -c n packages.txz

packages .
python

python, .
INSTALL / README
,
, package.txz .txz.

p#!/bin/bash
#
# build-python-packages
# C (python)
#
renice 19 $$ > /dev/null
CWD=$(pwd)
name=$(basename $(pwd))
#name=basename $(pwd)
rm -rf /tmp/temp-packages19
mkdir /tmp/temp-packages19
mkdir -p /tmp/python-package19
#
# setup.py install.py;'
#
python ./setup.py build
#
#python ./install.py build
#
python setup.py install --root=/tmp/python-package19
#
#python install.py install --root=/tmp/python-package19
#
cd /tmp/python-package19
mv usr/share/man usr/man
mv usr/share/doc usr/doc
/sbin/makepkg -l y -c n $CWD/$name.txz
rm -rf /tmp/python-package19
echo "" "$name.txz" " "
echo

python setup(install).py help


.
.

,
pypi.python.org/pypi

python2.6 python .
c PyPI the Python
Package Index, ,
pip pypi.python.org/pypi/pip.
www.pipinstaller.org/en/latest/index.html.
:
pip
pip
pip
pip

search -v <package>
install -v <package>
uninstall -v -y <package>
freeze -v

pip list -v
pip show -v <package>
perl

, perl,
CPAN.
perl ,
:
#!/bin/bash
# nice -n 19 make,
# make
# nice -n 19
renice 19 $$ > /dev/null
#
ARCH=${ARCH:-i686}
# ,
CWD=$(pwd)
name=$(basename $(pwd))
TMP=${TMP:-/tmp/compile-am}
PKG=$TMP/package-$name
OUTPUT=${OUTPUT:-/tmp}
#
rm -rf $PKG
#
SLKCFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow \
-falign-jumps=1 -falign-labels=1 -fPIC"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
# SLKCFLAGS
# SLKCFLAGS="-O2 -march=i486 -mtune=i686"
CFLAGS="$SLKCFLAGS"
CXXFLAGS="$SLKCFLAGS"
perl Makefile.PL
nice -n 19 make || exit 1
make install DESTDIR=$PKG || exit 1
mv $PKG/usr/share/man $PKG/usr/man
# strip
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
#
if [ -d $PKG/usr/man ]; then
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
fi

# doinst.sh
mkdir -p $PKG/install
cat /opt/scripts/doinst.sh > $PKG/install/doinst.sh
# c makepkg
cd $PKG
/sbin/makepkg -l y -c n $CWD/$name.txz
echo ""
echo "" "$name.txz" " "

, ,
perl
perl-CPANPLUS-Dist-Slackware slacbuilds.org
.

cpanp. man cpanp,
man .
:
a AUTHOR ...
m MODULE ...
f MODULE ...

# search by author(s)
# search by module(s)
# list all releases of a module

i MODULE ...
t MODULE ...
u MODULE ...
d MODULE ...
l MODULE ...
r MODULE ...
c MODULE ...
z MODULE ...

# install module(s)
# test module(s)
# uninstall module(s)
# download module(s)
# display detailed information about module(s)
# display README files of module(s)
# check for module report(s) from cpan-testers
# extract module(s) and open command prompt in it

# reload CPAN indices

o [ MODULE ... ] # list installed module(s) that aren't up to date

i MODULE ,
.
/usr/bin/gzip -> /bin/gzip.

cpan2dist (
/tmp)
cpan2dist --verbose --format CPANPLUS::Dist::Slackware :

/tmp,
, .
perl, no
blabla/ablabl blabla::ablabl,

www.cpan.org. CPAN
cpanp, perl cpanp -m MODULE.
perl
CPAN. , , man cpanp.

.
Perl ,
. :
perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'

CPAN
(, Term::ReadKey Term::ReadLine::GNU) ,

doinst.sh,
,
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
preserve_perms() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
if [ -e $OLD ]; then
cp -a $OLD ${NEW}.incoming
cat $NEW > ${NEW}.incoming
mv ${NEW}.incoming $NEW
fi
config $NEW
}
schema_install() {
SCHEMA="$1"
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
chroot . gconftool-2 --makefile-install-rule \

/etc/gconf/schemas/$SCHEMA \
1>/dev/null
}
schema_install blah.schemas
preserve_perms etc/rc.d/rc.INIT.new
config etc/configfile.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
if [ -x /usr/bin/glib-compile-schemas ]; then
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
fi

,
/etc schemas ,

if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

,
make clean ,
, (
:)
,
/sbin/makepkg -l y -c n /tmp/packages.txz, packages.txz
.txz
,
,

#!/bin/sh

export PATH=\
`pwd`:\
$PATH
export LD_LIBRARY_PATH=\
`pwd`:\
$LD_LIBRARY_PATH
./program_name

4ArchLinux

ArchLinux
PKGBUILD,
SlackBuild .
ArchLinux (
),
, .
:
, ,


, ,
, .
,
DVD ,
. abs aur
, .
PKGBUILD abs (Arch Build System)
git
git clone git://projects.archlinux.org/svntogit/packages.git

PKGBUILD

aur

aur.archlinux.org/packages.php ().
PKGBUILD makepkg
pacman. pacman
, , ,
makepkg pacman (
www.archlinux.org/packages/core/i686/pacman) ,
root pacman
#!/bin/sh
CWD=$(pwd)
mkdir -p /tmp/pkg-arch/src
cd /tmp/pkg-arch/src
tar xvf $CWD/pacman-*.pkg.tar.xz
mkdir -p /tmp/pkg-arch/pkg/sbin /tmp/pkg-arch/pkg/etc
cp -ap /tmp/pkg-arch/src/etc/makepkg.conf /tmp/pkg-arch/pkg/etc/makepkg.conf

cp -ap /tmp/pkg-arch/src/usr/bin/makepkg /tmp/pkg-arch/pkg/sbin/makepkg-arch


cd /tmp/pkg-arch/pkg
/sbin/makepkg -l y -c n $CWD/makepkg-arch.txz
rm -rf /tmp/pkg-arch

makepkgarch.txz.
/etc/makepkg.conf

#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1 -fPIC"
CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1 -fPIC"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j1"

abs abs.

PKGBUILD

abs
c
www.archlinux.org/packages/extra/i686/abs
(projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/abs ).
PKGBUILD ( fakeroot co
slackbuilds.org) , root PKGBUILD.
PKGBUILD.
#!/bin/bash
renice 19 $$ > /dev/null
CWD=$(pwd)
name=$(basename $(pwd))
/sbin/makepkg-arch --asroot || exit 1
cd pkg
mkdir install
sed -n -e '/post_install() {[[:space:]]*$/,/^[[:space:]]*}[[:space:]]*$/p' .INSTALL | sed -e '1d;$d' -e 's/[[:space:]]*//' > install/doinst.sh
namepkg=$(sed -n '/pkgname=/p' $CWD/PKGBUILD | sed 's/pkgname=//') > /dev/null
version=$(sed -n '/pkgver=/p' $CWD/PKGBUILD | sed 's/pkgver=//') > /dev/null
rm -rf .INSTALL > /dev/null
rm -rf .PKGINFO > /dev/null
mv usr/share/man usr/man
mv usr/share/doc usr/doc
/sbin/makepkg -l y -c n $CWD/$namepkg-$version-archlinux.txz

/etc/abs/conf abs

[ "$ABSROOT" = "" ] && ABSROOT="/____abs/"

pacmanmirrorlist
( pacman.d /etc). /etc/
pacman.d/mirrorlist , Server =
http://mirrors.liquidweb.com/archlinux/$repo/os/$arch.
abs .
abs abs.

PKGBUILD
, .
, depends,
makedepends, optdepends PKGBUILD. Depends ,
, makedepends
, optdepends
. ,
.
,
, aur. ,
, ,
PKGBUILD pkgver md5sums (sha256sums) .
PKGBUILD ,
www.archlinux.org/packages, aur
aur.archlinux.org/packages. ,
( pdf)
abs aur,
, wiki.archlinux.org.
worker,
( /etc/sudoers) worker.tbz.

( ),
( :).
5Debian

Debian (Ubuntu) ,
. ,
ArchLinux, Debian(Ubuntu)

.
, ,
, dpkg co slackbuilds.org
( fakeroot).

www.debian.org/distrib/packages.ru.html#search_packages,

packages.ubuntu.com.
.dsc, .orig.tar.bz2, .debian.tar.bz2,
root dpkg-source -x .dsc.

.
, .
6
,
( ) ,
. ,
() , ,

.
, evince
GTK3, GTK2 (GTK
Slackware 14, ).
GTK3 /opt/system/gtk3.1.2,
GTK2,
, ./configure help
GTK2. ,
prefix /usr, /opt
./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/opt/system/gtk-3.1.2 \
--enable-xinput \
--enable-xkb \
--disable-introspection \
CFLAGS="-O2 -march=i486 -mtune=i686" \
CXXFLAGS="-O2 -march=i486 -mtune=i686"

, ,
. GTK3, ,
updatedb ; locate *.pc | grep gtk.
GTK3 ,
/etc/ld.so.conf, GTK3,

/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/seamonkey
/usr/lib/qt/lib
/opt/e17/lib
/usr/lib/xulrunner
/opt/system/gtk-3.1.2/lib

ldconfig, .
GTK3 ,
configure , evince
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH: \
/opt/system/gtk-3.1.2/lib/pkgconfig/

evince ,
/usr, , /usr/local /opt,
.
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH: \
/opt/system/gtk-3.1.2/lib/pkgconfig/ \
./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \

--prefix=/usr/local \
--disable-scrollkeeper \
--disable-nautilus \
CFLAGS="-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe -mmmx -m3dnow \
-falign-jumps=1 -falign-labels=1" \
CXXFLAGS="-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe -mmmx -m3dnow \
-falign-jumps=1 -falign-labels=1"

.
evince3 .
GTK3 . /root/.bashrc
/home/user/.bashrc
export XDG_DATA_DIRS=/usr/share:/usr/local/share:\
/opt/system/gtk-3.1.2/share
export XDG_SHARED_DIR=/usr/share:/usr/local/share:\
/opt/system/gtk-3.1.2/share

~/.bashrc

GTK3,

org.gtk.Settings.FileChooser.gschema.xml
glib-compile-schemas /opt/system/gtk-3.1.2/share/glib-2.0/schemas/*

evince3 , ,
:) ,
, ,
, .

worker,
worker.
worker roxterm
juffed worker.tbz.
, worker roxterm juffed
.

V
.
, , ..
. ,
, :).
1

,

, ,
.
.
,
, ,
,
,
. nvidia
, packages.ubuntu.com.
, ,
nvidia :)
.
, .
BFS ( ), BFQ
( ), TuxOnIce (hibernate).
. ck1
( BFS ), pf ( BFS, BFQ,
TuxOnIce, ), zen (
).
, BFS, BFQ, ck1 , pf
, zen ,
.

,
BFS BFQ, pf.
,
, , ,
.
www.kernel.org/pub/linux/kernel.
.
, ,
,
. ,
,
.
3.5.4 testing/source/configtesting3.5.4, (
, Arch Linux,

) . 3.2, ,
bfs, 3.6, testing,
ext4.

/usr/src
/usr/src/linux*.**.** /usr/src/linux,
/usr/src/linux.
kernel.org, DVD,
kernelsource* DVD ../install/doinst.sh ,
. BFS ck.kolivas.org/patches
BFQ algo.ing.unimo.it/people/paolo/disk_sched/patches.
, .

:
/boot, /lib/modules /etc/lilo.conf.
, /boot, /lib/modules
/etc/lilo.conf, lilo v .
, ,
liveCD, /boot, /lib/modules
/etc/lilo.conf, DVD Slackware,
,
hugesmp.s root=/dev/sda1 rdinit= ro

sda1 , rdinit= .
lilo -v. chroot liveCD ,
DVD .
, patch -p1 -i , BFS,
BFQ /usr/src/linux.
3.5.4 testing, /usr/src/linux/.config
/proc/config.gz (
config .config :)
make oldconfig.
BFQ. Enter .
make localmodconfig,
.

make localyesconfig

-

make menuconfig /
.
General setup Local version append to kernel
release ,

BFQ (BFS )
Enable the block layerIO shedulersDefault IO Sheduler BFQ
General setupKernel compression mode
bzip2.
()
General setup Configure standard kernel features (for small systems)
General setup Timers subsystem Tickless System
(Dynamic Ticks) . .
Processor type and features
Preemption Model Preemptible kernel (Low latency desktop)
Timer frequency 1000Hz ( ,

, 1000,

,
)

Processor type and features Processor family. EFI,
686.
,

(GenericX86 support) Math emulation,


.
Maximum number of
CPU. 1 SMP
, NVIDIA.
Power management and ACPI options CPU Frequency scaling Default
CPUFreq governor userspace performance.
(General SetupControl group support)
.
( ) File
System.

( ) (P437, 850,
855,
1250,ASCII, 866, CP1251, KOI8R, UTF8, ISO88591,
ISO8595), File system Native Language support.
(Default) UTF8.

Nvidia
framebuffer nvidia rivaTNT,
.

Device Drivers Serial ATA and Parallel ATA drivers,


File
systems. , make localmodconfig make localyesconfig
, ,
.
Device Drivers I2C support I2C
Hardware Bus support.

DVD SCSI
generic
localmodconfig ,


Device Drivers Sound card support Advanced Linux Sound Architecture
PCI sound devices Device Drivers Network device support Ethernet
driver support, .
Virtualization
Save Alternative Configuration File (
.config ).
~/.bashrc, /tmp,
.
make bzImage

make modules
lilo.conf ( )
# Linux bootable partition config begins
image = /boot/vmlinuz.old
root = /dev/sda*
label = Slackold
# Partitions should be mounted read-only for checking
read-only

vmlinuz.old ,lilo
,
.
make modules_install
make install
lilo v
/root/.bashrc /home/user/.bashrc

, lilo, :)
,
,

.
.
make
localmodconfig, ,
:). ,
, ,
.
"/". ,
(*), (m).
(trace, debug).
.
Net IPv6, iptables ( :).
(Kernel hacking), Enable
deprecated logic, Enable __must_check logic, Magic SysRq key, Strip assembler
generated symbols during link, Filter access to /dev/mem, Enable verbose x86 bootup
info messages, Allow gcc to uninline functions marked 'inline'.
, , ,
.
,
,
, (
:), , , .

#!/bin/sh
mkdir -p /tmp/kernel-package/boot
cd /tmp/kernel-package
cp /boot/vmlinuz ./boot/
cp /boot/System.map ./boot/
# **-** , .
#
# EXTRAVERSION /usr/src/linux/Makefile
cp /lib/modules/**-**/build/.config ./boot/config
mkdir -p /tmp/kernel-package/lib/modules
cp -a /lib/modules/**-** ./lib/modules/
makepkg -l y -c n /tmp/kernel-**-**-i686.txz
rm -rf /tmp/kernel-package

kernelnewbies.org,
.

2NVIDIA


dvd/extra/xf86videonouveaublacklist/xf86videonouveaublacklistnoarch
1.txz nouveau
/etc/modprobe.d/BLACKLISTnouveau.conf
# Do not load the kernel nouveau dri module, since it
# interferes with both
# the nv and binary nvidia drivers.
blacklist nouveau

CtrlAltBackSpace.
./Nvidia* . xorg.conf.

ATI :)

vdpau
GPU NVIDIA c slackbuilds.org

nvidia-settings, (
), xorg.conf.
nvidia-xconfig --composite --no-logo --render-accel

/etc/X11/xorg.conf (
nvidia)
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder63) Tue Jul 13 13:32:36 PDT 2010
Section "ServerLayout"
Identifier
"Layout0"
Screen
0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
FontPath
FontPath
FontPath
FontPath
FontPath
FontPath
FontPath
FontPath
FontPath
FontPath
EndSection

"/usr/lib/X11/fonts/misc/:unscaled"
"/usr/lib/X11/fonts/100dpi/:unscaled"
"/usr/lib/X11/fonts/75dpi/:unscaled"
"/usr/lib/X11/fonts/misc/"
"/usr/lib/X11/fonts/Type1/"
"/usr/lib/X11/fonts/Speedo/"
"/usr/lib/X11/fonts/100dpi/"
"/usr/lib/X11/fonts/75dpi/"
"/usr/lib/X11/fonts/cyrillic/"
"/usr/lib/X11/fonts/TTF/"

Section "Module"
#Load "GLcore" #should be removed/commented out
Load
"dbe"
SubSection
"extmod"
Option
"omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load
"extmod"
Load
"type1"
Load
"freetype"
Load
"glx"
#Load "dri"
#should be removed/commented out
EndSection
Section "ServerFlags"
Option
"Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier
"Mouse0"
Driver
"mouse"
Option
"Protocol" "auto"
Option
"Device" "/dev/psaux"
Option
"Emulate3Buttons" "no"
Option
"ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier
"Keyboard0"
Driver
"kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier
"Monitor0"
VendorName
"Unknown"
ModelName
"Samsung SyncMaster"
HorizSync
30.0 - 81.0
VertRefresh
56.0 - 60.0
Option
"DPMS"
EndSection
Section "Device"
Identifier
"Videocard0"
Driver
"nvidia"
VendorName
"NVIDIA Corporation"
BoardName
"GeForce4 MX 440"
Option "AllowGLXWithComposite" "True"
Option
"RenderAccel" "True"
EndSection

Section "Screen"
Identifier
"Screen0"
Device
"Videocard0"
Monitor
"Monitor0"
DefaultDepth 16
Option
"metamodes" "1920x1080_60 +0+0; 1280x1024 +0+0; 1024x768 +0+0;
800x600 +0+0; 640x480 +0+0"
Option
"NoLogo" "True"
#
# BackingStore - ,
# ,
#
Option
"BackingStore" "True"
# TripleBuffer -
# .
# ,
#
# Option "TripleBuffer" "True"
# DamageEvents -
# ( MultiGPU)
Option "DamageEvents" "True"
# SubSection
"Display"
#
Depth
16
#
Modes
"1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
# EndSubSection
EndSection
Section "Extensions"
Option
"Composite" "Enable"
Option "RENDER" "Enable"
EndSection

AGP Fast Write SB Nvidia.


,
, ,
.
2D,

nvidia-settings -a InitialPixmapPlacement=2

~/.xinitrc.

cgit.freedesktop.org/~aplattner/nvidia
settings/tree/src/libXNVCtrl/NVCtrl.h?
id=b27db3d10d58b821e87fbe3f46166e02dc589855#n2797
nvidia
, ( help)

nouveau, mesa.
SLKCFLAGS SLKLDFLAGS ,
" " (
SSE).

3libjpegturbo

libjpeg sse mmx.


slackbuilds.org.
,
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
else
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

, , ( SLKCFLAGS SLKLDFLAGS
" ").
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1"
LIBDIRSUFFIX=""
fi
SLKLDFLAGS="-Wl,-O1 -Wl,--as-needed"


CFLAGS="$SLKCFLAGS" \

CXXFLAGS="$SLKCFLAGS" \

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="$SLKLDFLAGS" \


PREFIX=${PREFIX:-/opt/$PRGNAM}

PREFIX=/usr


libjpeg, libjpegturbo,
libjpegturbo.

4cairo

.
ftp.osuosl.org/pub/slackware/slackware14.0/source/l/cairo
libjpegturbo .
,
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
else
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi

, , ( SLKCFLAGS SLKLDFLAGS
" ").
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \

-mmmx -m3dnow -falign-jumps=1 -falign-labels=1"


LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O3 -march=native -mtune=native -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1"
LIBDIRSUFFIX=""
fi
SLKLDFLAGS="-Wl,-O1 -Wl,--as-needed"


CFLAGS="$SLKCFLAGS" \

CFLAGS="$SLKCFLAGS" \
LDFLAGS="$SLKLDFLAGS" \

5java

jre7 14 ,
jre7.
ftp.osuosl.org/pub/slackware/slackware14.0/extra/java.
java 7
, ,
java 6,
jre7. jre6 13.37
ftp.osuosl.org/pub/slackware/slackware13.37/source/l/jre.
jre, ,
jre , ,
.

( )
qt gdkpixbuf2.

Qscintilla,
sqlite,
, , .

VI

. ,
.
/usr, /usr/local
.
linux ( ).
./configure, ,
. Slackbuild slackbuilds.org. slackbuild
,
. , slackbuilds.org (
), VERSION.
( ) ...
, .

( ).
, /usr/local/bin.
,

.
, ,
.

.
.
slackbuilds.org ,
vala, libgee, enca, ORBit2, lua.

1WM
IceWM , slackbuilds.org
IceWM

, ,
.
xwmconfig, IceWM,
(CtrlAltBackSpace), startx icewm.
Openbox , slackbuilds.org

fusepython
sourceforge.net/projects/fuse/files/fusepython,
.
slackbuilds.org openbox (
slackbuilds.org), openboxthemes, obconf, obmenu.
obtheme xyne.archlinux.ca/projects/obtheme (
/usr/local/bin),
#!/usr/bin/env python2


#!/usr/bin/env python

menumaker co
slackbuilds.org. OBApps
co slackbuilds.org.
openbox , tint2, lxpanel, bmpanel2 co
slackbuilds.org, fbpanel fbpanel.sourceforge.net. lxpanel lxmenudata
menucache co slackbuilds.org. , slackbuilds.org.
openbox

fehco slackbuilds.org. giblib co slackbuilds.org

nitrogen co slackbuilds.org. libsig++, glibmm, cairomm, pangomm,


mmcommon, atkmm, gtkmm, libglademm, gconfmm. slackbuilds.org.
,
nitrogen .
EnlightenmentE16

E16 sourceforge.net/projects/enlightenment/files

E16
./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
--enable-sound=no \
--enable-modules=yes \
enableglx\
enablexft\
enablepango=no\
CFLAGS="-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe -mmmx -m3dnow \
-falign-jumps=1 -falign-labels=1" \
CXXFLAGS="-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe -mmmx -m3dnow \
-falign-jumps=1 -falign-labels=1" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

~/.e16 ~/.enlightenment
e16menuedit - , e16doc E16, ew16
themes , e16keyedit , epplets .
. , .

/etc/X11/xinit xinitrc.e16

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager:
exec /usr/bin/e16

xwmconfig WM
EnlightenmentE17

slackbuilds.org embryo, eina, eet, evas, ecore, edje,


e_dbus, efreet, eeze, enlightenment.
~/.e ,
, " " :)
xcompmgr X11.

,
(

),
xcompmgr , IceWm openbox.
xcompmgr

./configure \

--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow

-falign-jumps=1 -falign-labels=1 -fPIC" \


CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow
-falign-jumps=1 -falign-labels=1 -fPIC" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
ompton

, xcompmgr c
. github.com/chjj/compton.
, .
wmdrawer ,

. ,
.
slackbuilds.org.
slackbuilds.org
p7z
unrar

zip , UTF8,

www.opennet.ru/tips/info/2494.shtml.
:), , wine
7z, peazip, winrar.
worker

, ,
, ftp .
, , .
:) , ,
TTF .
, GUI,
, . ,
, ,
.
roxterm juffed.
worker.tbz. slackbuilds.org. configure
withdbus=no \
worker ,
.
devilspie -

, ..
. slackbuilds.org.
devilspie frontend gdevilspie, ()
code.google.com/p/gdevilspie/downloads/list. pyxdg slackbuilds.org
pythonwnck. aur ArchLinux.

pythonwnck ftp://ftp.gnome.org/pub/GNOME/sources/gnome
pythondesktop/2.32/gnomepythondesktop2.32.0.tar.gz.


./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
--disable-gtk-doc \
--disable-applet \
--disable-gnomeprint \
--disable-gnomeprintui \
--disable-gtksourceview \
--disable-totem_plparser \
--disable-gtop \
--disable-nautilusburn \
--disable-braseromedia \
--disable-braseroburn \
--disable-mediaprofiles \
--disable-gnomekeyring \
--disable-gnomedesktop \
--disable-bugbuddy \
--disable-evolution \
--disable-evolution_ecal \
--disable-evince \
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow
-falign-jumps=1 -falign-labels=1 -fPIC" \
CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow
-falign-jumps=1 -falign-labels=1 -fPIC" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

IceWM
, worker c .
~/.icewm/winoptions worker
Rename.Worker.geometry: +500+290.
xprop.
explorerlike SpaceFM
sourceforge.net/projects/spacefm, PCManFM
. spacefm .
, disablesuperuser
checks. slackbuilds.org.
roxterm .

roxterm "" , "


" ,
worker,
slackbuilds.org.
lilyterm lilyterm.luna.com.tw,
roxterm

juffed

,
,

. slackbuilds.org, .
: sourceforge.net/projects/juffed/files/Plugins/0.8.1,
qmake .
ne , vim emacs.

ne 1993 Amiga
.. "If you have the
resources and the patience to use emacs or the right mental twist to use vi then
probably ne is not for you. However, if you need an editor that (
)" ne.. :)
, , ( ),
, ,
.
worker. ne.dsi.unimi.it.

slackbuilds.org.

www.emerson.emory.edu/services/editors/ne/Top.html.

./version.pl
mkdir -p /tmp/ne-packages/usr
make PREFIX=/usr
make PREFIX=/tmp/ne-packages/usr install
cd /tmp/ne-packages
/sbin/makepkg -l y -c n -p /tmp/ne.tgz

ne , ,
( ,

www.amazon.com/clouddrive/?
downloadById=bd06004d8c5f41f8bdc988c9644cdab9&attachment=0

tilde
(os.ghalkes.nl/tilde.html) ,
. aur ArchLinux.
tea (teaeditor.sourceforge.net),

. "",
" (, ..)
, , , , ,
. , ,
,
.
, qtlinguist
, ,
, , (
, , )
rlvn.qrc.
,
.

tea33.1.0, rlvn.qrc
www.wuala.com/SergMarkov19/Guidepdf/tea33.1.0
classicmod.tar.bz2. origin tea, mod ,
tea.

qmake USE_PRINTER=false USE_ASPELL=true USE_HUNSPELL=false PREFIX=/usr

geany slackbuilds.org,
,
.
XML ,
XML code.google.com/p/qxmledit. aur
ArchLinux. qmake. qxmledit
opt/qxmledit qxmledit.sh
qxmledit

#!/bin/sh
cd /opt/qxmledit
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/qxmledit
./QXmlEdit "$1"
xneur .

xneur.ru/downloads
xneur
./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
--with-sound=no \
--without-keylogger \
--without-xosd \
--without-libnotify \
--with-gtk=gtk2 \
--with-spell=aspell \
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx
-m3dnow -falign-jumps=1 -falignCXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx
-m3dnow -falign-jumps=1 -falig
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

gxneur, xneur. .
./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \

--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
--without-appindicator \
--without-gconf \
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx
-m3dnow -falign-jumps=1 -falign-labels=1 -fPIC" \
CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx
-m3dnow -falign-jumps=1 -falign-labels=1 -fPIC" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
regexxer

.
libsigc++, glibmm, cairomm, pangomm, mmcommon, atkmm,
gtkmm, libglademm, gconfmm. slackbuilds.org.
, regexxer,
.
slackbuilds.org, ,
GTK3
.
docfetcher

. docfetcher.sourceforge.net/en/index.html
jre,
, jre ( tar.gz)
www.oracle.com/technetwork/java/javase/downloads/index.html,

,
,
,

ftp.osuosl.org/pub/slackware/slackware14.0/extra/java,
./java.SlackBuild ./jre-7*.tar.gz

java jre
, (exit) .
docfetcher
docfetcher <user>:user, <user>
.
recoll ,

, .
backend Xapian. recoll ,
Xapian ,

. C slackbuilds.org ( slackbuilds.org).
, , ,
.
wv rlworkman.net/pkgs/14.0/i486, antiword, catdoc, exiftool,
mutagen, pstotext, pychm, python2chardet slackbuilds.org rarfile
co
pypi.python.org/pypi/rarfile

unrtf slackbuilds.org, unrtf slackbuilds.org


www.lesbonscomptes.com/recoll/unrtf/unrtf0.22.2beta.tar.gz,
VERSION unrtf.
xapiancore slackbuilds.org. ,
ssl, , configure
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--disable-sse \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux

recoll aspellru.
recoll
.
:
regexxer /
(html ) ;
docfetcher ,
recoll; recoll
, .
meld slackbuilds.org.

rarian slackbuilds.org.
diffuse
diffuse.sourceforge.net. ,
setup.py install.py.
slackbuilds.org
psensor . aur ArchLinux, ,

.
wpitchoune.net/psensor/files
trashCaN .

www.richardneill.org/src/cn1.20.tar.bz2 www.ruo3.org/~rjn/src/cn1.20.tar.bz2
worker.
freedesktop /.trash, .. worker
sudo cn t /.trash f {A} cn /etc/sudoers.
trashcli slackbuilds.org,
.
clipit - , parcellite,

.
, "",
clipit, , clipit
htop ,

.
xdotool slackbuilds.org.
sourceforge.net/projects/gtkclipit/files. slackbuilds.org

CopyQ

github.com/hluk/CopyQ,
, , ,
. qmake. aur
ArchLinux. 1.5.0.
cairodock
, cairodock
clipper.
cairodock,cairodockplugins - .

slackbuilds.org, ,
gnome
, gnome.
gnome . gtkglext
slackbuilds.org.
cairodock repository.slacky.eu/slackware13.1/desktop/cairo
dock/2.1.3_9/src
launchpad.net/cairodockcore/2.1/2.1.3/+download/cairodock2.1.3
9.tar.gz
34 src/cairodockkeybinder.h
#include <glib/gtypes.h> #include <glib.h>, gcc.
cairodockplugin repository.slacky.eu/slackware
13.1/desktop/cairodockplugins/2.1.3_9_2/src ( ).

yeahlaunch www.bstern.org/yeahlaunch.
aur ArchLinux.
Avant Window Navigator,
, xcompmgr,
, xcompmgr awn .
slackbuilds.org (
).
, .
gdmap ( ).
xdiskusage xdiskusage.sourceforge.net. ,

.
gprename . gcc.

perlgtk2.SlackBuild, , make
test, #make test
siren
www.scarabeesoftware.net/en/siren.html. ,
.

wxhexeditor HEX ( ,

wxPython, ).
wxPython .
isomaster ISO
bleachbit
gsmartcontrol SMART
gtkchtheme GTK
lxappearance
wmctrl (

github.com/geekless/wmctrl/downloads,
.
numlockx NumLock
fileroller
luckybackup
davfs2 webdav
fsarchiver ( ntfs)

fsarchiver
qt4fsarchiversourceforge.net/projects/qt4fsarchiver. aur ArchLinux.
qmake
make all

/usr/local/bin /etc/sudoers.
www.wuala.com/SergMarkov19/Slackbuilds
SuperFlexibleFileSynchronizer

, FTP, SSH, WebDAV, Amazon S3 Google


Docs. www.superflexible.com/linux.htm
dropboxclient dropbox. aur ArchLinux.

www.getdropbox.com/download?plat=lnx.x86
wuala client wuala.com. aur

ArchLinux. wuala.com/en/download/linux.
vilm,
worker.
,
. path, /usr/local/bin
.

vilm redchamp.net/vimv

juffed vi ,
parser.add_option('-e',
'--editor',
default='vi',
help = 'Use an alternative editor (e.g., pico).')

parser.add_option('-e',
'--editor',
default='juffed',
help = 'Use an alternative editor (e.g., pico).')

hddtemp

hddtemp , ,
. hddtemp
, ,
packages.ubuntu.com.
hddtemp ( ,
). ,
,

#!/bin/bash
clear
for d in ls /mnt/sda9/Slackware/Compile/hddtemp-0.3-beta15/*; do
patch -p1 -i `basename "$d"`;
echo "-----------------------"
done
exit 0

./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
--with-db-path=/etc/hddtemp.db \
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \
-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1" \
CXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer \
-pipe -mmmx -m3dnow -falign-jumps=1 -falign-labels=1" \
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

aur ArchLinux.

wine - .


webcorefonts MS co slackbuilds.org

webcorefonts
/etc/fonts/conf.d/60liberation.conf
(

/etc/fonts/conf.d) .
MS ,
/etc/fonts/conf.d
MS.
cabextract co slackbuilds.org
winetricks wine co

slackbuilds.org
wine co slackbuilds.org.
glogg ( 10 )

http://glogg.bonnefon.org/index.html
qmake. aur ArchLinux

github.com/megabaks/test/raw/master/distfiles/qtperf.tar.bz2 QT
code.google.com/p/qtperf QT
gtkperf.sourceforge.net GTK
qtcurve , slackbuilds.org.

, QtCurveKDE4,
cmake
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DQTC_STYLE_SUPPORT=true \
-Wno-dev \
-DQTC_QT_ONLY=true \
-DCMAKE_BUILD_TYPE=Release \
..

QtCurveGtk2.

2
googlechrome .

ftp.osuosl.org/pub/slackware/slackware14.0/extra/googlechrome
googlechromepamsolibs (
).
deb, google
chrome.SlackBuild ,
.

, slacky.eu chromium.
firefox FF

ftp.mozilla.org/pub/firefox, /opt firefox


/usr/local/bin.
firefox ,
firefox /usr/lib/firefox** ,
/usr/lib/firefox*/firefox /usr/bin/firefox.
,
, qupzilla slackbuilds.org.
, , ,
flashplayerplugin co slackbuilds.org.
dillo , ,

,
.
fltk dillo co slacky.eu ( 13.37)
dwb webkit,
. abs (Community) ArchLinux.
clawsmail .


libetpan co slackbuilds.org
compface, webkitgtk, geoclue co slacky.eu
clawsmail co slackbuilds.org, palm,
onfigure
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-static=no \
--disable-ldap \
--disable-jpilot \
--disable-startup-notification \
--disable-dbus \
--disable-networkmanager-support \
--disable-spamassassin-plugin \

--disable-bogofilter-plugin \
--disable-dillo-viewer-plugin \
--disable-valgrind \
--disable-ipv6 \
--build=$ARCH-slackware-linux

clawsmailextraplugins co slackbuilds.org,
, ,
.
PLUGIN_LIST="acpi_notifier address_keeper archive att_remover attachwarner \
bsfilter_plugin clamd fancy fetchinfo-plugin geolocation_plugin \
gtkhtml2_viewer mailmbox newmail notification_plugin perl_plugin \
python_plugin rssyl spam_report tnef_parse vcalendar"

PLUGIN_LIST="address_keeper archive attachwarner


fetchinfo-plugin fancy \
mailmbox \
tnef_parse"


rlworkman.net/pkgs/14.0/i486.

clawsmail

clawsmailextraplugins

Quiterss RSS code.google.com/p/quiterss


liferia ,

.
qmake
filezilla FTP co slackbuilds.org.


LDFLAGS="-ldl -Wl,-O1 -Wl,--as-needed" \

wxhexeditor , wxPython co
slackbuilds.org.
qbittorrent utorrent co slackbuilds.org

qbittorrent ,
, 15
, 5 . ,
100, ,
transmission co slackbuilds.org.

libevent co slackbuilds.org.
./configure
--disable-static

qt
cd $TMP/$PRGNAM-$VERSION/qt

qmake \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
QMAKE_CFLAGS+="$SLKCFLAGS" \
qtr.pro
sed -i -e 's% -g % %g' Makefile
make
INSTALL_ROOT=$PKG/usr make install
cd licqICQ jabber . aur ArchLinux.

.
cdk, xosd, libaosd, gloox co slackbuilds.org. git
git clone git://github.com/licq-im/licq.git
d build-all

cmake.
vacuum jabber . www.vacuumim.org
hotot twitter . github.com/shellex/Hotot/downloads

cmake. aur ArchLinux.


uget co slackbuilds.org,

aria2, ,
.
aMule P2P co slacky.eu. libupnp co slacky.eu.
gtorrentviewer ,

.
gtorrentviewer.sourceforge.net. src/main.c 43
#include <curl/types.h>

#include <curl/typecheck-gcc.h>

. aur ArchLinux.
w3m , , co slackbuilds.org.

gc co slackbuilds.org.

linux
gimp. ,
sse, gegl, configure

./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/gegl-$VERSION \
--enable-gtk-doc \
--disable-docs \
--enable-mmx \
--disable-sse \
--build=$ARCH-slackware-linux || exit 1
# Trust defaults:
# --enable-mmx \
# --disable-sse \

inkscape co slacky.eu.
.
screengrab - imageshack.us co

slackbuilds.org. screengrab.doomer.org/download
Jshot jshot.info c
imageshack.us ( /home
).
shutter .
gcolor2 co slackbuilds.org.
gammapage gamma ,

ftp://ftp.yandex.ru/altlinux/Sisyphus/files/SRPMS/gammapage
0.5.1alt1.src.rpm ( ,
fileroller). aur ArchLinux.

dia yEd.
co
slackbuilds.org,

jar)
co
www.yworks.com/en/products_yed_applicationfeatures.html.

java Xmx256M jar yed.jar. Yed aur ArchLinux.


geeqie .

libjpegturbo geeqie
DVD
.
, opensource,
XnViewMP
newsgroup.xnview.com/viewtopic.php?f=60&t=26033. ,
,
.
, , ,
, phonon.
, opt
home, xnview.sh, #!/bin/sh

cd / XnViewMP
xnview.sh /usr/local/bin

worker. aur ArchLinux.


picasa, .
Corel AfterShot Pro for Linux,
Corel, ,
,
Corel .. :)

4
linux , , mplayer,
, . mplayer
DVD vdpau, c ,
ape samba.
, .
co
slackbuilds.org mplayercodecs, mac, libdvdcss, lame, faad2, libmp4v2, faac,
libvdpau. samba ( , ).
,
USE_PATENTS=${USE_PATENTS:-"NO"}

USE_PATENTS="YES"
mplayer2 mplayer c ,

mplayer.
mplayer2 python3, co
slackbuilds.org ( mplayer2 python3 ,
).
mplayer2 www.mplayer2.org, git
git clone git://git.mplayer2.org/mplayer2build.git

./init --shallow
make

mesa,
mplayer2 nvidia.
mplayer2 /usr/bin.
/
, /

Mplayer'a

,
mplayer.ext

sourceforge.net/projects/mplayerext
mplayer2 mplayer mplayer.ext
if ! which mplayer > /dev/null

then
die "Error! Mplayer not installed."
fi

if ! which mplayer2 > /dev/null


then
die "Error! Mplayer not installed."
fi

# Starting MPlayer with changed command line parameters


# MPlayer
mplayer_ext_echo "Starting MPlayer: mplayer ${options[@]}"
mplayer "${options[@]}" | tee "$tmp_file"

# Starting MPlayer with changed command line parameters


# MPlayer
mplayer_ext_echo "Starting MPlayer: mplayer ${options[@]}"
mplayer2 "${options[@]}" | tee "$tmp_file"
ffmpeg - , co

slacky.eu.
slacky.eu,
,
.
, , , ,
.
slacku.eu c
libass, openalsoft, openjpeg, orc, rtmpdump, twolame, x264, xvidcore.
configure ffmpeg
./configure --prefix=/usr \
--shlibdir=/usr/lib${LIBDIRSUFFIX} \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build-suffix=${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
--enable-shared \
--enable-gnutls \
--enable-x11grab \
--enable-gpl \
--enable-version3 \
--enable-nonfree \
--enable-postproc \
--enable-swscale \

--enable-avfilter \
--enable-pthreads \
--enable-bzlib \
--enable-libcdio \
--enable-libass \
--enable-libcaca \
--enable-libfaac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libtheora \
--enable-libtwolame \
--enable-libvorbis \
--enable-libx264 \
--enable-memalign-hack \
--enable-libxvid \
--enable-openal \
--enable-openssl \
--enable-zlib \
--disable-debug \
--arch=${ARCH} \
$([ "${ARCH}" == 'i686' ] && echo '--disable-ssse3' '--disable-amd3dnowext' )
smplayer mplayer ,

, youtube.com,.
slackbuilds.org.
Smplayer : smplayer
youtube

smtube.

smtube

smplayer

smplayer.sourceforge.net/downloads.php?tr_lang=ru
smtube ( smplayer). Makefle
PREFIX PREFIX=/usr,
make install DESTDIR makepkg.
smplayer co slackbuilds.org.
, smplayer umplayer, smplayer2, ,
,
.
. ../src/core.cpp void
Core::incBrightness(), void Core::decBrightness(), void Core::incContrast(), void
Core::decContrast(), void Core::incGamma(), void Core::decGamma(), void
Core::incHue(),
void
Core::decHue(),
void
Core::incSaturation(),
void
Core::decSaturation(),
set*(mset.*
+()
4);

set*(mset.* +() 1); .


mplayer vlc
taper.alienbase.nl/mirrors/people/alien/restricted_slackbuilds/vlc/pkg/14.0,
.
gnomemplayer - mplayer,

youtube.com firefox flashvideoreplacer, co


xine.

slackbuilds.org.

xineplugin gecko

xine, co

www.xineproject.org/releases.

. mplayer .
fbreader , co slackbuilds.org.

liblinebreak co slackbuilds.org.
fbreader
UI=${UI:-qt4}

UI=${UI:-gtk}

patch -p1 < $CWD/fbreader_gcc45x.patch

patch -p1 < $CWD/fbreader_gcc45x.patch


LDFLAGS="-Wl,-O1 -Wl,--as-needed"

, CoolReader, co slackbuilds.org
MyRuLib ,

,
, ,
, co slackbuilds.org. coolreader
(fbreader ),
COOLREADER="no"
.
mplayer, vlc xine c ,

. ,
, :)
, .

, A

:) ,
,
.
, last.fm, ,
,
, .
guayadeque, c ,
, , , sqlite ,
, ape
.
. ,
, . Guayadeque
wxPython, , .

guayadeque .

sourceforge.net/projects/guayadeque/files/guayadeque .
pysetuptools, gstpython, libmpeg2, a52dec, gstpluginsugly, gstffmpeg
( mac) slackbuilds.org.
./build , make install
DESTDIR makepkg. aur ArchLinux.
qmmp
co
slackbuilds.org. libmms slackbuilds.org, libmpcdec co slacky.eu.
Qmmp winamp,
foobar Qmmp Plugin Pack,
qmmp.ylsoftware.com/plugins_ru.php.
(simple) , qmmppluginpack.pri,
#Comment/uncomment this if you want to change plugins list
#CONFIG += MPG123_PLUGIN
#CONFIG += FFAP_PLUGIN
CONFIG += SIMPLE_UI_PLUGIN

qmake, make libqsui.so /usr/lib/qmmp/Ui.


puddletag co slackbuilds.org.

aur ArchLinux Exfalso.


,
foobnix www.foobnix.com, ,
guzei.com, ,
sky.fm xiph.org,
. simplejson co slackbuilds.org
( , ).
.
www.wuala.com/SergMarkov19/Slackbuilds. aur ArchLinux.
,
,
mplayer pyradio
github.com/coderholic/pyradio,
. ,
mplayer .
~/.mplayer/config.
#
af=equalizer=6:4:2:0:0:0:0:3:5:8


( ,
, ).
streamtuner2 foobnix stations.csv. aur
ArchLinux.

radiotray
. radiotray.sourceforge.net.
co slackbuilds.org.
streamtuner2 , ,
. streamripperco slackbuilds.org.

streamtuner2.sourceforge.net. aur ArchLinux.


Cython, lxml, pyquery co slackbuilds.org ( ,
, ).
streamtuner2
, , streamtunersetup,
,
#!/bin/bash
mkdir -p /tmp/streamnuner2 /tmp/streamnuner2/usr/bin \
/tmp/streamnuner2/usr/share \
/tmp/streamnuner2/usr/share/pixmap \
/tmp/streamnuner2/usr/share/streamtuner2
cp ./st2.py /tmp/streamnuner2/usr/bin/
cp ./streamtuner2.png /tmp/streamnuner2/usr/share/pixmap/
cp -r ./* /tmp/streamnuner2/usr/share/streamtuner2/
rm -rf /tmp/streamnuner2/usr/share/streamtuner2/st2.py
rm -rf /tmp/streamnuner2/usr/share/streamtuner2/streamtuner2.png
cd /tmp/streamnuner2/
/sbin/makepkg -l y -c n /tmp/streamtuner2.txz
rm -rf /tmp/streamnuner2

/tmp.
. peyote.sourceforge.net.
. aur ArchLinux. pyinotify co
slackbuilds.org. peyote ,
peyote

mescaline && peyote

, audacious, deadbeaf xmms,


,
, :)
,
slackbuilds.org
, ,
. alsa qastools co
slackbuilds.org, , ,
volumeicon, volti
retrovol co slackbuilds.org fbmix
sandbox.ltmnet.com/fbmix. ,
. ,
.
voldown.sh
amixer set 'Master' 1-

killall notify-osd
notify-send " . : `amixer get 'Master' | grep 'Front Left:'| cut \
-b23-25` 63"

volup.sh
amixer set 'Master' 1+
killall notify-osd
notify-send " . : `amixer get 'Master' | grep 'Front Left:'|\ cut
-b23-25` 63"
feff .

dansoft.krasnokamensk.ru/more.html?id=1013

http://qtapps.org/content/show.php/Feff?
content=140298&PHPSESSID=5e0f8817dce26a9eb7650e499e1c42d7
qmake, make, PATH. aur
ArchLinux.
DVD ,
, .
,
,

, . cdcat
cdcat.sourceforge.net, slackbuilds.org, qt3
, ,
, .
libzen,libtar, libmediainfo c slackbuilds.org, lib7zip co
code.google.com/p/lib7zip. lib7zip p7zip
c slackbuilds.org lib7zip. lib7zip
./configure \
--build=i686-pc-linux-gnu \
--host=i686-pc-linux-gnu \
--prefix=/usr \
--libdir=/usr/lib \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
P7ZIP_SOURCE_DIR="____p7zip" \
CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow \
-falign-jumps=1 -falignCXXFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe -mmmx -m3dnow \
-falign-jumps=1 -falig
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

lib7zip Makefile include ,


: ,
usr/include *.h lib7zip
( p7zip ),

makepkg.
cdcat, src/cdcat.pro

distfiles.path =
/usr/local/share/cdcat
target.path +=
/usr/local/bin
translations.path += /usr/local/share/cdcat/translations

distfiles.path =
/usr/share/cdcat
target.path +=
/usr/bin
translations.path += /usr/share/cdcat/translations

/usr/local/ /usr/, qmake cdcat.pro,


, makepkg slacktrack. , ,
.
,
worker.tbz,
foobar, cue+ape(flac) CUESplitter
wine.

5
libreOffice .

www.libreoffice.org/download.
rpm tgz rpm2tgz.

libre
alien.slackbook.org/blog.
help.libreoffice.org/Writer/Checking_Spelling_and_Grammar/ru.
openoffice ,
.
. ,
openoffice libre, ,
, pdf .
openoffice.
download.irs.ru/pub/openoffice, tar.gz,
rpm tgz rpm2tgz (rpm2tgz *.rpm), tgz
(installpkg *.tgz).
, gnumeric calc
OO , abiword
, ,
.

. Gnumeric abiword slackbuilds.org.
lyx :) slackbuilds.org,
tetex DVD. lyx tetex
~/.bashrc
export PATH=$PATH:/usr/share/texmf/bin

,
( :) .
.
,
,
,
,
. zim ,
, . .
keepnote


.
. o slackbuilds.org
mytetra

: , ( )
, .
webhamster.ru/site/page/index/articles/projectcode/105
slackbuilds.org.
notecase - .

(
, ,
,
:).
, (
).
,
. packages.ubuntu.com
hddtemp, .
Makefile,
if [[ "$(TEST_SRCVIEW_VER)" < "2.4.1" ]]; then \

if [[ "$(TEST_SRCVIEW_VER)" < "2.11.0" ]]; then \


Makefile. aur ArchLinux, pro
.
, ,
. , TreeSheets
treesheets.com, , .
, ,
, qorganizer
qorganizer.sourceforge.net,

. aur ArchLinux.

vym xmind slackbuilds.org.
pdf, slackbuilds.org evince,

, qpdfview launchpad.net/qpdfview.
,
. qmake,
qpdfview.pro. aur ArchLinux.
poppler .
djvu evince, ,
djview4
djview4 slackbuilds.org.
,
kchmviewerqt - chm, co slackbuilds.org.
xchm chm, kchmviewer

. slackbuilds.org
speedcrunch slackbuilds.org.
stardict stardict 14 , 13.37

download.salixos.org/i486/13.37/salix/xap/stardict3.0.2i4861gv.txz.
slackbuilds.org qstardict.

, (
), goldendict, ,
git. git
git clone git://github.com/goldendict/goldendict.git

qmake. aur ArchLinux.


sourceforge.net/projects/xdxf/files
planetiphone.ru/useful/stardict/page1515.php,
, ,

http://dl.dropbox.com/u/75441862/stardict.tar
stardict,
.. :) ,
stardict.
jpdftweak - pdf

, ,
pdf. jpdftweak.sourceforge.net
java opt.
java Xmx256M jar .jar. aur ArchLinux.
AdobeAcrobatReader - pdf

( :).
adobe.com ,
.

,
barrage. Community ArchLinux.
lgames.sourceforge.net/index.php?project=Barrage
ltris , slackbuilds.org.
lbreakout2 , slackbuilds.org

sourceforge.net/projects/lgames/files/addons/lbreakout2
foobillardplus.

sourceforge.net/projects/foobillard/files/FooBillardSources.

, wine
bridgepreferance.narod.ru/PrefPrograms.htm,
marriage

2007
,

www.marriage.ru/winmar/index.htm.
gambler online (, , ).

:). (java) www.gambler.ru/download


openarena .

openarena packages.zenwalk.org/?b=/extra/games&zversion=current
dosbox c slackbuilds.org
, DOSBox
Game Launcher members.quicknet.nl/blankendaalr/dbgl,
SDL_sound c slackbuilds.org.

7KDEGNOME


kdelibs gnomelibs, .
, kdelibs (
choqok, twitter ) ,
kdebaseapps, kdelibs, kdel10nru, oxygenicons, kde
runtime, polkitkdeagent, kdeworkspace, strigi,
,
slakfinder.org .
KDE /usr/bin/kdeinit WM.
gnome slackbuilds.org.

VII
, adduser,
, logout,
.
1

.
, , ,
,
font.conf.
,
.

duganchen.ca/writings/slackware/fonts (
, ).
linuxquestions.org
www.linuxquestions.org/questions/slackware14/howtooptimizefontsin
slackware640468.
linuxquestions.org.
,
/var/cache/fontconfig,/etc/fonts,~/.fonts,~/.fontconfig,~/.fonts.conf,~/.config/font
manager,~/.config/Trolltech.conf,~/.config/fontgroups.xml,
. ,
, ,
KDE systemsettings,
, systemsettings
.
freetype
, bytecode interpreter ( )
Apple.
,
freetype, /freetype***/include/freetype/config/ftoption.h,

#define TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED

Apple .
LCD
,
zcat $CWD/freetype.subpixel.rendering.diff.gz | patch -p1 --verbose || exit 1

( freetype /freetype
***/include/freetype/config/ftoption.h

TT_CONFIG_OPTION_SUBPIXEL_HINTING

TT_CONFIG_OPTION_COMPONENT_OFFSET_SCALED)
( freetype, 14

)
zcat $CWD/freetype.illadvisederror.diff.gz | patch -p1 --verbose || exit 1

freetype.
freetype (
freetype) .
/etc/fonts/conf.avail
/etc/fonts/conf.d 10subpixel*.conf.
:),
. vrgb .
fccache f v.
:),
,
bytecode interpreter Apple,
, subpixel* /etc/fonts/conf.d,
(full) (hinting) (antialisang)
~/.fonts.conf (/root/.fonts.conf)
/etc/fonts/conf.avail /etc/fonts/conf.d.

freetype, ( **subpixel
/etc/fonts/conf.d), /etc/fonts/conf.avail/10antialias.conf (
, )
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
</match>
</fontconfig>>

10autohint.conf /etc/fonts/conf.d. ,
Liberastika, handbookpdcyr, serif
Georgia, Georgia
Times New Roman ( ,
), DejaVu Sans Mono
Terminus. , :).
wine Arial, Times New Roman MS Sans
Serif, .
~/.fonts.conf (/root/.fonts.conf)
<!--?xml version="1.0"?>-->
<!--DOCTYPE fontconfig SYSTEM "fonts.dtd">-->
<!-- ~/.fonts.conf for per-user font configuration -->
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Liberation Serif</family>
</prefer>

</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Liberastika</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
</prefer>
</alias>
</fontconfig>

~/.Xresources (/root/.Xresources) ( )
Xft.antialias: 1
Xft.autohint: 1

, ,
,
~/.composecache, .
. :

/etc/fonts/conf.d/60liberation.conf
default.theme IceWM *FontName*
,
TitleFontNameXft
=
Arial:size=14
IceWM,
default.theme IceWM *FontName*

TitleFontNameXft
=
Liberation Sans:size=14
IceWM,
/etc/fonts/conf.d/60liberation.conf
IceWM,
default.theme IceWM *FontName*
,
TitleFontNameXft
=
sansserif:size=14
IceWM,

IceWM .
, :)
ubuntu
freetype, fontconfig, libXft, cairo
duganchen.ca/writings/slackware/fonts, LCD Filter Rendering,
github.com/duganchen/slackwarelcdfilter


gitorious.org/lcdfiltering
raw.github.com/duganchen/dotfiles/master/.fonts.conf
(
)
launchpad.net/ubuntu/oneiric/+source/freetype
launchpad.net/ubuntu/oneiric/+source/fontconfig
launchpad.net/ubuntu/oneiric/+source/cairo
launchpad.net/ubuntu/oneiric/+source/xft
/etc/fonts/conf.avail
/etc/fonts/conf.d 10subpixel*.conf.
Microsoft clear type
freetype, libXft, cairo (
)
sites.google.com/site/mostlyslack/cleartype

www.linuxquestions.org/questions/slackware14/howtooptimizefontsin
slackware640468/page23.html#post4793524
fonts.conf
/etc/fonts/conf.avail
/etc/fonts/conf.d 10subpixel*.conf.
/etc/fonts/conf.d/60liberation.conf Arial
.
www.infinality.net/blog,
fonts.conf.
someslack.wordpress.com/infinality
onslackware. suseana.ru/?p=576#more576
posix.ru/?p=126.
,
. ,
:)
freetype co bytecode interpreter subpixel rendering
, .

www.linuxquestions.org/questions/slackware14/howtooptimizefontsinslackware
640468.
freetype .
, ,
. ,
, paratype, , liberation pscyr
(www.tex.uniyar.ac.ru/package/fonts/pscyr). .
pscyr Type1, ~/.fonts ,
pfb afm.

medium, , ,
. .

free.type.org.ua
www.thessalonica.org.ru/ru/fonts.html
connie.slackware.com/~alien/slackbuilds/msofficefonts
pier.botik.ru/~znamensk/ftp.vsu.ru/fontpacks/pscyr/
www.webtag.ru/fonts
www.dafont.com
ifont.ru
download.opensuse.org/repositories/M17N:/fonts/openSUSE_Factory/
noarch
ru.fonts2u.com
, 13 ,
freetype Apple roboto Lucida
G. aur ArchLinux, ttfroboto ttfmacfonts.
, ,
,
,
/var/log/packages.
fonts.dir /usr/share/fonts/OTF(TTF)
( ).
mkfontdir mkfontscale, f-cache -frv
/usr/share/fonts.
,
. fixed, cursor, cursor.pcf,
Liberation, Microsoft Sans Serif, Arial, Tmes New Roman, Terminus
serif , handbookpscyr, DejaVu
Sans Mono , , misc
misc .
~/.fonts mkfontdir,
mkfontscale, f-cache -frv.
,
,
. , :)

/etc/rc.d.
:)
stop,
""
, mc, worker.
start. ,
( *.conf /etc),
restart.
/etc/rc.d .

( ),
rc.4, rc.6, rc.K,
rc.M, rc.S (
), rc.alsa, rc.dnsmasq, rc.font, rc.fuse, rc.inet1,
rc.keymap, rc.loop, rc.messagebus, rc.modules*, rc.udev.
rc.mcelog rc.syslog
,
/etc/rc.d/rc.local_shutdown, ,
, /etc/rc.d/rc.local,
.
. .
3

,
/etc/rc.d/rc.modules*. hardinfo, Kernel Modules
/etc/modprobe.d/blacklist.conf
blacklist <>

IPV6 , ,
,
/etc/modprobe.d/blacklist.conf
blacklist ipv6

4prelink

,
. slackbuilds.org ( ).
/opt /etc/prelink.conf
-l /opt


/usr/doc/prelink20100106/prelinkall.

echo

.
.
( ) .
,
/etc/prelink.conf ,
-b /usr/bin/skype

,
, liveCD, ,
prelink LiveCD,
/etc/prelink.conf I (
)
-l /mnt/sda1/bin

prelinkundo prelink. (
) prelinkundo.
prelink. c, , .
, ,
,
.
5sudoers

/etc/sudoers ,
sudo .
WM, .
,
ed ALL=NOPASSWD: /usr/sbin/hddtemp,/usr/sbin/smartctl
ed ALL=NOPASSWD: /usr/bin/worker,/usr/bin/htop

ed .
6bash

,
~/.bashrc,
.
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -r /etc/bashrc ]; then
. /etc/bashrc
fi
#
#PS1="[\[\033[0m\]\w]\[\033[0m\]\n\[\033[0m\]\u\[\033[0m\]-> \[\033[0m\]"
PS1='\[\033[1;34m\]\w\n\[\033[0;30m\]\u->'
#Bash ,
# .
#, ,

#setterm stty. shopt


#-p (shopt Shell Options). :
#autocd ,
#( cd), ;
#cdspell bash (,
#/ect/init.d /etc/init.d) cd;;
#checkjobs , ;
#cmdhist ,
# ;
#dirspell
#;
#globstar **,
#, , ;
# wildchar ,
#mp3 :
#$ ls **/*.mp3
#, , :
#$ find ./ -name "*.mp3" -type f -print
# :
shopt -s autocd cdspell checkjobs cmdhist dirspell globstar
# ls, bg, fg, exit
export HISTIGNORE="&:ls:[bf]g:exit"
# gcc
export CHOST="i686-pc-linux-gnu"
# C
export CFLAGS="-O3 -march=native -mtune=native -fomit-frame-pointer -pipe \
-mmmx -m3dnow -falign-jumps=1 -falign-labels=1 -fPIC"
# Arch
#export CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fstack-protector \
#--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC"
# gcc,
#
#export CFLAGS="-O2 -march=i486 -mtune=i686"
# gcc gtk
#export CFLAGS="-Os -march=i686 -mtune=i686 -fomit-frame-pointer -pipe \
#-falign-jumps=1 -falign-labels=1 -fPIC"
export CXXFLAGS="${CFLAGS}"
#
# C
export LDFLAGS="-Wl,-O1 -Wl,--as-needed"
#
# Arch
#LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#

alias gdeman="apropos"
alias gde="slocate"
# QT
export QT_GRAPHICSSYSTEM="raster"
# pango firefox
#
#export MOZ_DISABLE_PANGO=1
#
export XEDITOR=/usr/bin/juffed
export EDITOR=ne
export VISUAL=$EDITOR
export BROWSER=/usr/bin/qupzilla
#
export TERM=xterm
# java
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on \
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
#export _JAVA_OPTIONS='Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel' \
export JAVA_FONTS=/usr/share/fonts/TTF
# , lyx tetex,
#
export PATH=$PATH:/usr/share/texmf/bin:/opt/porteus-scripts
# bash-completion
# Use bash-completion, if available
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi
#export XDG_DATA_DIRS=/usr/share:/usr/local/share:/opt/system/gtk-3.1.2/share
#export XDG_SHARED_DIR=/usr/share:/usr/local/share:/opt/system/gtk-3.1.2/share
#
set completion-ignore-case on
# man, sudo, time
complete -cf sudo
complete -cf man
complete -cf time
complete -cf mantxt


Up Down,
~/.inputrc
"\e[A": history-search-backward

"\e[B": history-search-forwavd

.
/etc/fstab
/dev/sda* / ext3 defaults,noatime,nodiratime,barrier=0,commit=120,data=ordered 1 1

noatime,nodiratime

barrier
,
.
;
.

;
,
.

(barriers); , ,
, , ,
, .
, ,
, .
barrier=0,
commit
data=ordered .
writeback,

. UPS
( ,
:) writeback,
fstab .
LiveCD, ,
,
tune2fs -O has_journal -o journal_data_writeback /dev/sda*

fstab data=writeback
:)
,
,
.

SMART . /etc/rc.d/rc.M
,
# Start smartd, which monitors the status of S.M.A.R.T.
# compatible
# hard drives and reports any problems. Note some devices
# (which arent
# smart, I guess ;) will hang if probed by smartd, so its
#commented
# out
# by default.
if [ -x /usr/sbin/smartd ]; then
/usr/sbin/smartd
fi

, ,
.
5 % ( /
/var /tmp) linux c ext (!!)

tune2fs -m 0 /dev/sda*

5% ,
, ,
LiveCD
, , 1 %
tune2fs -m 1 /dev/sda*

,
, . /etc/sysctl.conf
vm.swappiness=20

, /etc/sysctl.conf
vm.vfs_cache_pressure = 1000

9Xorg

/home/user /root .composecache,


.
, , libX11 ~/.composecache
.

xpaint xfontsel ,
, 3.1.
.
~/.Xresources. ,
~/.icons.
Xcursor.theme: Jimmac
Xcursor.size: 20
!##
!## xfontsel
!##
xfontsel*background:
#FFFBEF
xfontsel*foreground:
#000000
xfontsel*font: -adobe-helvetica-*-r-*-*-17-*-*-*-*-*-*-*
!##
!## xpaint
!##
xpaint*background:
#FFFBEF
xpaint*foreground:
#000000
xpaint.toolbox.vport.box*background: #FFFBEF
xpaint.toolbox*font: -adobe-helvetica-*-r-*-*-17-*-*-*-*-*-*-*
Canvas*background:
#FFFBEF
Canvas*foreground:
#000000
Canvas.pane*background:
#FFFBEF
Canvas.pane*foreground:
#000000
Canvas.pane*font: -adobe-helvetica-*-r-*-*-17-*-*-*-*-*-*-*



.
editres.

10

GTK. ~/.icons.
~/.gtkrc2.0
//_ - ~/.icons( //!)
gtk-icon-theme-name="_"
gtk-icon-sizes="gtk-menu=24,24: //
gtk-button=24,24:
// ""
gtk-small-toolbar=32,32: //
gtk-large-toolbar=24,24:
gtk-dnd=32,32:
gtk-dialog=24,24" //

gtkrc ~/.themes/
/usr/share/themes/ .

11GTK

GTK , ,
~/.gtkrc2.0 (/root/.gtkrc2.0)
gtk-menu-popup-delay = 50
gtk-menu-popdown-delay = 50
gtk-menu-bar-popup-delay = 50
gtk-enable-animations = 0
gtk-timeout-expand = 10

GTK , ~/.gtkrc2.0
gtk-theme-name = "Human"

Human ~/.icons/Human
/usr/share/icons/Human
, ~/.gtkrc2.0,
www.gtk.org/api/2.6/gtk/GtkSettings.html
, GTK GTK ,
gtkchtheme

12QT

QT , raster.
~/.bashrc (/root/.bashrc)
export QT_GRAPHICSSYSTEM="raster"

QT

qtconfig.
[QT] ~/.config/Trolltech.conf, ,
qtconfig
GTK QT

/home /root, gtkchtheme qtconfig .

13qtcurve


( KDE GNOME)
systemsettings. GTK .
qtcurve,
KDE ~/.kde/share/config/kdeglobals
[Icons]
Theme=gnome

GTK ~/.themes/QtCurve/gtk2.0/gtkrc
gtk-menu-images = 1
gtk-fallback-icon-theme="gnome"

gnome ( ) /usr/share/icons
GTK qtcurve

systemsettings

~/.kde/share/config/kdeglobals (/root/.kde/share/config/kdeglobals),
[General]
XftHintStyle=hintfull
desktopFont=Liberastika,15,-1,5,50,0,0,0,0,0
fixed=DejaVu Sans Mono,14,-1,5,50,0,0,0,0,0
font=Liberastika,15,-1,5,50,0,0,0,0,0
menuFont=Liberastika,15,-1,5,50,0,0,0,0,0
shadeSortColumn=false
smallestReadableFont=Liberastika,15,-1,5,50,0,0,0,0,0
taskbarFont=Liberastika,15,-1,5,50,0,0,0,0,0
toolBarFont=Liberastika,15,-1,5,50,0,0,0,0,0
widgetStyle=plastique
..
[WM]
activeFont=Liberastika,15,-1,5,50,0,0,0,0,0
activeForeground=255,251,239

14NumLock

NumLock.
numlockx c slackbuilds.org,
WM /etc/X11/xinit/xinitrc.WM,
,
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

# Turn NumLock on (using numlockx)


if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx
fi

WM, IceWM
/home/user/.icewm/startup,
/usr/bin/numlockx &

,
. ~/.Xmodmap
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode
keycode

79=7
80=8
81=9
83=4
84=5
85=6
87=1
88=2
89=3
90=0
91=period
108=Return
86=plus
82=minus
63=asterisk
112=slash

15WM

startx, ,
/etc/inittab
# These are the default runlevels in Slackware:
# 0 = halt

# 1 = single user mode


# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

16zip

zip .
cp1251,
.

unzip -l archive.zip |enca

,

ls | iconv -c -f cp1252 -t cp850 | iconv -c -f cp866 -t utf8

convmv
www.j3e.de/linux/convmv, /usr/local/bin.
,
$ ls -1 | head -1 | iconv -f CP1251 -t utf8


ls -1 | head -1 | xargs convmv -f CP1251 -t utf8 -r --notest


zip www.opennet.ru/tips/info/2494.shtml.
:),
, wine 7z, peazip,
winrar.

17
dnsmasq DNS
http://linuxru.org/man/spravkaponastroykednsmasqdnsmasqconf,
dnsmasq.conf .
/etc/dnsmasq.conf (

listen-address=127.0.0.1
/etc/resolv.conf
nameserver 127.0.0.1
"

dns", . firefox
0 network.dnsCacheExpiration
network.dnsCacheEntries about:config..
/etc/rc.d/rc.dnsmasq
/etc/rc.d/rc.dnsmasq start ( restart)



# Add domains which you want to force to an IP address here.
# The example below send any host in double-click.net to a local
# web-server.


address=/an.yandex.ru/127.0.0.1
address=/adfox.ru/127.0.0.1
address=/vk.com/127.0.0.1
address=/luxup.ru/127.0.0.1
address=/rambler.ru/127.0.0.1
address=/apis.google.com/127.0.0.1
address=/cdn.api.twitter.com/127.0.0.1
address=/feeds.delicious.com/127.0.0.1
address=/api.ak.facebook.com/127.0.0.1
address=/kontera.com/127.0.0.1
address=/googleadservices.com/127.0.0.1
address=/adriver.ru/127.0.0.1
address=/adru.net/127.0.0.1
address=/vkontakte.ru/127.0.0.1
address=/www.tns-counter.ru/127.0.0.1
address=/gravatar.com/127.0.0.1
address=/mc.yandex.ru/127.0.0.1
address=/google-analytics.com/127.0.0.1
address=/platform.twitter.com/127.0.0.1
address=/yadro.ru/127.0.0.1
address=/begun.ru/127.0.0.1
address=/googlesyndication.com/127.0.0.1
address=/redtram.com/127.0.0.1
address=/redtram.ru/127.0.0.1
address=/marketgid.com/127.0.0.1

address=/rl0.ru/127.0.0.1
address=/doubleclick.net/127.0.0.1
address=/novoteka.ru/127.0.0.1
address=/sj10.ru/127.0.0.1
address=/sj3.ru/127.0.0.1
address=/odnoklassniki.ru/127.0.0.1
address=/dt00.net/127.0.0.1
address=/24smi.org/127.0.0.1
address=/openx.org/127.0.0.1

127.0.0.1 adfox.ru,
.
,
netconfig, pppoe, etc


alsaconf, alsamixer ( ) alsactl store ( ). ,
alsamixer , master (1 2), PCM,
CD alsactl store ( ). .



xset r rate 200 40

200
40
xset r rate

slocate
slocate ,
c find.
, /etc/updatedb.conf,
PRUNEPATHS="/dev /proc /sys /tmp /usr/tmp /var/tmp /afs /net /media /mnt /home /root
/opt"

PRUNEPATHS="/dev /proc /sys /tmp /usr/tmp /var/tmp /afs /net /media /mnt"

/home, /root /opt.


.. , .

, , :).

VIII(WM)
1
WM xwmconfig,
, WM, .
IceWM. IceWM
~/.xinitrc:
exec icewm-session

, X.Org, IceWM.
, udisks,
"exec icewmsession" :
exec ck-launch-session dbus-launch icewm-session

exec ck-launch-session dbus-launch --sh-syntax --exit-with-session icewm-session

icewmsession icewm, icewmbg icewmtray.


/etc/X11/xinit/xinit.icewm
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# Merge in defaults and keymaps
[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
# Create default user directory & populate it if it does not already exist
if [ ! -d $HOME/.icewm ]; then
mkdir $HOME/.icewm
for FILE in keys menu preferences toolbar winoptions;
do cat /usr/share/icewm/$FILE > $HOME/.icewm/$FILE;
done
fi
# Start IceWM
#icewmbg &
#icewmtray &

if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then


ck-launch-session dbus-launch --exit-with-session icewm-session
else
exec icewm-session
fi

/etc/X11/xinit/xinitrc.

2IceWM
A.

, ,
,
.
~/.icewm.
, ~/.icewm
/usr/share/icewm, keys, menu, preferences, toolar winoptions.
IceWM, ,

docstore.mik.ua/manuals/ru/icewm/icewmru.html#toc6
quickcode.chat.ru/icewm/icewmru.html
mydebianblog.blogspot.com/2006/10/icewm.html.
avreg.net/howto_icewm.htm
konishchevdmitry.blogspot.com/2008/07/icewm.html
vectorlinux.osuosl.org/docs/vl50/vlfaq/icewm.htmt.
icewm.org,
, , :)
.
preferences.
,
. , preferences (
:) ( )
.
,
IceWM
# Menus track mouse even with no mouse buttons held (
# )
MenuMouseTracking=1 # 0/1
# Support win95 keyboard keys (Penguin/Meta/Win_L,R shows menu)
Win95Keys=1 # 0/1
# Support mouse wheel
UseMouseWheel=1 # 0/1

# Alt+Tab window switching


QuickSwitch=1 # 0/1
# Alt+Tab to windows on other workspaces
QuickSwitchToAllWorkspaces=1 # 0/1
# Opaque window move
OpaqueMove=0 # 0/1
# Opaque window resize
OpaqueResize=0 # 0/1

menu, ( runonce prog


)
menu "" "folder" {
runonce "Geeqie - "
"/usr/share/pixmaps/geeqie.png" "geeqie" geeqie
separator
prog "Screengrab - "
"/usr/share/pixmaps/FBReader/rtf.png" screengrab
}

runonce
.
toolbar ( prog
)
prog "xterm" "xterm" xterm
prog "juffed - " "/usr/share/pixmaps/juffed.png" juffed
prog "Worker - " "/usr/share/pixmaps/WorkerIcon16.xpm" worker
prog "firefox" "/usr/lib/firefox-4.0b6/chrome/icons/default/default16.png" firefox
menu "" "folder" {
prog "Htop-root - " "/usr/share/pixmaps/htop.png" roxterm --tab
--tab-name=htop -e sudo htop
prog "umix - " "/usr/share/aumix/aumix.xpm" aumix
}

IceWM startup,
#!/bin/sh
sleep 2
xcompmgr &
sleep 1
/usr/bin/numlockx &
claws-mail &
devilspie &
sleep 2
mytetra &
stardict &
sleep 3

#clipit &
gxneur &
worker &
sleep 2
roxterm &
cairo-dock -o &
exit

sleep . startup
.
, ,
winoptions.
# geometry
evince.geometry: 1100x1020+250+10

xprop.
keys.
key "Shift+Space"
key "Ctrl+9"
key "Ctrl+0"

/usr/bin/xkill
/usr/local/bin/voldown.sh
/usr/local/bin/volup.sh


WM WM Xnest xorg

Xnest :20 & xterm -display :20

xterm WM.
/tmp/.X20lock /tmp/.X11unix/X20.
B.IceWM

,
boxlook.org ( WinXP lxp.sourceforge.net),
, dropbox
wuala, , .
~/.icewm/themes/ ,
.
default.theme . ,
, default.theme,
. www.icewm.org/themes.

DesktopBackgroundImage="background.jpg"


# Font Specification
TitleFontNameXft
=
MenuFontNameXft
MinimizedWindowFontNameXft
ActiveButtonFontNameXft
NormalButtonFontNameXft
ToolButtonFontNameXft
NormalWorkspaceFontNameXft
ActiveWorkspaceFontNameXft
QuickSwitchFontNameXft
ListBoxFontNameXft
StatusFontNameXft
ToolTipFontNameXft
ActiveTaskBarFontNameXft
NormalTaskBarFontNameXft
ClockFontNameXft
=
InputFontNameXft
=

sans-serif:size=14:bold
=
sans-serif:size=14:bold
=
sans-serif:size=14
=
sans-serif:size=14:bold
=
sans-serif:size=14
=
sans-serif:size=14
=
sans-serif:size=14
=
sans-serif:size=14:bold
=
sans-serif:size=14
=
sans-serif:size=14
=
sans-serif:size=14
=
sans-serif:size=14
=
sans-serif:size=14:bold
=
sans-serif:size=14
sans-serif:size=14
sans-serif:size=14

.
IceWM icewm.tbz.
IceWM. ,
, ,
. ,
.
gradient,
. default.theme

Gradients="menubg.xpm taskbuttonactive.xpm menusel.xpm dialogbg.xpm
workspacebuttonactive.xpm taskbuttonbg.xpm taskbuttonminimized.xpm"

, ()
default.theme
. 4, . 4,8
, 1 , .
, default.theme
TitleBarHeight=26 .
,
,
, .
, pixmap flat,
default.theme Look= pixmap.

, ,
ledclock,
icons,
( ,
gmail ) mailbox,
fonts

(
default.theme) cursor. dframe* frame*,

default.theme. taskbar
desktop.xpm
icewm.xpm, taskbarbg.xpm
taskbuttonactive.xpm,
taskbuttonbg.xpm, taskbuttonminimized.xpm.

, ,
.
3openbox

, /etc/xdg/openbox
/home/user/.config/openbox. rc.xml
, . ,
. menu.xml
. ( )
, .
autostart .

.
, openbox obconf, obmenu, obtheme /
menumaker.
Lxpanel /home/user/.config/lxpanel/default.
/usr/share/lxpanel/profile/default. Tint 2
tint2conf. tint2conf /sbin/killall5
/usr/bin/pidof.
openbox
wiki.debian.org/ru/Openbox wiki.archlinux.org/index.php/Openbox
urukrama.wordpress.com.

4E16

16 ,
, .
. .

~/.e16/fonts.xft.cfg,
font-default

"xft:Arial-14.5"

.
, ,

~/.e16/e_config0.0.cfg,
theme.use_theme_font_cfg = 0.
~/.e16/cached/cfg 16.

.

16keyedit.

~/.e16/bindings.cfg

Aclass BUTTONBINDINGS normal
MouseDown
A 1 wop * mo ptr
MouseDown
SA 1 wop = mo ptr
MouseDouble A 1 wop * shade
MouseDown
A 2 wop * sz ptr
MouseDouble A 2 wop * th available
MouseDown
A 3 menus show winops.menu
Aclass DESKBINDINGS normal
Tooltip Clicking your mouse on the desktop will perform
Tooltip the following actions
MouseDown
- 1 menus show file.menu
Tooltip Display User Menus
MouseDown
C 1 menus show enlightenment.menu
Tooltip Display Enlightenment Menu
MouseDown
4 1 menus show settings.menu
Tooltip Display Settings Menu
MouseDown
- 2 menus show windowlist
Tooltip Display Enlightenment Menu
MouseDown
A 2 menus show windowlist
Tooltip Display Task List Menu
MouseDown
C 2 menus show deskmenu
Tooltip Display Desktop Menu
MouseDown
S 2 menus show groupmenu
Tooltip Display Group Menu
MouseDown
- 3 menus show settings.menu
Tooltip Display Settings Menu
MouseDown
* 4 desk prev
Tooltip Go Back a Desktop
MouseDown
* 5 desk next
Tooltip Go Forward a Desktop
-

~/.e16/menus.
~/.e16/menus/file.menu. :
"User Menus"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/internet.menu"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/multimedia.menu"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/video.menu"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/ofiice.menu"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/graphics.menu"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/game.menu"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/develop.menu"
"--------------------" NULL exec "/opt/scripts/nul"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/system.menu"

"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/tuning.menu"


"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/archive.menu"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/utility.menu"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/monitor.menu"
"--------------------" NULL exec "/opt/scripts/nul"
"" "/home/ed/.e16/menus/icons/folder_16x16-blue.xpm" menu "menus_apps/exit.menu"


~/.e16/menus_apps ~/.e16/icons.

~/.e16/Init(Start)(Stop)/startup.
. :
#!/bin/bash
numlockx &
sudo /opt/scripts/xorg-renice &
tint2 &
sleep 1
claws-mail &
devilspie &
sleep 2
mytetra &
sleep 2
stardict &
sleep 3
copyq &
gxneur &
worker.sh &
sleep 1
roxterm &
sleep 5
conky &
sleep 1
easystroke &
xdotool search --class ROXTerm windowminimize
xdotool search --class Worker windowminimize
exit


16 ,
, 11,
~/.e16//cursors.cfg
16 wiki.zenerves.net/index.php/E16_All
16
etherdoxproject.com. themes.effx.us/previews

5E17

,
,
sda00.blogspot.com radistelvin.blogspot.com/search/label/enlightenment
E17
ruslinux.net/nlib.php?name=/MyLDP/gui/E17/e17index.html
pclinuxos.su/index.php/vneshnivid/enlightenmente17
ruslinux.net/main.php?name=xwin.ko#6.4.,
.
E17
( ),
E17.
setxkbmap -option "grp:ctrl_shift_toggle,grp_led:scroll"

E17 e17stuff.org

,
( , )
compmg compton ( compton
xcompmgr ),
.
wiki.archlinux.org/index.php/Xcompmgr.
xorg.conf. Xcompmgr requires the following: Xorg must be
installed, configured and running. Composite must be enabled via graphics drivers,
AIGLX, or Xgl. Xcompmgr , , ,
.
Xcompmgr
,
.
compmg Section
"Device" xorg.conf
Option
Option

"RenderAccel" "true"
"AllowGLXWithComposite" "true"

xorg.conf
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection


xcompmgr help man xcompmgr, compton.


xcompmgr -, .
IceWM /etc/X11/xinit/xinitrc.icewm

exec /usr/bin/icewm-session

/usr/bin/xcompmgr -c &
exec /usr/bin/icewm-session

xcompmgr (startup
IceWM), .
.
/usr/local/bin /
.
#!/bin/bash
#
# Start a composition manager.
# (xcompmgr in this case)
function comphelp () {
echo "Composition Manager:"
echo " (re)start: COMP"
echo " stop:
COMP -s"
echo " query:
COMP -q"
echo " returns 1 if composition manager is running, else 0"
exit
}
function checkcomp () {
( ps nc -C xcompmgr &>/dev/null ) && exit 1
exit 0
}
function stopcomp () {
( ps nc -C xcompmgr &>/dev/null ) && killall xcompmgr
}
function startcomp () {
stopcomp
# Example settings only. Replace with your own.
hsetroot -solid "#FFFBF0" &
xcompmgr -cC &
exit
}
case "$1x" in
"x") startcomp;;
"-qx") checkcomp;;
"-sx") stopcomp; exit;;
*) comphelp;;
esac

xcompmgr ,
,
. xcompmgr
.

IX
worker

"C" . worker
roxterm juffed, worker
root user mode,
, worker.tbz .
.
, ,
.
worker, ttf
sansserif, ~/.fonts.conf.
' ' .
Worker ,
, ,
:)
gxneur(xneur)

,
.
, ,
,
yj.
,
~/.xneur/pattern ~/.xneur/dictionary
gxneur.
cairodock

,
"" " ".
icewm
, cairodock.
xcompmgr compton
cairodock openGL cairodock o.
, .
cairodock
, ,
#!/bin/bash
#
# ""
# , ""
#
APP=`basename $1`
FULLAPP="$*"
HOSTNAME=`hostname`
#

#
wmctrl -l -x | grep -i $APP | while read RUNNING
do
WINDOW=${RUNNING#*${HOSTNAME} }
wmctrl -a $WINDOW
exit 1
done
# ,
if [ $? -eq 0 ]
then
$FULLAPP
fi

worker juffed
#!/bin/bash
#
# ""
# , ""
# worker juffed
#
APP=`basename $1`
FULLAPP="$*"
HOSTNAME=`hostname`
#
#
wmctrl -l -x | grep -i $APP | while read RUNNING
do
WINDOW=${RUNNING#*${HOSTNAME} }
wmctrl -a $1
exit 1
done
# ,
if [ $? -eq 0 ]
then
$FULLAPP
fi

,
cairo
dock.
firefox
#!/bin/bash
#
# ""
# , ""
#

APP=`basename "Nightly"`
FULLAPP="firefox"
HOSTNAME=`hostname`
#
#
wmctrl -l -x | grep -i $APP | while read RUNNING
do
WINDOW=${RUNNING#*${HOSTNAME} }
wmctrl -a $WINDOW
exit 1
done
# ,
if [ $? -eq 0 ]
then
$FULLAPP
fi

cairodock.tbz.
.
gsmartcontrol

smartctl /usr/sbin/smartctl
luckybackup


"Snapshot to keep" ,
. .luckybackupsnaphots.

psensor

,
/usr/sbin/sensors-detect
wine

winecfg .
wine () www.winereviews.net/wine
reviews/tipsntricks/howtoenablefontantialiasinginwine.html (
files.polosatus.ru/winefontssmoothing.sh)

WINDOWS/Fonts

/home/user/.wine/drive_c/windows.
winetricks .
, worker
,
env WINEPREFIX="/home/ed/.wine" wine \
"C:\Program Files\Tracker Software\PDF-XChange Viewer\pdf-viewer\PDFXCview.exe" \

"$(winepath -w "$@")"

wine zenway.ru/page/winehowto
linuxsam.blogspot.ru/2008/07/wine.html
wine PlayOnLinux
slackbuilds.org.

www.linuxcenter.kz/page/ustanovkainastroikaplayonlinuxvlinux
googlechrome

/opt/google/chrome/googlechrome
cd /opt/google/chrome

/usr/local/bin.
, :),
, (
, ) html SingleFile SingleFile Core.

( :)
,
/etc/cron.daily/googlechrome.

/home/user/.config/googlechrome/Default/User StyleSheets/Custom.css

* { text-align: justify !important; }
* { line-height: 1.40 !important; }
* { font-family: Liberation Sans !important; }
*{
border-radius: 0 !important;
box-shadow: none !important;
}

css, :)
,
/home/user/.config/googlechrome/Default/Preferences ,

"webkit": {
"webprefs": {
"default_fixed_font_size": 21,
"default_font_size": 24,
"fixed_font_family": "Liberation Sans",
"minimum_font_size": 21,
"serif_font_family": "Liberation Sans"
}

firefox


, ( css)
/home/ed/.mozilla/firefox/*.default/chrome/userContent.css

* { text-align: justify !important; }


* { line-height: 1.25 !important; }
* { font-family: Liberation Sans !important; }
*{
border-radius: 0 !important;
box-shadow: none !important;
}

,

, /home/user/.mozilla/firefox/*.default/prefs.js
, ,

user_pref("font.minimum-size.x-cyrillic", 21);
user_pref("font.minimum-size.x-western", 21);

, ,
deepestsenderdeepestsender.mozdev.org.
flashvideoreplacer,
youtube.com xine, downloadhelper .

mplayer,
,
lsof -n | egrep "(/tmp/Flash|mozilla-media-cache/media_cache)" | \
awk '{line = "/proc/" $2 "/fd/" $4; sub("[^0-9]*$","",line); print line}' | \
xargs mplayer -softvol-max 1000

#! /bin/bash
renice 19 $$ > /dev/null
file /proc/*/fd/* 2>/dev/null | grep Flash | cut -f1 -d:
mplayer $(file /proc/*/fd/* 2>/dev/null | grep Flash | cut -f1 -d: | head -n 1) &
sleep 15
xseticon -name "MPlayer" /home/ed/.xseticon/pixmap/mplayer.png &

, .
mplayer .
adblock, umht
:)

Nihtly Tester Tools,
.
firefox DNS dnsmasq

network.dnsCacheExpiration

network.dnsCacheEntries about:config..
firefox ( )
false network.standardurl.escapeutf8.

magnet
about:config network.protocolhandler.exposeall false,
magnet , ,
,
network.protocol
handler.exposeall true.
qupzilla


~/ed/.qupzilla/my.css
* { text-align: justify !important; }
* { line-height: 1.30 !important; }
* { font-family:Liberastika !important; }
*{
border-radius: 0 !important;
box-shadow: none !important;
}

qupzilla.
CSS3.
dillo

/home/user/.dillo/cookierc
DEFAULT ACCEPT.
dillo

(
:), /home/user/.dillo/style.css
body {background-color: white !important}
body {color: black !important}
:link {color: blue !important}
*{
font-family : LiberationSans ! important;
font-size : 20px ! important;
}
licq


login.icq.com.
libreoffice,juffed

libreoffice

/opt/libreoffice3.4/share/extensionsold

/opt/libreoffice3.4/share/extensions, /opt/libreoffice3.4/share/extensions
.
juffed ( usr/share/juffed/plugins).

:),
ooo2gd google docs ( ,
) extensions.services.openoffice.org/project/ooo2gd
juffed (
) (*.conf,
*rc, *.ini, *.cfg, PKGBUILD).
clipit

, "Automatically paste selected item",


, "" ,
clipit,
, clipit
htop ,
.
FBReader - , serif,

handbookpscyr

pscyr

pier.botik.ru/~znamensk/ftp.vsu.ru/fontpacks/pscyr.
Baltica, .
mplayer

~/.mplayer/config
[default]
#
vo=xv,noslices
# ( )
ao=alsa,oss
#
framedrop=true
# (%)
autoq=100
#
cache=2048
#
subcp=cp1251
# loop ( deblocking) H.264.
lavdopts=skiploopfilter=nonref
# ,
idx=1

#
af=extrastereo=2.00
#
use-filename-title=on
###################################ed#################
######################
# ()
# af=equalizer=6:4:2:0:0:0:0:3:5:8
# A/V
#.
#autosync=30
#[gnome-mplayer]
#vo=xv
#ao=alsa
#alang=Russian,rus,ru
#msglevel=all=5
#slang=Russian,rus,ru
#af=equalizer=6:4:2:0:0:0:0:3:5:8
#vf=eq2


()
k=`echo $1|sed s/' '/'-'/g`
mv -T "$1" $k
# mplayer c
# unsharp=lc3*3:1.5.0.0.0 1.5,
# mplayer -af equalizer=6:4:2:0:0:0:0:3:5:8 -vf eq2,pp=l5,unsharp=lc3*3:1.5.0.0.0,hue $k
mplayer -vf eq2,pp=l5,unsharp=lc3*3:0.5.0.0.0,hue $k

k=`echo $1|sed s/' '/'-'/g`


mv -T "$1" $k
# mplayer c ( )
# hqdn3d
# smartblur=1:0.4:0 (0.4 , )
#
# mplayer -vf eq2,hue,pp=l5,hqdn3d,smartblur=1:0.7:0 $1
mplayer -vf hqdn3d,eq2,hue,smartblur=1:0.3:0 $k

KDE
, kdeinit4 WM.

,
.
.
,
, .
packages.tbz.
( )
.
(/bin, / boot, /etc, /home, /lib, /opt, /root, /sbin, /usr, /var ,
) ,
.

X
,
.
1

bleachbit ,
IceWM
#! /bin/bash
bleachbit
sudo bleachbit

bleachbit /etc/sudoers.
,
, . ,
, /etc/sudoers.
, , .
#!/bin/bash
#
# , google chrome, ,
/tmp
#
renice 19 $$ > /dev/null
echo " "
df -h /
echo ""
echo " "
rm -rf /.trash
mkdir /.trash
chown ed:users /.trash
echo " "
rm -rf /home/ed/.cache/google-chrome/*
echo " google-chrome "
rm -rf /home/ed/.mozilla/firefox/k3pcop68.default/Cache/*
echo " firefox "
rm -rf /tmp/SBo
rm -rf /tmp/compile-am
rm -rf /tmp/temp-packages19
echo " "

rm -rf /tmp/.avfs*
rm -rf /tmp/.com.google*
rm -rf /tmp/package*
rm -rf /tmp/qtsingleapp*
#/usr/sbin/tmpwatch -v --atime 1 /tmp
#echo " "
echo "/tmp "
echo ""
echo " "
df -h /
echo ""
echo ""
echo " "
free
echo ""
# pagecache:
echo " "
sync
echo 1 | sudo tee -a /proc/sys/vm/drop_caches
# dentrie inode :
sync
echo 2 | sudo tee -a /proc/sys/vm/drop_caches
# pagecache, dentrie inode :
sync
echo 3 | sudo tee -a /proc/sys/vm/drop_caches
echo " "
echo " "
#
/sbin/swapoff /dev/sda5
/sbin/swapon /dev/sda5
echo " "
echo ""
echo " "
free -m
echo " "

IceWM (prog )
prog " , /tmp, " "/usr/share/pixmaps/xchat.png" roxterm
--tab --tab-name=clear-trash-cache-tmp -e sudo

/home
, , ,
bleachbit. .
,
/var/log/packages,
.


, ,
:)
, ,
, ,
, ,
.
, ,
.
/etc, /home, /root, /var
cron luckybackup snapshot (
). ,
/ .
(amazon cloud drive ).
partimage (partclone),

,. qt4fsarchiver,

(/bin, / boot, /
etc, /home, /lib, /opt, /root,
/sbin,
/usr, /var , )
.
, .
lzo, 22.5 , .
, ,
, (dropbox, wuala,
google docs)
luckybackup () /
, .
, ,
().
,
. linux , dropbox.com,
wuala.com,spideroak.com, , google docs (drive),
SuperFlexibleSynchronizer superflexible.com,
. (help.yandex.ru/disk/?id=1124655#programs) webdav
Konqueror, Nautilus davfs2 c slackbuilds.org (
unihub.ru/resources/38),
web adrive.com (50 ) Amazon Cloude Drive
amazon.com/clouddrive, .

3
psensor,
hddtemp,
gsmartcontrol.
SMART:
Raw_Read_Error_Rate .

,
. , Seagate, Samsung ( F1 )
Fujitsu 2,5 .
;
Spin_Up_Time . .

. ;
Start_Stop_Count / ;
Reallocated_Sector_Ct

.
;
Seek_Error_Rate .

;
Power_On_Hours .

.
, ,
;
Power_Cycle_Count / ;
Spin_Retry_Count .

;
Temperature_Celsius .

;
Reallocated_Event_Count ;
Offline_Uncorrectable .

, ( zim)
, zim
.
, ( )
echo " "
#
for d in ~/.icons/*; do gtk-update-icon-cache -f $d; done
#
for d in /usr/share/icons/*; do sudo gtk-update-icon-cache -f $d; done
#
fc-cache -fv
#/home/user/.fonts
fc-cache -fv /home/user/.fonts
echo " "
SQLite

SQLite ,
( ff, , )
#!/bin/bash
find ~/ -size +100k -type f -print0 | \
while read -d '' FILE; do
abs_file_name=$(readlink -f "$FILE")
headfile=`head -c 15 "$abs_file_name"`;
if [ "$headfile" = "SQLite format 3" ]; then
file_size_do=`du -b "$abs_file_name"|cut -f1`;
sqlite3 "$abs_file_name" "VACUUM; REINDEX;" > /dev/null 2>&1
file_size_posle=`du -b "$abs_file_name"|cut -f1`;
echo "$abs_file_name";
echo " $file_size_do";
echo " $file_size_posle";
echo -n " "
echo "scale=2; ($file_size_posle/$file_size_do)*100"|bc -l
fi
done
sleep 2
exit 0

(CtrlAltBackspace),
optimizsqlite.sh > ~/report-optimizsqlite.txt

~/reportoptimizsqlite.txt.


Slackware

www.slackware.com
slackworld.berlios.de/links.html
www.slackware.ru
www.slackguide.com
humanreadable.nfshost.com/sdeg/index.htm#toc
optimization.hardlinux.ru linux
docs.slackware.com/ru:start
help.ubuntu.ru/wiki/
wiki.archlinux.org/index.php/Main_Page_()
slackbuilds

slackbuilds.org
www.wuala.com/SergMarkov19/Slackbuilds ,
, slackbuilds.org
slacky.eu
connie.slackware.com/~alien/slackbuilds
rlworkman.net/pkgs
slackers.it
packages.zenwalk.org/?v=current
,

slakfinder.org
slak.homelinux.org
packages.slackware.com
packages.slackverse.org
www.z01.eu/slak
www.teoxonline.com/utils/sse
slakfinder.frattocchie.it/slak
pkgs.org
packages.ubuntu.com

docs.slackware.com/start?id=ru:start
slackbook.org ()
www.opennet.ru/docs/RUS/slackware ()
jack.kiev.ua/docs/slackbook ()

ck.kolivas.org/patches
ckhack.blogspot.com
algo.ing.unimo.it/people/paolo/disk_sched/patches
pf.natalenko.name
git.zenkernel.org/zenstable

QtApps.org
GTKApps.org
KDEApps.org
KDEFiles.org
GnomeFiles.org
JavaApps.org
WineApps.org
CLIApps.org
QtProp.org
ServerApps.org
apps.ownCloud.com

linuxforum.ru
unixforum.org
www.slackware.ru
www.linuxquestions.org ()

themes.effx.us
E17Stuff.org
exchange.enlightenment.org
opendesktop.org
KDELook.org
GNOMELook.org
XfceLook.org
BoxLook.org A
BerylThemes.org
CompizThemes.org
EDELook.org
DebianArt.org
GentooArt.org
SUSEArt.org
UbuntuArt.org
KubuntuArt.org
LinuxMintArt.org

ArchStuff.org Art
FrugalwareArt.org
FedoraArt.org
MandrivaArt.org
VLCAddons.org
Icewm

www.box.net/shared/j87dcxouvy2g5cd1zi81

www.box.net/shared/1g1u4eguyemtucdm8n4h
www.box.net/shared/yycg8kr6tlsqmjl3axvh
www.box.net/shared/71r6sxvtp91v44kklxlu
www.box.net/shared/ot0co3pp4bhldpz71tgq
www.box.net/shared/t859tdjnak8omvv5z2jm
1920x1080
www.wuala.com/SergMarkov19/Guidefiles.
.

/remove


pdf .
( tar.bz2):
worker.tbz worker roxterm juffed.
/etc/sudoers, ,
/etc/sudoers,

sudoers,
ed ALL=NOPASSWD:

user ALL=NOPASSWD:

user .
,
, /opt/scripts.
mksh,
bash,
mksh bash.
roxterm worker (
../.worker/config).
icewm.tbz IceWM
e16.tbz E16
cairodock.tbz cairodock
program.tbz .

packages.tbz , ,

sergmarkov1960@gmail.com ()

Вам также может понравиться