FOSS Warn
Get emergency alerts from warnung.bund.de or alert.swiss
a zone for no one and everyone :) Btw this blog is only for adults! Dieser Blog ist nur für Erwachsene!
Get emergency alerts from warnung.bund.de or alert.swiss
To create a single PDF from multiple LibreOffice Writer documents in Ubuntu 22.04, you can use the command line tool “libreoffice” to convert the documents.
Open the terminal in Ubuntu(Ctrl+alt+t) . Navigate to the directory where the documents are located using the “cd” command.
Use the following command to convert all .odt files in the directory to .pdf:
libreoffice --headless --convert-to pdf *.odt
This will convert all .odt files in the directory to .pdf and save them in the same directory. Alternatively, you can also use the command-line tool “unoconv” to convert the documents.
unoconv -f pdf *.odt
In order to merge all PDFs into one, you can use the command “gs” (Ghostscript)
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf file1.pdf file2.pdf ...
Please note that this command will overwrite the file merged.pdf if it already exists, so make sure to use a different file name if necessary.
To merge the multiple PDFs created by the command “libreoffice —headless —convert-to pdf *.odt” into a single PDF, you can use the command line tool “pdfunite” which is part of the “poppler-utils” package.
Open the terminal in Ubuntu.
Navigate to the directory where the PDFs are located using the “cd” command.
Use the following command to merge all PDFs in the directory into a single file:
pdfunite file1.pdf file2.pdf file3.pdf ... merged.pdf
This command will take all the pdf files in the directory and merge them into a single pdf file named “merged.pdf” Alternatively, you can also use the command-line tool “gs” (Ghostscript)
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=merged.pdf file1.pdf file2.pdf ...
Please note that this command will overwrite the file merged.pdf if it already exists, so make sure to use a different file name if necessary.
Additionally, you can also use other tools like pdftk
, qpdf
, pdfjam
to merge multiple pdfs into one.
Sometimes one needs the plain text of a given PDF file. For this you can use pdftotext
this program is part of the poppler utils.
Open your terminal ctrl+alt+t
Navigate to your files location
then 1st install the poppler-utils
sudo apt update && sudo apt install -y poppler-utils
After the installation, you can run this command
pdftotext example.pdf example.txt
You can also use “-layout” option to retain the layout of the text in the output file as it is in the input PDF file.
pdftotext -layout example.pdf example.txt
That's it :D
Tbh epseak is very, very unsettling always when I encounter this diabolical speech. A slight shiver runs down my spine. But fear no more :D
Let's use pico2wav
This tool is more acceptable, still no match for the likes of gTTS or something similar nonetheless far better than speak.
As always, open up your terminal ctrl+alt+t
sudo apt-get install libttspico-utils
Afterward navigate to your text file then type these for an acceptable German vocalization i.e. TTS
pico2wave -w output.wav -l "de-DE" input.txt
Further reading:
https://github.com/mesche/pico-tts-from-file
https://wikiless.org/wiki/Hidden_Markov_model?lang=en
Many thx to CB <3
MakeMKV beta ist ein kommerzieller Konverter-Software, mit der man DVDs und Blu-ray-Disks abspielen oder auf der Festplatte speichern kann. Es ermölicht auch die Konversion von bereits vorhandenen .iso-Dateien und anderem Videomaterial.
Das Programm nutzt das Matroska-Format, da es eine Vielzahl von Audio- und Videocodecs unterstützt und Untertitel sowie Kapitelmarken übernehmen kann. Um die Dateien weiter zu bearbeiten, kann man z.B. HandBrake verwenden.
Während der Beta-Phase ist das Programm kostenlos und der Testzeitraum von 30 Tagen kann beliebig oft verlängert werden. Nach Beendigung der Beta-Phase muss das Programm für die weitere Nutzung der Blu-ray Funktionalität erworben werden.
Weiterführende Literatur:
https://wiki.ubuntuusers.de/MakeMKV/
https://www.omgubuntu.co.uk/2022/08/watch-bluray-discs-in-vlc-on-ubuntu-with-makemkv
https://www.veuhoff.net/auf-linux-dvds-und-blu-rays-abspielen-anleitung/
Install nvme-cli open the terminal ctrl+alt+t
Then type:
sudo apt update && sudo apt install -y nvme-cli
After the installation type
sudo nvme list
On the right-hand side, you will find the Firmware Revision
Alternativelly you can also type this
sudo nvme id-ctrl /dev/nvme0n1
You will receive a very long list, and it will be a little bit trickier to determine it is listed at fr
If you are unable to connect to a network and suspect that the router's MAC filter is active, there are a few steps you can take to troubleshoot the issue from your client.
Check the MAC address of your network card: Make sure that the MAC address of your network card is not being blocked by the router. You can check the MAC address of your network card by running the command ip link show
or ifconfig
on Linux, or getmac
on Windows.
Check the router's configuration: If you have access to the router's web interface, you can check the router's configuration to see if MAC filtering is enabled, and if so, check if your MAC address is listed as an allowed device. Bear in mind that Wi-Fi and LAN have different Mac addresses!
Check the router's status lights: Some routers have status lights that indicate if the router is blocking a device's MAC address. Check the router's manual to see if there is a status light that indicates MAC filtering is active.
Try connecting from a different device: If you have access to another device, try connecting to the network with it. If the other device is able to connect, the issue may be specific to your device's MAC address.
Check the router's logs: Some routers have logs that show which devices have been blocked by the router. If the router has this feature, check the logs to see if your device's MAC address has been blocked.
Check for other network issues: Make sure that there are no other network issues that might be preventing you from connecting, such as a weak signal, incorrect network settings, or a malfunctioning router.
It's worth noting that the troubleshooting steps may vary depending on the router's manufacturer and model, also, you may need to have access to the router's web interface or have login credentials to check some of the options like the router's logs.
There may be a way to determine if a router's MAC filter is active from a Linux Ubuntu client using the terminal, but it would likely depend on the specific router and its configuration. Here are a few possible options:
Use the arp
command: If the router is configured to block the MAC address, it will not respond to the ARP request for the IP address. You can use the command arp -a
to check the ARP table for the IP address of the router, and see if there is a corresponding MAC address.
Use the nmap
command: You can use the nmap
command to scan the network for open ports and services. If the router is configured to block the MAC address, it may not respond to the nmap scan, and the router's IP address will not be listed in the scan results.
Use the ping
command: You can use the ping
command to send ICMP echo request packets to the router's IP address. If the router is configured to block the MAC address, it may not respond to the ping request.
Use the tcpdump
command: You can use the tcpdump
command to capture network traffic. If the router is configured to block the MAC address, you may not see any traffic from the router in the capture.
It's important to note that the availability of these options, and how to check for them, may vary depending on the type of router, its firmware version and configuration, also some commands may not give you a clear answer, but if you see that the router is not responding to the requests, it might be an indication that the MAC filtering is active.
A neat site which playfully elaborates how you can nearly query any OS
Turbostat, a powerful tool for reporting processor topology, frequency, idle power-state statistics, temperature, and power on X86 processors.
In this guide, we'll walk you through the process of installing Turbostat on Ubuntu 22.04, as well as explain how to use it in two different ways.
Installing Turbostat on Ubuntu 22.04
Start by updating your package list with the command:
sudo apt-get update
Next, install the linux-tools-common package by running the following command:
sudo apt-get install linux-tools-common
Alternatively, non-root users can also run Turbostat by setting the
cap_sys_rawio
capability with the following command:
setcap cap_sys_rawio=ep ./turbostat
To ensure that Turbostat does not interfere with other programs, including multiple instances of itself, it is necessary to grant read access to the
/dev/cpu/*/msr
file with the command:
chmod +r /dev/cpu/*/msr
Using Turbostat
Turbostat can be used in two ways:
Supply a command as an argument which is forked and statistics are printed upon its completion.
Omit the command and Turbostat displays statistics at a certain interval. The interval can be changed using the
--interval
option.
Take your Ubuntu 22.04 performance monitoring to the next level with Turbostat. With its extensive range of features and easy-to-use interface, it's the perfect tool for developers and system administrators alike.
To display statistics at a fixed interval of 1 second:
turbostat --interval 1
To display statistics for a specific core:
turbostat --core 3
To display statistics for all cores:
turbostat --all-cores
To display statistics while running a specific command:
turbostat --interval 1 --quiet --all-cores stress --cpu 8 --timeout 60
To display statistics in CSV format:
turbostat --csv --interval 1
To display statistics for a specific socket:
turbostat --socket 1
These are just a few examples of the many options available when using Turbostat. You can also specify different fields to be displayed, such as temperature, power, or frequency, and you can output the statistics to a file for later analysis. You can see more on the man pages or in the documentation.
Reference Links: https://manpages.ubuntu.com/manpages/bionic/man8/turbostat.8.html https://manpages.ubuntu.com/manpages/xenial/man8/turbostat.8.html https://www.kernel.org/doc/Documentation/cpu-freq/boost.txt https://ubuntu.pkgs.org/22.04/ubuntu-updates-main-amd64/linux-tools-common_5.15.0-30.31_all.deb.html https://askubuntu.com/questions/37618/is-turbo-boost-working https://www.mankier.com/8/turbostat
Citations:
https://manpages.ubuntu.com/manpages/bionic/man8/turbostat.8.html https://ubuntu.pkgs.org/22.04/ubuntu-updates-main-amd64/linux-tools-common_5.15.0-30.31_all.deb.html https://www.mankier.com/8/turbostat https://manpages.ubuntu.com/manpages/xenial/man8/turbostat.8.html https://www
GrapheneOS is an open source mobile operating system based on the Android Open Source Project (AOSP). Developed in March 2022, it is a privacy-focused OS designed to protect users from tracking and data collection. It focuses on enhancing the security and privacy of the existing Android operating system, while still offering great usability and compatibility with a large number of apps.
GrapheneOS offers a number of features that make it more secure than Android. For instance, it uses file-based encryption, which generates a unique, random key each time the device is turned on and destroys the key after every session. This means that even if a hacker were to gain access to the device, they would not be able to access the user's data. Additionally, GrapheneOS uses metadata encryption to protect personal data stored in user profiles, and applies the EFF's privacy-friendly Do Not Track (DNT) policy to all users of its publicly available services. This helps protect users from online tracking and targeted advertising.
GrapheneOS also has improved the existing Android sandboxing system, making it more difficult for attackers to exploit vulnerabilities in apps. The OS also has added anti-persistence/detection measures to verify boot, which helps prevent malware from persistently remaining on the device after a reboot.
GrapheneOS does not bundle any Google apps or services into the OS, unlike other operating systems. Instead, users can install a sandboxed version of Google Services from the 'Apps' app, which comes pre-installed with GrapheneOS. This allows users to still have the apps they need while keeping the security of their device intact. The developers are also working on filling the gaps left by not bundling Google apps with the OS and focused on robust and secure implementations.
GrapheneOS is currently only officially supported on Pixel devices, but the developers plan to expand support to other devices in the future. This is because Pixel devices offer superior hardware capabilities, particularly their security chipsets, and the developers have official production support for the Pixel series. This allows users to get the latest software updates as soon as they become available.
However, it's worth noting that GrapheneOS is a new operating system and it's not widely used yet, so it may have limited app compatibility and a smaller user community compared to more popular mobile operating systems. Additionally, because the OS is focused on privacy and security, it may not have the same level of convenience and user-friendliness as other operating systems.
Overall, GrapheneOS is an excellent choice for those who are looking for a secure and private operating system for their mobile devices and are willing to trade off some convenience for added security. It provides a strong baseline of security and privacy, while still offering great functionality and usability. For more information about GrapheneOS, please visit their official
In summary, GrapheneOS is a promising open-source mobile operating system that provides a strong baseline of security and privacy. However, as with any new technology, it would be important to consider the limitations and drawbacks, as well as the community and development behind the project before making a decision to switch.
website https://grapheneos.org/