Tag: linux
[Linux Mint] Start Applications minimized (start in tray)
The fact that some applications do not start minimized (in tray) at system startup has been annoying me for quite some time. I find it even more annoying that you can’t simply set this directly via a checkbox in the Startup Applications for each application. The problem seems to be that each application has a different parameter for this, and therefore it cannot be done generally by the operating system (at least that’s my guess). I have therefore researched the necessary parameters for the applications I use. Simply add the parameter at the end of the Startup Applications command. For some applications, you can also activate it directly in the specific settings.
Application | Setting / Command |
Bitwarden (Flatpack) | File ⇾ Settings ⇾ App Settings ⇾ Start to tray icon |
Netxcloud | –background |
Signal | File ⇾ Preferences ⇾ General ⇾ System ⇾ Start minimized to system tray |
Steam | -silent |
Syncthing GTK | –background |
Telegram | -autostart -startintray |
Transmission remote GUI | -hidden |
Helpful discussion: https://askubuntu.com/questions/663187/how-can-i-run-a-program-on-startup-minimized
[Linux Mint] Transmission Remote GUI: download directory path is not absolute
Every few months, I run into this issue when adding a torrent to transgui:
Although there is a 5-year-old closed issue on this bug, which also led to a code adjustment, this bug still seems to exist: https://github.com/transmission-remote-gui/transgui/issues/1270
The user Kethsar has probably already found the right cause and gives some hints on how to solve it. At least it helped me to find a workaround:
- close transgui if it’s running, otherwise your changes will get overwritten again
- nano ~/.config/Transmission\ Remote\ GUI/transgui.ini
- search for the
[AddTorrent.transmission]
section - remove some entries which a related, e.g.
Folder1=/my/path/1
FolHit1=1
FolExt1=
LastDt1=18.02.2024
Folder2=/my/path/2
FolHit2=3
FolExt2=
LastDt2=18.02.2024
...
- save & quit nano
- start trangui again and try to add a torrent again
It seems like the issues occurs, when the [AddTorrent.transmission]
section reaches Folder50
.
[Linux Mint] Fix audio cracking after suspend mode
https://www.reddit.com/r/linuxmint/comments/15u4z09/i_use_pulseaudio_k_way_too_often/
sudo apt remove speech-dispatcher -y
[Linux Mint] Sharkoon PureWriter Keyboard not recognized after suspend
In January 2020 I bought a Sharkoon PureWriter Keyboard and since then I had the problem that the keyboard got not recognized after my PC (which runs on Linux Mint) was coming back from suspend mode. Back then I couldn’t find a solution and was just hoping that a newer kernel release will fix this problem in the future. But it did not. So today I was searching again and stumbled again across this post, but now I noticed the new answer from April this year. And it finally solved it!
First check with usbreset
for the device name and then create the script under the following path:
sudo micro /lib/systemd/system-sleep/reset-keyboard
#!/bin/sh
case $1 in
post)
usbreset "USB-HID Keyboard"
;;
esac
And as a last step we make it executable:
sudo chmod +x /lib/systemd/system-sleep/reset-keyboard
[Linux Mint] Transmission Remote GUI: OpenSSL error
When using Transgui and your are receiving the following OpenSSL library error:
It can easily be fixed by installing libssl-dev.
apt install libssl-dev
Worked for me on the following setup:
- Linux Mint 20.1
- transgui 5.18.0
- transmission-daemon 2.94 (installed with the swizzin script on debian buster)
[Software] Ventoy
“Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.
With ventoy, you don’t need to format the disk over and over, you just need to copy the ISO/WIM/IMG/VHD(x)/EFI files to the USB drive and boot them directly.”
Download: https://github.com/ventoy/Ventoy/releases
Installation: https://www.ventoy.net/en/doc_start.html
sudo sh Ventoy2Disk.sh -i /dev/sdx
[Hardware] ASUS TUF GAMING B550M-PLUS and RTL8125B Realtek
Just switched some hardware parts in my main PC:
- MB: TUF GAMING B550M-PLUS
- CPU: AMD Ryzen 5 3600
- Ram: G.Skill RipJaws V schwarz DIMM Kit 32GB, DDR4-3600
I moved from Intel to an AMD build. I kept my boot disk with Linux Mint 20 and everything was running out of the box, except there was no ethernet connection available. The RTL8125B Realtek network card is not yet supported on a Kernel < 5.9. Since I’m running Kernel 5.6.14, I had to manual install it.
Download the “2.5G Ethernet LINUX driver r8125 for kernel up to 5.6”, untar and follow the installation instructions from the README. In fact you only have to run
sudo ./autorun.sh
#check with
lsmod | grep r8125
ifconfig -a
[SAP] Install SAP Gui for Java 7.50 on Linux Mint 20
Download
First have a look at the Requirements and FAQ.
Find the download link in the SAP Support Portal here. You will need a valid S-User and download permissions.
If you are not able to download the installer via Support Portal, there is a little workaround. Both, the installer for SAP Gui for Windows and SAP Gui for Java are also delivered with the AS ABAP 752 SP04, developer edition:
“The actual download (in the form of several .rar files), along with more information is available from the SAP Community Trials and Downloads page. Search for “7.52 SP04″ for convenience.”
You will have to download all 11 .rar files (about 14,6GB). When unziping, you’ll find a folder called client (about 1,2GB) containing both installers.
Installation
Since SAP Gui 7.50 Rev 5, Oracles JDKs is not necessary to run SAP Gui for Java, instead you are able to use OpenJDK. Read more about it here. And since version 7.50 Rev 8 the installer includes SapMachine and OpenJFX. Read more about it here. In this case, you don’t even have to install OpenJKD and OpenJFX by yourself and don’t have specify the module path, because it comes containerized within the SAP Gui.
So better first check the version of your downloaded gui. I’ve got SAP Gui 750 rev 5 within the AS ABAP 752 SP04. So let’s install openJDK & openJFX.
sudo apt-get install openjdk-11-jre openjfx
java --version
Finally lets install the SAP Gui:
cd JavaGUI/
java -jar PlatinGUI750_5-80002496.JAR install
The important step during the installation of SAP Gui for Java Rev 5 is to define the option for the module path. The module path hast to point to the OpenJFX lib-path:
/usr/share/openjfx/lib
Now you should be able to run the SAP Gui on Linux Mint 20
Eclipse ADT
When using Eclipse with ADT in combination with SAP Gui for Java and receiving the following error:
"The system reqirements are not met.Could not find: javafx.propertiesin: /usr/lib/jvm/java-11-openjdk-amd64/libYour Java Virtual Machine seems not to support JavaFX, required to run the SAPGUI for Java 7.50 rev 5.Please make sure you provide a valid path to the Java FX modules during guiinstallation."
You also have to add the OpenJFX path to the eclipse.ini file. Read more about it here.
--module-path=/usr/share/openjfx/lib
--add-modules=ALL-MODULE-PATH
[Software] Save battery power on laptops
With TLP I was able to extend the battery life of my ThinkPad E595 significantly.
“TLP is a feature-rich command line utility for Linux, saving laptop battery power without the need to delve deeper into technical details.”
https://linrunner.de/tlp/
If you prefer tools with UI, check TLPUI: https://github.com/d4nj1/TLPUI
There is also a repository for it:
sudo add-apt-repository ppa:linuxuprising/apps
sudo apt update
sudo apt install tlpui
When using a ThinkPad, there are specific kernel modules that can be installed.
https://linrunner.de/tlp/installation/ubuntu.html#thinkpads-only
Check with tlp-stat -b
Install with:
sudo apt install acpi-call-dkms tp-smapi-dkms
Another tool to monitor your power usage is PowerTOP:
“PowerTOP is a Linux tool to diagnose issues with power consumption and power management.”
https://01.org/powertop/