TechDoc




Our website wants to use Cookies  


 


Stop system consuming/capturing/occupying Keyboard Bindings
(Manjaro XFCE Linux)

there are at least two places to have a look at, regarding settings, which typically consume a lot of keyboard bindings by default.
  • "xfce4-keyboard-settings" (Keyboard settings)
  • "xfwm4-settings" (Window Manager)
    To check its bindings, go to tab "Keyboard", here are e.g. Ctrl+Alt+Arrow Keys and Shift+Ctrl+Alt+Arrow Keys predefined (to move window to workspace edges). If you like to reuse those keys in your application (e.g. IDE), then remove those in xfwm4-settings first.
CPU Monitoring in System Tray (Linux XFCE)

Software package:
xfce4-cpugraph-plugin

It is important to add the icon directly in the Panel Items list, do not try to add it via a panel item called "launcher".
(It only works to add by adding a panel item directly without a launcher.)

Optional list elements, on item separated lists, Cats-Parse (Scala)

Please email me.
QEMU/KVM Clipboard Sharing

Host/Guest Operation System Needed Software Component
Host Manjaro XFCE spice-vdagent
Guest Windows 10 spice-guest-tools
Console ANSI Colors Output

Depending on your Console or IDE application, ANSI colors might be displayed differently. Here is a small Scala test frame helping identify ANSI color codes by example printout ("rainbowing"). Repository on GitHub
MEDIATEK MT7921k Wi-Fi 6E 80MHz nutzen
(Manjaro XFCE Linux)

  • 1. "inxi -N" liefert die Adapter Kennung. Es ist erforderlich, den Linux Kernel auf 5.16.14. upzudaten.
  • 2. Das MT7921k Modell von Mediatek hat die Besonderheit, dass teilweise ein 60 Sekunden Power Shutdown (PC ganz aus, stromlos, für 60 Sekunden) nötig ist, um die Karte aktivierbar zu machen.
Diese obigen Punkte können Abhilfe schaffen, wenn WLAN Verbindungen trotz vorhandener Hardware im System nicht angezeigt werden.
CPU Stress

command line:
stress --cpu 16
um z.B. die CPU mit 16 Cores zu belasten. Nutzlich fur Stresstests.
Finagle ohne absehbaren Support für Scala 3

Leider ist die Scala Middleware und Web Service Lösung Finagle aktuell nicht für Scala 3 vorbereitet. Der Entwicklungsstand scheint eingefroren zu sein. Die Aussichten auf eine baldige Änderung sind - offen gesagt - eher trüb. Die Firma Twitter scheint anstelle dessen künftig auf Akka zu setzen.
Ein Crosscompile kann nützlich sein.
Für Weiteres senden Sie mir bitte eine E-Mail.
obs, Logitech C920 webcam, Lagging (Manjaro XFCE Linux)

To solve the lagging issue, in obs go to Video Capture source -> Properties -> Video Format (third Option in the list) -> de-select YUYV 4:2:2 -> select Motion-JPEG instead (e.g.)
redshift ad-hoc / explicit temperature (Linux)

Set temperature:
redshift -O 1000

Reset:
redshift -x

Collation version mismatch

The error message
PostgreSQL collation version mismatch
The database was created using collation version 2.36, but the operating system provides version 2.37.
might be caused by updating the host operating system's glibc, which is responsible for collation implementations, and which the database is using in turn. When collation versions between host and database differ, this may lead to the message above. Typically it doesn't occur in stable versions of host operation systems, but in test versions.
Minimized Windows auslassen, beim Alt-Tab Navigieren durch die Liste der Anwendungen (Manjaro XFCE)

"Window Manager Tweaks" (xfwm4-tweaks-settings) -> Tab. "Cycling" -> uncheck: "Include hidden (i.e. iconified) windows
Watching Scala 3 macro compile time println's / log entries in IntelliJ

Q: When I try out a Scala 3 macro, the inline definition of the macro itself with the splicing, and the function which e.g. is using quotations, when I compile this in sbt I get printed all macro println's to the console at compile-time, as it is expected.
However, when I switch to IntelliJ with the Scala plugin, bsp and bloop compile server installed, those macro println's are missing when I compile, and even I looked into any log I could open, but could not find those macro println's. Any idea how I could see those printlns in Intellij? I am using BSP, Bloop, Scala Compile Server. I slightly suspect that compile server output does not reach Intellij build console.
A: Instead of using the hidden IntelliJ BSP Bloop compile server, in an IntelliJ console tool window, run "sbt ~compile" (while being pwd'ed in the correct project path).
IntelliJ will use this as the build server (since it won't start two at the same time - sytem-wide) and you will see the macro compile-time println log entries in this sbt console printout.
Alt + Mouse Wheel Zoom (Manjaro XFCE)

Alt + Mouse Wheel Zoom (Manjaro XFCE) can be accomplished by calling "xfce4-settings-editor", selecting channel "xfwm4", then enabling property "zoom_desktop".
Slow launch of firefox, files, and other applications - since Manjaro XFCE Update 2023-05 (regression issue)

e.g. 1 minute waiting time before launch instead of 2 seconds, as it has been before the Manjaro update.
Interim solution:
add "xdg-desktop-portal-gnome" software package, afterwards, remove it.
Reboot.
Hardware Info zur CPU: lstopo

Hardware Info zur CPU, mit Graphik (CPUs, Cores)

Software package: lstopo

Whisker Menu - Super Left (Windows) key
(Manjaro XFCE Linux)

  • in the keyboard settings "xfce4-keyboard-settings", assign xfce4-popup-whiskermenu --pointer
    to Super Left key (windows key)
  • if then unintentionally a desktop context menu gets opened ("create launcher, create url link, create folder, create document, ..." etc.) then the reason could be that there is one superfluous setting active.
    Goto " session and startup", open "Application Autostart" tab, then deactivate the xcape entry: xcape -e 'Super_L=Alt_L|F1'
vscode bug (Manjaro XFCE), Open External Terminal not working: Ctrl + Shift + c

1. first check the vscode setting "terminal.external.linuxExec"
2. the official release directly from Microsoft has fixed this issue already. so deinstalling the distribution package, and instead using the Microsoft download, should work (if you want pay the "price").
3. as a work-around until this bug is fixed in the distribution package, instead of external terminal, the internal terminal panel works. execute command ( Ctrl + Shift + p ) "Toggle Terminal ": ( Ctrl + Shift + ´ ) then a internal terminal panel opens. if more terminals are needed, then: right click in the terminal area, "New terminal".
Prolog Integration

Teilweise sind Bereiche der Anwendung stark regelbasiert und lassen sich nur mehr recht als schlecht mit prozeduralen Programmiersprachen realisieren. Hier können Subsysteme zum Einsatz kommen, welche in Prolog implementiert sind. Typische fachliche Bereiche für Logik Engines sind z.B. Berechtigungen, Optimierungen, Compliance.
Logik-Berechnungen sind generell "costly", lassen sich aber auch cachen, damit die Performance nicht darunter leidet. swi Prolog ist eine der vielen möglichen Implementierungen einer Prolog Engine.
Für Weiteres senden Sie mir bitte eine E-Mail.

Ulm, Germany
Phone: +49 (0) 731 14 399 046
Email: hartmut0407@googlemail.com
Powered by Cetalison Http

IT Solutions im Bereich
Unternehmenssoftware & Linux