debian/gnu linux - introduction ii. · 2009. 12. 1. · explore the kde menu application tree...

45
File management Editing X Window KDE Debian/GNU Linux Introduction II. aroly Erdei November 21, 2009 aroly Erdei — Debian/GNU Linux 1/45

Upload: others

Post on 11-Aug-2021

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Debian/GNU LinuxIntroduction II.

Karoly Erdei

November 21, 2009

Karoly Erdei — Debian/GNU Linux 1/45

Page 2: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

1 File management

2 Editing

3 X Window

4 KDE

Karoly Erdei — Debian/GNU Linux 2/45

Page 3: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Agenda

1 File management

2 Editing

3 X Window

4 KDE

Karoly Erdei — Debian/GNU Linux 3/45

Page 4: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

File and directory managementCommands and File Managers

using a terminal window (on a command line)

create directory: mkdir -v -m 755 directoryname ...

create, remove: mkdir directory; rmdir directory;

touch file; rm file

cp file1 file2; mv file1 file2; mv directory1 directory2

change permissions

create symbolic links (for files, directories)

Karoly Erdei — Debian/GNU Linux 4/45

Page 5: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

File and directory managementCommands and File Managers

using a GUI, i.e. a File Manager

there are a lot of file managers in Debian

get list with grep ”file manager ” lenny-packages.txtcheck them for features, looks, etc.

some of them: konqueror, bsc, mc, filerunner, xfe

hades:sysadmin!16> man -k "file manager"

filerunner (1) - simple and efficient file manager with FTP

fr (1) - simple and efficient file manager with FTP

gnome-commander (1) - A GNOME file manager

konqueror (1) - Web browser, file manager, ...

nautilus (1) - the GNOME File Manager

hades:sysadmin!17>

Karoly Erdei — Debian/GNU Linux 5/45

Page 6: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

File managers in details I

File Managers

bsc: BeeSoft Commander

graphical file manager with two panels

mc: midnight commander

a powerful file manager

filerunner:

X-Based FTP program and file manager, very powerful

xfe: X file explorer

a lightweight file manager for X11,like Windows Explorer

konqueror:

advanced file manager and the central unit in KDEa web browser, document viewer, application starterDesktop configurator, etc.

Karoly Erdei — Debian/GNU Linux 6/45

Page 7: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

File ManagersBeeSoft Commander

Karoly Erdei — Debian/GNU Linux 7/45

Page 8: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

File Managersxfe - X File Explorer

Karoly Erdei — Debian/GNU Linux 8/45

Page 9: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

File Managersxfe - X File Explorer

Karoly Erdei — Debian/GNU Linux 9/45

Page 10: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Konqueror - Start window

Karoly Erdei — Debian/GNU Linux 10/45

Page 11: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Konqueror - ConfigurationBehavior

Karoly Erdei — Debian/GNU Linux 11/45

Page 12: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Konqueror - ConfigurationFile associations

Karoly Erdei — Debian/GNU Linux 12/45

Page 13: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Konqueror - ConfigurationPlugins

Karoly Erdei — Debian/GNU Linux 13/45

Page 14: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Agenda

1 File management

2 Editing

3 X Window

4 KDE

Karoly Erdei — Debian/GNU Linux 14/45

Page 15: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Editing function in Linux

Editing

what kind of object do we want to edit

text file, audio file, jpeg image file, etc.cd, dvd contents

dozens of editor are available

check them with grep editor lenny-packages.txt236 lenny packages, with ’editor’

general purpose text editors of different power

special editors for specific objects

audacity, gimp, kguitar, xfigK3B CD/DVD creator

Karoly Erdei — Debian/GNU Linux 15/45

Page 16: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Office suites

Suites

Open Office (OO)

oowriter (Word processor)oocalc (Spreadsheet)ooimpress (Presentation)oodraw (Drawing)oobase (Database), oomath (Equation editor)

K-Office (KDE Office suite)

kwriterkspreadkpresenterkformula, kthesaurus, etc.

Karoly Erdei — Debian/GNU Linux 16/45

Page 17: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editors

Text Editors

ed: The classic Unix line editor

vi: historical times, but very powerful

gvim: emacs-like, very powerful (www.vim.org)

emacs: very powerful

axe, nedit

kedit, gedit: basic editors 4 KDE,GNOME

kate: advanced text editor for KDE

bluefish: html, php, etc

conglomerate: XML editor

kile: KDE Integrated LaTeX Environment

Latex Editor ( XP: TexnicsCenter)

Karoly Erdei — Debian/GNU Linux 17/45

Page 18: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsvi

vi modes: command mode, editing mode

change to command mode: ESC from editing

command mode

file: read: :e file; write: :w file reread: :e! file; insert: :r file

file: exit: :q, ZZ; starting vi: vi filename;

change to edit mode

i - insert text; a append text to line;

editing commands

5yy - mark 5 lines; p insert marked lines; r2w - replace two words;

advantage of vi for emergency case:

you can always connect to Linux computer by ssh

you can always use vi in the terminal window

Karoly Erdei — Debian/GNU Linux 18/45

Page 19: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsGvim

Karoly Erdei — Debian/GNU Linux 19/45

Page 20: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsGvim

Karoly Erdei — Debian/GNU Linux 20/45

Page 21: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsEmacs

Karoly Erdei — Debian/GNU Linux 21/45

Page 22: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsEmacs

Karoly Erdei — Debian/GNU Linux 22/45

Page 23: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsEmacs

Karoly Erdei — Debian/GNU Linux 23/45

Page 24: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsNedit

Karoly Erdei — Debian/GNU Linux 24/45

Page 25: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsKate - KDE advanced text editor

Karoly Erdei — Debian/GNU Linux 25/45

Page 26: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsBluefish - html, php, etc. editor

Karoly Erdei — Debian/GNU Linux 26/45

Page 27: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Text editorsKile - KDE Integrated Latex Environment

Karoly Erdei — Debian/GNU Linux 27/45

Page 28: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Special editorsFor object types

Object Editors

audacity: a fast, cross-platform audio editor

audio recorder, converter, audio file manipulatorLinux, Windows, Mac versions available

dia: diagram editor

etktab: ASCII guitar tab editor

kguitar: Stringed instrument tablature editor KDE

pixmap: a pixmap editor

GIMP: the Gnu Image Manipulation Program

K3B: the KDE CD and DVD creator

Special program - ksnapshot

to create screen shots about different parts of the screen

Karoly Erdei — Debian/GNU Linux 28/45

Page 29: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Object Editors - Audacity

Karoly Erdei — Debian/GNU Linux 29/45

Page 30: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Object EditorsKguitar

Karoly Erdei — Debian/GNU Linux 30/45

Page 31: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Object Editors - K3BCD-DVD creator

Karoly Erdei — Debian/GNU Linux 31/45

Page 32: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Special program - ksnapshotscreen shot creator

Karoly Erdei — Debian/GNU Linux 32/45

Page 33: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Agenda

1 File management

2 Editing

3 X Window

4 KDE

Karoly Erdei — Debian/GNU Linux 33/45

Page 34: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

X Window SystemThe X-Server

X Window System

X-Windows, Version 11: X11 - today: X.org

Developed in 1984 at MIT

supported by DEC, HP, SUN, IBM

Network-based graphics window system for Unix

Uses the multitasking function of Unix

A client-server model

X server

runs on a host (in the network)

controls the display (=graphics card) and keyboard/mouse

binds to the D-K-M (in contrast to XVNCServer)

intermediator between X-clients (applications) and D-K-M

accepts client connections from local host (remote host)

Karoly Erdei — Debian/GNU Linux 34/45

Page 35: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

X Window SystemThe X-client

X client

connects to the X-server, to display its GUI

most important X-clients

the X Window Manager; Xterm - the terminal emulator

name begins with x (xterm, xclock, xcalc, etc.)

any window on the screen is an X-client !

Networking feature of X-Window system

host runs an X-server

any X-client executed on the host connects to X-server

any X-client executed on a remote host can connect to the X-server

it displays its GUI on the remote server !

client and server (may) run on different hosts

Seperation between where a program runs and where its display is!

Karoly Erdei — Debian/GNU Linux 35/45

Page 36: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

X Window SystemX11 scenario

Karoly Erdei — Debian/GNU Linux 36/45

Page 37: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

X Window SystemSome components

Display Manager

displays the graphical login window (”login manager”)

after successfull authentication starts an x-session

restarting the display manager (Ctrl+Alt+Backspace)

finishes all programs in the session (new login window)

X Window Manager

provides the frame around a window with its functions

responsible to move, resixe, minimize, maximize, close any window

responsible for the pointing device input

provides part of GUI: look and feel; lot of WM; grep for it

X terminal emulator

a window that functions as a standard terminal

xterm the first version; try, use: gnome-terminal, konsole

Karoly Erdei — Debian/GNU Linux 37/45

Page 38: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

Agenda

1 File management

2 Editing

3 X Window

4 KDE

Karoly Erdei — Debian/GNU Linux 38/45

Page 39: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

The KDE Desktop, details

Desktop KDE

KDE is a very big, powerful system (desktop environment)

explore the KDE menu Application tree

explore the KDE Application Debian tree

customizing the menu bar

adding new applications and appletsvirtual desktops

creating desktop icons

learn the KDE Control Center

learn the KDE components

learn the Help in KDE

Karoly Erdei — Debian/GNU Linux 39/45

Page 40: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

My KDE Screen

Karoly Erdei — Debian/GNU Linux 40/45

Page 41: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

The KDE Control Center

Main KDE components:

Desktop (Multiple Desktops)

Internet and Network

bluetooth, WLAN, Samba

KDE Components (File Association)

Peripherals (Display, Keyboard, Printers, etc.)

Power Control (Laptop Battery)

Regional settings

etc: Security, Sound, System Administration

Karoly Erdei — Debian/GNU Linux 41/45

Page 42: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

KDE Control Center - Printer

Karoly Erdei — Debian/GNU Linux 42/45

Page 43: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

KDE Control Center - Service Manager

Karoly Erdei — Debian/GNU Linux 43/45

Page 44: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

KDE Control Center - Security and Privacy

Karoly Erdei — Debian/GNU Linux 44/45

Page 45: Debian/GNU Linux - Introduction II. · 2009. 12. 1. · explore the KDE menu Application tree explore the KDE Application Debian tree customizing the menu bar adding new applications

File management Editing X Window KDE

End of Overview

Thanks for your attention !

Karoly Erdei — Debian/GNU Linux 45/45