Ubuntu 26.04 performs excellently in home use scenarios. Whether it’s printing documents, sharing files on a local network, syncing cloud storage, or accessing NAS devices, everything can be done with ease. This article provides detailed instructions for these common home needs.
Printer Setup
Ubuntu 26.04 manages printers through CUPS (Common Unix Printing System), and most USB and network printers work plug-and-play.
Automatic Detection & Installation
After connecting a USB printer to your computer, Ubuntu will usually detect and install the driver automatically. You can view recognized printers in “Settings > Printers”.
Manually Adding a Printer
If your printer is not detected automatically:
- Open “Settings > Printers”
- Click the “Add Printer” button
- The system will search for available USB and network printers
- Select your printer and follow the prompts to complete installation
Network Printer Configuration
For printers connected via WiFi or wired network:
# Install graphical printer configuration tool (more features)
sudo apt install system-config-printerYou can also use the CUPS web management interface:
- Open
http://localhost:631in your browser - Click “Administration > Add Printer”
- Select the network printer type and enter the address
- Select the printer model and driver
Common Printer Brand Drivers
# HP printers (HPLIP recommended)
sudo apt install hplip hplip-gui
# Run HP Device Manager
hp-setup
# Epson printers
sudo apt install printer-driver-escpr printer-driver-escpr2
# Canon printers (download drivers from the official website)
# Brother printers (download driver installation scripts from the official website)
# Generic printer driver
sudo apt install printer-driver-gutenprintPrinting Operations
# Command-line printing
lp document.pdf
# Specify a printer
lp -d printer-name document.pdf
# Print multiple copies
lp -n 3 document.pdf
# Duplex printing
lp -o sides=two-sided-long-edge document.pdf
# View print queue
lpstat -p -d
# Cancel a print job
cancel job-idScanner Usage
If your multifunction printer has scanning capability:
# Install scanning tool
sudo apt install simple-scan
# Or install SANE command-line tools
sudo apt install sane-utils
# Detect scanners
scanimage -L
# Command-line scanning
scanimage --format=png > scan.pngSimple Scan provides a simple and intuitive scanning interface, supporting scanning to PDF or image formats.
File Sharing
LAN File Sharing (Samba)
Samba allows Ubuntu to share files with Windows and macOS devices on the local network.
Installing Samba
sudo apt install samba samba-common-binGUI Sharing (Easiest)
- Right-click the folder you want to share in the file manager
- Select “Local Network Share” or “Sharing Options”
- Check “Share this folder”
- Set the share name and permissions
If “Sharing Options” is not available, install:
sudo apt install nautilus-share
# Restart the file manager
nautilus -qCommand-Line Share Configuration
Edit the Samba configuration file:
sudo nano /etc/samba/smb.confAdd a share configuration at the end of the file:
[ShareName]
path = /home/username/shared-directory
browseable = yes
writable = yes
guest ok = no
valid users = usernameSet the Samba password and restart the service:
# Set Samba user password
sudo smbpasswd -a username
# Restart Samba service
sudo systemctl restart smbd nmbdAccessing Shares on Other Devices
In the file manager:
- Click “Other Locations” in the left sidebar
- Enter
smb://device-ip-address/in the bottom address bar - Enter username and password
- You can now browse and access shared files
Or enter smb://192.168.1.x/share-name directly in the address bar.
AirDrop Alternative (LocalSend)
For quickly transferring files between different devices (similar to AirDrop), LocalSend is recommended:
# Install via Flatpak
flatpak install flathub org.localsend.localsend_appLocalSend supports file transfer between Linux, Windows, macOS, Android, and iOS over the local network, with no configuration required.
Cloud Storage
GNOME Online Accounts
Ubuntu 26.04 provides native cloud storage integration through GNOME Online Accounts:
- Open “Settings > Online Accounts”
- Select your service:
- Nextcloud: Integrates files, calendar, contacts
- Microsoft 365: Integrates calendar, mail, contacts
- Google: Integrates Gmail, Calendar, contacts
After adding a Nextcloud or WebDAV account, its file storage automatically mounts in the file manager sidebar, where you can browse and operate on files just like local files.
Recent GNOME releases have removed Google Drive mount integration from the file manager, so adding a Google account no longer lets you browse Google Drive in “Files”. To access Google Drive, use rclone (described below), which can mount it as a local directory.
rclone (Command-Line Cloud Storage Tool)
rclone is a powerful command-line cloud storage management tool supporting dozens of cloud storage services.
sudo apt install rcloneConfiguring Cloud Storage
rclone configFollow the interactive wizard to configure your cloud storage service (supports Google Drive, OneDrive, Dropbox, and many more).
Common Operations
# List files in remote storage
rclone ls remote:path
# Sync local directory to cloud
rclone sync /local/directory remote:remote-directory
# Copy from cloud to local
rclone copy remote:remote-directory /local/directory
# Mount as a local directory
rclone mount remote:path /mnt/cloud --daemon
# View cloud storage usage
rclone about remote:Nextcloud Desktop Client
If you use a Nextcloud private cloud:
sudo apt install nextcloud-desktopThe Nextcloud client provides:
- Automatic file synchronization
- Selective sync (only sync specific folders)
- File status icons (synced, syncing, not synced)
- System tray notifications
NAS Network Storage Access
Via File Manager
SMB/CIFS Protocol (Most Common)
Most home NAS devices (Synology, QNAP, etc.) support the SMB protocol:
- Open the file manager
- Click “Other Locations”
- Enter
smb://NAS-IP-address/in the bottom address bar - Enter your NAS username and password
- Browse shared folders
NFS Protocol
# Install NFS client
sudo apt install nfs-common
# Create mount point
sudo mkdir -p /mnt/nas
# Temporary mount
sudo mount -t nfs NAS-IP-address:/share-path /mnt/nasPermanent NAS Mount
SMB/CIFS Permanent Mount
Create a credentials file (secure password storage):
sudo nano /etc/samba/credentialsusername=your-NAS-username
password=your-NAS-passwordSet permissions:
sudo chmod 600 /etc/samba/credentialsEdit /etc/fstab to add the mount entry:
sudo nano /etc/fstab//NAS-IP/share-name /mnt/nas cifs credentials=/etc/samba/credentials,uid=1000,gid=1000,iocharset=utf8 0 0Install CIFS tools and mount:
sudo apt install cifs-utils
sudo mount -aNFS Permanent Mount
Add to /etc/fstab:
NAS-IP:/share-path /mnt/nas nfs defaults,_netdev 0 0WebDAV Access
Some NAS devices and cloud services support the WebDAV protocol:
Enter in the file manager address bar:
davs://NAS-address:port/pathNAS-Specific Applications
Synology
Synology users can access the DSM management interface via a web browser, and can also:
- Use the Synology Drive client to sync files
- Access via SMB directly in the file manager
- Use Synology Photos and other mobile apps
QNAP
QNAP users can manage their NAS through the QTS web interface. File access methods are similar to Synology.
NAS Performance Optimization
# SMB mount optimization parameters
//NAS-IP/share /mnt/nas cifs credentials=/etc/samba/credentials,uid=1000,vers=3.0,cache=loose,rsize=130048,wsize=130048 0 0vers=3.0: Use SMB 3.0 protocol for better performancecache=loose: Use loose caching for faster readsrsize/wsize: Adjust read/write buffer sizes
Home Media Center
If you want to use Ubuntu as a home media server:
# Install Plex Media Server (download the .deb package from the official site)
# Or install Jellyfin (open-source alternative)
sudo apt install jellyfinJellyfin is a completely free and open-source media server that supports:
- Media library management with automatic metadata scraping
- Multi-device streaming playback
- User permission management
- Automatic subtitle downloading
Summary
Ubuntu 26.04 provides comprehensive support for home use scenarios. Printer setup is straightforward, with most devices working plug-and-play. Samba file sharing enables seamless collaboration between Ubuntu and Windows/macOS devices. Through GNOME Online Accounts and rclone, cloud storage access is very convenient. NAS users can browse network storage directly in the file manager or configure permanent mounts for automatic connection at boot.