Hacking Ubuntu: Serious Hacks Mods and Customizations (ExtremeTech)
Chapter 2: Making Ubuntu Usable
- Listing 2-1: Script to Change Background Color with Load
- Listing 2-2: Script to Change "Special" Emblems to "Important"
Chapter 3: Configuring Devices
- Listing 3-1: Sample LKM Queries and Management
- Listing 3-2: Directory Contents of /etc/rc6.d
- Listing 3-3: Very Simple Backup Script: /usr/local/bin/backup2disk-full
- Listing 3-4: /usr/bin/run_gimp
Chapter 4: Managing Software
- Listing 4-1: Sample Entries from an /etc/apt/source.list
- Listing 4-2: Sample Contents from /var/log/dpkg.log
- Listing 4-3: Replacement /usr/local/bin/apt-get for Logging Results
Chapter 6: Collaborating
- Listing 6-1: Example of a /etc/exports File
- Listing 6-2: Sample Export Directories for /etc/samba/smb.conf
- Listing 6-3: Sample $HOME/.vnc/xstartup with Different Desktops
- Listing 6-4: Sample VMX Configuration File: disk.vmx
Chapter 7: Tuning Processes
- Listing 7-1: Sample Listing of Running Processes from ps -ef
- Listing 7-2: Installing and Using iostat
- Listing 7-3: Viewing Shared Memory Allocation
Chapter 8: Multitasking Applications
- Listing 8-1: Using xclip to Create Three Additional Clipboards
- Listing 8-2: Simple convert2text Script to Convert Files to Text
Chapter 9: Getting Graphical with Video Bling
- Listing 9-1: Script to Test a Screen Resolution
- Listing 9-2: The setbg Script for Taking Hacking Ubuntu Screen Shots
- Listing 9-3: A Sample Xdmx Configuration File (xdmx.conf)
- Listing 9-4: Sample Startup Script for Xdmx with a Window Manager
- Listing 9-5: A Sample Synergy Configuration File (synergy.conf) with Three Systems
Chapter 10: Locking Down Ubuntu
- Listing 10-1: The Default /etc/sudoers File
- Listing 10-2: Generating GPG Public and Private Keys
- Listing 10-3: Setting the Trust Level
- Listing 10-4: /etc/init.d/cleantmp for Cleaning Temporary Directories
Chapter 11: Advanced Networking
- Listing 11-1: Sample /etc/network/interfaces
- Listing 11-2: Example iwlist Scan
- Listing 11-3: Sample /etc/wpa_supplicant.conf File
- Listing 11-4: The /etc/init.d/iptables Startup Script
- Listing 11-5: Sample /etc/ipsec-tools.conf