This quick tutorial shows how to easily set a solid color as background wallpaper in your Ubuntu 22.04 PC/laptop.

To stay focused and increase productivity, user may set a solid color desktop background which can also reduce eye strain. And, a black background will consume significantly less power especially for AMOLED displays.

If you already downloaded a solid color wallpaper from web, or created one via an image editor, simply click the “Add Picture” button in system settings -> Background. Then, your image will be there as a choice.

Add Personal Wallpapers

Set Solid color background via Dconf Editor

Instead of using an image file, there’s a hidden option that could work better! Not only for Ubuntu, it also works on Fedora, Debian, Manjaro, and other Linux with GNOME Desktop.

1. Firstly, search for and install “Dconf Editor” configuration tool from Ubuntu Software:

Or press Ctrl+Alt+T on keyboard, and run the command below in pop-up terminal to install the tool:

sudo apt install dconf-editor

2. Once installed, either press Windows (Super) key on keyboard or click the top-left corner “Activities”, then search for and open ‘Dconf Editor’

3. When the tool opens, navigate to ‘org/gnome/desktop/background‘ page. There you need to do:

  • Clear the value of ‘picture-uri‘ and ‘picture-uri-dark to disable current wallpapers for both light and dark mode. Click them one by one, disable “use default value”, and set empty content for custom value.
  • Set ‘color-shading-type’ to ‘solid’ (usually default).
  • Change value of ‘primary-color’ to display as background. (#000000 for dark, #ffffff for white. Or use color picker tool to get other color value)

For choice, you may set gradient color background, by setting ‘color-shading-type’ to ‘vertical’ or ‘horizontal’, and set color value of “secondary-color”.

Linux commands to set solid color background.

If you’re familiar with Linux command line, press Ctrl+Alt+T on keyboard to open a terminal window.

When it opens, run the commands below one by one to disable current wallpapers for light and dark mode:

gsettings set org.gnome.desktop.background picture-uri ''
gsettings set org.gnome.desktop.background picture-uri-dark ''

In case you’ve set gradient color background before, reset the “color-shading-type” via command:

gsettings reset org.gnome.desktop.background color-shading-type

Finally, run the command below in set a solid color background (total dark for example):

gsettings set org.gnome.desktop.background primary-color '#000000'

How to Restore:

To restore the changes, simply open Settings -> Background and select a wallpaper as you want. Just note that you need to do this in both Light and Dark mode in Ubuntu 22.04 LTS.

Trying out different Gnome Extensions frequently? The new “Extension Manager” app is really a good choice to make life easier!

We usually install extensions by browsing through the Gnome Extension website and using the on page on/off switch. Then, manage the settings via a separate ‘Extensions’ app. However, Ubuntu’s pre-installed Firefox does not support the process since it’s a Snap package.

Without installing anther browser package and opening the site time by time, a new project “Extension Manager” has been created as an “App Center” for Gnome Extensions.

Manage installed extensions

The app integrates an “Installed” tab to enable, disable, remove extensions and manage their settings, just like “Extensions” app does.

In the “Browse” tab, it allows to search extensions with “Popularity”, “Downloads”, “Recent” and “Name” filters. And, it provides button to install extensions directly from search results that are compatible with your Gnome edition.

Search and install extensions

Like Ubuntu Software (or Gnome Software), user may view the details about an extension in a separate page with screenshot, description, supported Gnome versions, and reviews.

Extension Detail page

Install the Extension Manager in Ubuntu & Other Linux

For Ubuntu 22.04, press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the command below and hit run to install the package:

sudo apt install gnome-shell-extension-manager

Run sudo apt update to refresh package cache on a brand new system in case the command does not work.

After that, you may click the top-left “Activities”, then search for and open the application:

For old Ubuntu releases and other Linux, the application is available to install as universal Flatpak package. Do the setup first, and then install the package from Flathub page (Run the bottom command).

How to Remove Extension manager

For any reason, you may remove the extension manager by opening terminal and run command:

sudo apt remove --autoremove gnome-shell-extension-manager

If you installed it via the Flatpak package, use this command instead to remove it:

flatpak uninstall --delete-data com.mattjakeman.ExtensionManager

And remove useless libraries via flatpak uninstall --unused.

Want to create an USB installer for Microsoft Windows, but only has a Linux PC (or server)? Here’s how to do the trick in Ubuntu, Arch, Fedora, and their based systems, e.g., Linux Mint, Manjaro.

WoeUSB-ng

Today when I was installing Windows 7 on my 10 years old laptop, the first I tried is booting the ISO image via Ventoy USB stick. Sadly, it just didn’t boot!

So, I turned to WoeUSB-ng. It’s a free open-source tool to create a Windows USB stick installer from a real Windows DVD or iso image.

It’s a rewrite of WoeUSB in Python programming language with graphical interface support! With it, you can burn Windows Vista, Windows 7, Window 8.x, Windows 10 and Windows PE into USB with following boot mode:

  • Legacy/MBR-style/IBM PC compatible bootmode
  • Native UEFI boot for Windows 7 and later (FAT file-system only).

Step 1: Install WoeUSB-ng

Arch Linux users just need to run yay -S woeusb-ng command in terminal to install the app.

1.) Install Dependency

Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command below to install the dependencies:

sudo apt install git p7zip-full python3-pip python3-wxgtk4.0 grub2-common grub-pc-bin

Type user password for sudo authentication, though there’s no asterisk feedback

For Fedora, run the command below instead:

sudo dnf install git p7zip p7zip-plugins python3-pip python3-wxpython4

2.) Install WoeUSB-ng

As a Python application, it’s easy to install via the pip package manager. To do so, just run command:

sudo pip3 install WoeUSB-ng

Once installed, click the top-left “Activities” button, then search for and open the tool:

Step 2: Create Windows USB Installer via WoeUSB-ng

Firstly, you need to download the Windows ISO image or insert the CD/DVD drive, plug in your USB stick (8GB+ is recommended).

Then, launch WoeUSB-ng from start menu, select your ISO image or CD/DVD drive and highlight the USB stick (click “Refresh”) if not in list.

Before clicking the “Install” button, backup your data in the USB stick. It by default formats the drive into FAT, though you can select “NTFS” in options.

After clicking “Install” and confirm in pop-up dialog, it will open a new small dialog indicates the installing process.

If everything goes OK, it should prompt “Installation Succeed” when done. Plug the USB stick in target machine and select boot it in BIOS or UEFI, and enjoy!

Create USB Windows Installer from command line

Running Linux without a desktop session? The tool also has command line options to do the job.

Firstly, find out the USB stick device name (usually /dev/sdb) via command:

sudo fdisk -l

Then, run the command to create installer from iso image (run woeusb -h to get more options):

sudo woeusb --device /PATH/TO/ISO /dev/sdb

And for BIOS boot, it’s better to add ‘–workaround-bios-boot-flag’ to workaround BIOS bug that won’t include the device in boot menu.

Uninstall WoeUSB-ng

To remove the application, open terminal and run the command:

sudo pip3 uninstall WoeUSB-ng

Then clear the shortcut icon via command:

sudo rm /usr/share/applications/WoeUSB-ng.desktop

Want to share your files over local network or transfer file from one PC to another PC? Here are a few commonly used ways to do the job in Ubuntu 22.04 LTS.

Option 1: Share Folder Temporarily via Python scripts:

Without installing any package, user may run a built-in Python script at any time to create a http file server for temporary use. Any device (Windows, Mac, Linux PC, and mobile phones) can access or download the files via a web browser.

NOTE: This method seems to be not working good for transfer large files (1 GB+).

1. First, right-click on the folder you want to share. Then click on “Open in Terminal” option in the context menu to open terminal.

2. Next, run command to share this folder content over LAN via command:

python3 -m http.server

In case the default listening port 8000 is already in use, you may specify another port (9001 for example) via command:

python3 -m http.server 9001

Now, in any device’s web browser, go to http://ubuntu-machine-ip:9001 (change the port accordingly, default is 8000). Click to open file directly or right-click and select “save as …” to download file.

To stop sharing the folder, either press Ctrl+C in terminal window or just close it.

Option 2: Use Dukto file transfer

If you transfer files regularly from one PC to another, then the open-source “Dukto” app is a good choice that works on Linux, MacOS, and Windows machines.

Just open the app in both machines, it will detect each other automatically and offer options to transfer file/folder, and send text.

Though the app has not been updated for years, it’s still working very well! Mac and Windows users may download & install the app packages from:

For Ubuntu user, the package in previous link does not install due to dependency issue. However, the Qt6 port from this Ubuntu PPA is available for all current Ubuntu releases.

Simply open terminal by pressing Ctrl+Alt+T on keyboard, and run following commands one by one will add the PPA and install Dukto in Ubuntu:

sudo add-apt-repository ppa:xuzhen666/dukto
sudo apt update
sudo apt install dukto

Option 3: Share Folder via Samba

If you want to share a folder for long time use, it’s better to use the samba file sharing service. This can be done easily in Ubuntu, since “Files” (Nautilus file manager) provides a context menu option to do the job.

1.) Firstly, right-click on the folder you want to share. Then, click on the “Local Network Share” menu option.

2.) In the pop-up dialog, enable the checkbox which says “Share this folder”.

3.) If you’re doing this for the first time, it will prompt to install the samba sharing service.

Just click “Install service” and confirm in next dialog to install the required packages.

4.) After installing them, go back to the previous dialog in step 1.). Enable “Share this folder” and tick “Guest access” and “Allow others to create and delete …” accordingly.

If you enabled the write permission (“Allow others to create and delete …”), it will prompt to change the folder permissions.

5.) If you got “‘network share’ return 255” error, open terminal (Ctrl+Alt+T) and run command to add current user to ‘sambashare’ group should fix the issue after logged out and back in.

sudo gpasswd --add $USER sambashare

And, if you didn’t enable guest access then a separated password has to be added for authentication:

sudo smbpasswd -a $USER

To access this samba share:

For Windows user, press Window key + R on keyboard to open “Run” box, and type \\ubuntu-machine-ip. Then type username and password you set in previous step to access this folder.

For Linux user (only tested in GNOME), open “Files -> Other Locations” and type smb://ubuntu-machine-ip in button to connect.

For MacOS, press command + K on keyboard to open Connect to Server dialog, type smb://ubuntu-machine-ip and hit Enter to access.

For those want to install the Sublime Text code editor, here’s the step by step how to guide for Ubuntu 22.04 in 3 different ways.

Option 1: Snap package

A group of contributers maintain the text editor in Snap package format. Ubuntu 20.04 + users can simply search for and install it from Ubuntu Software (aka Snap Store):

Install Sublime Text from Ubuntu Software

The snap package runs in sandbox and always up-to-date since it receives updates automatically. The only downside could be that some do NOT like sandboxing apps.

For those prefer Linux commands, the package also can be installed by running the command below in terminal:

sudo snap install sublime-text --classic

Option 2: Official Apt repository

This is the official .deb package works in Ubuntu, Linux Mint, Debian, and even Raspberry Pi OS (arm64).

1. Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command below to make sure ‘https’ source is supported:

sudo apt-get install apt-transport-https

2. Add the repository key

The sublime text website still use the ‘apt-key‘ command in its document, which is deprecated.

For security reason, Debian has updated the policy. And, it’s recommend to use the command below instead to install the key:

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/sublimehq-pub.gpg

It will download the key from its website, convert it to un-readable encrypted key, and put into “/usr/share/keyring” directory.

3. Add the official repository

Next, run the command below to create a source file and edit it via Gedit text editor:

sudo gedit /etc/apt/sources.list.d/sublime-text.list

When the file opens, add the following line (it’s a single line) and save it.

deb [signed-by=/usr/share/keyrings/sublimehq-pub.gpg] https://download.sublimetext.com/ apt/stable/

This step can be done alternatively by running the single command below:

echo "deb [signed-by=/usr/share/keyrings/sublimehq-pub.gpg] https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

4. Finally, update system package cache and install the code editor by running the following 2 commands one by one:

sudo apt update
sudo apt install sublime-text

Option 3: Flatpak package

Sublime Text 4 is NOT available as Flatpak so far. But for the old version 3, you may install it by running the commands below one by one in terminal.

NOTE: Like Snap, the Sublime Text as flatpak is also un-official package maintained by contributors, runs in sandbox and updates automatically.

Firstly, press Ctrl+Alt+T to open terminal and run command to install Flatpak daemon:

sudo apt install flatpak

Then, install Sublime Text 3 via Flatpak by running command:

flatpak install https://dl.flathub.org/repo/appstream/com.sublimetext.three.flatpakref

Uninstall Sublime Text:

For the Snap package, remove it either using Ubuntu Software or by running command in terminal:

sudo snap remove --purge sublime-text

For the Flatpak package, use the command to uninstall the package:

flatpak uninstall --delete-data com.sublimetext.three

and cleanup useless run-times via flatpak uninstall --unused.

For the official .deb package, remove it by running command:

sudo apt remove --autoremove sublime-text

The apt repository will not display in “Software & Updates” utility, so get rid of it by running command to remove the source file:

sudo rm /etc/apt/sources.list.d/sublime-text.list

And remove the key file by running command:

sudo rm /usr/share/keyrings/sublimehq-pub.gpg

Summary:

Here I introduced 3 ways to install Sublime Text in Ubuntu. The Snap is the easiest, which is available in Ubuntu Software, but the official apt repository is recommended! For those still looking for the old Sublime Text 3, the Flatpak package is available for choice.