XWN740 X-Windows Configuring and Using Running X Clients

Slides:



Advertisements
Similar presentations
ITR3 lecture 7: more introduction to UNIX Thomas Krichel
Advertisements

COMPUTERS: TOOLS FOR AN INFORMATION AGE Chapter 3 Operating Systems.
 An operating system (OS) is a set of computer programs that allow the user to perform basic tasks like copying, moving, saving and printing files. 
Chapter One The Essence of UNIX.
Linux+ Guide to Linux Certification, Second Edition
Guide To UNIX Using Linux Third Edition
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Getting Started with Linux: Novell’s Guide to CompTIA’s Linux+ (Course 3060) Section 2 Use the Linux Desktop.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
CIS 116SUNY Ulster Chapter L5 – The GUI Karl Wick.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Introducing UNIX EMBnet slide 1 Introducing the UNIX Operating System.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Week 7 Working with the BASH Shell. Objectives  Redirect the input and output of a command  Identify and manipulate common shell environment variables.
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Agenda Basic Shell Operations Standard Input / Output / Error Redirection of Standard Input / Output / Error ( >, >>,
Guide To UNIX Using Linux Fourth Edition
A Guide to Unix Using Linux Fourth Edition
CENT 305 Information Systems Security Linux Introduction.
Drexel University Software Engineering Research Group 1 Eclipse for SE101.
Introduction to Linux ( I ) Sidney Fong 4 th Feb 2006.
The Shell Chapter 7. Overview The Command Line Standard IO Redirection Pipes Running a Program in the Background Killing (a process!)
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
Linux+ Guide to Linux Certification, Third Edition
LINUX programming 1. INDEX UNIT-III PPT SLIDES Srl. No. Module as per Session planner Lecture No. PPT Slide No. 1.Problem solving approaches in Unix,Using.
Linux+ Guide to Linux Certification Chapter Eight Working with the BASH Shell.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
Getting started: Basics Outline: I.Connecting to cluster: ssh II.Connecting outside UCF firewall: VPN client III.Introduction to Linux IV.Intoduction to.
Unix/Linux cs3353. The Shell The shell is a program that acts as the interface between the user and the kernel. –The shell is fully programmable and will.
Week 9 - Nov 7, Week 9 Agenda I/O redirection I/O redirection pipe pipe tee tee.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Agenda Positional Parameters / Continued... Command Substitution Bourne Shell / Bash Shell / Korn Shell Mathematical Expressions Bourne Shell / Bash Shell.
SCSC 455 Computer Security Chapter 3 User Security.
CIS Lesson 7 X. Understanding X Overview One of the original open source projects Developed at MIT Criticisms of X Handles fonts poorly Security.
XWN740 X-Windows Configuring and Using Running X Clients (Chapter 7: Pages )‏
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Linux+ Guide to Linux Certification, Second Edition
Agenda The Bourne Shell – Part I Redirection ( >, >>,
Linux Administration Working with the BASH Shell.
Lab 7 Shell Script Reference: Linux Shell Scripting Tutorial v1.05r3 A Beginner's handbook
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
The Visible PC. Computing Parts Hardware – stuff you can touch and would hurt if you dropped it on your foot Operating System – controls the hardware.
Session / Window Managers
Overview of Linux Fall 2016 Dr. Donghyun Kim
Development Environment
Introducing the UNIX Operating System.
Introduction to Programming
SUSE Linux Enterprise Desktop Administration
Prepared by: Eng. Maryam Adel Abdel-Hady
Guide To UNIX Using Linux Third Edition
The Linux Operating System
XWN740 X-Windows Configuring and Using Remote Access
XWN740 X-Windows Configuring and Using X Utility Programs
stdin, stdout, stderr Redirection
A Practical Guide to Linux® Commands, Editors, and Shell Programming
The Linux Command Line Chapter 1
Operating Systems and Using Linux
X Windows.
Chapter Four UNIX File Processing.
Topics Graphical User Interfaces Using the tkinter Module
Linux Shell Script Programming
Linux and TCP/IP Networking
05 | Desktop Applications
Module 6 Working with Files and Directories
Lab 7 Shell Script Reference:
CST8177 Scripting 2: What?.
Lecture 6 Introduction to Process Management
XWN740 X-Windows Configuring and Using Using the X Server
XWN740 X-Windows Configuring and Using X Utility Programs
LPI Linux Certification
Presentation transcript:

XWN740 X-Windows Configuring and Using Running X Clients (Chapter 7: Pages 112-115)

Agenda Running X Clients: Running X Clients Background Operation Geometry Running non-graphical Applications

X Windows & Hardware Running X Clients Since most X applications don't need to interact directly with user, they can be run in the background. The ampersand symbol & follows the command to run in the background. If the terminal (that initiated the X application) is closed, it may close the application, unless the nohup command is used (i.e. The “No hangups” command...)

X Windows & Hardware Examples: xcalc (will terminate if terminal window that started xcalc closes) nohup xcalc (xcalc will continue to run if terminal window closes)

X Windows & Hardware Storing Stderr / Stdout When running X applications in the background, standard error (stderr) messages my not be displayed in the graphical X Windows session. In this case, the application can be run at the shell prompt while redirecting stdout and stderr to a file to be viewed from the shell prompt to help understand what went wrong...

X Windows & Hardware Example nohup kcalc > kcalc.log 2>&1 & How it works: Standard output (stdout) from “nohup kcalc” command is redirected to a file called kcalc.log. After stdout has been redirected to file, any standard Error (stderr) message is also added to kcalc.log file...

X Windows & Hardware Geometry Geometry refers to the size and position of windows. The size and position of an application window can be set by the user from the command-line, but also the window manager can force its own window geometry.

X Windows & Hardware Geometry Specification WIDTHxHEIGHT[+-]XPOSITION[+-]YPOSITION WIDTH and HEIGHT are units of measurement depending on application (eg. Pixels for apps like kcalc and characters for apps like xterm) XPOSITION and YPOSITION indicates vertical coordinates (in pixels) from the screen corner A plus sign (+) indicates coordinate from upper-left corner of the screen and a minus sign (-) indicates coordinate from lower-right corner of the screen...

X Windows & Hardware Examples xterm -geometry 80x25+50+100

X Windows & Hardware xwininfo Useful X windows utility to determine size (geometry) of a specific open window application.Just issue the command in your graphical enviroment, then click on the specific window for information. The xwininfo command with the -size option can provide information for character-based information to be converted into pixel information....

X Windows & Hardware Running Non-Graphical Applications Many applications have been written with a character- based interface intended for use with a terminal (console). Examples of these applications range from typical Linux commands such as ls, cp, mv to more elaborate text- based applications such as vi, Midnight Commands (mc), etc....

X Windows & Hardware Running Non-Graphical Applications X Windows itself is incompatibe with all character-based applications (i.e. X itself does not provide a termios interface like text-based console does) To solve this problem, terminal emulator applications can be used to run a program in a console that provides a termios interface.

X Windows & Hardware Examples xterm -T “Vi Editor” -e vi Gnome-terminal -t “Vi Editor” -e vi Konsole -T “Vi Editor” -e vi You can refer to coure notes “X Powertools” page 117 for other cool examples....