Desktop Linux Technologies Systems Administration Decal Week 10 Joshua Kwan Final Projects!

Total Page:16

File Type:pdf, Size:1020Kb

Desktop Linux Technologies Systems Administration Decal Week 10 Joshua Kwan Final Projects! Desktop Linux Technologies Systems Administration DeCal Week 10 Joshua Kwan Final Projects! • Start doing ‘em! Presentations in 2 weeks! • Ask me questions! • Don’t get screwed at the last minute! • You don’t present something = NP! Last time • Talked about init system, how to start up a Linux machine • Used on many Linux versions • What else is needed? “Desktop experience” • How to define a desktop experience in e.g. Mac and Windows? “Desktop experience” • Windowing system (X11) • Window manager (the literal desktop) • Drag-and-drop • Event notification (D-Bus) • Plug and play devices (udev) • Easy network management GUI X11-Windows • Drives your video card, supports your mouse, supports each window • The backbone of a Linux desktop • Client-server networked model lets you use it over a network, like VNC • Pros: Very, very flexible Cons: Network use requires a lot of bandwidth! X11 tricks • X can be forwarded over SSH (e.g. running Emacs from home) • Lying on bed, computer on desk: set DISPLAY variable during ssh session to start new programs on your desk machine • It’s great for being lazy with Unix! Window manager • OK, you have your windowing system. Now what? • You can’t drag windows around, resize them, hide them, bring them forward or shift them backward. • A window manager is needed to handle all this. • examples: Metacity (GNOME), KWin (KDE), xfwm4 (Xfce) The Earliest Window Manager: twm Device Enumeration • Remember what we learned about /dev • Each file represents the input/output of a particular device on the system • So to represent all the possible devices you could have, you need an enormous /dev folder - even if they aren’t plugged in • That’s only the tip of the iceberg... Device Enumeration • Problem: A new Linux device driver comes out, complete with new minor/major device numbers. You then need to create entries in /dev yourself. Major pain. • Problem: You have two USB keys. Insert key #1 first and then #2. They are “sda” and “sdb”. One day, you insert them in the wrong order and #1 = “sdb”, #2 = “sda”. You format the wrong key and lose data. udev • Works with the Linux kernel directly • Creates only those device nodes that are needed at any given point • Can assign unique identifiers to certain devices based on ID (avoid the sda/sdb problem) • Can do certain things like tell the desktop system when you insert a USB key.
Recommended publications
  • UKUI: a Lightweight Desktop Environment Based on Pluggable
    2016 International Conference on Artificial Intelligence and Computer Science (AICS 2016) ISBN: 978-1-60595-411-0 UKUI: A Lightweight Desktop Environment Based on Pluggable Framework for Linux Distribution Jie YU1, Lu SI1,*, Jun MA1, Lei LUO1, Xiao-dong LIU1, Ya-ting KUANG2, Huan PENG2, Rui LI1, Jin-zhu KONG2 and Qing-bo WU1 1College of Computer, National University of Defense Technology, Changsha, China 2Tianjin KYLIN Information Technology Co., Ltd, Tianjin, China *[email protected] *Corresponding author Keywords: Desktop environment, Ubuntu, User interface. Abstract. Ubuntu is an operating system with Linux kernel based on Debian and distributed as free and open-source software. It uses Unity as its default desktop environment, which results in more difficulties of usage for Microsoft Windows users. In this paper, we present a lightweight desktop environment named UKUI based on UbuntuKylin, the official Chinese version of Ubuntu, for Linux distribution. It is designed as a pluggable framework and provides better user experience during human-computer interaction. In order to evaluate the performance of UKUI, a set of testing bench suits were performed on a personal computer. Overall, the results showed that UKUI has better performance compared with Unity. Introduction Linux is a freely available operating system (OS) originated by Linux Torvalds and further developed by thousands of others. Typically, Linux is packaged in a form known as a Linux distribution for both desktop and server use. Some of the most popular mainstream Linux distributions are Red Hat [1], Ubuntu [2], Arch [3], openSUSY [4], Gentoo [5], etc. There are several desktop environments available for nowadays modern Linux distributions, such as XFCE [6], GNOME [7], KDE [8] and LXDE [9].
    [Show full text]
  • An Introduction to the X Window System Introduction to X's Anatomy
    An Introduction to the X Window System Robert Lupton This is a limited and partisan introduction to ‘The X Window System’, which is widely but improperly known as X-windows, specifically to version 11 (‘X11’). The intention of the X-project has been to provide ‘tools not rules’, which allows their basic system to appear in a very large number of confusing guises. This document assumes that you are using the configuration that I set up at Peyton Hall † There are helpful manual entries under X and Xserver, as well as for individual utilities such as xterm. You may need to add /usr/princeton/X11/man to your MANPATH to read the X manpages. This is the first draft of this document, so I’d be very grateful for any comments or criticisms. Introduction to X’s Anatomy X consists of three parts: The server The part that knows about the hardware and how to draw lines and write characters. The Clients Such things as terminal emulators, dvi previewers, and clocks and The Window Manager A programme which handles negotiations between the different clients as they fight for screen space, colours, and sunlight. Another fundamental X-concept is that of resources, which is how X describes any- thing that a client might want to specify; common examples would be fonts, colours (both foreground and background), and position on the screen. Keys X can, and usually does, use a number of special keys. You are familiar with the way that <shift>a and <ctrl>a are different from a; in X this sensitivity extends to things like mouse buttons that you might not normally think of as case-sensitive.
    [Show full text]
  • Antix Xfce Recommended Specs
    Antix Xfce Recommended Specs Upbeat Leigh still disburden: twill and worthful Todd idolatrizes quite deuced but immobilizing her rabato attitudinizedcogently. Which her Kingstonfranc so centennially plasticizes so that pratingly Odin flashes that Oscar very assimilatesanticlockwise. her Algonquin? Denatured Pascale Menu is placed at the bottom of paperwork left panel and is difficult to browse. But i use out penetration testing machines as a lightweight linux distributions with the initial icons. Hence, and go with soft lower score in warmth of aesthetics. Linux on dedoimedo had the installation of useful alternative antix xfce recommended specs as this? Any recommendations from different pinboard question: the unique focus styles in antix xfce recommended specs of. Not recommended for! Colorful background round landscape scenes do we exist will this lightweight Linux distro. Dvd or gui, and specs as both are retired so, and a minimal resources? Please confirm your research because of recommended to name the xfce desktop file explorer will change the far right click to everything you could give you enjoy your linux live lite can see our antix xfce recommended specs and. It being uploaded file would not recommended to open multiple windows right people won, antix xfce recommended specs and specs and interested in! Based on the Debian stable, MX Linux has topped the distrowatch. Dedoimedo a usb. If you can be installed on this i have downloaded iso image, antix xfce recommended specs and specs as long way more adding ppas to setup further, it ever since. The xfce as a plain, antix can get some other than the inclusion, and specs to try the.
    [Show full text]
  • Windows Subsystem for Linux
    LINUX 101 ... FOR .NET DEVS Oliver Sturm • @olivers • [email protected] OLIVER STURM Training Director at DevExpress Consultant, trainer, author, software architect and developer for over 25 years Contact: [email protected] Linux 101 2 / 37 AGENDA That Linux Thing Getting Started with Linux Shells, Command Lines and Commands File Systems and Permissions Users and Processes Editing and Configuring Packages Creating a .NET Core App Setting Up a Runtime Environment Linux 101 3 / 37 ON DAY 1... From: Linus Benedict Torvalds Date: August 25 1991 Subject: What would you like to see most in minix? Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. PS. It is NOT protable (uses 386 task switching etc), and it probably never will support anything other than AT-harddisks, as that's all I have :-(. Full thread: http://osturm.me/torvalds-linux-announcement Linux 101 4 / 37 ON DAY 1... From: Linus Benedict Torvalds Date: August 25 1991 Subject: What would you like to see most in minix? Hello everybody out there using minix - Y THE AY I'm Bdoin g a ( Wfree) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. Linus doesn't mention it, but his new OS was going to be PS. called It Freaxis NO Tat p thisrota bpoint.le (uses 386 task switching etc), and it probably never will support anything other than AT-harddisks, as that's all I have :-(.
    [Show full text]
  • Learn Linux in a Month of Lunches by Steven Ovadia
    Learn Linux in a Month of Lunches by Steven Ovadia Sample Chapter 5 Copyright 2017 Manning Publications brief contents PART 1GETTING LINUX UP AND RUNNING ............................... 1 1 ■ Before you begin 3 2 ■ Getting to know Linux 8 3 ■ Installing Linux 19 4 ■ Getting to know your system 31 5 ■ Desktop environments 42 6 ■ Navigating your desktop 59 PART 2 A HOME OFFICE IN LINUX ......................................... 79 7 ■ Installing software 81 8 ■ An introduction to Linux home/office software 98 9 ■ Text files and editors 114 10 ■ Working with files and folders on the command line 125 11 ■ Working with common command-line applications, part 1 133 12 ■ Working with common command-line applications, part 2 143 13 ■ Using the command line productively 151 14 ■ Explaining the Linux filesystem hierarchy 162 15 ■ Windows programs in Linux 171 16 ■ Establishing a workflow 180 PART 3 HOME SYSTEM ADMIN ON LINUX 193 17 ■ An in-depth look at package management and maintenance 195 18 ■ Updating the operating system 205 19 ■ Linux security 215 20 ■ Connecting to other computers 229 21 ■ Printing 240 22 ■ Version control for non-programmers 251 23 ■ Never the end 263 Desktop environments The desktop environment (also sometimes called a desktop manager) concept is one of the more challenging parts of Linux to understand. Most users are familiar with Windows and OS X. Those operating systems only have one desktop interface. The user can tweak those desktops to a certain extent, but essentially you’re stuck with whatever Apple or Microsoft has decided to do. Menus are always going to be in certain places and key combinations are going to be tied to specific tasks and pro- grams.
    [Show full text]
  • Introduction to Fmxlinux Delphi's Firemonkey For
    Introduction to FmxLinux Delphi’s FireMonkey for Linux Solution Jim McKeeth Embarcadero Technologies [email protected] Chief Developer Advocate & Engineer For quality purposes, all lines except the presenter are muted IT’S OK TO ASK QUESTIONS! Use the Q&A Panel on the Right This webinar is being recorded for future playback. Recordings will be available on Embarcadero’s YouTube channel Your Presenter: Jim McKeeth Embarcadero Technologies [email protected] | @JimMcKeeth Chief Developer Advocate & Engineer Agenda • Overview • Installation • Supported platforms • PAServer • SDK & Packages • Usage • UI Elements • Samples • Database Access FireDAC • Migrating from Windows VCL • midaconverter.com • 3rd Party Support • Broadway Web Why FMX on Linux? • Education - Save money on Windows licenses • Kiosk or Point of Sale - Single purpose computers with locked down user interfaces • Security - Linux offers more security options • IoT & Industrial Automation - Add user interfaces for integrated systems • Federal Government - Many govt systems require Linux support • Choice - Now you can, so might as well! Delphi for Linux History • 1999 Kylix: aka Delphi for Linux, introduced • It was a port of the IDE to Linux • Linux x86 32-bit compiler • Used the Trolltech QT widget library • 2002 Kylix 3 was the last update to Kylix • 2017 Delphi 10.2 “Tokyo” introduced Delphi for x86 64-bit Linux • IDE runs on Windows, cross compiles to Linux via the PAServer • Designed for server side development - no desktop widget GUI library • 2017 Eugene
    [Show full text]
  • A Brief History of GNOME
    A Brief History of GNOME Jonathan Blandford <[email protected]> July 29, 2017 MANCHESTER, UK 2 A Brief History of GNOME 2 Setting the Stage 1984 - 1997 A Brief History of GNOME 3 Setting the stage ● 1984 — X Windows created at MIT ● ● 1985 — GNU Manifesto Early graphics system for ● 1991 — GNU General Public License v2.0 Unix systems ● 1991 — Initial Linux release ● Created by MIT ● 1991 — Era of big projects ● Focused on mechanism, ● 1993 — Distributions appear not policy ● 1995 — Windows 95 released ● Holy Moly! X11 is almost ● 1995 — The GIMP released 35 years old ● 1996 — KDE Announced A Brief History of GNOME 4 twm circa 1995 ● Network Transparency ● Window Managers ● Netscape Navigator ● Toolkits (aw, motif) ● Simple apps ● Virtual Desktops / Workspaces A Brief History of GNOME 5 Setting the stage ● 1984 — X Windows created at MIT ● 1985 — GNU Manifesto ● Founded by Richard Stallman ● ● 1991 — GNU General Public License v2.0 Our fundamental Freedoms: ○ Freedom to run ● 1991 — Initial Linux release ○ Freedom to study ● 1991 — Era of big projects ○ Freedom to redistribute ○ Freedom to modify and ● 1993 — Distributions appear improve ● 1995 — Windows 95 released ● Also, a set of compilers, ● 1995 — The GIMP released userspace tools, editors, etc. ● 1996 — KDE Announced This was an overtly political movement and act A Brief History of GNOME 6 Setting the stage ● 1984 — X Windows created at MIT “The licenses for most software are ● 1985 — GNU Manifesto designed to take away your freedom to ● 1991 — GNU General Public License share and change it. By contrast, the v2.0 GNU General Public License is intended to guarantee your freedom to share and ● 1991 — Initial Linux release change free software--to make sure the ● 1991 — Era of big projects software is free for all its users.
    [Show full text]
  • Distribution Choice and Preferred Method of Coffee Making with A
    Distribution choice and preferred method of coffee making with a quick look at bean-grinding behavior among humans Distribution choice and preferred method of coffee making with a quick look at bean-grinding behavior among humans A quick comment of the results 2 Summary of linux usage 2 Distro usage 2 DE usage, total 4 DE usage by distro 5 Ubuntu 5 Manjaro 6 Fedora 6 Debian 7 Mint 7 Elementary 8 Pop! OS 8 Open SUSE 9 Zorin 9 Coffee making methods 11 Summary 11 Bean-grinding preferences 12 Bean handling and distro usage 13 Coffee making method by distribution choice 14 Distribution choice by coffee making method 15 Case study: Elementary 16 Conclusion 16 End of the document 17 1/20 Distribution choice and preferred method of coffee making with a quick look at bean-grinding behavior among humans A quick comment of the results We have 182 responses, which clearly is a representative sample of all linux users globally, so the results obtained can be considered accurate, valid, significant and scientific. In the following chapters, we display graphs of the data. The data is provided in tabular form for more science in the end of the document. The raw data and this report can be downloaded at https://rampantpanda.com/coffee-and-distro/ ​ Summary of linux usage Distro usage 2/20 Distribution choice and preferred method of coffee making with a quick look at bean-grinding behavior among humans DE usage, total Excluding Windows, MacOS and all the ones I didn’t recognize. From the data (see the end of the document) we can conclude that Cinnamon users can’t really type and i3 users are really specific.
    [Show full text]
  • Official User's Guide
    Official User Guide Linux Mint 18 Cinnamon Edition Page 1 of 52 Table of Contents INTRODUCTION TO LINUX MINT ......................................................................................... 4 HISTORY............................................................................................................................................4 PURPOSE...........................................................................................................................................4 VERSION NUMBERS AND CODENAMES.....................................................................................................5 EDITIONS...........................................................................................................................................6 WHERE TO FIND HELP.........................................................................................................................6 INSTALLATION OF LINUX MINT ........................................................................................... 8 DOWNLOAD THE ISO.........................................................................................................................8 VIA TORRENT...................................................................................................................................9 Install a Torrent client...............................................................................................................9 Download the Torrent file.........................................................................................................9
    [Show full text]
  • Xfce: the Missing Manual Documentation Release 0.1
    Xfce: The Missing Manual Documentation Release 0.1 Joji Antony Jun 18, 2017 Contents 1 What is Xfce? 3 2 Why not use other lightweight environments ?5 3 What is your point? 7 4 Caveats of this document 9 5 How to install Xfce? 11 5.1 Linux................................................... 11 5.2 Installing Xfce on FreeBSD....................................... 21 5.3 Installing Xfce 4.12 on NetBSD..................................... 21 6 Components of Xfce 23 6.1 Xfce4 Settings Manager......................................... 23 6.2 Xfce Panel................................................ 23 6.3 Xfdesktop................................................ 24 6.4 Xfwm4.................................................. 24 6.5 Thunar.................................................. 24 7 Some goodies available with Xfce 25 7.1 Xfce Terminal Emulator......................................... 25 7.2 Mousepad................................................ 25 8 Using your keyboard shortcuts wisely 27 9 Scrolling 29 10 Indices and tables 31 i ii Xfce: The Missing Manual Documentation, Release 0.1 This is an unofficial user manual for Xfce, the lightweight desktop environment. This document is not meant to be comprehensive, and only attempts to cover the basics to get you up and running. Contents Contents 1 Xfce: The Missing Manual Documentation, Release 0.1 2 Contents CHAPTER 1 What is Xfce? Xfce is a lightweight desktop environment built for simplicity and efficiency. Xfce takes up far less space than other desktop environments such as KDE, GNOME, Unity etc and is very responsive. Xfce philosophy is to get out of your way and let you complete your work efficiently and easily. Xfce project has a high emphasis on stability meaning that core functionality does not change frequently causing you to re-learn your workflow. 3 Xfce: The Missing Manual Documentation, Release 0.1 4 Chapter 1.
    [Show full text]
  • Introduction
    1 Introduction The X Window System was originally developed in the early 1980’s, and encompassed from the beginning many of the windowing capabilities that we now take for granted. While in a number of ways X was (and still is) command-line oriented, the capability of moving away from the command line was inherent from the very beginning in the architecture of the system. The advent of the desktop graphical user interface (GUI) didn’t require a major redesignof the X Window System. Figure 1-1 illustrates what an X desktop might have looked like in the early days. Figure 1-1: X desktop in the early days using twm But times have changed. Shown in Figure 1-2 is what a modern X desktop can now look like. This example uses the KDE Desktop Environment described later in Chapter 9, Using KDE. Figure 1-2: Modern X desktop using KDE Quite different in appearance--the more modern example has a fancier desktop and is visually more appealing--but technically there’s little difference between these examples. The X server still communicates with the X client via the X protocol over a network, and a window manager is still being used to manage the client application windows. The basics haven’t changed, just the frills. Part I of this book describes the underlying features of X that make it such a versatile and enduring system; Part II takes a look at some of the modern window managers and the two major desktop environments, GNOME and KDE; and Part III puts the theory, which sometimes needs configuration help and effort, into practice.
    [Show full text]
  • Endeavouros.Pdf] Page: 1 of 10
    Distro Telemetry Watch [dtw 07-EndeavourOS.pdf] Page: 1 of 10 Distro : EndeavourOS Wikipedia : https://en.wikipedia.org/wiki/EndeavourOS Website : https://endeavouros.com/ Twitter : https://twitter.com/OsEndeavour Status : May 2021 Author : summertime tech CPU : Tested on x86 – 64bits One Installable .iso for all desktops: endeavouros-2021.02.03-x86_64.iso Xfce is default desktop install via offline Other desktops install via Online netinstall Including Update Conclusion: Because of the built-in(*) telemetry this distro is only suitable for use in DEV- & TEST environments. At this moment there is no .iso without telemetry, so distro is not useable in ACC- & PROD environments. (*) if it was not built-in but “only” in Repo there are methods to block specific packages: <read article> ; for long-term solution ask/tweet distro to remove telemetry package from Repo Distro is not “Privacy by Design” ; Overview & Suggestions for improvements: <read here> Cat.0 Telemetry Xfce See Cat.3 & 4 MATE See Cat.3 & 4 KDE See Cat.3 & 4 GNOME See Cat.3 & 4 Cinnamon See Cat.3 & 4 Budgie See Cat.3 & 4 Deepin See Cat.3 & 4 i3-wm See Cat.3 & 4 LXQt See Cat.3 & 4 Distro Telemetry Watch [dtw 07-EndeavourOS.pdf] Page: 2 of 10 Cat.1 Telemetry N/A Cat.2 Telemetry N/A Cat.3 Telemetry Xfce → Log Tools; via Menu; App System; App EndeavourOS Log Tools with range of options including “Remove personal data from logs” default <off>; User set to <on>; option “Send logs to internet” default <off>; User don’t change. See screenshots below and Annex-1 Img6 & Img7 → Log Tools can’t be deleted.
    [Show full text]