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

, !

4.8
CE
XF
e,
Liv
4.6
DE +
: K

50

Libre Office: , OOo

Debian !

.10

Linux
2011 4 (143)

Linux

KDE 4.6
,

Gnome Shell

Gnome 3.0

OpenSUSE 11.4

?



Mozilla .34


KDE

Linux

ExifTool

KDevelop 4.2

LPI
,

.64

: 36343,
20882
87974, 16572

,

.
Linux
, :
- .
,
, GNU GPLv3.
,
, Linux
.

.

Linux-.



Linux, GNU/
.
, , - .


20000
UnixWare
SCO
Linux.


, Gentoo,

GCC.
-mtune
i686.




.
...


Linux

.
,
Hurd.


:

Emacs Vi. ,
44700 .
...


:

LXFDVD
Ubuntu.
...


- Wine
.


.


-?
Linux
.

,
.

, ,
, , .
20, .
, .
.
openSUSE; LibreOffice ; - Debian 6 ,
, CeBIT 2011 Debian ,
. , KDE Gnome, .
,
, .



info@linuxformat.ru


?
. ,

,
Fedora. -...


-
XBill 47
.
Microsoft.


,
,

LUG
.
.

: letters@linuxformat.ru
: subscribe@linuxformat.ru
: answers@linuxformat.ru
: disks@linuxformat.ru
: info@linuxformat.ru
: sales@linuxformat.ru
Web-: www.linuxformat.ru
: , -, ., 50, . 15
: (812) 309-06-86. .112

2011 LXF143 1


. .

Debian 6.0  10

.

Linux FreeBSD?

KDE 4.6  11
, -
?

Crossover Pro 10  12
Windows
Linux .

Linux! .22

OpenSUSE  13
, .
- KDE.

.64

.36

Libre Office  14
OpenOffice.org,
.
?

:

4Pane 
Dolphin 
Nautilus 
PcManFM 
Rox-Filer 
Thunar 


19
18
17
20
20
19



: , ,

. 34

2 LXF143 2011

Debian: Linux
KDE 4.6:
LibreOffice 3.3:
: Xfce 4.8, , ,

VD

Debian 6, KDE 4.6

LXF

DVD

143

.100

19  30
:
?

Gnome  52
Linux!
, . .

AR Drone  32
Linux , .
-!

 46

: Gnome Shell Unity?


: systemd.

 72

Fedora Ubuntu
.

,
.

Linux ... Linux. Linux 56


Todoyu  60
,
.

Linux  64
:
.
: .

ExifTool  68

EXIF-
.

. 107,
!

QML, Mono Erlang  72


-
.

Hardcore

 4

 46

?  107

Debian CeBIT,
.



systemd.

 88
LINUX !
,
-? .

, Linux
, .

.

Hotpicks  94

 112

:
.

,

.

 16


-.

LXF  34
Mozilla,
Firefox.

 44
Gnome Shell
,
Unity.

Linux Format  105


DVD
.

KDevelop  84
:
.

LXF  108

, Kdevelop!

2011 LXF143 3

Debian
, ?

CeBIT 2011

. Debian.


()
CeBIT 2011
Linux
New Media Awards.

,
Linux. ,


Linux
, .

, 200

,
Linux ,

. ,
Debian/GNU Linux


. 2010
Linux-, Debian
.
,
Debian .


,
Debian,

.
[Karsten Gerloff],
Debian
.
,

.
Squeeze

: Linux New Media


Awards2011.

- [Alexander
Reichel-Schmehl],
Debian, .

4 LXF143 2011


,
. Debian
Linux-,
.
CeBIT 2011 :

btrfs
(
/ ); Samsung Tablet Galaxy
Android
( Linux );

Firefox
Fennec (
);
KVM (

).
2011
Ubuntu
.
,

.

CeBIT
CeBIT ,
, . CeBIT ( .
..
Centrum der Buro- und Informationstechnik

) ,

.
Deutsche Messe AG

.

FreedomBox:
FreedomBox
, .

-,
,

.
1990 Facebook,
, ,
, .
,

.
2009
Google,
WikiLeaks. , -

.


FreedomBox. FreedomBox?
,
,
, Linux.
, FreedomBox

.
FreedomBox [Eben
Moglen], ,

. ,

,
-
web-
. FreedomBox

,

.
FreedomBox


, Debian
GNU/Linux.

Pogoplug TonidoPlug
99
. ,
...

,
29 .



,

,
,
FreedomBox -
.
, FreedomBox
c
Debian GNU/L inux,

.
FreedomBox

,
,
:
,
,
,

, Facebook, Flickr
Twitter,
.
.


,
FreedomBox,

.
.


, FreedomBox


Pocket Servers
,
;

: TonigoPlug PopoPlug

. ,
,

.
Linux.
,


, Amazon EC2, BitTorrent
.
.


.



.

.


/
, ,


.
,

,
Windows
.

/.
.
FreedomBox
VoIP
.
FreedomBox
.

FreedomBox
Freedom
Box Foundation. ,
500
, FreedomBox 1.0
.
, 2010

,
,
, -
.
,

,
.
,
WikiLeaks

, FreedomBox

.
,
Linux.

2011 LXF143 5

Open Source Hardware !


,
.

,

? ,
OSHW
,
,
.
,

( ).


(Open Hardware Definition 1.0).
.
,
,
Open Source Hardware
Definition 1.0 (OSHW),
,

.
OSHW

Open Source Definition,

.
OSHW 12
,

. :


( ), .
.


,
.

,

.
, ,
,
.


,
.

,

,
.

,
OSHW
.
.

;

.

.



: ,

Arduino
,
/
, RepRap
,
,

: RepRap
3D-,

, ;
OpenSPARC
SPARC
, Sun;

6 LXF143 2011

Tuxphone ,
!

TuxPhone,
;



Lunar Numbat,

Google Lunar X-prize:

- Linux.
Linux-


,
Google 30
. , ,
Linux
,
!


.

.


,
.

,

, , ,
[David A.Mellis]; [David
Cuartielles] [Massimo
Banzi] Arduino,

; [Chris
Walker] Netduino
,
.NET
Micro Framework; [David
Carrier] Parallax Inc.;
[Jim Barkley]
[Samuel Sawyer]
MITRE Corporation;
OpenSuse
[Federico Lucifredi],
,
.

wiki- .
, OSHW
,



.
!



. .

www.wikipedia.org

,
, 12
,
50 .
- -7
,
,
.
, ,
,
,
...
,
, ,
5060 ,

. ,

,
-34 -7,
...
. 50

,

,
,
-

1:43.

.
. !

,
.

.

1579 (
SPARC),

.
USB,
-
.

- (
,
).



,
. ,

,

.
,


.

. ,

.
.


-6 -1. ,
-1, -32, -20, -40 526,

, , ,
.



.

.
,




.

.


- Ubuntu
11.04 Natty Narwhal. 28
.
Google

.

WoPhone
Linux, China United Network
Communications Group:
.
Mozilla

WebApps,

web-.


lst.de,

.

Scientific Linux 6.0
Red Hat Enterprise Linux6.0,
.
Microsoft
WordPress

Windows Live.
.
Google Android
Market 56 ,
DroidDream.
50 200 .


Linux Foundation.

Firefox 4
. 22 2011.
-
Boxee $16,5
Pitango Softbank,
TV-
.

-1.

2011 LXF143 7

Barrelfish:

. : ,
.
: 2009

Barrelfish , [multikernel] : ,
, [kernel], [core]
, ,
.
, ,
SMP
NUMA.

,
.
.
(ETHZ),

, Microsoft, .
BSD-.
( http://www.barrelfish.
org/).
,
() . ? ,
,
.
alv@posix.ru

:
Debian 6  10

OpenSUSE 11.4  13


. ,
, Debian Linux.
BSD.

- , openSUSE
, , :
,
LibreOffice.

KDE 4.6  11

LibreOffice 3.3  14

KDE - ,
, . 4.6

Dolphin.
3.x.

c
.
, OpenOffice.org ,
.

CrossOver Pro 10  12

Windows.
.

Debian 6 c. 10

Crossover Pro 10 c. 12

,
Debian 6. DVD!

,
MSOffice Photoshop Adobe.


(0 , 10 ).
,

, ,
,

.
,
,
.


Top
Stuff.

.
,
.
,
Autopackage,
.

Google Earth
: Google
: http://earth.google.com
:






10/10
9/10
9/10
9/10

, Google
Earth .
,
.

 9/10
2011 LXF143 9

 Linux

Debian 6.0
:
?

FSF

.

,


.
. : Gentoo,
Fedora, Ubuntu.


Gnome 2.3
KDE 4.4.5
LXDE 0.5
XFCE 4.6.2
X.org 7.5
OpenOffice 3.2
GCC 4.4
PHP 5.3.2
Apache 2.2
MySQL 5.1

Debian 6.0 (Squeeze)


. ,
:

2010.,
- .
,
2010.,
, . 2011.Squeeze-
,
,
.
, Debian

Squeeze.

,
.
( ):

. -Debian
. ,
.
Ubuntu Software Centre ,


.
,
Debian
(FSF),
. Squeeze
,
.
Epiphany
( Iceweasel)

Software Centre

Cooler

?
Squeeze
Ubuntu
Software Centre.

, Squeeze
,

.

10 LXF143 2011

Debian :
Linux. --
. , Iceweasel (
Firefox, )


, Epiphany.
,
Debian:
BSD. ,
,

Linux-.

?
Debian
, ;

?
. ,
,

.
MP3 DVD ,

( :
). , ,


(Iceweasel ).
,
Grub , Debian

;


.
, ,

,
Squeeze ,
, .
-
,
.

Debian 6.0
: Debian
: www.debian.org
: GPL






6/10
9/10
6/10
6/10


,

.

 7/10



C 

KDE 4.6
KDE 4. ,
? Plasma

. .
Gnome, XFCE.

,
: C
Linux
?
: KDE
Linux? ,
KDE 4.6.
KDE 4
, (
4.5) . 4.6?

, KDE
-
?

Activities

Plasma
Desktop .
Activities,
, .
,
,
Activities,
.
Activities .


, KDE 4.6
.
.
,
Activities ;

.

, .
.
,
Activity .
Dolphin

, .
,
,
.
(..
EXIF ),
KDE
home.
, .

,
.
Gwenview KSnapshot


. , KDE
.
(
) ,
.


Activities

Activities
;
.

Dolphin

.



KDE. , Plasma
:
GTK,

KDE Qt,
, KDE. :

.
,
.
KDE 4
. 4.4 ; 4.5
; , 4.6
.
, KDE 4.6
. ,
KDE 3.5, .

KDE 4.6
: KDE
: www.kde.org
: GPL






8/10
7/10
8/10
8/10


;

.

 8/10
2011 LXF143 11

 Crossover Professional 10

CrossOver Pro 10
Codeweavers Windows-
.


,


Windows
Linux-. .
: Parallels,
VirtualBox, Wine.


,
Linux-
Word-. Windows-
(CrossOver 10, ):
,
Windows-.
CrossOver 10
,
, . ,
CrossOver
, ,
.
, ,
Office 2007
Windows CrossOver Pro
. Powerpoint
Linux
.
CrossOver
[bottles],
Windows,
,

Codeweavers
,
.
.
( , -
).
CrossOver

CrossTie:

CrossTie
,

.



Wine,
CrossOver.

12 LXF143 2011

100% Microsoft Office,


Crossover Pro.
Windows,
.
500,
.

, Office 2007,
. CrossOver Pro
,
.

Wine

CrossOver ,
Wine:
. ,
Photoshop,
CS2
CS5!
, Codeweavers
,
, .
,

. ,
, Wine
.
,
,
CrossOver. ,


.

, .

,

.
.


,
.
, CrossOver10

(
),

.
CrossOver
, .

CrossOver Professional 10
: Codeweavers
: www.codeweavers.com
: 25,99 ; 44,99






7/10
8/10
8/10
7/10


Wine
.

 8/10



Linux 

OpenSUSE 11.4
, openSUSE 11.4
( ?!).



Linux. .
: Fedora,
Mandriva, Ubuntu.


2.6.37
KDE 4.6
GNOME 2.32
LibreOffice 3.3.1
Firefox 4.0
GCC 4.5



, openSUSE
.
Novell, ,
,


openSUSE. Attachmate,
Novell (
LXF139/140), ,
. ,
.
openSUSE 11.4
.


. ,
,
, openSUSE
. ,
.
,
openSUSE
200 .
!
-

. openSUSE
,
!


KDE
, openSUSE 11.4
KDE 4.6

WebYaST

Gnome 3


openSUSE 11.4
,

YaST.

Gnome Shell
. ,

.

OpenSUSE : OpenOffice.org
LibreOffice. .
. openSUSE
KDE
,
.
GNOME 2.32
! ,
GNOME
GNOME 3,

,

. ,
3 GNOME
,
openSUSE .

GNOME Shell,
LiveCD SUSE Studio.


LXDE
DE
openSUSE. ,
KDE GNOME, LXDE
-

Linux. ,
, !
, openSUSE 11.4
LibreOffice. OpenSUSE
,
.

, ,
133
, LibreOffice
.
YaST.
, 11.3,
.

openSUSE
openFATE.
11.4 ,

.

openSUSE 11.4
: Novell
openSUSE
: www.opensuse.org
:






9/10
8/10
9/10
9/10

,
.

 9/10
2011 LXF143 13

LibreOffice 3.3
, OpenOffice.org
. , .

,


. .
: KOffice,
OpenOffice.org.

Oracle
.
,
OpenOffice.org
OpenSolaris.
,
OpenOffice.org
Document
Foundation.

Oracle
.
LibreOffice Open
Office.org, .
,
LibreOffice 3.3 (
OpenOffice.org
).


LibreOffice www.
libreoffice.org,
,
Ubuntu Fedora.
: LibreOffice
PPA Ubuntu,
OpenOffice.org.
LibreOffice
,
-
-

.
,
LibreOffice
Java GCJ,
OpenJDK.
,

SVG


,
OpenOffice.org.

,

(SVG),
Writer Draw.

14 LXF143 2011

: LibreOffice 3.3 .

.
LibreOffice
OpenOffice.
org.
,
(
, ..).
LibreOffice
, OpenOffice.
org 3.3,
,
OOo.
Liberation Narrow,
PDF
,
Writer Calc
Calc
.



, ,
Impress;

;

.
OOo

. ,

,
, LibreOffice
,
- .
, LibreOffice 3.3
( >
> ) ,
.


(
Calc),
OOo.
, LibreOffice
.
,
Writer,

(





). Calc

,

OpenOffice.org.
,
LibreOffice Help
- wiki.


LibreOffice
Go-oo ( OpenOffice.org
Novell). Novell
Go-oo
Document Foundation.
Novell, LibreOffice
Lotus Word Pro
Microsoft Works
libwps. ,
Wordperfect.
,
( )
,

(SVG). Writer
Draw. ,

;
,
.

Go-oo
OOXML. LibreOffice

Microsoft Office 2007 2010.
Document Foundation,
...
Novell Microsoft.

LibreOffice
OOXML.
Novell OOXML
,
LibreOffice
(ODF),
OOXML.
, LibreOffice3.3
.

. ,

LibreOffice
OpenOffice.
org
, Oracle Sun.
OpenSolaris
.
Sun


.
,
-
Sun,

,
,
[Rahul Sundaram],
Fedora.
Document Foundation
2010 .
OpenOffice.org,
Oracle;
100 . LibreOffice3.3

,
-.
, Fedora

LibreOffice,
OOo
Oracle ,
Go-oo Novell.
: Oracle

LibreOffice.
GPL, ,
Oracle OpenOffice.org,
,
LibreOffice
.
OOo ,
Oracle


. LibreOffice
,
.

LibreOffice
,


,
.


,
.
,
. ,
LibreOffice3.3
,
. ,

.
, Document Foundation

,


. LibreOffice 3.3


Microsoft Office
Google Docs.

LibreOfice 3.3
: The Document Foundation
: www.libreoffice.org
: LGPL v3






8/10
8/10
8/10
9/10

OpenOffice.org.


.

 8/10
2011 LXF143 15

4Pane 0.8.0
PcManFM 0.9.9
Rox-Filer 2.10

. ,
, .

,
,

AMD 64$5800+ 8 .
Fedora14
, 2011.
Rox-Filer,
RPM-
,
TGZ Deb .
Rox-Filer ,
RPM.

(. ,
).
,


. ,
240
,
.

4Pane .19
Dolphin .18
Nautilus .17
PcManFM .20
Rox-Filer .20
Thunar .19

,
,
.


,
,
. ,
,
, .


,
.


.

16 LXF143 2011


;

.
.



Linux ,
,
, ,
, ?



.
,
live CD Linux
, ,

Linux. ,
,
Midnight Commander EmelFM2,
LXF,
.

,

, .





Nautilus
Gnome - .

Nautilus Fedora 14,



,
.
[Browser mode].
[Spatial
mode]:
,
.
, , Preferences .
:
Nautilus
List [], Icons []
Compact [ ];
.

,
,
.

.
50% ,
. ,

Nautilus.
View > Extra Pane.
Browser
Nautilus

Nautilus

Emblem,

,


.

Nautilus


,

.


Nautilus
, . Nautilus
Elementary. 2010 ,
Marlin.
, Nautilus,
, ;
Marlin .

,
,
. :
.



. , : Nautilus FTP,
WebDAV, SSH

Win
dows.


.

Nautilus. ,
.

, .

, Nautilus
Notes [] Emblems [] ,
.
Note,
, Properties,
Notes, ,
, Save.

Notes Display. Emblems

: ,

.
,
: Edit >

Background And Emblems,


Emblems Add ANew Emblem.
,
Emblems .
, ,
Nautilus -
, Send
To,

, DVD
.

Emblems

.
Nautilus
.
Nautilus
,
, $HOME/.gnome2/nautilusscripts/.
Scripts.
Nautilus
.
:
http://g-scripts.sourceforge.net
http://bit.ly/fZs4uP.

Nautilus
: 2.32.2.1
: http://bit.ly/fAYgZx
: GPL
Nautilus .

.

 8/10
2011 LXF143 17



Dolphin
, .

olphin
KDE.


Places, Home, Network, Root Trash
.


Icons [], Columns []
Details [].
.


Expandable Folders. Split []
;
.
, ,
Shift+F1, .
,
.
Dolphin ,
Nautilus:
.
,
,
.
View > Location

Breadcrumb Editable Box mode.
Dolphin
,
. Dolphin
Information []

,

,


.

Dolphin
Digikam,



.


Dolphin Nepomuk
, .
, Nepomuk, Strigi,
. ,
System Settings > Desktop Search KDE, .

18 LXF143 2011

Folders []
. ,

Dolphin,
.
Information

. ,
Dolphin,

,


(,
, Nepomuk)

.
Digikam; Dolphin
.
, ,
, .
,
Dolphin ,

.
,
, .
,
Ctrl+F
Tools > Find File.
,

Settings > Toolbars Shown. Find File

Unix :
, ,
, ,
.

.

,
.
Nepomuk.
,
,
,
,
Information. Nautilus,

Split

, .
,
Dolphin
.

,
Dolphin
,
Dropbox, DVD

Kdenlive

Tesseract.

Dolphin
: 1.5
: http://dolphin.kde.org
: GPL
Dolphin ,
.

 9/10



4Pane
, ; .



,

. ,

;

. ,
.
4Pane
,

. 4Pane ,
.

,
4Pane ,
:
,
Options > Configure 4Pane; F1,
- .


,

. , 4Pane

,
, NFS Samba.
, 4Pane
. ,
Tools ,
4Pane: find, grep locate.
4Pane .
View > Show
Terminal Emulator. ,
su, sudo
.
[
pipes
], [
redirection
] [
command
his
tories], ,
,
.

4Pane



.

4Pane
,
.

4Pane
: 0.8.0
: www.4pane.co.uk
: GPL
4Pane ,

.

 7/10

Thunar
.

hunar
Xfce4.
, ,
.
File [], Edit [ ],
View [] Go [ ].


,
Pathbar Thunar
Toolbar.
Up, Back Home,
Nautilus.


.
Open Terminal Here [
]
. Send To[
], ,
,


Bluetooth.

,

F
2
Edit
> Re
name .
,
.



http://bit.ly/f1wUYp.

. Edit > Configure Custom Actions
,
.
Thunar,
.
Appearance Conditions:
, Thunar
.



Thunar,
.

Thunar ,
,
.

Thunar
: 1.0.2
: http://thunar.xfce.org
: GPL
, Thunar

.

 8/10
2011 LXF143 19



Rox-Filer
RISC Linux. , .

ox-Filer Rox,
,
RISC (Reduced Instruction
Set Computing
). Filer
.
, home
. ,

, .
.
Rox-Filer ,
,
,
,
.
,
(
),
List [ ] Icon
[ ] .. Next Click

, Filer,

.
Xterm, .

Rox
0install,
.

,
Filer. HTML, .
LIFESAVER (
, Fedora 14), Filer ,
, .
Filer .
, .
,
10 ,
, Linux,
.
, ,

.

RoxFiler
, ,
,

.

,
10 ,
.

Rox-Filer
: 1.5
: http://bit.ly/ijk3KT
: GPL
Rox-Filer ,
: !

 7/10

PcManFM
, , ?

cManFM, ,


.
:
,

. ,
,

.
: Go
Bookmarks. Go

.
,
Desktop, Trash Applications,
,
Gnome System.
,
PcManFM
Nautilus
Thunar .
,
PcManFM
LXDE
,
Light

Desk-

20 LXF143 2011

top Environment.
,

4 :
Icon [], Thumbnail [], List
[] Compact [
].
,
.
,

UTF-8.


:
(F4)
root.
,
, .



,
PcManFM.

PcManFM
: 0.9.9
: http://pcmanfm.sourceforge.net
: GPL

, .

 7/10



Dolphin 9/10



,
. -

,
Thunar, PcManFM.

,
Rox-Filer, 4Pane,


find grep.
,
,
,
, .


,



. ,
, JPEG


.
, ,
,

GUI. ,

, ,
.
(

find, )
.
Dolphin,

Nautilus. Dolphin
,
.
Nepomuk
,
Emblems Nautilus ,
,
,
Nepomuk.
. , ,
:
, , ?
,
, , , Nautilus
Nepomuk, Dolphin,
KDE

Nautilus.


,
Dolphin
:



.

,
,
?
-
?
letters@linuxformat.ru.

4Pane

wxWidgets

3,8

20

Dolphin

Qt

90 [1]

30

Nautilus

Nautilus

GTK

18

25

Dolphin

PcManFM

GTK

0,7

12

Thunar

Rox-Filer

GTK

1,2

11

Thunar

GTK

13

13

PcManFM

[1] Kdebase, Dolphin.


: . , , , . Dolphin, Nepomuk ,
.

2011 LXF143 21

2.10.1
ardian
Dansgu e 0.6.9
g
a
im
Part
1.530
Webmin
2
.4
2
t
.6
FSlin
Time 1.0
Back In

,



Linux.

22 LXF143 2011


.
; , ?
, ,
?

, ,

Linux-
.

, ,
,

,
. , ,
, . !
: .
Internet,

(
man-,
?).

-
,
. ,
Linux-

,

. !


? ,
dpkg --set-selections < selections.txt
;
dselect update
,
apt-get dselect-upgrade
.
? Ubuntu
dpkg

. dpkg
Back in Time
:
dpkg --get-selections
:


: http://backintime.le-web.org
.
,
; Back
,
In Time
dpkg --get-selections > packages.txt
,


.
(

), Linux,
:


,
.
,
;
.
.

:



?

watch.


,

,
,
.
,

,
:
watch -d ls -l


1

,
. ,
:
free >> ram.txt
2 grep

, |
.
,
:
rpm -qa | grep python > python-packages
3

,
root? ?

.
, :
sudo !!

- ,
:
cp /etc/X11/xorg.conf{,.bak}

4
,
.
Bash .
:
for i in 1 2 3 4 5
do
touch myfile.$i
done

6
find
Bash, .
-mtime ,

. , ,
,
sudo find /etc -mtime -1 -name *conf*

5 , . 2
Bash
,
. , {One, two} one
two. ,

7
Bash ,
? Ctrl-R . Bash

, .
Enter.

2011 LXF143 23



man-,




. ,

,
,

. ,


.

info info

h,

.

?
.
? Linux-

.
, ,

web-.
(, Cron),

, - .
, ntp,

Internet. , , ,
, .

. Fedora System
>Administration > Services. Ubuntu System
>Administration > Startup Applications,
. :
.
,
/etc/init.d, .
,
, ,
.
. ,

Fedora ,
System > Administration > Services.
. , , Apache, ,
, :
sudo /etc/init.d/httpd restart

; ,
Bash LXF136:
.

Anacron
?
.
? Anacron Cron,
. Cron ,
, . :
Cron .
, Cron
.
Anacron. ,
, ,
, .
,


Webmin
:

: http://webmin.com
Linux,
, Webmin.
web
,
Linux .
,
.

24 LXF143 2011

Linux-
, .

,

.
, Anacron ,
, .
(,
7), ( )
Anacron,
.
,
,
. /etc/anacrontab
, ,
:
#/etc/anacrontab: anacron
SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
#

RANDOM_DELAY=45
# :
START_HOURS_RANGE=3-22
# ; ;
;
1
5
cron.daily
nice run-parts /etc/cron.daily
7
25 cron.weekly
nice run-parts /etc/cron.weekly
@monthly 45 cron.monthly
nice run-parts /etc/cron.
monthly
7
55 anacron.backup /usr/sbin/ mybackupscript


? ,
.
? uptime
/proc/loadavg,
, Linux-.
?
-, ,
, 15
. ,
CPU . ,
0,25, ,
25%
.

,
,
, /proc/loadavg
uptime. , 1

0,25, 25% .
CPU,
-
/ ;
.
.
,
, .

sudoers visudo
?
.
? sudo
root ,
, root.
Ubuntu:
root, sudo .
,
, /etc,
sudoers. Vi, Gedit
, Visudo.
,
sudoers
,
,


.
,
sudoers ,
.
, Vi.
,
( Page Up/Page
Down),
i, . ,
Esc:wq <return>.
,
,

. Esc:q!
<return>.
, sudo evilnick
root ,

evilnick ALL=(ALL) NOPASSWD: ALL


, ,
. , ,
( ).

,
.


,
%
. ,
users Networking,
sudo, mike
modprobe, :
%users ALL=NETWORKING
mike ALL=/sbin/modprobe
, ALL ,
sudoers ,
.


,
,



.
,

, NAS
.
Gigabit Ethernet
(10/100/1000),



Fast Ethernet
(10/100),




.

,




Gigabit


10!


Dansguardian
:
: http://dansguardian.org

Visudo, , ,
sudoers; Vi.

Dansguardian web,

,
web-, ,
. ,

,
,

.

Dansguardian
.

2011 LXF143 25


Linux2.6,

swappiness
,



,

.



/proc:
cat /proc/sys/vm/
swappiness

swappiness,



.
,
proc
,





,

.

?
.
? ,
;
Linux. ,
dd,
. , Linux
,
. IDE

dd if=/dev/hda of=/dev/hdb conv=noerror,sync

( )

.
- ,

. -,
dd
,
.
,
.
,
, , .

Linux
, , /proc, .

,
rsync:
rsync -av /source /target
,
Linux, , ,
, ,
.
blacklist.lst:
#
+ /dev/console
+ /dev/initctl
+ /dev/null
+ /dev/zero
#
- /dev/*
- /proc/*
- /sys/*
- /tmp/*
dev
,
, /p roc
: ,
. rsync
:
rsync -av --delete-excluded --exclude-from=blacklist.lst / /
destination
, ,
rsync.

- dd
,
.

dmesg
?
.
? Linux Unix-

dmesg:
, ,
. , ,
, , ,

.
dmesg .
dmesg
,
, , ;
.
dmesg less:
dmesg | less
- , SCSI
USB grep
less:
dmesg | grep usb | less

Palimpsest
:

: http://library.gnome.org/users/
palimpsest/2.32/intro.html.en
Gnome Disk Utility Palimpsest
( ,

)
,

.
,


.
Gnome,
!

26 LXF143 2011


.
?

Gnome
System Monitor, free.


?
.
? Linux , , ,
. ,


,
.

,

, ,
.
-, , ,
,
8, 16.
,
2 .

, free, swapon,
:
swapon -s
.
, ,
,
(,
web-).

,
, .
, .
,
,


( ,
3D-).

, dd, :
dd if=/dev/zero of=/var/swapfile bs=1024 count=2097152
mkswap /var/swapfile
swapon /var/swapfile.
, ,
, USB-
. , , , ,
USB 2.0, 400 Mbps,
.
.

,

.


sudo




.
?


.


sudo


sudoers.

.
?
. http://xkcd.
com/838.


FSlint
:


,
(, sdb2)

mkswap /dev/sdb2
swapon /dev/sdb2
echo /dev/sdb2 swap swap sw 0 0 >> /etc/fstab

, .
,
,

: www.pixelbeat.org/fslint

.
, ,

.
,
FSlint.

, .

, FSlint. ,
?

: PPA

Ubuntu Tweak

Ubuntu Tweak
Ubuntu. :
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
System Tools.

PPA

Package Cleaner ,
Purge PPA
. , ,
. , ,
,
.

Firefox
. ,
Firefox ,
. Ubuntu Tweak

Ubuntu. !

2011 LXF143 27


?
.
?
Linux .
, Linux
, Windows Mac OS X, Linux
.
, ,
,

,

.
,
, lsmod.
,
, . , kvm_intel
kvm, snd sndcore.

rmmod

modprobe. ,
,
sudo rmmod joydev
sudo modprobe joydev
,
. web-
,

.


modinfo. ,

, :
$ modinfo gspca_ov519

Lsmod
,
.


Partimage
:
: http://www.partimage.org/
Main_Page
Partimage
,


.
Curses,
;


,
Partimage
, Clonezilla (. http://clonezilla.org).

? ,
Partimage
.

filename: /lib/modules/2.6.35.10-74.fc14.x86_64/kernel/
drivers/media/video/gspca/gspca_ov519.ko
license:
GPL
description: OV519 USB Camera Driver

alias:
usb:v041Ep4003d*dc*dsc*dp*ic*isc*ip*
depends: gspca_main
vermagic: 2.6.35.10-74.fc14.x86_64 SMP mod_unload
parm:
frame_rate:Frame rate (5, 10, 15, 20 or 30 fps) (int)
,
. ,
; , ?
sudo rmmod gspca_ov519
sudo modprobe gspca_ov519 frame_rate=20

/etc/modules.d/options.conf. (
, .) :
options gspca_ov519 frame_rate=20
,
, .
, blacklist.
conf ,
,
.

: Ksysguard

Ksysguard

Ksysguard KDE,
KDE, Ksysguard .
,
.
Gnome, !

28 LXF143 2011

New Tab, .

, . Ksysguard
CPU
.


, ,
. ,

.
Monitor Remote Machine.

NAS: ?
,
,
,
, . , ; ,
,

. , NAS, ,
Linux
.
,
,

. NAS- ,
, Qnap 219 Excito B3,

20 (200),

.


?

!
?
Grub 2 (
Fedora).

() :
,
.
,
-
, .
, .
. /etc/grub.d/
00header .

cat << EOF
set superusers=myname
password myname 1234
EOF
(myname) (1234).
, -,

, , ,
, ,
- .
10linux .
,
menuentry $1 {

printf menuentry \${title}\ --class linux {
--users

, :
menuentry $1 --users myname {

printf menuentry \${title}\ --class linux --users myname {


Grub :
sudo update-grub

, .
:
, , ,
. , ,
,
password .

SSH-
?
Internet,
.
?
Internet ,
, , web-
. ,
60 43 ,
SSH-.
, ,
. -,
SSH 22. ,

. -,
.
SSH, ,
.
SSH ,
.
,
.
SSH. , .
,
fail2ban.

,
.
, 10
iptables,
.
, 10 ,
,

.
fail2ban sourceforge:
www.fail2ban.org/wiki/index.php/Main_Page.


. ,

.

NAS



.


?

,

.




,

,

,
.


.bashrc

:
export PS1=\
[\e[41;1m\]\u@\
[\e[32;1m\]\H> \
[\e[0m\]


Linux, ,
. ,
, ,
.

2011 LXF143 29

KDE

19 KDE

KDE . ,
.
, .

01


KDE ,
. ,
KDE . ,
, , ,

. ,
,
.

04

02

05


KDE System Settings ,
,
. Search , . ,
FAQ

...

03

GTK
, GTK KDE (
Qt Gnome), ,
.
GTK Qt,
KDE. ,
KDE GTK,
Firefox ,
Konqueror.

KDE .
,
, . KDE 3.5
KDE, ,
, .

.



KDE?




KDE? ,
-
K? Linux G...
?

06


KDE Help Centre

, KDE
,
. KDE
.
,
KDE 3 KDE 4.

07


YouTube
( ,
). , ,
, , KDE3
KDE.

08
Help Centre

,


?

30 LXF143 2011


KDE ,
(?) .
,
. KDE ,
!

09



, , ,

KDE

,
.

System
Settings? -,

. , ,
,
,
. , , ,
,
.

10


KDE Network Manager?
KDE
, 3G- VPN-?
, ,
KDE

.

11


, KDE 4 .

, 4 ,
, ,
.
Windows,


,
KDE.

12

Konqueror
KDE3 Konqueror web-
,
. KIO-slaves,
, . Konqueror web Chrome
,
.

KDE 4
,
?

Ubuntu Gnome
,
.
,
,
KDE.

13


KDE 4.5
, ,
CPU. - ,
GUI . KDE
,
,
Gnome.

14


Gnome ;
. KDE
,
, . ,
Gnome , ,
, KDE,
.

15

16


KDE . ,
, .
(,
),
,
KDE .

17



KDE 4
.
: -
,
KDE.
KDE, ,
, KDE 3; - .
,
, ,
.

18

,
, KDE 4 ,
? ,
.
, , - ,
, .
KDE.

19

.
, , ,
, ,
.
.

:

-
,
. ...
, .
KDE. ,

Plasma.
, KDE ,
, ,
.
,
...

2011 LXF143 31

Linux

-
Linux. , .

R.Drone Parrot
2010 ,
. , ,
, AR.Drone Linux.
, .
,
Wi-Fi.
,
,

,
.
, ,
, IP-
,
. ,

Free Flight,
[Unpair] .
, ,
? IP-,
.
, , , ,
, ,
.

nmap :
21/tcp open ftp
23/tcp open telnet

telnet, Bash .
,
Linux c BusyBox ,


,
.

,

root , .
#echo $USER
root
- . , -

, .

Wi-Fi

.

32 LXF143 2011


:
# cat /proc/cpuinfo
Processor: ARM926EJ-S rev 5 (v5l)
BogoMIPS: 233.47

Linux

Features: swp half thumb fastmult edsp java


CPU implementer: 0x41
CPU architecture: 5TEJ
CPU variant: 0x0
CPU part: 0x926
CPU revision: 5
Cache type: write-back
Cache clean: cp15 c7 ops
Cache lockdown: format C
Cache format: Harvard
I size: 32768
I assoc: 4
I line length: 32
I sets: 256
D size: 16384
D assoc: 4
D line length: 32
D sets: 128
Hardware: Mykonos Parrot platform
Revision: 0904
Serial: 0000000000000000
:
# cat /proc/meminfo
MemTotal: 126072 kB
MemFree: 105652 kB
Buffers: 0 kB
Cached: 3604 kB
128 ,
.

, ,
FTP telnet.
, .


,
, FTP,
Telnet, DHCP- syslogger. ,
,
, ,
, ,

AR.Drone .

.
:
960 root 2736 S /bin/sh /bin/check_update.sh
961 root 11824 S /bin/program.elf
program.elf .

, , ,

,

.
check_update.sh
, vi cat:
# cat /bin/check_update.sh
,
. ,
program.elf. , ,
.
netstat , ,
, .
netstat
.
, .
netstat - ,
TCP 5559 UDP- 5554, 5555 5556,
program.elf. AR.Drone,
.
,
. UDP-,
, ,
.
,
, ,
, : Free Flight.
Wi-Fi,
,
.



,

.


AR.Drone Linux,

. ,
,
Linux BusyBox. Linux,
,
.

,
,

,
.
AR.Drone

.

Linux. ,
.

2011 LXF143 33

,
Mozilla,

,
.

34 LXF143 2011





[Mary Colvig], -
, Mozilla Project 2006 .

Mozilla,
Firefox 3
, .
Mozilla
.
, Firefox
Internet Explorer Chrome, , ..
LXF: Mozilla?
: !
Leukemia&Lymphoma Society [
] ,
.
Leukemia &Lymphoma,
Ironman Ironman
Canada 2005.
Firefox Mozilla ,
[Rafael Ebron],
Ironteam Leukemia&Lymphoma Society. ,
Mozilla, . ,
, ,
.

,
Mozilla
Firefox.

LXF: Mozilla?
: , ,
, ,
.

Firefox. Firefox 4 beta
FeedbackAdd-on Mozilla Labs Test Pilot (http://w ww.mozilla.com/enUS/legal/privacy/firefox.html),
, Firefox.
Test Pilot .

Army ofAwesome (http://support.mozilla.com/en-US/army-of-awesome),
Firefox
Twitter.
Twitter.
LXF: , -,
Mozilla ?
:
.
,
, - . ,
60 ,
Mozilla Day.
(http://mozilla-kenya.org),


.
,
,

,
QA, .
Persona
Firefox, .

, , Firefox (http://blog.
revolutionanalytics.com/2011/01/winners-of-mozilla-open-data-competitionannounced.html).



Firefox.

LXF: ,
Mozilla?
: , 2005
, Mozilla PR- .

,
. , ,
PR- Mozilla.
2006 ,
.
.
LXF: ?
:
Mozilla.
Mozilla. ,
,
Mozilla .
,
Mozilla
.
,
Mozilla
, ,
,

.

LXF: web-
, Mozilla ?
: ! ,
.
,
,
, , Sync.
, ,
, .
web-,
.
Universal

Subtitles
,
Mozilla

Drumbeat

Project
,
. ,
[State
oftheUnion] (http://brettgaylor.tumblr.com/post/3026870192/yes-we-did).

LXF:
, Mozilla?
: , .
.
, ,
.

LXF: Mozilla?
: , , ,
Mozilla / Firefox,
.
,
400 .

2011 LXF143 35


, Ubuntu, ,
.

36 LXF143 2011

,
,
Linux Format
.
Linux ,
,
?
?

,
, .

.
, ,

.
:
. ,
C: .
, , , ,
, ,
,
. ,
,
.
,
, ,
, : Ubuntu.
, - :
. ,
;
.



: ,
.

,
,
,
.
,
,
, -
.
, ,
.
,
, .
Linux; Canonical, Red
Hat, Novell, Mandriva .
.
. ,
, .
, ,

Python, ,
, , .

.

. , ,
,
.

, ,
, , .

.


: ,
, , ,
?
,
. ,
.
, - .
,
, .
: .
, . ,
. ,

.



.

, , ,
.
, 16


,
.

?

,
.
?

?

,
.

,
.

,

,
.

,
(, RHCSA RHCE
Red
Hat).
,
,
,
.
,
.

2011 LXF143 37


. ,
, ,
,
.
,
,
,
Firefox
,
.

. - ,




. ,
,
.
,
: ,
.
, ,
:
.
,
.
,

,
.
,
.
, ,
: .
, (
, ),

,
.
,
, ,
.




.
, ?
?
? ,

,

?
,
,
, ,

.
,
.

38 LXF143 2011

,
,
.

,


.
,
,
,
,
,
.
,
,

.


:
,
. 100 ,
,
,
. ,

,
. ,
-
,
.
.

:
. ,

. IRC-
,
.
.


,
,
.
,
, ,
Sonic TheHedgehog .
. .
Facebook, Twitter, Identica, Linked In ,
.
Facebook .
, Facebook
. !
? Facebook,
, , ,
. ,
,
.


, ,
, .
, .
, ,
, ,
, .

, .

,
.
.
.
, ,

.
;
.

:
,
,
. ,
, ,

. ,
,
.
, , .

, ,


. ,

,

(Canonical ,
)
. , ,
.
.
, .
, .
.
,
. , .

.
:
.
, ,
.
, ; .
, .
, ,
.
, ,
,
, .
. ,
,
. ,
.
.


,
,
.
:


Linux Format;
,

.
.
.
.
,



. , ,
,

, .
:
,
-


.
,

.

:
, Linux


.

Twitter, Facebook, LinkedIn

,


.





,
!

. ,
.
. , ,

,

.
.
, :
. ,
, , .
.
!
:
, , .
, ,
.
.
,
, ,
. !

2011 LXF143 39

Plasma


Plasma KDE
Plasma KDE ;
.

KDE 4,

,
, KDE
Plasma [ThePlasma Desktop].
[Aaron Seigo] 2005 . ,
Plasma ,
,
, .
,
,

.
.


, ,
. , Plasma
, ,

. ,
KDE 4.5 4.6, KDE, ,
. Plasma
,
, [activities]
, Plasma
KDE.
,
KDE 4.0, SuperKaramba,
DCOP Plasma.
,
Plasma

.

.
,
Plasma ,
Plasma, .

Plasma
, .

40 LXF143 2011

Plasma


: ,
,
. , ,
:
, .
. ,
,
.

Desktop Settings,
.
.
,
,
. .
, ,

KDE4.0, KDE4.5
, Plasma
.
Folder View Desktop Settings

KDE4.0, :
. ,
KDE
, ,
.
, , , ,
. Folder View
,
Desktop
, ,
.

KDE

Microblogging

Web slice

KRunner

File watcher

News feed

PasteBin

Solar system

Remember TheMilk

Qalculate

Dictionary


Twitter Identica.


, 140 .



PasteBin,

.

URL
,

,
<div>.

,
, ,

.


, Alt+F2



.


,
.
,

.



- ,


.


,

, ,
, .


RSS-
. ,

, ,

.

2011 LXF143 41

Plasma

Plasma,
. .

, .
.

, ?

Plasma, KDE .
KDE 3.5, ,
( SuperKaramba), , .

Google Apple, ,
, Plasma
.
Plasma:
. KDE
.
,
Panel, . Calendar
,
. Panel,
.


:

,
Plasma,
.
,
.
,
.

, Get New Widgets . :
. Local File
Plasmoids www.kde-look.org,
,
, .
KDE Dashboard
Apple 2009
, ,
, Dashboard
. , KDE
, Download Plasma Widgets,
- ,

,
, ;
/ .
[Activity] KDE .
,
, KDE
. ,
Kate Dictionary,

; ,
.
,
;
KDE

.
Activities
,

;
Activities
Plasma . KDE Plasma
Activity Explorer, ,
New Activity.
- [identicon] ,
,
. ,
, ,
.
, ,
, Stop
. Pause,
.
,
,
Unnamed. KDE
: Plasma Workspace,
.

. :
.

Plasma: , Plasma Workspace
, .


KDE


,

.


,
,
; KDE .
Shortcut Settings,
Plasma; Workspace Configuration.
Activity Explorer
Meta ( ,
Windows) Q,
. ,
, Desktop Settings
Mouse Actions.
Activities ,
. ,
,

42 LXF143 2011

Plasma

,
.
, ,
.

, ,
, .
, Activities
.
,
.
, , ,
,
. ,
, : ,
.
, , KDE
.

. KRunner
,
,
. , Calculator
,
=. Power Control
shutdown restart, Web
shortcuts
. , wp:germany
Germany; .
Bash,
. Plasma,
.



.


.

Plasma

Plasma
Panel;
.
,
; KDE Panel
, Launch, Task Manager,
Quick Launch .
, Panels
. , Panel
Plasma, .
, , , Plasma
. Resize,
.
;
Panel, Height,
. Screen Edge
,
, Panel.
, Panel
.
Panel, ,
Panel.
: Launch, Task Manager,
.
Panel. KRunner

. Alt F2,
KRunner.
, .
Enter.
Launch,
. KRunner

Plasma ,
.
,


CPU .
GTK
Clutter, Compiz,
KDE .
KDE ,

Plasma,
KDE

KDE.
KDE
, ,
KDE Settings Workspace.


Plasma,
Workspace Type
.
,

,
.
Panel
, Ubuntu
Netbook Edition Canonical,
,

. KDE

.

2011 LXF143 43

 Gnome Shell



Gnome Shell?
, ,
Gnome.
Linux: Zshell, Xterm,
Bourne Again Shell !
!
: Gnome Shell
, ,
. ,
Gnome 3.
Gnome ?
KDE
Gnome .
Gnome ,
Gnome Shell . -

OpenOffice.
org, Gnome Shell
. - ,
, .
,
Fluxbox. ,
-?
!
. ,

.
(510 %,
) ,
,

. Gnome Shell
,
,
Activity
Switcher [ ].
Activities,
,
Windows.

,
,
.
Gnome Shell :
, ,
.
?
,
, , ,
.
, Firefox,

.

. ,
.
! ,
.
, . Gnome
,

.
, .
Gnome Shell.

44 LXF143 2011

, . ,
Applications, Places
System Activity Switcher?
,
.
,
;
80%
.
, , ,
: Applications (
), Places ,
.

.
Activities,
, Activities

Windows.

, -


Unity: ,
.
, .
, .
,
Gnome .
Gnome-shell ,
gnome-shell replace
, .
! , .
Gnome Shell!
, .
, , Gnome,

. Gnome Shell
3D-
,
,
.

,
Compiz,
Gnome Shell. ,

,

( , Gnome Shell
) .
, : KDE

, .
.
. Activities Picker (
)
. Activities Overview
[ ]
(



Gnome Shell 

Windows), Activities , ,
. ,
Linux-,
, .
Gnome Shell
,
Gnome.
Gnome
KDE 4.0?
, . , Gnome

.
, Metacity Mutter (
Clutter
),

. Gnome 2
Gnome Shell
,
Gnome Shell (Gnome3),
. Clutter/Mutter

.

, https://webstats.
gnome.org/Accessibility/GNOME3
.
,
, Gnome Shell
Ubuntu.
, , Unity.
- : Unity -

Gnome, Gnome
Shell. !

Gnome Shell?
,
.
,
https://webstats.gnome.org/G nomeShell.

: Gnome Shell
,
Gnome3
. ,
,
Gnome3 http://live.gnome.
org/ThreePointZero.

2011 LXF143 45

-
, Linux.

.

10
: Linux,
, .

Microsoft
.
:
,
.
Kindle Amazon Bravia TV Sony
Linux , ?
,

, ? (
http://open.
cnews.ru/news/top/index.shtml?2010/12/27/4
21556,). ,
- Linux
-?
,
(
) Linux .

,
,
, ,
, ,
.
, 2011 Linux, ,


, ?
0,4% . , .

2010.Linux Foundation

Linux.
kernel.org Git,
,

. :

 81 .

 ,
4,02.

 2.6.11
2005. 6624076.

 2.6.35
2010. 13468253.
-
.
[
Da-

vid Miller] ( ),
1,3% . ,
, ,
, .

, .
(19,1%) ,
.
15 .

Nokia
,
Oracle
,
Fujitsu, AMD, HP, Google, Samsung,
Canonical. ,
:
, Linux
.
http://bit.ly/gZpJLn.
.


[ TMTOWTDI, Theres More Than
One Way ToDo It
(
) Perl, . .]
LXF140
.
[Davide Brinde]
14 .
, :
cat -n infile | sort -k1,1m | cut -f 2
sed 1!G;h;$!d file
, ! .

46 LXF143 2011

Linux? 15
2.6.30, .


IPI .

, ,
... ... . - . ,
,
(
BMC
), , . BMC

(IPMI),
: , ,
, , ..
IPI ,

.
Intel, HP, Nec Dell, IPI
,

. 644 ,
. www.intel.
com/design/servers/ipmi.
IPMI
B.


,


,

,

/ . BMC ,

,
,
Dell PowerEdge.
Linux, , IPMI.

, BMC
. IPMI
. . :
BMC BIOS
. , BMC
.
,
Fedora 14 ipmiutil. Ipmiutil
IPMI,
IPMI- . ,
:
#ipmiutil sensor -c -g fan
ipmiutil ver 2.68
isensor: version 2.68
-- BMC version 1.30, IPMI version 2.0
supports device sdrs
Full sensor [000f] | snum 30 | FAN 1 RPM | OK* | 2280.00 RPM
isensor completed successfully
IPMI
- . BIOS
MAC- IP- LAN,
.


,
. -

, ,


[DoS].
, IPMI
IPMI
.
, [None]
[
Straight

Password], MD2
MD5. IPMI-
,

BMC.

[Callback],
[User], [Operator]
[Administrator]. IPMI
.
,
.


( ).
IPMI,
, .

.

, ,
.
IPMI
[IPMI-overLAN].

IPMI,

(ipmitool)
Ubuntu. IP ,
.
:
$ ipmitool -I lan -H 192.168.1.120 -U root -P mysecret chassis
power on
Chassis Power Control: Up/On
, ,
BMC, :
$ ipmitool -I lan -H 192.168.1.120 -U root -P farkle sel list
1 | 03/03/2010 | 14:06:32 | Event Logging Disabled #0x72 | Log
area reset/cleared | Asserted
2 | Pre-Init Time-stamp | Physical Security #0x73 | General Chassis
intrusion | Asserted
3 | Pre-Init Time-stamp | Physical Security #0x73 | General Chassis
intrusion | Deasserted

Linux, ,

IPMI.

BIOS IPMI ,
.

2011 LXF143 47


Systemd , .

Unix BSD
.
,
root,
. System V
-
, . ,
inittab, S* K*
.
Upstart. ,
(LXF129).
systemd,
[Lennart Poettering] [Kay Sievers].
: systemd, System D. A, B C;
.
: Systemd
Linux, SysV
LSB. Systemd
,
D-BUS ,
cgroups,
,


.


(http://0pointer.de/blog)

, , System V
awk, sed grep
.
.
:
echo $$
,
.
: Fedora 14 Ubuntu 10.10 ( Upstart)
1772 1611 ; Red Hat
Enterprise Linux (RHEL) 5 SysV 6781. Systemd

, .
Systemd Fedora 14,
Fedora 15,
.
systemd, Rawhide, Fedora.

man-.



systemd . (
http://0pointer.de/blog/projects/systemdfor-admins-1.html). Man-
http://0pointer.de/public/systemd-man,
.

48 LXF143 2011

systemd
. Rawhide (
. http://fedoraproject.org/
wiki/Releases/Rawhide), ,
, ,
.

systemctl.
,
systemd:
$ systemctl
UNIT
LOAD
ACTIVE SUB
JOB DESCRIPTION
sys-devity-tty2.device
loaded
active plugged
/sys/devices/virtual/tty/tty2
dev-mqueue.automount
loaded
active running
POSIX Message Queue File System Automount Point
home.mount
loaded
active mounted
/home
udev.service
loaded
active running
udev Kernel Device Manager
systemd-logger.socket
loaded
active running
Logging Socket
cryptsetup.target
loaded
active active
Encrypted Volumes
systemd-es-clean.timer
loaded
active waiting
Daily Cleanup of Temporary Directories
,
, systemd. :
device

Linux

automount

.
mount.

mount

service

, ,
, , .

socket

- Unix-.
service.

target

(),
.

timer

snapshot

, ,
.

path


:
$ systemctl status udev.service
udev.service - udev Kernel Device Manager

Loaded: loaded (/lib/systemd/system/udev.service)

Active: active (running) since Tue, 04 Jan 2011 09:00:48
-0500; 6h ago

Process: 459 (/sbin/udevadm trigger --type=devices
--action=add, code=exited, status=0/SUCCESS)

Process: 443 (/sbin/udevadm trigger --type=subsystems
--action=add, code=exited, status=0/SUCCESS)

Main PID: 410 (udevd)

CGroup: name=systemd:/system/udev.service

410 /sbin/udevd

2160 /sbin/udevd

2162 /sbin/udevd


.
(udev.service); (cgroup) systemd:
/s ystem/u dev.service, systemd
(410), (2160 2162).
, udev
(459 443), .


Linux ,
, .
,
.
,
, root,
cgroup. ,
, systemd
, . ,
, crond ( crond.
service)
# systemctl kill crond.service
systemd systemd-cgls,
. ,
systemd. .
$ systemd-cgls
system
1 sbin.init
sshd.service
2276 /usr/sbin/sshd
auditd.service
874 auditd
876 /sbin/audispd
877 /usr/sbin/sedispatch
Rawhide systemd-gtk
systemadm
systemd.
.

,
/lib/s ystemd/s ystem /
etc
/
systemd
/
system. ,
.
SERVICE,

systemctl, systemadm .


,
:
,
,
.
, ,
. ,

systemd

.
,
, BIOS,
.
,
, systemd,
.
,
.

MOUNT, .. , SERVICE
System V, systemd
Sys V. , MOUNT
/etc/fstab,
. Systemd
,
fstab.
,
/lib/systemd/system/avahi-daemon.service.
.
1. [Unit]
2. Description=Avahi mDNS/DNS-SD Stack
3. Requires=avahi-daemon.socket
4. After=syslog.target
5.
6. [Service]
7. Type=dbus
8. BusName=org.freedesktop.Avahi
9. ExecStart=/usr/sbin/avahi-daemon -s
10. ExecReload=/usr/sbin/avahi-daemon r
11. NotifyAccess=main
12.
13. [Install]
14. WantedBy=multi-user.target
15. Also= avahi-daemon.socket
16. Alias=dbus-org.freedesktop.Avahi.service
. 3
:
.
,
. 4 ;
systemd Avahi syslog.
target. ,
. ,
A B, , A
B, . , 9
, .
/e tc/inittab

default.target. Rawhide /e tc/
systemd/s ystem/default.target, /lib/
systemd/system/graphical.target. -
.
, ,
Requires Works
, .
, systemd .
, man ,
. Upstart, ,

.

2011 LXF143 49

Linux Format. . LC0. : 1 1 1, email: linuxformatmailmetrash. om


Linux!

PostgreSQL



.

.
, . ,
.
Computer Modern ,
.
,
.
, , :
. .
PT
Sans ( ) PT Serif
() ; .
.
.
PT Sans PT Serif Web,
, GNU/Linux / LaTeX.
,
,
.

:
. ,
. , ;
,
.
E.m.Baldin@inp.nsk.su

Gnome  52


 56

Linux,

? Gnome,

Ubuntu Fedora,
.


Linux Windows,
Linux Linux?


.

 60

FS  64

Linux ;
?
Linux
. -!

Todoyu


.

.

 68

 72

,

P03133.JPG
. ExifTools
.



, ,
. -
() .

 76

Erlang  80

C++ Mono? C#

...

.

, , ,


, Erlang .

KDE  84
KDE4.6,
KDevelop 4.2 KAppTemplate,
KDE
,
.

: Webmin
: ,
,
, GUI.
GUI, .
, ,
. ,
?

Webmin.
Perl
web-,
Apache.
https://localhost:10000,
, .
,
, , SSH, ,
Webmin.

2011 LXF143 51


Linux

Gnome:
,
: Gnome.

Gnome
gconf-editor.



OpenOffice.org.
Gnome.
,
, ,
. ,
Fedora Ubuntu, Gnome - ,
.
Gnome .
, ,
Mac Windows
.
, ,
Gnome ,
.




Alt+Tab

.

Gnome ,
, .
Mozilla Firefox, , ,
Gnome. Ubuntu
,
> .
OpenOffice.org, >
Office ( ,
).

.
Gnome . ,
> ,
> . ,
Windows dock OS X,
, ,
.


,
.
, , ,
, USB- SD ,
.
,
. ,
, > >
;
, > >
.
,
,
Gnome. ,
Windows
, , . ,
,
. , Alt+Tab
- ,
,

 OpenOffice.org.
52 LXF143 2011

Ubuntu Software Centre


. . : Linux Mint KDE,
PackageKit.
. Linux Ctrl+Alt
, ,
Ctrl+Alt+ , .

,
.


,

, ,
. , ,
,
, .
,
,
.

Gnome
, ,
. Fedora, ,

> >
,
:
yum install gedit-plugins
gedit-plugins
, .
Ubuntu
. :
sudo apt-get install gedit-plugins
Fedora, ,
. Ubuntu
Software Centre, .


> Ubuntu Software Centre.
, :
,
Canonical,
,
.

.
,
.


. ,
,
, .

, , ,
,

. -,
, OGG, MP3 AVI
,
Mplayer.
,
Windows Mac.
Rhythmbox,
Gnome-. >
.

; -
. ,
, MP3
.


Win
dows

Gnome,

>
>
,
,

,

Windows.

Ubuntu
Ubuntu,
,

,
. c
Ubuntu,
95% ,
Windows Linux ,
.
:
-

, .
Alt+F2 :
gconf-editor
Enter
. c
Configuration Editor.

> Metacity > , button_layout.
,
:

menu:minimize,maximize,close
,
. , ,
Ubuntu Lucid (10,04),
,

menu:maximize,minimize,close
OK, ,

.

? www.linuxformat.ru/subscribe/!
2011 LXF143 53

Gnome:
Gnome ; ,
.


,
,
,

XServer:
Ctrl+Alt+Backspace
( ,

)
Ctrl+Alt+F1
/etc/init.d/
gdm restart.

,
Gnome ,
3D- , .

.

, Ubuntu
, .
,
. , ,
,
.
, : ,
,
, .
;
> >
,
Nvidia ATI. .
Linux, , , ,
. ,
3D-
CCSM (CompizConfig Settings Manager) Emerald,
.
.
, ,
, CCSM
> > CompizConfig.
Desktop Cube
Rotate Cube;
, . ,
, Wobbly Windows.

CCSM ; ,
, .
,
.
Emerald, www.
compiz-themes.org Emerald .
ZIP-,
EMERALD Emerald.
, .


Gnome 2, , , ,
Gnome 3. Gnome Gnome Shell (.
, ), Canonical
Unity Ubuntu. ,
- ,
Linux .

, , , Oracle


Ubuntu , -
, Gnome 3,
Gnome Shell. ,
Gnome-,
-

.
Gnome Shell
.
,
gnome-shell --replace

. ,

Activ
ity ( ,
, ). ,

.

.

,
,
.

, Gnome Shell
!

? . 107, .
54 LXF143 2011


VirtualBox . ,
, , ,
, .
Unity , , , ,
,
, .

Ubuntu. , Unity
Gnome . , .
Linux ,
LXF.

Emerald

www.
compiz-themes.org.

: Unity

,
Unity
Ubuntu .

Gnome,
, Gnome Display
Manager.

PPA , ,

.

Unity ,
, Ubuntu Unity Network Edition,
.

Unity


( Ubuntu Software Centre
).

, , , ,
, ,
.

 KDE .
2011 LXF143 55


,

Grub:
Linux Windows;
, Linux? .

Linux ,
, , ,
:
, , ,
, ,
. .
,

. , ,
Ubuntu Fedora -
LXFDVD, , ,
, Frontier.

Linux.

,
.
, Ubuntu
Fedora,
, , ,
.
- ,
.

1: Fedora


Linux


LXF;

.

,
Grub (grand unified bootloader),
.
Linux, ( Ctrl+Alt+F1,
), ,
,
, , . Grub ,
, . Firefox
Konqueror, Chrome Epiphany,
Grub ,
. Grub


1 Dell 512

.
6
50 ,
5. .
VirtualBox
www.virtualbox.org.
ISO- Ubuntu Fedora.

56 LXF143 2011

, .
Grub - , Ubuntu
,
. ,
Grub Grub2 LXF127 LXF128.

!
, Fedora 14
Ubuntu 10.10 , :
? Grub
, , .
Fedora Linux
Fedora,
Linux. Fedora,
Ubuntu. Canonical
; Fedora
.
Fedora , live
Install Tohard Drive. , ,
. , ,
,
. Reinitialize All,
.
,
; Create Custom Layout.

Linux
Fedora
; ,
. Next,
. , -, ,
, , ,
.

Fedora ,
. Fedora. ,
sda (
). Next .
, ,
,
.


,
, sda. ,
Create; ,
. Standard
Partition Create .

root

Mount Point / (
). , Fedora

. Fedora
9 ,
10 .

/home

Filesystem Type ext4,


OK. Create ,
1 (
swap Mount Point
) 30- ext4
/home. Ubuntu.

2: Ubuntu
, Fedora 14,
.
Ubuntu.
VirtualBox Storage ISO- Fedora ISO
Ubuntu ,
Ubuntu live. ;
, Allocate Drive Space, Specify
Partitions Manually (Advanced).
Free Space,
, Add.
: , Fedora,
, . ,
(/) Ubuntu,
ext4. ,
Logical Primary. OK,
, /home,
Fedora, Change.

Ubuntu ,
Fedora, , Ubuntu.

? www.linuxformat.ru/subscribe/!
2011 LXF143 57


Fedora Ubuntu, Ubuntu
, .
Ubuntu /home,
. Use As
Do Not Use This Partition Ext4,
/home.
,
( , , Fedora)
. , ,
.
Grub,
Fedora Ubuntu !
, :
.

! ,
/home .

3:
Linux,

. , , , /home
. ,
.
,
?
: Documents, Music Videos, ,
,
. , , ,
, . Nautilus Ctrl+H (
-a ls -a, ),
, ,
-.
,
Gnome, .

, ,
,

. , ,
, , Music,
Ubuntu
Fedora.

,
home.

UID?
Linux ID
(UID) ID (GID). , Fedora
Ubuntu - : Fedora
UID, 500, Ubuntu (
Debian,Mint, Slackware ) UID
1000. , . ,
: dualboot,
ID .
-
.
Users And Groups System >Administration.
Groups, Add .
dualboot,
GID 600 ,
Ubuntu .
, ,

, .
, Music
Properties. Group dualboot; Folder Access
Create And Delete Files.
Apply

Permissions

To

Enclosed files .

Music, Link To Music,


.

? . 107, .
58 LXF143 2011

,
. ,
root.

Fedora

Fedora . ,
GID .

Fedora

System >Administration > Users and Groups. Groups, Add


Group. Ubuntu, dualboot
ID 600, Properties > Group Users
Fedora ( deathchimpf).
,
Music , Ubuntu.
Ubuntu :
gksudo nautilus
, Nautilus
root, ,
(
deathchimpf deathchimpu ).
deathchimpf, Ctrl+N,
Nautilus, deathchimpu.
.

,
, ,
.

Fedora

Fedora ,
.


,



:


.
Music deathchimpf Make Link.
Link ToMusic
, ,
, . ,
deathchimpu, Music
Link ToMusic Music. :
!

2011 LXF143 59

Todoyu  ?

Todoyu:
Todoyu,
.

, ,
PHP 2.3.x. , Deb- RPM- 2.2.x
; 2.2.x , ,
PHP-common,
.
, PHP
mbstring
. Fedora
:
su -c yum install php-mbstring
Ubuntu mbstring , php5-dev;
:
sudo apt-get install php5-dev
PHP, Apache MySQL, -
.
.

, .htaccess ,
,

Todoyu.





,
Linux.
com.

Beginning
Fedora.

,
. , ,
. ,
,
.
,
, ,
.
.
,
,
. Todoyu,
,
,
. Todoyu
, ,
, -
.

, Todoyu, , ,
. ,
http://yourserver/todoyu/index.php
.
-,
Todoyu ,
.
, Todoyu,
.
Todoyu
,



:
, ,
. ,
Todoyu, , .
, : Todoyu ,
. , , PHP 2.2.x,
Todoyu .

60 LXF143 2011

Todoyu . ,
,
.

Todoyu

.
, ,
Customer []:
Todoyu
, ,
. :
. .
Todoyu,
. ,
: Admin []
, Create [
], .
.
.


Todoyu
. , ,
. ,
.
.
,
Admin
,
. ,
Role Members [] .
,
. Active, Save [
] . ,
, .
,
. , ,

,
, .
, . Admin
, . Create New Project Roles
[ ] .
Activity Type [ ]
.
, , . ,
Admin, All Records [ ] ,
Activity Types.
Create New Activity Type [
] .




,


.

Todoyu
Todoyu
: Portal, Projects, Planning, Contacts Search.
,
, , ,
.
Portal []
Todoyu.
, ,
.
Projects []
Todoyu
. ,
- .
,
.
,
.

Planning []
,
, .
, ,
.
,
. ,

.
Event [ ]
, .
Contacts []
,
Todoyu;
. ,

, .
,
, .
Todoyu
, ,
.., .
Search []
,
Todoyu
.

. , Created by [ ],
Owned by [ ], Deadline [ ]
[Status] .
, ,
Save As New Filter [ ]
.

? www.linuxformat.ru/subscribe/!
2011 LXF143 61

Todoyu



.
,
,
Active
[].

,
,
,
? Todoyu , ,
, , , ;
,
. , ,
.
-
,
Admin, Rights &
Roles [ ]
. Rights [
]
.
,

Extension [ ].
, ,
, .
,
.
, Sysmanager: System Manager
.
,
, Ctrl,


.


. [ ]
.
Create
[] New Person [ ].
Create: New Person [ : ]
.
. ,
Todoyu . ,
, NewAddress [
]. Home [] Office []
Address Type [ ] ,
.
, .
, Enable Login
[ ], Todoyu:
.
, , New
Role [ ] .

.
, .
.
,
.

, ,
.

: Todoyu

Todoyu 2.0.7.
. ,
.htaccess ,
,
.
Todoyu-2.0.7.

Todoyu-2.0.7 todoyu

.
, chmod
: /config, /cache, /files index.html.
: ,
.

http://
yourserver/todoyu.
, (
Todoyu BSD), . ,

MySQL. ,
Todoyu.

? . 107, .
62 LXF143 2011

Todoyu


, , ,
. ,
, ,
, . ,
.
,
,
Company []. ,
. ,
Todoyu.
Company, Create
. ,
New Person . Person []
, . ,
Add New Person [ ]
Person.


Todoyu
, . Create,
New Project [ ]
. Create: New
Project , Customer
.
, Customer
,
, , ,
. ,
,
: ,
, ,
.
, Assigned
Persons [ ] > New Project Person. ,

Todoyu.

, .

Project Role [ ]
Save .
Todoyu.
, .
.
Create ,

Add ANew Task [ ].

Done [], Rejected [ ]
InProgress [ ]. ,
.

Quicktask

,

,
.


,
, Todoyu,
.
Projects Todoyu.
Progress [] Task Status Filter
[ ], .

.
Start [] Time
Tracking [C ].
. ,
,
, .
, .

.
, Add First Asset
[ ] .
Browse [] , .





http://yourserver/
todoyu/index.php.

, ,
,
.


Todoyu
.
,
. ,
20
, Todoyu
25 .
.

,

. ,

.
, ,
Todoyu
- .

Todoyu,

. , ,
.
-
Todoyu
-:
.

2011 LXF143 63

Linux

LXF14
2

3:
,
. :
!


Linux
,

,

.

,
Debian 6 -?
. : 82698.
, ,
, , Linux
,
.
, ,

.

,
Linux,
Grub. ,

. ,

.
, ,
Debian, .
LXFDVD.

1: Linux
, Linux
. Windows,
, , ,
Linux
. /, (root),
root,
. , /home/username,
, . , ,
.
:
/bin ,
. ,
ls, df, rm .. ,
,
/usr/bin ,
.

/boot (vmlinuz z ,
); ,
. RAM- (initrd),

.
config ,
grub .
/dev . Linux
, ,
. ,
/dev.
/etc ,
. (.
) .
Apache;

home.

 .
64 LXF143 2011

Linux


/home (home).

.
initrd.img (
Windows) RAM /boot. , ,
ls -l.
/lib ; .
? .
/bin, ,
. /lib (.
).
/l ost+found
,

(fsck), .
/media , , USB-,
,
.
/mnt /media, ,

, .
/opt .
,
KDE OpenOffice.org. , ,
.
/proc .
( ) ,
Unix .
/r oot , root.

.
, .
/sbin /bin,
,
. ,
: ,
..
/selinux , SecurityEnhanced Linux.
/srv ,
(, web-).
/var.
/s ys /d ev
.



ldd,




.

,
.
/tmp .
,
, web- ..
.
/usr . /usr
bin, sbin lib, ,
.
/bin, /sbin /lib,
Firefox Emacs .
:
(/), (/usr),
. /usr, ,
. /usr/
local, ,
, .
/var , .
, ,
, .

Apache (/var/w ww). , ,
, .
vmlinuz /boot.

root .
Filesystem

Hierarchy

Stan
dard (FHS).
.
/var, /usr ,
man hier.

?
,
,
. , ,
XML-,
XML- .
libxml, XML,
. Linux
,
C (libc)
(libgtk, libqt).

,
,
/lib, /usr/lib /usr/local/lib .so ,
[shared object].


,
,
.
,
. ldd ,
. , ldd /usr/bin/
gedit , :
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0
(0xb7476000)
Gedit GTK, libgtk-x11,

.
? /e tc/ld.so.conf,
/e tc/ld.so.conf.d.


, /usr/local/lib.
-,
, ldconfig
( root) ,
.
,
.
LD_LIBRARY_PATH.
,
myprog
mylibs :
LD_LIBRARY_PATH=/path/to/mylibs ./myprog.

.

2011 LXF143 65

Linux

2:

,


Grub

?
,


,

Grub
http://tinyurl.
com/6czhkn8.

,
,
. -
, .
,
.
,
,
.
, root
:
fdisk /dev/sda
sda , .
( sda, Linux
sdb.
dmesg.) fdisk .
Vi, , . p,
. m,
:
(d), (n), (w) ..
, ,
, . fdisk
.
mkfs Tab,
. ,
Linux- (
mkfs.ext4), Windows FAT32 (mkfs.vfat) .

(swap).
. ,
,
,





,
fdisk
.

,
.
, .

,
,
2.
mkswap (, /dev/sda5),
swapon
.
man- mkswap swapon.


, ? :
1 .
, ,
, .
, ,

.
.
2 home.
, /home ,
(/).
, ,
,

/home .
/home
Grub .
3 .
, web-
,
. ,
: .
,
: .
/var/spool ,
.

Linux Unix,
. , , SSD:
/home ,
,
root SSD,
.

!
, ,
. ,

LPI,
, .

,
:

RAM-?
/lib,
/usr/lib /usr/local/lib.
3
Linux.
/home ?
4
.
1
2

,
.
,
.
( -
VirtualBox,
).

? . 107, .
66 LXF143 2011

Linux


3:



Grub 2
( Grand Unified Bootloader).

Grub ,
.
. -
,
.
/etc/default/grub.
-
Grub /boot/grub/grub.cfg

,
.

,


. , /etc/
default/grub root
:
GRUB_CMDLINE_LINUX_DEFAULT=quiet
/etc/default/grub update-grub,
/boot/grub/grub.cfg.
, Linux.
quiet , , ,
. , :
root:

/usr/sbin/update-grub
grub-install /dev/sda

/boot/grub/grub.cfg,
sda sdb,
.
. Grub

512 ,

(MBR). , Grub


Grub 1, MBR; (
.
. /boot/grub/menu.lst ) , MBR
,

. , ,
,
title Fedora Core (2.6.20-1.2952.fc6)
LPI 101, ;
/dev/sdb2
root (hd0,0)
.


kernel /vmlinuz-2.6.20-1.2952.fc6 ro root=/dev/md2 rhgb
, Grub
.
quiet
, ,

initrd /initrd-2.6.20-1.2952.fc6.img
LILO Linux Loader [ Linux].

kernel, /etc/lilo.conf,
/home. !
, /sbin/lilo,
. Grub .

/etc/fstab

,
fdisk mkfs, , , ,
Linux.
/etc/fstab, , .
, :
UUID=cb300f2c-6baf-4d3e-85d2-9c965f6327a0 / ext3
errors=remount-ro 0 1

.
, /dev/sda1-type
UUID (
;
blkid).
.
.
,

,

,
.
man-
mount.
,
.
/etc/
fstab , ,
,
.

 RPM, Deb!
2011 LXF143 67

ExifTool 

ExifTool:
,
. , .

ExifTool 8.48
The scripts


, , , .
. ,
, , ,
.


The
Family Guide to
Digital Freedom,


.


,

.
,
. ,
, .
, Digikam, ,
.

,
.
ExifTool .
.
, .

?
, ,
. -,
, .
,
, .
,
.
Digikam,
, .
, ,
, ,

68 LXF143 2011

, ,

, .
, . ,
, :
,
, . ,
A4
, LXF123.

, .
, .

. XYZ_001.JPG, ..., XYZ_153.
JPG, P00001.jpeg, ..., P99999.jpeg; ..
,
,
,
.

.

,
. ,
. , , .
.
,

ExifTool

. ,
,
.
, ,
,
, .
,
, ,
.
_.jpg
, :
? ?
? , .
, , ,
. ,
,

.
YYYYMMDDHHMMSS ; ;
,
;
,
. ,
, Year/Month YearMonth,
.
, ,
,
.
:
.
,

JPEG
EXIF

(
Exchangeable Image File Format).

Digikam
, .

?
, , ,
.
, ,
,

, Linux,
.

,
,
. ,
.
,
for PIC...
,
http://www.cyberciti.biz/tips/handling-filenames-with-spaces-in-bash.html.

(
EXIF), .
, .
.
:
EXIF , , Digikam,
.


,
.
,
, . ,

( ,
),
. ,
. ,
.

,
( ),
.
: ,
,
. ,
notes_file.txt.
, ,
.
EXIF
DateTimeOriginal.
.
notes_file.txt:
$ cat notes_file.txt
joe.jpg | 2001:01:01
Mom.JPEG | 1998:12:01
Mike.png
Dad.tiff | 2005:03:28

? www.linuxformat.ru/subscribe/!
2011 LXF143 69

ExifTool
,
, ,
. ls -l | cut -c45 > notes_file.
txt. |
YYYY:MM:DD.
,
. ,
,
:
$ photo_archiver.sh $HOME/lxf_demo
,
.

JPEG?

JPEG


notes_file.txt


, ,
. , ,
JPEG, ,
EXIF. convert,
ImageMagick (www.imagemagick.org):
convert /tmp/my_tmp_photo /tmp/my_tmp_pic.jpg
EXIF ExifTool:
1 DATE=`exiftool -s -f -DateTimeOriginal /tmp/my_tmp_pic.jpg |
cut -d: -f2-`
2
3 if [ $DATE == - ]
4 DATE_FROM_NOTES=`$RETRIEVE_DATE notes_file.txt $PIC`
5 if [ $DATE_FROM_NOTES == NO_DATE_FOUND ]
6 then
7 echo NO_DATE_FOUND for $PIC, sorry!
8 exit
9 else
10 exiftool -DateTimeOriginal=$DATE_FROM_NOTES 12:00:00
/tmp/my_tmp_pic.jpg
11 fi
12 fi
ExifTool EXIF
DateTimeOriginal JPEG ,
, $DATE.
,
retrieve_date_from_file.pl ( DVD)
notes_file. txt. ExifTool
JPEG. ,
(12:00:00).
,
notes_file.txt ExifTool
.
JPEG my_tmp_pic.jpg,
EXIF DateTimeOriginal. :

EXIF?
, , ,
. .
, EXIF , EXIF .
, , , .
,
,
Flickr,
, EXIF:
exiftool -all= uncle_portrait.jpg


EXIF
?


EXIF



Unix
EXIF

1 NEWDATE=`exiftool -s -f -DateTimeOriginal /tmp/my_tmp_pic.


jpg | cut -d: -f2- | tr -d :`
2 PARTIAL_DATE=`echo $NEWDATE | cut -c1-12`
3 SECNDS=`echo $NEWDATE | cut -c13-14`
4 mv /tmp/my_tmp_pic.jpg /tmp/$NEWDATE.jpg
5 touch -t $PARTIAL_DATE.$SECNDS /tmp/$NEWDATE.jpg
,
( tr -d )
$NEWDATE.
YYYYMMDDHHMMSS. 12 ,
,
$PARTIAL_DATE. , ,
$SECNDS. , .
, $NEWDATE,
:
, $NEWDATE.
jpg.

touch. ,
.
$PARTIAL_DATE $SECNDS.
Mom.JPEG 19981201120001.jpg:
$ ls -l 19981201120001.jpg
-rw-rw-r-- 1 marco marco 61909 Dec 1 1998 19981201120001.jpg
$ exiftool -s -f -DateTimeOriginal 19981201120001.jpg | cut -d: -f2| tr -d : 19981201120000
, ? , ,
EXIF!
, photo_archiver.sh

? . 107, .
70 LXF143 2011

ExifTool


, ,
:
1 YEAR=`echo $NEWDATE | cut -c1-4`
2 MONTH=`echo $NEWDATE | cut -c5-6`
3 DAY=`echo $NEWDATE | cut -c7-8`
4
5 if [ ! -d $BASE_PHOTO_DIR/$YEAR/$MONTH/$DAY ]
6 then
7 mkdir -p $BASE_PHOTO_DIR/$YEAR/$MONTH/$DAY
8 fi
9 mv /tmp/$NEWDATE.jpg
$BASE_PHOTO_DIR/$YEAR/$MONTH/$DAY
$NEWDATE ,
. 5 7
,
. 19981201120001.jpg
$BASE_PHOTO_DIR/1998/12/01.

, . ,
$BASE_PHOTO_DIR (lxf_demo)
EXIF notes_file.txt.
,
.
, EXIF , Digikam
,
EXIF.

?
.

DateTimeOriginal? ,
YYYYMMDDHHMMSS.
jpg? ,
, , ,
. , ,
, , ,
. , N.jpg ,
N+1.jpg.
, 0 59.
, 60
DateTimeOriginal?

?
, , . -,
Digikam
EXIF . Digikam Images

> Reread

Metadata

From

Im
ages [ > ] ,
.
, EXIF, Digikam . , ,
. EXIF Digikam
ExifTool, .
. ,
, .

Unix ( 19981201120001.jpg), 60
. ,
, ,
, ,
19981201120001.aa.jpg, 19981201120001.ab.jpg
, JPEG .
, JPEG-
,
JPEG-.
,

YYYYMMDDHHMMSS, .



: ExifTool
. EXIF
. ExifTool EXIF,

. ,
:
$ exiftool -Description=this, instead, is a caption inserted with
exiftool P1090097.JPG
$ exiftool -Keywords=Montefeltro, family P1090097.JPG
ExifTool .

( LXF112).
, ,
, .
ExifTool?

:

,
.
!

2011 LXF143 71

QML 
Qt

QML:
, QML Qt,
QML.

. 1. QML.


QML QML
Qt.
QML ,
Qt.
QML Dial Qt 4.7.1.
,
Qt 4.7.1, 4.7.2 , ,
Qt, . ,
QML Qt
QT += declarative
QML Dial Qt
, QML ( , QML


, JavaScript).
,
Qt,
QML

Qt. ,
Qt
Qt QML. QML Dial

,
(. 1).
Qt,
(. 2).

72 LXF143 2011

, QML
, , ,

(
, , ).
, , QML
Image{}. HTML <img>,
, .
Image{} :
Image { source: background.png }
(
Dial.qml,
Dial
png.)
. background.
png... . ?
? ,
QML Qt
Graphics View Framework,


,

.
background.png
( ).
, ,
, source, Image{}
QML x, y, scale, rotation, transform,
anchors . ,
, .


QML
.

QML

Qt
, ,
.
Image{}.
,

fillMode: Image.Tile
scale, rotation transform, ,
,
. , ,
:
transform: Rotation {
origin.x: 9; origin.y: 67
angle: needleRotation.angle
}
image,
( ,
). Ro
tation
( ,
).
?
. :
Image {
id: needle
x: 98; y: 33
smooth: true
source: needle.png
transform: Rotation {
id: needleRotation
origin.x: 5; origin.y: 65
//! [needle angle]

angle: root.angle
Behavior on angle {
SpringAnimation {
spring: 1.4
damping: .15
}
}
//! [needle angle]
}
}

. ;
true smooth ,
( )
,
,
. .
, ( needle.png)
,
. ,

, ,
.
Rotation ,
, . Behavior
on angle {} , ,
. SpringAnimation

. spring ,
,
damping .

.
visible,
QML, image,
.
, ,
angle
needle
Rotation , root.angle.
, C++,
; QML, ,
,

,
. . QML
[property binding].
angle: root.angle
root.angle angle,

.
, ,
,
JavaScript
(, .).
QML,
, ,
, (
, ,

. 2.


Qt.

? www.linuxformat.ru/subscribe/!
2011 LXF143 73

QML
, ).
,
QML , ,
Qt
. , ,

QML PropertyChanges {}.
, -
,
.

,
overlay.png. ,
PNG
,

.
,




QML. - , ,
.
.
Rectangle :
Rectangle {
x: 61
y: 118
width: 80
height: 36
color: black
border.color: #888888
}
border.color,
. Text ,
.
Text {
color: green
text: root.angle/2 + 50
x: 80
y: 114
font.pointSize: 24; font.bold: true
style: Text.Raised
styleColor: black
}

.
,
,
,
.

Q_OBJECT
Q_PROPERTY(int angle READ angle WRITE setAngle NOTIFY
angleChanged)
public:
Dial();
int angle();
void setAngle(int a);
signals:
void angleChanged();
private:
int m_angle;
};
, Qt,
.
angle. , setAngle()

angleChanged(),
QML ,
.
Qt ,
angleChanged()

.
Qt, ,
QML,
angle angle() (
READ Q_PROPERTY).
- Qt .



QML Qt.
. .
QML Qt
Dial ( Dial.h, Dial.cpp).
, .
class Dial : public QObject
{


Qt
, ,
. (
dialcontrol.cpp):
QDeclarativeView *qmlView = new QDeclarativeView;
dial = new Dial();
qmlView->rootContext()->setContextProperty(Dial, dial);
qmlView->setSource(QUrl(qrc:/Dial/Dial.qml));
QVBoxLayout *layout = new QVBoxLayout(this);
layout->addWidget(qmlView);
, , ,
QML.
Linux.

,
QML. Dial.
qml Qt.
QML
Qt, ,
.
,
QML,
Qt QML
( URL)
. QML
, ,
QML . ,
, .
QML Qt,
*.qrc.
qrc
Qt

? . 107, .
74 LXF143 2011

QML
Qt Creator, ,
QRC XML. , , QRC
( dialcontrol.qrc):
<!DOCTYPE RCC><RCC version=1.0>
<qresource>
<file>Dial/background.png</file>
<file>Dial/Dial.qml</file>
<file>Dial/DialControl.qrc</file>
<file>Dial/needle.png</file>
<file>Dial/needle_shadow.png</file>
<file>Dial/overlay.png</file>
</qresource>
</RCC>
<file>
QRC.
QML .

QML, ?
, :
, QML
XDG, -
, .
,
QML
Qt:
.
:
QML
Qt ( rcc). ,
Qt , ; ,
.
:
Qt,
rcc, QML

GIMP (,
, Photoshop). ,
,
, QML ,
, .

setContextProperty()
setContextProperty()
.
. , ,
setContextProperty():
void
setContextProperty ( const QString & name, const
QVariant & value )
, QML
, , QVariant.
:
qmlView->rootContext()->setContextProperty(HelloText,
trUtf8(Hello World!);
, ,
QML , . QML
,
public slots. , Dial
public slots:
int angleToPos(int angle)
{

}
Dial.qml :
property int angleToPos : dial.angleToPos(angle)


QML
,
,
QML. - Linux
QML ,
. Windows Qt
- :
Windows,
( ). ,
,
,
,
.
errors()
QML-
QList<QDeclarativeError>;
QDeclarativeError
, toString().

QString:
errors = qmlView->errors();
for(int i = 0; i < errors.count(); i++)
MessageBox::critical(this, QML Error, errors.at(i).toString());
errors , Qlist.
, , : ,
errors() ,
, . ,
,
,
QML ,

.

Linux ( )
MessageBox. ,
, ,
dial QML,

setSource(). setSource()
QML Dial,
, , ,
,
. ,
setSource(), ,
.


, , ,
Qt ,
QDeclarativeView (,
QGraphicsView). :
qmlView->setBackgroundRole(QPalette::Background);
,
,
, QML.
QML,
,
QSlider. sliderChanged()
. Dial
sliderChanged() ;
.
, ,
QML (
Qt).

2011 LXF143 75

C# 
, C++

C# Mono:
C++ C#.
.




C++.
Linux

Knoppix.

, C#
. , ,
,

. , -


,
. ,

: , , C++
, Mono.


C#. ,
, C++,
Mono ;



,
.


,
.
, C#
C++.
,
, , ,

.
.
,
.
,
, ,
,
. , ,
, ,
. ,
,

.
.
C#

: ,
.
,
.
, ,

, .

. ,
: , DVD-
, CD-, .
- ,
:
,
, ,
.



.
.
,

, :
//
class First { int function(int x); };
class Second { int function(int x); };
//
class Result : First, Second { }
//
Result res = new Result();
// ?
res.function(10);
,

. :
class File{ string file_name};
class InputFile : File {};
class OutputFile : File {};
class IOFile : InputFile, OutputFile {};
:
,
? ,
, ++,
Eiffel, Python, -.

76 LXF143 2011

, ,
,
, ; ,

, ,
, .

,
:
.

C# Mono


, MP3,

.
using System;
namespace Gadget
{

class MobilePhone

{

public void make_call(string number)
{
Console.WriteLine(Call: + number);
}

}


interface IManagement

{

void play( );

void stop( );

}


class Gadget : MobilePhone, IManagement

{

public void usb_connect( )
{
Console.WriteLine(Connect to computer);
}

public void play( ) { Console.
WriteLine(Music playing now!);}

public void stop( ) { Console.WriteLine(Stop
playing music.); }


}


class Program

{

public static void Main(string[] args)

{

Gadget g = new Gadget();

g.play();

g.stop();

g.make_call(89991234567);

}

}
}


,
, ,
C#
, . ,

. ,
.
,
.
? C++ :
,

:
class File{};
class InputFile : public virtual File {};
class OutputFile : public virtual File {};
class IOFile
: public InputFile, OutputFile {};
, File
. ,
,
. ,
. ,


, , ,
. :
InputFile OutputFile ,
- - .
File
, , IOFile
InputFile OutputFile,
, ,
.
,
, ,
.


,
: N ,
(N1).

. ,

, .
,

. ,

.

.

.
, .

,
Mono. ? !

? www.linuxformat.ru/subscribe/!
2011 LXF143 77

C# Mono

,
? :
, ,

. ,
.

, .

. , .

.
.

,
, .


: ,
(). ,
. , , ,
,
, . ,
-.
,
Linux,
!

,
. ,
,
. ,
,
, ,
.

(Page Description Language PDL),
. LibDev.
cs Printer Scaner. ,
Printer Scaner,
.
OfficeDevices. dll- ,
.
page_language,
Page_Language get set,

ShowPageLanguageInfo(),
. resolution,
Resolution get set,
ShowResolutionInfo(),
.
- MFU ( ). .


,
,
.
. :


classAddress {}
class ContactInfo{}
class Person
{

Addressaddress;

ContactInfo contact;
}
, ,
.

.
,

. C#
.
First Second
Second First,
First :
public static implicit operator First(Second s) { //
}.
, .

- Scaner_tmp
Printer_tmp.
public class Printer_tmp : Printer
{

internal MFU mfu_part;
public Printer_tmp(string data) : base(data) { }
static public implicit operator MFU(Printer_tmp p)
{

return p.mfu_part;

}
}

public class Scaner_tmp : Scaner
{
internal MFU mfu_part;
public Scaner_tmp(string data) : base(data) { }
static public implicit operator MFU(Scaner_tmp s)
{
return s.mfu_part;
}
}
Printer Scaner
ShowPageLanguageInfo()
ShowResolutionInfo(),
. , -
mfu_part ,
MFU.
? , :
Printer p1 = new Printer(PostScript);
Printer p2 = new Printer(PCL6);
MFU p3 = new MFU(PCL5, 1200x1200, USB 1.1);
Printer [] arr = {p1, p2, p3};
foreach (Printer print_i in arr) print_i.ShowPageLanguageInfo();
Printer_tmp tmp = (Printer_tmp)arr[2];
MFU mfu = (MFU)tmp;
mfu.Mfu_SelfTest();
mfu.ShowPageLanguageInfo();

? . 107, .
78 LXF143 2011

C# Mono


arr Printer :
,
MFU,
Printer. foreach
, -

MFU, , ,
.
: MFU.
public class MFU
{
Printer_tmp printer_part;
Scaner_tmp scaner_part;
string interface_type;

public string Interface


{

get
{
return interface_type;
}
set
{
interface_type = value;
}
}
public string Language
{

get
{
return printer_part.Page_Language;
}
set
{
printer_part.Page_Language = value;
}
}
public string Resolution
{
get
{
return scaner_part.Resolution;
}
set
{
scaner_part.Resolution = value;
}
}
public MFU(string lang, string res, string iface)
{

printer_part = new Printer_tmp(lang);
scaner_part = new Scaner_tmp(res);
printer_part.mfu_part = this;
scaner_part.mfu_part = this;
interface_type = iface;
}
public void ShowPageLanguageInfo()
{
printer_part.ShowPageLanguageInfo( );
}
public void ShowResolutionInfo()
{


scaner_part.ShowResolutionInfo( );
}
public void Mfu_SelfTest()
{

Console.WriteLine(MFU ready to work!);
}
static public implicit operator Scaner(MFU mfu)
{
return mfu.scaner_part;
}
static public implicit operator Printer(MFU mfu)
{
return mfu.printer_part;
}
}
: interface_type
. printer_part scaner_part
,
.
: Interface, Language Resolution.
: ShowPageLanguageInfo() ShowResolutionInfo()
.
MFU Scaner Printer.
:
Printer p = new MFU(PostScript, 600x600, LAN);
Scaner s = new MFU(PCL6, 1200X1200, USB 2.0);
MFU.
, ..
, Printer_tmp Scaner_tmp.
ShowPageLanguageInfo()
howResolutionInfo(), Printer Scaner.

mfu_part, MFU.
.
, interface_type.
, :
static void Main(string[] args)
{

Printer printer1 = new Printer(PostScript);
Printer printer2 = new Printer(SPL);
MFU printer3 = new MFU(PCL6, 1200x1200, USB 2.0);
List<Printer> data = new List<Printer>();
data.Add(printer1);
data.Add(printer2);
data.Add(printer3);
foreach (Printer print_i in data)
print_i.ShowPageLanguageInfo();
}
:
Page language:PostScript
Page language:SPL
Page language:PCL6
. !

Mono:
ProgramLib.cs
C#,

. Program.cs
,
ProgramLib.

dll. :
$ gmcs -t:library ProgramLib.cs
$ gmcs -r:ProgramLib.dll Program.cs


.

2011 LXF143 79

Erlang 

Erlang

Erlang:

.



,


.


:
.

: C, C++, Java, C#, ...
?
,
( , ).
, ,


( .
) ,

,
.
: ,
C, C++
;
C
++, Java

, C

# , ..
,
, :
, C#
.
, : F#, Scala,...

Erlang,
: + .

80 LXF143 2011

,
.
,
(
).
(,
, C)? ,
:
.
:
, ,
.

,
. ,
,
,
, ,
, . ,
,
, -
.
, , ..
, (
).
(, Erlang

).
?
, :
,

.




, .
, ,
.
. ,
, ,

,
,
.
, .
,
:


,
.

Erlang

(-).
,
,
. , ,
,
, ;
,
,
.
, ,
. , ,

.



Erlang.

, , , . Erlang
. Erlang
.
(,
, C), .
,
.
, SomeVariable .
,
. ,
,
, .
,
= (, SomeVariable = 1).
( ,

C): [pattern matching].
Left = Right ,
Left Right . Left Right
:
Left Right .
, 1 = 1.
Left. , ..
Left ,
Right.

=. ,
Left Right,
. ,
( . ):

f(0) -> true;


f(Number) -> f(Number-1).

f().
.
, . , , f(0)
, f(1) , Number
1.
, Left Right
, ?
=, .
, ,
, .


Erlang.
(
, ). ,
.
, , ,
.
: , atom_sample.


Scala ,

.

- .
,
.
Haskell

.

.
Lisp
,
.
,

; ,
,
-
.
Lisp Common Lisp Scheme.
ML


.
,
. ML
(
).
Miranda
,

. ML,
.
OCaml -

,

. OCaml
,
-
.
F#
.
F# Ocaml,
, F#
.NET.

? . 107, .
2011 LXF143 81

Erlang


( )
: . [Tuple]
.
, , C, , ,
.
,

. ,
:
TupleSample = {1, atom_sample}.


: element(1, TupleSample),
:
{First,Second} = TupleSample, First
TupleSample.
.
, , C, ArrayList Java.
: [Element1, Element2, ...],
, [1, 2, 3].

: [Head | Other] [Other | Tail], Other
.
,
List Comprehensions.
, .
1 10:
[N*N | | N <- lists:seq(1, 10)].
1 10
:
[N*N | | N <- lists:seq(1, 10), N rem 2 == 0].
, . Erlang
? Erlang
:
.
,
. , 123
[49, 50, 51]. ,

Latin-1 (ISO-88591).
.
, Erlang
.
.
.


.
.
(
) .
, .

,
.


?
:
[guards].
:

- .

, ,
. ,
:
factorial(0) -> 1;
factorial(1) -> 1;
factorial(N) -> N*factorial(N-1).
.
.

, .
when. ,

:
factorial(N) when N == 0 or N == 1 -> 1;
factorial(N) -> N*factorial(N-1).
,
, ,
, , .

.
(
), (
).
- (
),
. , , factorial()
, factorial2() :
factorial(N) when N == 0 or N == 1 -> 1;
factorial(N) -> N*factorial(N-1).
factorial2(N) when N == 0 or N == 1 -> 1;
factorial2(N)

N*factorial(N-1),

log(N).
,
( )
(
).


,
.

, ,
Erlang . ,
: (
),
( ) (
, ),
. , ,
, :
square(Number) -> Number*Number.
( , )
, ,
( ).
,
.


, .
17 Project Euler (http://projecteuler.
net/index.php?section=problems&id=17).
:

? www.linuxformat.ru/subscribe/!
82 LXF143 2011

Erlang


1 5 (one, two,
three, four, five), 3 + 3 + 5 + 4 + 4 = 19 .
1 1000
?
: .
, 342 (three hundred and forty-two) 23 , 115
(one hundred and fifteen) 20 . and
.
,
,
1 N, , N 1000.
,
( ) and (,
115 one hundred and fifteen).

. less_hundred/4 ,
100.
, , 100,
:
less_hundred(Number, _, _, _) when Number >= 100 ->
erlang:error(badarg);
less_hundred(Number, From0To9, _, _) when Number =< 9 ->

length(lists:nth(Number+1, From0To9));
less_hundred(Number, _, From10To19, _) when (Number > 9) and
(Number < 20) ->

length(lists:nth(Number-9, From10To19));
less_hundred(Number, From0To9, _, OtherTens) ->

length(lists:nth((Number div 10)-1, OtherTens)) +
length(lists:nth((Number rem 10)+1, From0To9)).
,
less_hundred/4 .
, 1000.
parse_number/4:
parse_number(1000, _, _, _) -> length(one ++ thousand);
parse_number(Number, From0To9, From10To19, OtherTens) when
Number >= 100 ->
LessHundred = less_hundred(Number rem 100, From0To9,
From10To19, OtherTens),

if

LessHundred == 0 ->
length(lists:nth((Number div 100)+1, From0To9)) +
length(hundred);

LessHundred /= 0 -> length(lists:nth((Number
div 100)+1, From0To9)) + length(hundred ++ and) +
LessHundred

end;
parse_number(Number, From0To9, From10To19, OtherTens) ->

less_hundred(Number rem 100, From0To9, From10To19,
OtherTens).
,
parse_number/4
, . ,
,
if.
( ->)
.
:
,
, true,
(
,
).

1 ( 1000).

parse_numbers(MaxNumber, From0To9, From10To19, OtherTens)


->

parse_numbers(MaxNumber, 1, 0, From0To9,
From10To19, OtherTens).
parse_numbers(MaxNumber, CurrentNumber, LetterCount, _, _, _)

when CurrentNumber > MaxNumber -> LetterCount;
parse_numbers(MaxNumber, CurrentNumber, LetterCount,
From0To9, From10To19, OtherTens) ->

parse_numbers(MaxNumber, CurrentNumber +
1, LetterCount + parse_number(CurrentNumber, From0To9,
From10To19, OtherTens), From0To9, From10To19, OtherTens).
: parse_number/4
parse_number/6. ,
( )
Erlang.
: parse_number/4
parse_number/6, parse_number/6,
, .
Erlang ,
,

(
).
, , ,
(solve/1):
solve(MaxNumber) when MaxNumber > 1000 ->
erlang:error(badarg);
solve(MaxNumber) ->

From0To9 = [, one, two, three, four, five,
six, seven, eight, nine],

From10To19 = [ten, eleven, twelve, thirteen,
fourteen, fifteen, sixteen, seventeen, eighteen, nineteen],

OtherTens = [twenty, thirty, forty, fifty, sixty,
seventy, eighty, ninety],

parse_numbers(MaxNumber, From0To9, From10To19,
OtherTens).

:
-module(problem_017).
-export([solve/1]).
.
( erl; ,
), Erlang
(problem_017).,
problem_017:solve(1000), : 21124.
Project Euler, 17,
, (http://projecteuler.
net/index.php?section=problems&id=17).
O
.


h ttp://www.erlang.org/ (
).
h ttp://www.trapexit.org/ Erlang-
(, , ,
, ).
h ttp://erlanger.ru/ Erlang.
h ttp://groups.google.com/group/erlangrussian Erlang-
Google.

h ttp://www.tryerlang.org/ Erlang.
M
 artin Logan, Eric Merritt, and Richard Carlsson Erlang and OTP in Action.
F rancesco Cesarini, Simon Thompson Erlang
Programming A Concurrent Approach to Software Development.
J oe Armstrong Programming Erlang: Software
for a Concurrent World.

2011 LXF143 83

Hardcore Linux 

KDevelop:
KDE Qt,
.

KDevelop 4.2
KDE 4.6



,
KDE,
,

,



.

Develop KDE.
KDE C++ API Qt,
, PHP. ,
, LXF134

KDevelop 4.0, .
?
, Qt Creator,
Qt, KDevelop .
,

, Creator
Qt,
. .
KDevelop ,
KDE,
4.2, .

KDE 4.6 .
,
Qt Creator. , ,
, KDE
,
Nokia
. .


KDevelop,
. KDE
( DEV) .
KDE make
cmake, . , cmake
, cmake ,

KDE 4, ,
. , , Amarok
cmake.
, KDevelop. Qt Creator :
, Creator,
. KDE
, KDevelop, .
.
:
KDE ,
.
KDE, cmake
KDevelop
, . ,
KAppTemplate, ,

KDevelop 4.2
KDevelop 4.2 ,
KDE API Qt.
-,
cmake. KDevelop 4.2 KDE 4.6
, , KDevelop ,

Designer Nokia
KDE.

 web- Cherokee.
84 LXF143 2011

Hardcore Linux


KDevelop.
, , ,
.
.
: .
10 KDE,
Konqueror Plasma. ,
KDE 4 GUI Application,
KDE.
, ,
.
KDevelop.
KDevelop, ,
Open
/
Import
Project

[/ ]
Project
[].
CMakeLists.txt,
root.
, , ,
Next [].
, KDevelop
. , , ,
[Build System] CMake Project
Manager, Finish [].
, cmake,
, .


KDevelop , , , ,
,
. ,
,
. ,
,
.
, ,
. ,
for if
,
.
: , .
Kate,
.
, ,
, . F8
Build Selection [ ]
, ,
[Projects] .
, ,
,
cmake. ,
, c
.

, KDevelop,
, .
KDevelop ,
. F

9
Execute ()
.
, ,
Project Target [ ].
,
appname/src/appname. Apply [],
. ,
Configure Launch Configuration [
] Run [].
, KDevelop
. ,
.
.
KDevelop Qt Creator ,
.
,
.
, .
Qt Designer,
, Qt Creator.
Qt, KDE 4,
, designer-qt4.
, Qt Designer Qt Creator,

Qt, KDE.
,
. - , ,
, ,

KappTemplate


.


? www.linuxformat.ru/subscribe/!
2011 LXF143 85

Hardcore Linux


Delete. , Designer

, . ,
KDE WebKit,
web- ,
KSysGuard.

.

KRichTextEdit. , ,

, , .
, ,
.


,
KDevelop,

,

.


Qt Designer UI. ,
,
, Open []
src.
UI
[Preferences].
appview_base.ui.
,
.
, hello,
world. ,
.
.
- .

Qt Designer KDevelop.
,
, ,
Designer. appview.
cpp (
). ,
kcfg_sillyLabel, .
, //, .
, ,
,
. ,
, ,
KDE ,
. KDE,
.
,
,

KDevelop 4.2


,

,
.

,
,
,
.



,

.


, ,
.

Kate,
,
,
,
.

KDevelop
.


.

KDevelop 4.2


KDE.

API KDE
Qt.

? . 107, .
86 LXF143 2011

Hardcore Linux


.
, ,
. Qt, KDE
.
,
. , ,
, ,

.
KDE Qt
, ,
API
.

[pressed]
.
KDE ,
, Designer.
, , ;
, .
, , KDE
.

, KDE
,
KDE, . KDevelop
RC
Project.

Move, , Bold.
bold, Bold,
. ? ,
.
,
makeBold.
(appname.cpp).



setupActions; .

, KAction.
, Bold.
KIcon ,
. KDE
, , ,
. format-text-bold.
bold. ,
, i18n,
.
,
.
, KAction,
bold,
. ,
,
:
connect(bold, SIGNAL(triggered(bool)), m_view, SLOT(setBold()));
, bold,
setBold . ,
setBold. connect,
, m_view,

Bold
.
appname_view
.
#include krichtextwidget.h
, void setBold();
. ,

CCP. view.cpp
:
void appnameView::setBold()
{ ui_appnameview_base.krichtextwidget->setTextBold(true);
}

, bold
. ,
, , ,
.
,
: .
, - ,
.
Configure
Toolbars [ ], ,
Bold.
, .

, .
, ,
appui.rc,
.kde/share/appname.
,
,
.
, ,
,
(
)
. textOrHtml,
HTML- , .
KDevelop
.

KDevelop


KDE API
4.2 4.6.


PHP,
KappTemplate.

 , Linux- .
2011 LXF143 87

? answers@linuxformat.ru


:
1

at

DAB GPS
8

USB

9 DVD-

1 T
, Windows
XP Linux Mint,
500
. 500,
-
.
,

- .
,
, XP,
Linux. XP 73
, , ,

.
Linux root,
.

:
Error stating file as /media/Data_
in/medical/.~.pmr_ra_cts.doc
Parted Magic Test
Disk

read error
396/15/15,
,
.
,



?
[John Yates]

GParted ,
fsck .


,
. ,
, ,
. DOC-,
, 73.



; !

ISP -
, ,
Linux .


LXF Linux Answers.
, ,
SNES.

-,


web .



MythTV,
.

mcedit,
- .
Linux.


emerge,
www.unixforum.org.


answers@linuxformat.ru : www.linuxformat.ru

88 LXF143 2011

, , [lock file],

.

.
, -
,
. ,
, NTFS Scandisk Windows.
,

fsck, , e2fsck,
ext2/3/4.
;
sudo e2fsck -f /dev/sdb1

(e2fsck
, ). ,
Gparted Live CD

Check.
, ,
,
,
fsck, , .
,
.

,
.
,
, format
,
,
. ,


, .
, ,
.

SMART (self-monitoring, analysis, and reporting
technology), . SMART BIOS
,
smartmontools (http://smartmontools.sourceforge.
net)
sudo smartctl -t short /dev/sdb
. ,
,
, ,
sudo smartctl -l error /dev/sdb

sudo smartctl -a /dev/sdb
, ,
- . ,
SMART,
:
.
smartmontools
.

At


at, , cron,
.

(Storage2),
15:00
echo ./toavi.sh | at 15:00
. cd
/Storage2/Audio Visual/Anime ,
.
at,
logfile.txt, ,
?
[Steve Thompson]

at ,
, .
, ,
at ,
atq

. ,

. (
N ) , atd
:
at -c N >jobscript

,
,
, .
, ,
/bin/sh jobscript
,
, at.
at ,

/var/log/messages.

,

root.
atd,
:
sudo grep atd /var/log/
messages
atd
,
/usr/sbin/sendmail

, stdout stderr
,
.
-m at

,

.

Linux,
.
,


,

ISP.
(, FreeBSD
~/.Mail ~/.maildir, Linux, ),

.
atd.
root,
, (MBR) .
, ,
. .
echo,
,
, ,
. . ,


set +x
.
Bash ( Mint, /etc/grub.d/40_custom
)
, , root , hdX,Y
. ,
, atd, :
,
menuentry FreeBSD {
.
insmod ufs2

set root=(hdX,Y)
,
chainloader +1
atd. atd,
}
:
Grub
echo ./toavi.sh | at now
: X , Y
sudo atd -s
. , Grub
, , /dev/sdb5
, hd1,4.
.
sudo update-grub
.
3
,
.
Linux.
,
Windows Grub2, :
XP Media Centre. OS-prober, swap, boot root .
LinuxMint 10, home. Xubuntu Mint,
, /home Mint
, , , . FreeBSD, ,
swap.
/etc/grub.d/40_custom
. [Joel AHouse]
Mint.

2011 LXF143 89

Xubuntu
,
Mint
sudo update-grub
Xubuntu
Mint.
swap
Linux

swap-. swap Linux
FreeBSD , :

Linux,

mkswap. Linux
FreeBSD swap.
/home
:
, .
home
:
,
.


Ubuntu ,
1000

.
.

,

, :
sudo ln -s /home/mintuser/documents /home/
xubuntuuser/
sudo ln -s /home/mintuser/photos /home/
xubuntuuser/

Acer Aspire.
, 7720g,
Windows 7 Ubuntu 10.10 Wubi,
. , 5553,
Windows 7, Ubuntu
. Wubi
,
. Grub
, ,
, :
[6.663913] disabling IRQ #18
,
, ,
. ,
USB
, .
USB-
, ,
.
Web
interrupt #18, .
, ?
[Michael and Sheila Bates]

,
.

irqpoll. ,
Shift ,
Grub,
Ubuntu E,
. ,
linux,
irqpoll, :
quiet splash irqpoll
Ctrl+X
. ,

, /e tc/default/grub root.

sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_
DEFAULT irqpoll,
:
GRUB_CMDLINE_LINUX_DEFAULT=quiet
splash irqpoll
Ctrl+X,
,
sudo update-grub
.

irqpoll. ,
Live CD.
Shift ,
. F6,
Other Options, Esc,
.
Enter,
.
:
IDE- .
BIOS
,
, .
SATA
IDE AHCI. AHCI
SATA,
IDE ,
,
AHCI ,
Windows. irqpoll,
. Windows 7
AHCI,
, Vista ,
.
Windows

DHCP
DHCP?
dynamic host
configuration protocol [
].
,
, IP-,

, , DNS. ,
,
,

, .


.
DNS? ?
[domain name
service]. ,

90 LXF143 2011

, , , www.
linuxformat.co.uk, ,
212.113.202.71.
?
, ,
.
,
DHCP.

; ,
, IP-
, DNS-
.
? , Gateway?
?
, .
,

.

.

DHCP?

.
,
/
, DHCP-,

.
DHCP
IP- ,
.

DHCP- ,

,
DHCP. DHCP
dnsmasq
www.thekelleys.org.uk/dnsmasq.
DHCP?
,
DHCP,
,
.

Web-
DHCP
.
, IP-
. [lease]
DHCP ,
DHCP IP-

,
,
.

.
Windows AHCI, . http://support.
microsoft.com/kb/922976.

Sony Vaio
Intel PRO/W ireless 3915ABG (802.11a/b/g).

Ubuntu 10.10 , ,

.
Windows 7 40MBps,
Ubuntu 3MBps.

Canonical, .
10.10 ,
. ?
[Mark Jesinkey]

, Windows .
802.11g 54Mbps;
b ,
. 8 ,
6,75 MBps.
, TCP,
, ,

, . 40MBps
Gigabit Ethernet.
Ubuntu,
.

[raw speed,
,
. .] : iperf (http://iperf.
sourceforge.net),
Ubuntu.
. ,


iperf -s

,
iperf -c HOSTNAME
HOSTNAME , IP-
, .
10

.
: , -f M
.
TCP,
,

.

802.11n,
, 4,5 MBps,
Gigabit Ethernet 6,75 MBps, 40 MBps
.
iperf
,
. ,
.

, Grub , E.

Bash

,
,
.
, , , - .
Debian
$ cd /
,
$ cd //
,
pwd //, /. ,

, , /,
// .
, Bash,
,
?
URL, , , ftp://some.server
http://other.sites,
? ,
?
[Laurent]

, Bash,

. cd //mnt
, cd /// cd / mnt//cdrom
.
,
. Google ,
.
Bash ,
, Zsh, :
% cd //
% pwd
/
.
URL, ://

(http, ftp
..) .
:
,
.

DAB GPS


PCI, USB-
Linux
DAB ( DAB, ,
DVB,
TV-) GPS?
[Andrew Wood]

PCI-, USB-
, Linux
USB-.
, . ,

Internet, , 3G,
.
GPS ,
GPS
Bluetooth. -
.
Bluetooth

,
. GPS
NMEA 0183,
,
.
GPS Linux GpsDrive
(www.gpsdrive.de),
.
,

2011 LXF143 91

Gpsd (http://gpsd.berlios.de)
.
,

. , ,
.

USB


200LX Palmtop ThinkPad T60,
.
?


COM1.
jozien17,

- USB
;
.

X10
,
.
eBay
,
,
-.
,
, , Linux. -

GpsDrive Linux-,
GPS.
,
Linux .
, Linux ?


,
.
,
,
,
.
.

(superuser
root). ,
.

, Ubuntu
sudo.
,
root,
.
su,
root root ,
logout.
su, ,
,
sudo.

,
ttyUSB
/dev/t tyUSB0.
,
Linux- COM1 /dev/t tyS0.
,
,
.

,
.
dmesg Google
,
lsusb, ,
.

.


,

.
? ,
?
, ,
[alias, ] .
,
. ll , ,
, ,

92 LXF143 2011

,
ll ls -l. , alias .
, :
alias la=ls -lhA --color=auto
, la [list all, ]
,
,
.

.

:

alias.
, ,
.

.
/etc/profile, -
.

.

, :
alias foobar=foo --foo-opts ; bar --bar-opts

, .

DVD-?

DVD
,
. .
-,
MythTV,
, .
-, ,
.
? GUI-
,
,
.
[Brian Donovan]


, .

DVD
DVD.
,
9 .
ISO- DVD ,

cp /dev/dvd somemovie.iso


. VLC,
.
DVD ,
libdvdcss ,
.

vobcopy dvdcpy ( OGMRip):
dvdcpy /dev/dvd

MythVideo.
,
. , DVD
,

. ,
OGMRip (http://ogmrip.sourceforge.net),
,
AVI, . ,
Matroska
DVD.
OGMRip DVD.
.
:

. DVD
, .

, OGMRip
;
. Edit > Profiles,
New ,
Edit,
. ;
General
,
OGMRip ,
video.
.
,
Extract,
, .
, DVD
DVD ISO-
,
.
, OGMRip
.

: DVD

DVD
cp,
.

AVI,
, ,
. ,
.

OGMRip DVD,
, .


,
.

,
- ,
OGMRip.

Extract
,
.

2011 LXF143 93

LXFHotPicks
KiCad DMIDecode Bandwidth Smartie-utils Wings3D
Din Kernel Panic PokerTH Powertop Hotot

Figlet

HotPicks,
Curses.

.

KiCad

20110123 https://launchpad.net/kicad

Arduino
, ,
,
, , :
,
,

. 3D-
, ?
- ,
KiCad.

, GUI
KDE, .


,
,
Ger
ber.
, Spice
netlists,
.


,
3D-

,

, ,
.



.
KiCad


,

.


()


,
.


,

.

94 LXF143 2011

PCB
Layout

.

, .


3D-
,

.

,

.
,

,
,

,
.
KiCad
Launchpad,

.
,
,
, , ,
,
. ,
Bzr,

bzr branch lp:kicad kicad.bzr


, ,
. KiCad

,
.

LXFHotPicks

DMIDecode
2.11 www.nongnu.org/dmidecode

Linux

.
,
,
UART
. ,

, , ,
,

, ,
.

,
Linux,

. !
, , ?
,

Linux. ,
,
, ,
: BIOS.
, BIOS
,
, -

.
, DMIDecode
,

,
: ,
, L2
.

DMIDecode , ,
.

,

L2.


BIOS,

.
DMIDecode
(
Makefile),
..
root,

BIOS.

Bandwidth
0.25a http://caladan.tk



, ,
, -
(
,
) .
,
,
, ,
. ,

30% ,
,
?
C
[benchmarking] ,
.




/ .
,

L1 L2,

.
32
64 ,
64
.
Bandwidth
ARM, ,

Android, .

, , ,

,
64

L1 , L2.

,
, .

,
Android,
.

Bandwidth

,
.

,
,

.

2011 LXF143 95

LXFHotPicks

Smartie-utils
1.0 http://code.google.com/p/smartie-utils

- , ,
,
.
, ,
-
,


,
Linux- Blu-Tack, LCD . ,
,


,
CPU, ,

.

-,
,
Linux Format.

, Smartie,

Sure

Electron
ics. ,
Sure, ,

, Windows (,
, , ).
Linux
LCDProc, -


, -,

. Smartie-utils
,
.
: Tcl-

! ,
, !

:
Tcl-
.

. ,
,
-
.
, , ,

, ,
, .

3D-

Wings3D
1.4 www.wings3d.com

, ,

Wings,

. , ,
3D-
2
D
- . .

,
,
,
.
Linux , Wings3D ,
,
, , -
.

,

,
,

96 LXF143 2011


;
.

,
3
DLS
, Light
Wave Wavefront ( )

VRML POV-Ray, .

Wings
, , Erlang.
Wings
, , ,
,

.

,
, ?!



make, Erlangesdl
ESDL_PATH.
,
export ESDL_PATH=/usr/lib64/erlang/
lib/esdl-1.0.1/
make
Deb-
.

LXFHotPicks

Figlet
2.2.3 www.figlet.org


,
,
,
. ,
Figlet;
.
Figlet
,

,
.

,
.

ASCII

- .
Figlet.

,
,
FLF-

.
,
,
.
,
,

- ,
, .

, -
IBM 1403,
, .
Figlet
,
. ,
,
Makefile $ENV,

, ,
.


IBM 1403,
, .

readme,

.
,

.

Din
1.4.1 http://dinisnoise.org


, Din Is
Noise [Din Is Noise
, . .],
,

. ,
Din ,
.
,

? ,
,

,
.

F1,
,
,
.
, ,
,

.


, ,

.

W, A,
S D, FPS.


, ,
,
,
.
, -

? , ,
Din.

Din
,
.

,
,
. Din
,

.
IRC-.
Din Jack,
Tcl , ,
libircclient (-
).
,
.

2011 LXF143 97

LXFHotPicks

HotGames

Kernel Panic
4.1 http://springrts.com/wiki/Kernel_Panic


,
Age ofEmpires, Starcraft

,
,
. ,
,
:

.
Tron- Kernel Panic,

, ,
, .
,
,
.

,
,
,
. , :

.
AI ,

, .

:
.
,
,

.
Kernel Panic
Spring,
. ,

.spring home,
Springlobby

!
0100101!
, .
.


:
.

.
,

Spring.
,

Kernel Panic,

. ,

,
,
.

PokerTH
0.8.3 http://www.pokerth.net

[Rick Blaine]

, ,
007
[ , . .],

[Victoria Coren

, . .]? !
,

,
Holdem.
:
Linux Format.
, ,
.

98 LXF143 2011

Linux, PokerTH
. - ,
:
, ,
.
,

.

,
-.

. , PokerTH
:

, , ,

,
. AI-

,
.
PokerTH
,
Ubuntu,
.


.

LXFHotPicks

Powertop

,

TheLegend OfEdgar 0.75
HotPicks

.
http://w ww.parallelrealities.
co.uk/projects/edgar.php

1.97 http://kernel.org/pub/linux/status/powertop

top, Powertop
.
,

,
, Powertop
, , ,

, .

,
,
,
. ,

.
,
, ,
.
Powertop
Intel
, ,
Linux .

,
2.0,
. ,
, CPU
,
.
-
.

Firefox,
.



,




.

Hotot

Pepper 0.1.4

!
http://scm-pepper.sourceforge.net

0.9.5 http://hotot.org

MikeOS 4.1.1
Linux
- ,
. !
http://mikeos.berlios.de/
RemoteBox 0.6


.
http://remotebox.knobgoblin.org.uk

Twitter

,
Twitter,
. KDE
Chokoq, Gnome Gwibber, Hotot.
Hotot
, .

,


.
Google Maps,
Instapaper

, GUI.

,

Linux Twitter
( ),

iOS.

Samba 3.4.10


.
http://w ww.samba.org

, Hotot
KDE
Gnome. ,
.
web-
, ,
, ,
, Python.
-,
,
Hotot
,
.

TwoLAME 0.3.13


MPEG-.
http://w ww.twolame.org
Feh 1.11
,
,

.
http://feh.finalrewind.org/
DirSyncPro 1.4
Java ,
,
.
http://w ww.dirsyncpro.org



Twitter,

PulseAudio.

Fx Movie Manager 4.8


.
http://stagione.interfree.it

2011 LXF143 99


DVD

OpenOffice.org

,
DVD! Linux, index.html
,
, :
,
mike.saunders@futurenet.com

Linux?
?
DVD



KDE 4.6
K

DE 4

Linux.
,
; ,

3..
, ,
4.
, 4.6
. .
.

KDE4.6 LXFDVD:
.
Live CD Chakra,
DVD: c

www.chakra-project.org. ISO- Live


CD LXF DVD ( chakra2011.02-kde460-i686.iso /Distros/
KDE_Live/). CD-R VirtualBox
.
,

Chakra
,
KDE.

,
live CD,
;
Chakra

. KDE 4.6

DVD, Chakra
live-
.
KDE Chakra ,
KDE 4.6
,

.
KDE4.6
,
Desktop DVD. tar-
,
,

.
http://techbase.kde.org/
Getting_Started/Build/KDE4.

!
, DVD , ,
, ,
.
Linux Format DVD
. , .
,
DVD , Linux Format
/ ,
, . .
, .


Linux
Format,
disks@linuxformat.ru .

100 LXF143 2011

Chakra , KDE 4.6,


LiveCD .



DVD

LibreOffice 3.3


, ,
XFree86 X.org,
,
. OpenOffice.org ,
(
Go-oo).
Oracle Sun
OpenSolaris .
,
LibreOffice,
OOo

.
:
, ,
Go-oo,
. ,
,
.
Desktop/LibreOffice DVD
:
DEB
-

RPM.

home DEB
Debian
;
RPM

Fedora
,
Mandriva

OpenSUSE. Deb
(
,
):
tar xfv LibO_3.3.0_Linux_x86_installdeb_
en-US.tar.gz
cd LibO_3.3.0rc4_Linux_x86_installdeb_
en-US/DEBS/
root (sudo
bash su,
) dpkg -i *.deb
.
RPM
tar xfv LibO_3.3.0_Linux_x86_installrpm_
en-US.tar.gz
cd LibO_3.3.0rc4_Linux_x86_installdeb_
en-US/RPMS/
su
rpm -ivh *.rpm

Xfce 4.8,
,

DE
,
. Xfce,
GTK,

Gnome, 4.8.


,
. Xfce
Desktop ; BUILD.TXT
.
Development GTK 2.24.0,

Gnome.
GTK 3,
, API.
NEWS tar- :
.
KDevelop 4.2,

.
.
, LXF,
, ,
,
- .
TuxRadar Podcast:

,
Linux.

,





.
Xfce 4.8

Maga, zine/Podcast DVD.
.

,
.tar.gz ,
,

/opt/libreoffice/program/soffice

.
http://l ists.freedesktop.
org/mailman/listinfo/libreoffice

.

LibreOffice
,
OpenOffice.
org.


,


Games?
Summoning Wars,

.
--,

.

.
- ?
, Airrace.
,

.

:

,
,

-.

NullpoMino,
Tetris
,

.
Peces,
,

.
-
,
GCompris,
.
,
, 100 .

Airrace.

2011 LXF143 101


DVD Linux

- , Debian!
Linux

Debian 6

Linux
,
Debian ,
, Debian 5
LXF118 (
2009). ,
: Debian
.

Debian,
,
,
Ubuntu .
, Debian
,

DebianUbuntu ,
Canonical Software Centre.


.
,
Debian
.
Debian 6 ( Squeeze,
),
. .
Debian 6 LXFDVD
live,
. (
DVD, ,
Help/New toLinux DVD:

BIOS.) ,


Debian ,
.
:
, Debian
.
Linux,

, .
Windows,
Linux

.

Linux Windows
. -

, Debian


.
,

Windows
!
Debian -

. System
>Administration > Software Sources
,
.
Download From,
DFSG .
Updates
. Close Debian

,
.

: Debian 6

LXF DVD Enter


Debian Live, .
,
failsafe.

102 LXF143 2011


Gnome,
.
, Debian Installer.

.
,
Continue
.



DVD

?..

Linux,
,
Debian.



; ,
,
Debian

.

Applications > Internet > Iceweasel,


Firefox,
, .

Places
> Home

Folder

.
Movie Player
Applications > Sound & Video , Rhythmbox
.

Applications
> Graphics

> Shot
well Photo Manager: , .
Internet Empathy.
,
(MSN, AIM,
Google ..).
System
Preferences Administration ,
.

,
. www.debian.org/doc

Linux.
www.
linuxformat.com/forums. ,
. ,
Debian . !

System >Administration
> Software Centre, ,
.
, Synaptic.
System,

.
Debian ,
Linux,
. System


root ()
. , !

OpenOffice.org 3.2

Chromium

!
Debian OOo 2,


.



Google Software
Centre
chromium-browser.



.
Manual ().

,
Install Grub. ,
System > Shut Down,
, Debian .

2011 LXF143 103

DVD


2011

2011

LXFDVD 143

, , ,
: disks@linuxformat.ru

KDE 4.6 Live CD


LibreOffice 3.3.0
Xfce 4.8

...

: KDevelop 4.2.0, KiCad, Webmin 1.530

Linux, .
,

Linux , . ,
,
:
_-1.0.1.i386.rpm ,
RPM,
x86;
_-1.0.1.i386.deb
, Debian;
_-1.0.1.tar.gz
;
_-1.0.1.tgz ,
: tgz
tar.gz;
_-1.0.1.tar.bz2 ,
bzip2 gzip;
_-1.0.1.src.rpm , RPM-
;
_-1.0.1.i386.FC4.RPM RPM x86, Fedora
Core 4;
_-1.0.1.ppc.Suse9.rpm RPM,
SUSE 9.x PPC;
_-devel-1.0.1.i386.rpm .

x86-64

LibreOffice 3.3.1

,
. , , ,

.

WebYaST

GNOME 2.32 KDE 4.6

: RPM, Deb
. , . ,
,
.

2.6.37 GCC 4.5

: Firefox 4.0

,
, Linux.

LXFDVD!
,
Essentials () . ,
,
.

LXFDVD 143

- ?

2011 LXF143 105

106 LXF143 2011

,


!


4Pane 0.8.0
Back In Time 1.0.6
CLFSWM 1102 ,

ExifTool 8.48
KDE 4.6.0
LibreOffice 3.3.0 , OpenOffice
MuseScore 1.0
PCManFM 0.9.9
PieDock 1.1.0 ,
Rox-Filer 2.10
Xfce 4.8

Debian 6
INX 1.1
KDE 4.6 Live KDE
openSUSE 11.4
( x86-64)


, , , disks@linuxformat.ru

?
: info@linuxformat.ru

Airrace 0.2
GCompris 9.5 2 10
NullpoMino 7.5.0 Tetris
Peces 4.0.2 Tangram
Summoning Wars 0.54

Box 0.2.1
Dwdiff 1.9 diff, ,

GTK 2.24.0

KDevelop 4.2.0 KDE
Mokoi 0.90
PyChecker 0.8.19 Python
Submin 2.0 Web- Subversion

DVD Linux Format 4 (143). 2011

FSlint 2.42

HDT 0.4.1
Malmon 0.3

Partimage 0.6.9

Webmin 1.530 Web- Linux
ZUPS 1.2

INTERNET
DansGuardian 2.10.1.1 web-
Linphone 3.4.0 SIP
Rspamd 0.3.6
Sambascan 0.5.0 SMB-
Todoyu 2.0

. 620137, , . , ., . 9. 77-15.

, , ,
. .
, Linux Format , ,
DVD, . - ,
, .

HOTPICKS
Bandwidth 0.26b

Din 1.4.2
DMIdecode 2.11

Figlet 2.2.4 ASCII-
Hotot 0.9.5
Kernel Panic 4.1 Doom

KiCad snapshot
PokerTH 0.8.3 ,
Powertop 1.97
Smartie-utils 1.0.0 LCD
Smartie
Wings3D 1.4.1 3D-

DVD


cdrecord
ISO-
cdrecord.

root. C
. :
cdrecord -scanbus

, . SCSI-

, , 0,3,0.

:
cdrecord dev=0,3,0 -v / /image.iso

cdrecord,
/etc/default/cdrecord.
(,
):
Plextor= 0,3,01216M
;
SCSI-
.
SCSI-
.
, :
CDR_DEVICE=Plextor
, ISO
cdrecord -v /path/to/image.iso

,
gcombust.
- root Burn ISO
9660 Image .
,
, Combust!
,
.

Linux
-. ISO-. cdrecord
. , ,
, Windows, Mac OS X, AmigaOS
.

,

? - ?
Linux :
,
(. ).


. , ,
.
web- .

?
,
. Linux Format ,
. , ?
www.linuxcenter.ru !
, ,
LXF !

:
250 .

250 .

250 .

LXF139/140

LXF141

LXF142

2011

2011

M 2011

Linux

-
Linux
Xfce ,
Gnome KDE
8 GPL

Window, Linux Mac OS



-


Wayland Linux,
X
Drupal 7






,

Linux

Linux

LXFDVD: Ubuntu 10.10 (DVD :

LXFDVD: Sabayon, CentOS, Tiny Core, Myth TV,

LXFDVD: Puppy Linux, SystemRescueCd, Lubuntu,

: shop.linuxformat.ru/lxf_139_140/
PDF-: shop.linuxformat.ru/elxf_139_140/

: shop.linuxformat.ru/lxf_141/
PDF-: shop.linuxformat.ru/elxf_141/

: shop.linuxformat.ru/lxf_142/
PDF-: shop.linuxformat.ru/elxf_142/

LXF Ubuntu, Xubuntu, Kubuntu), Fedora 14,


OpenBSD4.8

Clonezilla, VirtualBox

, ,
! ,
www.linuxcenter.ru shop.linuxformat.ru !

www.linuxformat.ru/subscribe/
: - (812) 309-06-86, (499) 271-49-54


!
,
LXF.
, - /
2010.
, 6 12 .
!

shop.linuxformat.ru

12

900 .

1800 .

LXF



LXF

ftware!
PingWin So 2009

,
.

www.pingw

insoft.ru


Linux
?
.

...,

,
EduMandriva,
( ) Mandriva,
Klavaro, Gambas2
LXDE.

Linux

.

.


,
, : ,
.




.
Linux Word, Excel Delphy ?
www.ege.edu.ru
. ?
,
, ,

. Windows, ,
,
,
Linux
.

, , ,
.

, .
- . ,

,
Linux.
B .
,
( PHP,
Python Perl).
, , ,
,
. , .




(
), .
,
.
Linux
, Turbo Pascal Visual
Basic. ,


.


.

,
: Borland
Pascal, Borland C++, Microsoft Visual C/C++; Microsoft Visual Basic,
FreePascal; GNU C/C++, Java, Eclipse, Code::Blocks. ,
, Linux
Linux.

LXF 2010 ! .107


108 LXF143 2011



 LXF

?
:
.


,
.
.
 .

.
 Linux,

MS.

(

) .
( , GUI
API ), Linux Windows
. (
)

.

-
,


.


,
(. ?).

, :
Ubuntu 10.4 i386; GNOME.
Web-: Firefox.
: mcedit, joe, vim, kate, kwrite, emacs, lazarus, gedit,
nano, scite, codeblocks, geany, fp.
: gcc 4.4.3, g++ 4.4.3, fpc 2.4.0.
-: gdb, ddd, valgrind.
, ,
.
,
, ,
,

?



-

,
-
, http://metodist.lbz.ru/
lections/6/.

LXF



Linux ,
.
.


.


.


-

. , , ,
.

2010
DoudouLinux.
()
.
.
, ,

doudoulinux.org.
?
( ,
, ).

, /
.
,
50, .
,
.
DoudouLinux Linux Debian,
.
DoudouLinux ,
( ).
: 256 ,
800, 800600.
USB- ( -)
, ,
, .
,
. DoudouLinux , ,
!
, DoudouLinux

(
GPL
). - .

110 LXF143 2011

4 :
(, Gamine, Pysycache, Childsplay,
gCompris, TuxPaint )
(, , )
( , , )
(, , )

-
(Gamine, Pysycache, Childsplay, gCompris, TuxPaint),
.
.
.
,
.

. .



 LXF
- mama.ru
.

, , .
,
. 2010
DoudouLinux; 2011
30000 ,
.
,
.


.

,
.

gCompris Childsplay. ,
.
:
1 (Gamine, Pysycache .)
2 (
, , , )
3

, ,
,
. ,
Gamine, Pysycache .
,
,
, ,
.

,
. ,
,

, , .

,
, .
, , TuxPaint kGeography.

,
. ,
,
,

DoudouLinux

,
,

.

,
.
,
,
, ,
,
,
, .
,
,

.
,
, -
.
.


2
().
,
.
DoudouLinux,
.
201102.
8 : , ,
, , , , ,
.
.
.
Gamine, Pysycache,
kTuberling, kLettres ( ).

DoudouLinux.
DoudouLinux.

.

CD 2010 .

CD DoudouLinux


()
( )

(


) 2001 .


AltLinux

. ,



20072008

,


.

2011 LXF143 111

Linux



77-21973 14 2005
. 5000 .


info@linuxformat.ru

, , , ,
, ,


,




advert@linuxformat.ru

,

196210, -, ., 11, . 2, .
.: (812) 677-98-03
3598

MythTV:


.
!

Linux-

Linux.
FreeBSD.

:
, :
.


[Paul Hudson] paul.hudson@futurenet.com
[Graham Morrison]
graham.morrison@futurenet.com
[Mike Saunders] mike.saunders@futurenet.com
-
[Efrain Hernandez-Mendoza] efrain.hernandez-mendoza@futurenet.com
[Andrew Gregory]
agregory@futurenet.com
[Jono Bacon],
[NeilBothwick], [Chris Brown], [Andy Channelle],
[Marco Fioretti], [Andrew Gregory],
[Graham Morrison], [Bob Moss],
[MayankSharma], [Shashank Sharma],
[MikeSaunders], [Nick Veitch], [Graham Weldon],
, , , ,
, , , ,

[Stacey Black], [Nick Cox],


[Phil Haycraft]
[Cris Hedley], [Chris Winn], Elly Walton
Illustrations, iStockPhoto

UK: Linux Format, 30 Monmouth Street, Bath BA1 2BW
Tel +44 01225 442244 Email: linuxformat@futurenet.com
:
- ():
., 50, . 15
. +7 (812) 309-06-86
:
., 17, . ( )
./ +7 (499) 271-49-54
, , :
partner@linuxcenter.ru
: , Linux Format,
Future Publishing Ltd (Future plc group company).
.
.
, , ,
.
. Linux Format
, .
Linux Format , .
, ,
. Linux Format
.
.
.
CD DVD-,
, .
: .
Linux Format ,
.
LINUX [Linus Torvalds].
GNU/Linux Linux .
. , ,
GPL v3. . www.gnu.org/copyleft/gpl.html
, Future plc group company,
http://www.futureplc.com

Linux Format 2005


Future Publishing Ltd 2005

112 LXF143 2011

Bath London Milan New York Paris san diego San Francisco