Archives For November 30, 1999

Ubuntu’s default office suite LibreOffice released new major version 7.3.0 today. Here’s what’s new and how to install it in all current Ubuntu editions.

LibreOffice 7.3 provided a large number of improvements to Microsoft Office file formats support. It now loads large DOCX and XLSX/XLSM files and some complex documents faster! Also, there are many improvements to DOC, DOCX, XLSX, PPTX import/export filter, including:

  • greatly improved list/numbering import
  • Hyperlinks attached to shapes now imported/exported
  • Fix editing permissions.
  • Make slide footers get exported to PPTX
  • better XLSX support.

The release also extended theScriptForge libraries with various features, including:

  • New Chart service to define chart documents stored in Calc sheets.
  • New PopupMenu service to describe the menu to be displayed after a mouse event (typically a right-click).
  • Management of printers: list of fonts and printers, printer options, printing documents.
  • export documents to PDF with full management of PDF options

Other changes in LibreOffice 7.3 include:

  • Writer now has the start of linked character and paragraph styles, as well as list level support.
  • Add visualization and Manage Changes support for tracked deletion and insertion of tables and table rows.
  • Performance improvements for exporting PDF and loading large RTL documents
  • Calc now lists HTML tables in the ‘Link to External Data’ dialog.
  • Implement neumaier summation algorithm for using modern SIMD CPU instructions like AVX2
  • Implement bash like autocompletion for Calc autoinput.
  • Standard filter supports filtering by colors
  • Add PowerPoint-compatible screen sizes
  • Ability to generate one-dimensional barcodes in addition to QR codes.
  • New WebDAV/HTTP UCP based on libcurl.
  • Border line widths have been unified throughout LibreOffice.

See What’s New in LibreOffice 7.3 via short video:

How to Install LibreOffice 7.3 in Ubuntu:

It’s HIGHLY recommended to install LibreOffice in Ubuntu using its official PPA, since it updates the pre-installed package.

Though, LibreOffice is also available as Flatpak and Snap packages. The latter can be directly installed from Ubuntu Software. However, they co-exist with the pre-installed .deb package, which mean you’ll have duplicated LibreOffice shortcut icons.

The PPA provides the packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10, and also the next Ubuntu 22.04.

1. Add LibreOffice PPA

First open terminal from your system start menu (click top-left corner ‘Activities’, search for and open terminal). When it opens, run command:

sudo add-apt-repository ppa:libreoffice/ppa

So far, the PPA supports for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10, and Linux Mint 20.

2. Install / upgrade LibreOffice:

Next, you can upgrade the office suite using Software Updater (Update Manager) utility.

How to Restore:

Purge the Ubuntu PPA will restore the office suite to the pre-installed version. To do so, run the command below in terminal:

sudo apt install ppa-purge && sudo ppa-purge ppa:libreoffice/ppa

The popular free open-source DJ software Mixxx now is at version 2.4.1 with some important fixes. Here’s how to install it in Ubuntu via PPA.

Mixxx 2.4 features exporting crates, playlists and the library to Engine DJ OS devices, including Denon and Numark standalone controllers. It supports for Saved Loops, which can be assigned to any Hot Cue slot. As well, it introduced Effect Chains, a set of effects which can be saved and reloaded with all their parameters and individual Meta Knob mappings. For more, see the release page.

How to Install Latest Mixxx in Ubuntu via PPA:

The DJ software has an official PPA for Ubuntu, Linux Mint based systems. So far, it provides the latest 2.4.1 packages for Ubuntu 24.04, Ubuntu 22.04, Ubuntu 23.10, Ubuntu 20.04, and Linux Mint 20/21

1. Add Mixxx PPA

Open terminal either from app launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:mixxx/mixxx

Type your password (no asterisk feedback) when it prompts and hit Enter to continue.

2. Update package cache:

For Ubuntu 18.04, users need to manually refresh the package cache after adding new software sources. To do so, simply run command:

sudo apt update

3. Install or Upgrade Mixxx:

If an old Mixxx package was installed on your system, you may try upgrading the DJ software using Software Updater:

Or just run the command below in terminal to either install or upgrade the DJ software:

sudo apt install mixxx

Uninstall Mixxx:

You can easily remove the software by running command in terminal:

sudo apt remove --autoremove mixxx

And remove the PPA repository via Software & Updates, by removing relevant line utility under Other Software tab.

For security reason, user may disable printing of documents & files in Linux to prevent them from being photocopied and then shared. Here’s how to do the trick in Ubuntu or other Linux with GNOME desktop.

NOTE: after running steps below ALL applications’ “Print” dialog will no longer accessible either via keyboard shortcut or menu button. Though, this ONLY affect the current user in system!

After this tutorial, ‘Print’ dialog no longer available

Option 1: Single command to disable printing:

A single command is always the most efficient way to toggle a hidden option in Linux.

Firstly, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run command:

gsettings set org.gnome.desktop.lockdown disable-printing true

That’s it. The change takes effect immediately!

At any time, you may re-enable the ‘Print’ function by running command in terminal:

gsettings reset org.gnome.desktop.lockdown disable-printing

Option 2: Disable printing via Dconf Editor:

For those hate Linux commands, the advanced ‘Dconf Editor’ offers an option to toggle on/off the feature.

Firstly, search for and install ‘Dconf Editor‘ from Ubuntu Software:

Next, launch the tool and then navigate to ‘org/gnome/desktop/lockdown‘. Scroll down and find out the key “disable-printing“.

Finally TURN ON the slider for this key will disable printing for all apps for this user! As you see, there’s another key ‘disable-print-setup‘. With it enabled, print settings is no longer available for this user.

The first development release after Wine stable 7.0 was out. Here’s what’s new and how to install in Ubuntu Linux.

Wine 7.1 comes with the latest Vulkan 3D graphics v1.3 support for running high-performance real-time 3D graphics applications. The new driver features dynamic rendering, additional dynamic state, improved synchronization API, and device profiles.

Other changes include:

  • A number of theming fixes.
  • WebSocket improvements.
  • Improved cursor clipping on macOS.
  • IDL compiler fixes for C++.

There are as well a total of 42 bug-fixes for Windows apps including Siemens SIMATIC STEP 7, Final fantasy 7, Arx Fatalis, Rising Kingdoms, Far Cry 5, Age of Empires 3, and more!

Wine 7.1 configuration

How to install Wine 7.1 in Ubuntu:

The official Wine repository provides the packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10, Linux Mint 20, and their derivatives.

NOTE: Installing Wine Dev release will replace the stable package (if installed from same repository) in your system if any.

1. Enable 32 bit architecture

For modern 64-bit systems, you may first make sure the ability to install 32-bit app packages has been enabled.

To do so, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command:

sudo dpkg --add-architecture i386

2. Install the key:

To make your system trust the package from Wine repository, you have to download & install the key.

It’s can be done simply by running the command below in terminal:

wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -

Though the apt-key command is deprecated, it’s still working and the most efficient so far.

NOTE: The command may stuck with blinking cursor after downloading the key, if you run this command in another window or a few minutes after the last. It’s waiting for you to type password for ‘sudo’ authentication. Just type your password (no visual feedback) in mind and hit Enter.

3. Add Wine Repository:

Now in terminal window, run command to add the Wine repository:

sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'

NOTE: the command above is for ‘Ubuntu 20.04’ and ‘Linux Mint 20’ only!!! For other Ubuntu edition (check via lsb_release -a command), do change focal in the code with:

  • bionic for Ubuntu 18.04.
  • hirsute for Ubuntu 21.04.
  • impish for Ubuntu 21.10.

Say you’re running on Ubuntu 21.10, the command will be:

sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ impish main'

4. Install Wine 7.1:

Finally, refresh system package cache by running command:

sudo apt update

And, install Wine 7.1 via:

sudo apt install --install-recommends winehq-devel

Unmet dependency is a common issue while installing Wine in Ubuntu. In my Ubuntu 20.04, I never had the issue after manually installing the following packages:

sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386

Also, you may use aptitude (install it via sudo apt install aptitude) instead to print workarounds:

sudo aptitude install winehq-devel

Uninstall Wine 7.1:

To remove the wine packages, use command in terminal:

sudo apt remove --auto-remove winehq-devel

And remove the Wine repository using ‘Software & Updates‘ utility at Other Software tab.

That’s all. Enjoy!

For Ubuntu PC or laptop with a low resolution monitor, some app windows may be bigger than screen height, thus it’s NOT fully accessible especially for the bottom part.

This usually happens in some Qt apps and Gnome Extension settings dialog in my Ubuntu laptop with 1366×768 screen resolution. A workaround is moving the app window above the top of the screen. Here’s how to do the trick in Ubuntu!

Move app window above screen top

Option 1: Super + Drag

Normally, dragging an app window will maximize it when hitting top bar in Ubuntu Linux.

However, by press and holding Super (aka Windows) key on keyboard, it supports for clicking down anywhere of an app window and moving the pointer to drag it above the screen top.

Option 2: Alt + F7

Without holding any keyboard and/or mouse key, there’s also Alt+F7 keyboard shortcut can do the trick.

Once you press the key combination on keyboard, the current window will be caught via a little hand icon (🤚) in center. Then, just move the mouse pointer will move the app window to anywhere, even above the top of the screen. To release it, just do a single click afterwards.

That’s all. If you know any other method to deal with the issue that app height is bigger than screen size, tell me by leaving a comment here!

Want some cool desktop animations? the ‘Burn My Windows’ extension added some more animation effects for Ubuntu 20.04+, Fedora workstation, and other Linux with GNOME 3.36+.

Previously when user clicks to close an app window, the extension applies a burning window down effect.

Now, more effects have been added to disintegrate your apps in Ubuntu Linux with style. They are: ‘Energize’, ‘TV Effect’, ‘Wisps’, ‘Matrix’, and ‘T-Rex-Attack’.

See the short videos for new effects when closing app windows:

There’s also new “Broken Glass” effect in upcoming release to shatter your windows into a shower sharp shards!

For each animation, there’s a setting page to change the animation speed, scale, color, etc.

Burn My Windows settings (via Gnome Extensions App)

Install Burn Windows Effect:

1. Ubuntu user needs to first press Ctrl+Alt+T on keyboard to open terminal, and run command to install the ‘chrome-gnome-shell’ package:

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

Also install ‘gnome-shell-extension-prefs’ package for the settings dialog:

2. In your web browser, go to the extension web page and turn on the toggle icon to install it:

NOTE: Ubuntu 21.10 has Firefox as Snap package by default, which does not support installing Gnome Extensions so far. Use another browser or install Firefox as native DEB.

Don’t see the toggle icon? Use the ‘Click here to install browser extension‘ link to install browser extension and refresh the page.

After installation, search for and open ‘Gnome Extensions‘ app from activities overview screen:

Manage Gnome Extensions

When the app opens, click the gear button for ‘Burn My Windows’ and select your favorite animation!

Want to play some games in Ubuntu desktop? Gamebuntu is a new project to make life easier for beginners!

Without searching for how to tutorials and struggling with Linux commands, Gamebuntu is an all-in-one app makes it possible to single click to install Steam, Heroic / Epic Game launcher, Minigalaxy GOG client, and/or Lutris game clients.

Install Game Clients via Single clicks!

The app also offer buttons to easily install other useful apps for setting up Ubuntu for gaming. They include:

  • OBS Studio for streaming purpose
  • Discord for chatting
  • MangoHUD for system details, frame time and FPS counter.
  • GameMode to optimize game performance,
  • OpenRGB to configure coolers and RAM modules with RGB.
  • Piper to configure gaming peripharals.
  • Polychomatic to configure Razer devices.
  • Noise Torch – real-time microphone noise suppresstion.
  • Low latency / xanmode kernel for critical runtime applications

And if the NVIDA proprietary drivers installed, it will offer shortcut for configuring Nvidia driver settings.

Install Gamebuntu:

Gamebuntu is a free open-source project in earlier stage. It’s so far recommended for Ubuntu 20.04 LTS only. The source code is hosted in gitlab page.

The developer used to provide the .AppImage package, so the app itself may run without installation.

Sadly, it makes itself NOT easy to beginners to install. See installation instructions in the project page:

And to keep track of the project, you may get in touch with the software developer by visiting this thread.

For Ubuntu and Linux Mint users, the latest Enlightenment DR 0.25 now is easy to install via an unofficial Ubuntu PPA.

Enlightenment (aka, E) released version 0.25 (then v0.25.1) as well as Enlightenment Foundation Libraries (EFL) 1.26 a few weeks ago. Here’s how to install them in Ubuntu via PPA.

E 0.25 series comes with lots of minor bug fixes, flat look to match new flat theme, new touchpad gesture recognition bindings, new Procstats module can show mem/CPU usage in titlebar, and many more other changes.

Install Enlightenment 0.25.1 via PPA:

The trustworthy, but unofficial Niko2040’s PPA is back almost 4 years after the last update!!!

Thanks to the maintainer, user may now do following steps to install the latest Enlightenment while Ubuntu repositories always provide old versions.

1. Add Enlightenment PPA

Firstly, either press Ctrl+Alt+T on keyboard or search for and open terminal from start menu (‘Activities’ overview).

When terminal opens, run the command below to add the PPA:

sudo add-apt-repository ppa:niko2040/e19

Type user password (no asterisk feedback) when it asks and hit Enter to continue.

2. Update package cache:

Ubuntu 18.04 and some old Ubuntu based systems may need to manually refresh the package cache after adding PPA. To do so, simply run command in terminal:

sudo apt update

3. Install Enlightenment:

Finally run command in terminal to install the desktop and EFL libraries:

sudo apt install enlightenment

For choice, the latest terminology package is also available to install via the PPA.

After installation, log out and click on the bottom-right corner gear button to choose login via ‘Enlightenment’ session.

Uninstall Enlightenment:

To remove the Ubuntu PPA as well as downgrade the Enlightement package to its original version, use command below to purge it:

sudo apt install ppa-purge && sudo ppa-purge ppa:niko2040/e19

Or, remove the desktop package as well as dependencies via command:

sudo apt remove --autoremove enlightenment

And remove the Ubuntu PPA either via ‘Software & Updates’ utility or by running command in terminal:

sudo add-apt-repository --remove ppa:niko2040/e19

When clicking a magnet link in Chrome browser, it pops-up with “Open xdg-open” option allows to launch the default app to start the downloading.

Unlike Firefox, Google Chrome does not offer an option to choose which app to handle the link. Instead, it launches the default app directly. For those want to change this default app to handle magnet links, here’s how to do the trick in Ubuntu.

Click “Open xdg-open” to open link via default app

Step 1: Tell the default app for magnet links:

Firstly, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run the command below will tell the default app for magnet links:

xdg-mime query default x-scheme-handler/magnet

Here xdg-mime is the standard wrapper. User may also run this command instead, which will also output the registered applications:

gio mime x-scheme-handler/magnet

Tell the default app for magnet

Step 2: Set/Change the default app for magnet links:

As the previous steps shows, the both command also support for changing the default app. Say set “QBittorrent” as default app for magnet link, use command:

xdg-mime default org.qbittorrent.qBittorrent.desktop x-scheme-handler/magnet

Or use command:

gio mime x-scheme-handler/magnet org.qbittorrent.qBittorrent.desktop

For any other app, replace org.qbittorrent.qBittorrent.desktop in the previous commands via the .desktop file. You may even set an un-registered app as default, and gio command will register it automatically.

In addition, in case you don’t know the filename of the .desktop file for your app, try running following commands one by one to find it out:

  • First, open terminal and run command to install mlocate (or plocate for 22.04 & higher):
    sudo apt install mlocate plocate
  • Then, update the database:
    sudo updatedb
  • Finally, search the .desktop file for your torrent app:
    locate "*ransmission*desktop"

    In command, replace ransmission with the keyboard for yours. Its case sensitive! I skipped the first letter because which one (‘T’ or ‘t’) is in use for the file-name.

Most torrent clients today have ability to detect clipboard for magnet links. However, after copied an URL link, user has to manually open the downloading app and then click ‘Open URL’ (or ‘Add Torrent Link’) option to let it paste the link automatically.

Instead of using web browser pop-up to choose app to open an URL, KDE desktop has a built-in feature ‘Klipper Actions‘ that detects clipboard contents and automatically pops-up a menu allows to open link with desired app.

Picture 1: Click the pop-up option will automatically launch the app and open the link from clipboard

So just copy a magnet link. It opens the previous context menu (see the picture above) automatically, allows to click the menu option to launch your desired app and open the URL.

Setup the Klipper Actions for Magnet link in KDE:

1.) Firstly, find out the ‘Clipboard’ indicator in system tray on panel (or click the ‘triangle‘ icon). Then right-click on the icon and choose ‘Configure Clipboard‘.

Open Klipper settings

2.) When the settings dialog opens, go to ‘Actions‘ in left pane and click on ‘Add Actions‘ button.

Add a Klipper action

3.) In next dialog, do:

  • input regular expression ^magnet:.*. It means any content started with ‘magnet:‘ (without quotes). See more about regular extension.
  • Add description (optional).
  • Click ‘Add Command’ and use qbittorrent %s or ktorrent %s. Use any torrent client as you prefer.
  • Type description for command (will display as text in pop-up menu).

4.) After adding an action, the settings dialog will look like the screenshot below. Here I added two actions to handle magnet link and url ends with torrent with qBittorrent client.

Actions for magnet links and url ends with .torrent

After clicking Apply (OK), copy a magnet link and the menu should pop-up automatically, allows to single click launching qBittorrent and open the download.

And, there are keyboard shortcuts: Ctrl+Alt+X to enable/disable Klipper actions, and Ctrl+Alt+R to trigger the menu (Picture 1) manually.