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

Slides:



Advertisements
Similar presentations
 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. 
Advertisements

Tony Kombol.  A program that  receives commands from a text input device (e.g. keyboard)  passes them to the operating system to perform  In the.
Chapter One The Essence of UNIX.
1 © 2001 John Urrutia. All rights reserved. Chapter 5 The Shell Overview.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Operating Systems: Software in the Background
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.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
2 $ command Command Line Options ls –a –l hello hi Command Arguments.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
Using Linux Text Editors. Use Non-Graphical Linux Text Editors Graphical Text Editor.
Agenda What is Computer Programming? The Programming Process
CIS 116SUNY Ulster Chapter L5 – The GUI Karl Wick.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
Introducing UNIX EMBnet slide 1 Introducing the UNIX Operating System.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
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
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
A Guide to Unix Using Linux Fourth Edition
CENT 305 Information Systems Security Linux Introduction.
®® Microsoft Windows 7 for Power Users Tutorial 13 Using the Command-Line Environment.
IPC144 Introduction to Programming Using C Week 1 – Lesson 2
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!)
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
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.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Getting started: Basics Outline: I.Connecting to cluster: ssh II.Connecting outside UCF firewall: VPN client III.Introduction to Linux IV.Intoduction to.
Pipes and Redirection in Linux ASFA Programming III C. Yarbrough.
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.
Operating Systems Concepts 1/e Ruth Watson Chapter 3 Chapter 3 DOS Ruth Watson.
XWN740 X-Windows Configuring and Using Session / Window Managers Desktop Environments (Chapter 8: Pages )‏
Introduction to Programming Using C An Introduction to Operating Systems.
XWN740 X-Windows Configuring and Using Remote Access (Chapter 13: Pages )‏
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.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Shell Interface Shell Interface Functions Data. Graphical Interface Graphical Interface Command-line Interface Command-line Interface Experiments Private.
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.
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 ( >, >>,
Computer Operating Systems And Software applications.
Linux Administration Working with the BASH Shell.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
Prepared by: Eng. Maryam Adel Abdel-Hady
Andy Wang Object Oriented Programming in C++ COP 3330
XWN740 X-Windows Configuring and Using Running X Clients
Chapter Four UNIX File Processing.
Module 6 Working with Files and Directories
XWN740 X-Windows Configuring and Using Using the X Server
Presentation transcript:

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

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 WIDTH x HEIGHT [+-] 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 80x xterm -geometry 80x xterm -geometry 80x xterm -geometry 80x

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....