Archives For November 30, 1999

This simple tutorial shows how to add a “Show Desktop” icon to the top panel in Ubuntu 22.04 and Ubuntu 24.04 with default Wayland session.

I’ve written about how to add ‘Show Desktop’ to the left dock panel, however, it works for the class Xorg session only. Since 22.04, Ubuntu switched to Wayland as its default display server. If you switched back to Xorg (via the gear icon in login screen), then this tutorial still works.

For GNOME (the default desktop) on Wayland, the thing can be done via a simple extension. And, here’s how to do it step by step.

Step 1: Install Extension Manager

Ubuntu has an “Extension Manager” tool in system repository, which allows to easily install and manage Gnome Shell extensions.

First, search for and install the tool from either Ubuntu Software or App Center, depends on your Ubuntu edition.

Install Extension Manager in Ubuntu Software/App Center

Or, press Ctrl+Alt+T on keyboard to open terminal, and run single command to install the tool:

sudo apt install gnome-shell-extension-manager

Step 2: Install the ‘Show Desktop’ button extension

After installing the Extension Manager, search for and launch it from the overview screen.

When the tool opens, navigate to ‘Browse’ tab, finally search and install the “Show Desktop Button” extension.

A ‘Home’ icon should appear immediately on the top-panel after installed the extension. By clicking on it, will hide (or show) all open app windows.

For choice, you can switch back “Installed” tab in Extension Manager, and open the preferences dialog for the extension. In which, you can choose to place the ‘Show Desktop’ icon in left, far left, center, right, or far right corner.

In addition, you may also install “Just Perfection” extension using Extension Manager. Which provides an Panel Button Padding Size option under Customize tab, to make the top-right panel icons look more compact.

That’s all. Enjoy!

For those who prefer the new ‘App Center’ in Ubuntu 23.10 and Ubuntu 24.04, it’s easy to install it in Ubuntu 22.04 and here’s how!

The new App Center is also the snap-store but re-built with Google’s Flutter UI toolkit. It’s fast and always works!

With it, the software app will never stuck at “Downloading Software catalog” or the spinning loading circle.

The App Center supports both Snap and native Debian (.deb) packages in Ubuntu 23.10/24.04, however, in my tests, searching Debian package always show me “No results found” in 22.04. If you know how to fix the issue, please leave a comment here.

App Center dark mode

App Center light mode

How to Install the new App Center in Ubuntu 22.04

NOTE: The NEW App Center so far lacks ability to install local .deb package!!

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

snap refresh snap-store --channel=latest/stable/ubuntu-24.04

This command may fail and output something look like: snap ‘snap-store’ has running apps, pids: 2205. In the case, just kill snap-store using the ID number (replace 2205 to yours):

sudo kill -9 2205

Then, re-run the snap refresh command.

2. After that, just press Super (windows logo) key to open overview screen, search and launch “App Center”.

How to Restore

To revert back the previous ‘Ubuntu Software’, also press Ctrl+Alt+T on keyboard to open terminal and run command:

snap refresh snap-store --channel=latest/stable/ubuntu-22.04

For those who prefer the old system font, now it’s easy to get it in Ubuntu 23.10 via a new package!

Since Ubuntu 23.04, Ubuntu takes use a new slim font for the text in system menus, documents, and app windows.

Some users do NOT like the change, because the new font is thin and hard to focus on. And, I’ve written about how to get the previous font back in Ubuntu 23.04.

Now, Ubuntu 23.10 includes a new package fonts-ubuntu-classic in system repository. Make it easy to do the job even without a system restart.

Install the Classic Font in Ubuntu 23.10

To install the font, simply press Ctrl+Alt+T on keyboard to open terminal.

When terminal opens, run command:

sudo apt install fonts-ubuntu-classic

Run sudo apt update to update package cache if it says package not found.

After installation, your system font change without restart! For opened app windows, you need to close and re-open them. For ‘Files’, just run nautilus -q to reload.

(Optional) Install ‘fonts-ubuntu-console’

The package above does not install the old font for the command console.

For choice, you may download the package for Ubuntu 22.04:

wget https://launchpad.net/ubuntu/+archive/primary/+files/fonts-ubuntu-console_0.83-6ubuntu1_all.deb

Then, install it via:

sudo apt install ./fonts-ubuntu-console_0.83-6ubuntu1_all.deb

How to Uninstall

To restore the system default fonts, just open terminal (Ctrl+Alt+T) and run command to install the stock font packages back:

sudo apt install fonts-ubuntu fonts-ubuntu-console

This simple tutorial shows how to reset Ubuntu Dock, the left panel, to its original status in Ubuntu 22.04 & Ubuntu 23.10.

As you may know, Ubuntu Dock (aka Dash-to-Dock) is an extension to the GNOME Desktop. It has many configure options, however most of them are hidden.

In Ubuntu 23.10, it finally provides a preference dialog to configure its appearance with full options. See HERE for how to get it.

Ubuntu Dock preference dialog

The preference dialog so far does not have ‘Reset’ buttons. If you messed thing up or want to restore Ubuntu Dock to factory setting, then this tutorial may help!

Reset Ubuntu Dock

The steps below should work in all current Ubuntu releases, include other Gnome-based Linux (such as Manjaro) using Dash-to-dock extension.

Option 1: Single command to reset Ubuntu Dock

Without installing anything, running a single command in terminal window can do the job.

First, open terminal either by searching from the overview screen, or by pressing Ctrl+Alt+T shortcut key on keyboard.

When terminal opens, copy and paste the command below and hit Enter.

dconf reset -f /org/gnome/shell/extensions/dash-to-dock/

The command above resets Ubuntu Dock, but leaves your favorite apps (pinned app icons) unchanged.

If you want to also reset the app icons on the Dock, run command:

gsettings reset org.gnome.shell favorite-apps

Option 2: Use Dconf Editor (graphical way)

For a graphical way, the advanced ‘Dconf Editor’ configuration tool can do the job.

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

Or, install it by running a command in terminal:

sudo apt install dconf-editor

Then, launch Dconf Editor by searching from the overview screen.

When it opens, navigate to ‘org/gnome/shell/extensions/dash-to-dock‘. Finally, click on ‘≡’ menu, select “Reset visible keys“, and click “Apply” button in bottom.

To reset the app icons, go to ‘org/gnome/shell/favorite-apps‘, turn on “Use default value” and finally click Apply.

That’s all. Enjoy!

For best integration, the LibreOffice PPA is finally updated with the LibreOffice 7.6.x packages for Ubuntu.

LibreOffice 7.6 was released almost one months ago. It features document themes support, zoom gestures in the main view, new “Page Number Wizard” dialog for Writer, new compact layout for pivot tables in Calc, and various other changes. See release note for details.

LibreOffice provides official packages through Flatpak in Flathub.org, Snap in Ubuntu Software. However, both run in sandbox. It also provides official .deb packages, which are however build against a very old baseline for maximum compatibility.

For those hate the office suite run in sandbox, the LibreOffice PPA maintained by Ubuntu members is the best choice. Though, it always has quite a few or even weeks delay for the new major release packages. And, LibreOffice 7.6 is finally available via the PPA, after almost 4 weeks by releasing the first point 7.6.1 version.

Install LibreOffice 7.6 (7.6.1 so far) in Ubuntu via PPA

1. First, press Ctrl+Alt+T on keyboard to open a terminal window. When terminal opens, run command to add the PPA:

sudo add-apt-repository ppa:libreoffice/ppa

Type user password (no asterisk feedback) when it asks and hit Enter to continue. NOTE: the new release is available for Ubuntu 22.04, Ubuntu 23.04, Ubuntu 23.10, and derivatives at the moment.

2. After adding the PPA, just search for and launch “Software Updater” (or Update Manager), then update the packages from the pre-installed office suite.

Or, run the command below in terminal instead:

sudo apt install libreoffice

Linux Mint needs to run sudo apt update first to update package index first.

Uninstall/Restore

To uninstall the packages, just purge the PPA, which will also downgrade LibreOffice to the original pre-installed versions depend on your Ubuntu edition.

To do so, open terminal (Ctrl+Alt+T) and run commands:

  • install PPA purge tool:
    sudo apt install ppa-purge
  • purge LibreOffice PPA:
    sudo ppa-purge ppa:libreoffice/ppa

Have many extensions installed on your GNOME desktop? Here’s a new tool to help managing them with a more efficient way.

Without launching Gnome Extensions app or Extension Manager every time, the new “Glass Grid” allows user to either press a keyboard shortcut or click the indicator on panel to quickly trigger an overview of all the installed extensions.

Then, user can either click on extension name to open its preference dialog. Or, use the buttons right beside them to turn on/off, refresh or configure extensions. There’s also a global ON/OFF switch in top-right to toggle all extension with one click. If you have too many extensions more than a page capacity, it supports scrolling horizontally with either mouse or keyboard arrow keys.

The extension grid view can be triggered either via keyboard shortcut or indicator applet. And, it will disappear when pressing Esc or clicking anywhere outside. It has a dark mode layout, and support quick launching extensions.gnome.org and Gnome Extensions app (if installed) via header buttons.

Extension Glass Grid dark layout

How to Install the ‘Glass Grid’ extension in GNOME

The extension so far supports GNOME 42, 43 & 44. Meaning, you can install it in Ubuntu 22.04/23.04, Fedora Workstation, Debian 12, and Arch etc with GNOME.

For Ubuntu, first search for and install “Extension Manager” from Ubuntu Software.

Install Extension Manager in Ubuntu 22.04+

Then, launch “Extension Manager” and navigate to ‘Browse’ tab. Finally, search for and install the Extensions Glass Grid extension.

For other Linux with GNOME, just go to link below in your web browser:

Then, use the ON/OFF switch to install it. If you don’t see the toggle switch, then install browser extension and refresh the page.

Once you installed the extensions, either click top-right corner indicator or press Super (Windows Logo key) + E to trigger the grid view and enjoy!

The popular free open-source Kdenlive video editor released version 23.08.0 more than a week ago. For those who are sticking to the native .deb package format, the official Ubuntu PPA finally updated with the new release package!

Kdenlive 23.08.0 introduced 2 new effects Audio Seam and Auto Fade, added AV1 NVENC profile, and had bug-fixes to Whisper engine with Nvidia GTX 16xx series.

There are also some usability improvements, such as new “Fit all tracks in view” context menu option, Shift + z shortcut adjusts timeline zone to selected clips, and keyboard shortcut to toggle between timeline tabs. See the release note for more details.

How to Install Kdenlive 23.08 in Ubuntu:

Kdenlive provides official Linux packages through AppImage, Flatpak, and Ubuntu PPA.

While the first two run in sandbox, the last PPA is a good choice for Ubuntu/Linux Mint users, which so far supports Ubuntu 22.04, Ubuntu 23.04, and Ubuntu 23.10.

1. First press Ctrl+Alt+T on keyboard to open terminal, or search for and launch ‘Konsole‘ from start menu in KDE. When it opens, run command:

sudo add-apt-repository ppa:kdenlive/kdenlive-stable

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

2. After adding PPA, user can either open Software Updater (or Update Manager) to update the software package from an existing version:

Or run the command below to install or update the video editor:

sudo apt install kdenlive

NOTE: Linux Mint user has to run sudo apt update first to manually refresh package cache

And, if you got overwriting files issue due to the old dependencies: libmlt-data and melt, run command to remove them and then re-run the apt command above:

sudo dpkg -r melt libmlt-data

Once installed, press Super (Windows logo key) to open ‘Activities’ overview or start menu, and search for and open Kdenlive.

Uninstall Kdenlive

To remove Kdenlive, either use your system package manager or run the command below in a terminal window:

sudo apt remove --autoremove kdenlive

And remove the Ubuntu PPA either by running command in terminal:

sudo add-apt-repository --remove ppa:kdenlive/kdenlive-stable

Or use “Software & Updates” utility to remove the source line under “Other Software” tab.

This simple tutorial shows how to install the latest Firefox Nightly in all current Ubuntu releases!

Firefox Nightly is the bleeding edge version of the web browser that updates twice a day. It contains features that are still in developments months or even years before they become mainstream.

The Nightly build is more likely to crash than the stable release. For testing purpose or power-user who prefer the very latest features, here you can install Firefox Nightly via 3 ways!

 

Method 1: Install Firefox Nightly via Snap package

The easiest way to get Firefox Nightly is using the Snap package. It receives updates automatically, however, will override the pre-installed Firefox, by updating it to the latest edge channel.

Ubuntu 22.04 and higher users, can simply open Ubuntu Software (or App Center). Search Firefox and switch channel/source to “latest/edge”.

Or, press Ctrl+Alt+T on keyboard to open terminal. When terminal opens, run the command below instead to install Firefox Nightly:

snap refresh firefox --channel=latest/edge

NOTE: The Snap package will take use the previous profile. In the case, you can open about:profiles page, then create a new profile and set it as default.

Method 2: Use New Apt Repository

Mozilla announced new official apt repository recently. It contains the .deb package of most recent Firefox Nightly package for all current Ubuntu and Debian releases.

1. First, press Ctrl+Alt+T on keyboard to open terminal. When terminal opens, run command to download & install the key for that repository:

wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | gpg --dearmor | sudo tee /etc/apt/keyrings/packages.mozilla.org.gpg > /dev/null

2. Next, add the apt repository by running the single command below:

echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.gpg] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null

This command will create the ‘mozilla.list‘ file under /etc/apt/sources.list.d directory and write the source line into it.


3. Finally, refresh the system package cache:

sudo apt update

And, install the Nightly build of Firefox from that repository by running command:

sudo apt install firefox-nightly

Method 3: Install Firefox Nightly via Ubuntu PPA

For choice, there’ a daily build PPA maintained by Ubuntu members. Which, so far supports Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.10, and Ubuntu 24.04

The PPA is a good choice, since it contains native .deb package. It will NOT override any other Firefox Stable package (neither deb nor snap), and uses its own profile for storing user data.

1. To add the PPA, first press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa

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

2. Linux Mint user needs to manually update the system package cache after adding PPA, though its done automatically in Ubuntu 20.04 and higher:

sudo apt update

3. Finally, install the Firefox Nightly build by running command:

sudo apt install firefox-trunk

After installing the package, launch it from ‘Activities’ overview screen or app menu depends on your desktop environments. And, you can use “Software Updater” (or Update Manager) every day to keep the package up-to-date.

Uninstall Firefox Nightly

For the Snap package, just open terminal and run command will restore to the pre-installed Firefox package:

snap refresh firefox --channel=latest/stable

However, the restored Firefox Snap will create a new user profile instead of using the original one, though you can manually backup and restore your important data.

For the apt repository package, open terminal (Ctrl+Alt+T) and run command to remove it:

sudo apt remove --autoremove firefox-nightly

To remove the source repository, just delete the source file and key by running the 2 commands below one by one:

sudo rm /etc/apt/sources.list.d/mozilla.list
sudo rm /etc/apt/keyrings/packages.mozilla.org.asc

And, refresh system package cache via sudo apt update to apply change.

For the PPA package, run the command below to remove it:

sudo apt remove --autoremove firefox-trunk

Also remove the Ubuntu PPA by either running command:

sudo add-apt-repository --remove ppa:ubuntu-mozilla-daily/ppa

or use “Software & Updates” utility under ‘Other Software’ tab by removing the source line.

This simple tutorial shows how to install the latest PyCharm IDE (2024.2 updated) in Ubuntu 22.04, and Ubuntu 24.04.

The PyCharm Python IDE released version 2024.1 a few days ago. The new release features:

  • Documentation previews for Hugging Face models and datasets
  • local ML-based full line code completion for JavaScript and TypeScript
  • sticky lines in the editor
  • in-editor code review
  • New Terminal in Beta.
  • And new AI assistant functionality (Pro only)

The new release is available to install in Ubuntu via different ways. They include Snap, Flatpak, official tarball, and Ubuntu PPA. Choose either one that you prefer.

Method 1: Install PyCharm via Snap package

JetBrains provides official Linux package through both Snap and tarball. Which is super easy to install for Ubuntu users.

The Snap package Features:

  • Official package by JetBrains.
  • Run in sandbox environment.
  • amd64 (x86_64) only.

For all current Ubuntu releases, just launch Ubuntu Software (or App Center), then search and install pycharm-community or pycharm-professional.

Or, run command below in a terminal window (Ctrl+Alt+T) instead to install the package:

snap install pycharm-community --classic

The snap package installs updates automatically. To manually check (and install if any) updates, use command:

snap refresh pycharm-community

Method 2: Install PyCharm via Flatpak package

Another easy way to install PyCharm is using Flatpak package. Which works in most Linux, though also run in sandbox environment.

The Flatpak package Features:

  • Community maintained.
  • Run in sandbox environment.
  • amd64 (x86_64) and arm64 support.

Ubuntu users just need to press Ctrl+Alt+T on keyboard to open terminal. Then run the 2 commands below one by one to install the package.

  • First, run command to install the Flatpak daemon:
    sudo apt install flatpak

  • Then, run the command below to install PyCharm as Flatpak:
    flatpak install https://dl.flathub.org/repo/appstream/com.jetbrains.PyCharm-Community.flatpakref

    You may replace Community in command with Professional to install the professional edition.

If you’re first time installing app as Flatpak, log out and back in for the app icon visible in system app launcher.

To update the Flatpak package, use command:

flatpak update com.jetbrains.PyCharm-Community

Method 3: Install PyCharm via Official Tarball

If you don’t like or have issue for the IDE running in sandbox, then use the official Linux tarball instead!

The Linux Tarball Features:

  • Official package by JetBrains.
  • Portable, no installation required.
  • amd64 (x86_64) and arm64 support.

1. First, go to the official download page via the link below:

Depends on you needs, either download the Professional, or scroll down and select the Community edition. For ARM64, click the down arrow (▿) icon to select from drop-down menu.

2. After downloaded the tarball, just extract and move the source folder to any location that you want for long time use.

In my case, I created a “Apps” folder in user home, and put PyCharm source folder into it as sub-directory.

3. Without installation, you can now go to the ‘bin‘ sub-folder, right-click on “pycharm.sh” and select “Run as Program” to launch the IDE.

4. Create app shortcut, so to launch from start/application menu.

  • First, press Ctrl+H in file manager and navigate to .local/share/applications directory. Then, create a new document and re-name to ‘pycharm.desktop’.For choice, you may open terminal (Ctrl+Alt+T) and run command to create the file instead:
    gedit ~/.local/share/applications/pycharm.desktop

    Replace gedit with gnome-text-editor for Ubuntu 24.04 or other text editor according to your desktop environment. Or use nano that works in most desktops

  • Then, paste following lines into the file you just created and save it.
    [Desktop Entry]
    Name=PyCharm Community
    Exec=/path/to/pycharm-executable-file
    Icon=/path/to/pycharm-icon-file
    Terminal=false
    Type=Application
    Categories=Application;Development;
    Keywords=ide;python;charm;
    StartupWMClass=jetbrains-pycharm-ce

    Here, you need to replace the values of ‘Exec‘ and ‘Icon‘ according where you put the source folder. And, change ‘Name’ value for Professional edition.

If everything’s done correctly, you can then search for and launch PyCharm from app launcher or the overview screen depends on your DE a few moments later:

Method 4: Install PyCharm .deb package via Ubuntu PPA

Another choice to avoid Snap and Flatpak, is using an Ubuntu PPA. However, there are only third-party maintained PPAs.

The PPA features:

  • Third-party maintained.
  • PyCharm Community only so far.
  • amd64 (x86_64) only so far.
  • supports Ubuntu 22.04, Ubuntu 24.04 only so far.

As far as I know, the xtradeb PPA is keeping updated with the most recent packages including PyCharm Community.

To install PyCharm from the PPA, press Ctrl+Alt+T on keyboard to open terminal. And, run commands below one by one:

  • Add the PPA by running command:
    sudo add-apt-repository ppa:xtradeb/apps

  • Then install the IDE:
    sudo apt install pycharm-community

NOTE: Linux Mint user needs to run sudo apt update after adding PPA to manually refresh system package cache.

Uninstall PyCharm

For the Snap package, just remove it from Ubuntu Software or App Center, or use command:

snap remove --purge pycharm-community

For the Flatpak package, open terminal (Ctrl+Alt+T) and run command to remove it:

flatpak uninstall --delete-data com.jetbrains.PyCharm-Community

And, run flatpak uninstall --unused to remove useless run-time libraries.

For PyCharm installed via the official Tarball, just remove the source folder as well as .desktop file under .local/share/applications directory.

For the Ubuntu PPA package, open terminal and run command to remove it:

sudo apt remove --autoremove pycharm-community

Also remove the Ubuntu PPA by running command:

sudo add-apt-repository --remove ppa:xtradeb/apps

This simple tutorial shows how to install the latest Intellij IDEA 2024.3 in Ubuntu 22.04 and Ubuntu 24.04.

IntelliJ IDEA 2024.2 was released on November 13, 2024. See the release note for the new features.

Key highlights include a visual representation of your code’s logical structure in the Structure tool window, a smoother debugging experience for Kubernetes applications, and cluster-wide Kubernetes log access.

Intellij IDEA is available to install in Ubuntu via different ways. They include Snap, Flatpak, official tarball, and Ubuntu PPA. Choose either one that you prefer.

Method 1: Install Intellij IDEA via Snap package

JetBrains provides official Linux package through both Snap and tarball. Which is super easy to install for Ubuntu users.

The Snap package Features:

  • Official package by JetBrains.
  • Run in sandbox environment.
  • amd64 (x86_64) only.

For all current Ubuntu releases, just launch Ubuntu Software (or App Center), then search and install ‘Intellij IDE Community, Ultimate, or Educational.

For choice, you may press Ctrl+Alt+T on keyboard to open terminal, and run command instead the install the Snap package:

snap install intellij-idea-community --classic

The snap package installs updates automatically. You can check (and install if any) updates manually by running command:

snap refresh intellij-idea-community

Method 2: Install Intellij IDEA via Flatpak package

Another easy way to install the IDE is using Flatpak package. Which works in most Linux, though also run in sandbox environment.

The Flatpak package Features:

  • Community maintained.
  • Run in sandbox.
  • amd64 (x86_64) and arm64 support.

Ubuntu users just need to press Ctrl+Alt+T on keyboard to open terminal. Then run the 2 commands below one by one to install the package.

  • First, run command to install the Flatpak daemon:
    sudo apt install flatpak

  • Then, run the command below to install IDEA as Flatpak:
    flatpak install https://dl.flathub.org/repo/appstream/com.jetbrains.IntelliJ-IDEA-Community.flatpakref

    You may replace Community in command with Ultimate to install the Ultimate edition.

And, if you’re first time installing app as Flatpak, log out and back in for the app icon visible in system app launcher.

To update the Flatpak package, use command:

flatpak update com.jetbrains.IntelliJ-IDEA-Community

Method 3: Install IntelliJ IDEA via Official Tarball

If you don’t like or have issue for the IDE running in sandbox, then use the official Linux tarball instead!

The Linux Tarball Features:

  • Official package by JetBrains.
  • Portable, no installation required.
  • amd64 (x86_64) and arm64 support.

1. First, go to the official download page via the link below:

Depends on your need, either download the Ultimate, or scroll down and select the Community edition. For ARM64, click the down arrow (▿) icon to select from drop-down menu.

2. After downloaded the tarball, just extract and move the source folder to any location that you want for long time use.

In my case, I created a “Apps” folder in user home, and put IDEA source folder into it as sub-directory.

3. Without installation, you can now go to the ‘bin‘ sub-folder, right-click on “idea.sh” and select “Run as Program” to launch the IDE.

4. Create app shortcut, so to launch from start/application menu.

  • First, press Ctrl+H in file manager and navigate to .local/share/applications directory. Then, create a new document and re-name to ‘idea.desktop’.For choice, you may open terminal (Ctrl+Alt+T) and run command to create the file instead:
    gedit ~/.local/share/applications/idea.desktop

    Replace gedit with gnome-text-editor for Ubuntu 24.04, or other text editor according to your Ubuntu edition and desktop environment.

  • Then, paste following lines into the file you just created and save it.
    [Desktop Entry]
    Version=1.0
    Type=Application
    Name=IntelliJ IDEA Community Edition
    Comment=Develop with pleasure!
    Exec=/PATH/TO/IDEA/EXECUTABLE
    Icon=/PATH/TO/IDEA/ICON-FILE
    Terminal=false
    StartupNotify=true
    StartupWMClass=jetbrains-idea-ce
    Categories=Development;IDE;Java;

    Here, you need to replace the values of ‘Exec‘ and ‘Icon‘ according where you put the source folder. And, change ‘Name’ value for Ultimate edition.

If everything’s done correctly, you can now search for and launch the IDE from app launcher or the overview screen depends on your DE a few moments later:

Method 4: Install IntelliJ IDEA via Ubuntu PPA

Another choice to avoid Snap and Flatpak, is using an Ubuntu PPA. However, there are only third-party maintained PPAs.

The PPA features:

  • Third-party maintained.
  • IDEA Community only.
  • amd64 (x86_64) and arm64.
  • supports Ubuntu 22.04, 24.04 only so far.

As far as I know, the xtradeb PPA is keeping updated with the most recent packages including the IDEA Community.

To install the IDE from the PPA, press Ctrl+Alt+T on keyboard to open terminal. And, run commands below one by one:

  • Add the PPA by running command:
    sudo add-apt-repository ppa:xtradeb/apps

  • Then install the IDE:
    sudo apt install intellij-idea-community

NOTE: Linux Mint user needs to run sudo apt update after adding PPA to manually refresh system package cache.

Uninstall IntelliJ IDEA

For the Snap package, just remove it from Ubuntu Software or App Center.

For the Flatpak package, open terminal (Ctrl+Alt+T) and run command to remove it:

flatpak uninstall --delete-data com.jetbrains.IntelliJ-IDEA-Community

And, run flatpak uninstall --unused to remove useless run-time libraries.

For IDEA installed via the official Tarball, just remove the source folder as well as .desktop file under .local/share/applications directory.

For the Ubuntu PPA package, open terminal and run command to remove it:

sudo apt remove --autoremove intellij-idea-community

Also remove the Ubuntu PPA by running command:

sudo add-apt-repository --remove ppa:xtradeb/apps