zaterdag 19 juli 2025

Enlarging Libreoffice window completely with command

 You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.

donderdag 19 juni 2025

Adding an new hard disk to the file system

 The mount point must be placed in the media folder: /media/porter/mount_point otherwise the file manager won't discover the extra hard disk.

zondag 9 februari 2025

brightnessctl

 Changing the brightness of the screen of a laptop, you can use the command brightnessctl.
1. brightnessctl -l
2. brightnessctl set 5000

zaterdag 28 december 2024

Xrandr screen dimensions

 xrandr
lspci -k | grep -iEA5 'vga|display|3d'

 

Working with notion

 Create links of the list of hotels, linking to the webpages of these hotels on the site booking.com. First mention the names of the hotels and next to it the links, also presented in the form of a list in the form of a text file.

 

zondag 17 november 2024

Google Sheets & Google Translate for translations

 1. Using Google Sheets for Text Translation

This method works well for translating text in a simple format, such as a CSV, spreadsheet, or plain text file.

Steps:

    Step 1: Open Google Sheets.
    Step 2: Paste the original foreign text into column A.
    Step 3: In column B, use the GOOGLETRANSLATE function to translate each entry.
        For example, if the foreign text is in cell A1, in cell B1, enter:

    =GOOGLETRANSLATE(A1, "language_code_of_original_text", "language_code_of_target_language")

    Example: =GOOGLETRANSLATE(A1, "es", "en") (for Spanish to English).

Step 4: Copy the formula down the column to apply it to all rows.
Step 5: Once all text is translated, you can export the sheet as a CSV or Excel file to keep both the original and translated text in your preferred format.

 

 

donderdag 19 september 2024

zondag 8 oktober 2023

Disable touchpad

To disable touchpad on laptop:

xinput list

xinput disable [number]

zondag 28 mei 2023

Excel: maand afschriften van de bank

Maand afschriften van de bank:
1. Komma's vervangen door punten
2. Het sorteren van de namen (met de bedragen erbij)
3. Een rij toevoegen zodat je AF en BIJ scheidt
4. Het gebruik maken van filter en refilter om bedragen naar naam te berekenen


vrijdag 6 januari 2023

How to import data tables from an Internet site and have them automatically updated

 https://wiki.documentfoundation.org/Faq/Calc/113

  1. Create a new LibreOffice Calc document.
  2. Click on a cell in the table (A1 for example)
  3. Go to Sheet ▸ Link to external data.
  4. After a few seconds (sometimes a bit longer) a new window appears:
  5. Check the Detect special numbers box.
  6. Click OK.

zaterdag 10 december 2022

What is a mountpoint?

A mount point is a directory on a file system that is logically linked to another file system. Mount points are used to make the data on a different physical storage drive easily available in a folder structure. Mount points are fundamental to Unix, Linux and macOS. Windows can use mount points, but it is not common.

https://www.techtarget.com/whatis/definition/mount-point

 

zaterdag 3 december 2022

zaterdag 26 november 2022

Window managers

Distrotube, A Comprehensive Guide To Tiling Window Managers:

https://youtu.be/Obzf9ppODJU

  1. dwm => very minimal. You will have to patch it. Written in C.
  2. xmonad => also very minimal. Written in Haskell
  3. qtile => looks like dwm and xmond but it is written in Python
  4. awesome => perfect for beginners. It looks like Openbox in that you can open programs with rightclicking in the screen.
  5. i3 => very easy
  6. herbstluftwm => 
  7. bspwm => binary space partitioning window manager. You must create your own hotkey file.


zaterdag 3 september 2022

Umount Target is Busy

 # Umount Target is Busy
Lazy unmount: The third and safer alternative to the force unmount is a lazy unmount. A lazy unmount allows the system to detach the specified mount point in a hierarchical manner. It works by removing any references to the filesystem as soon as it’s not busy.


umount -l /path/to/dev


woensdag 27 april 2022

How do I completely wipe my hard drive in Ubuntu?

There are several programs to do that:

  1. wipe
  2. srm
  3. dd
  4. shred
  5. scrub

https://linuxhint.com/completely_wipe_hard_drive_ubuntu/

zaterdag 2 april 2022

xwininfo

 The command 'xwininfo' gives you information on the window that you click on.


vrijdag 25 maart 2022

Special man command

If you use less as pager for man you can try

LESS="+/^\s+-b" man wget

where

  1. + symbol to execute next operation after less has opened
  2. / command to start search
  3. ^\s+-b regexp to match -b from start of line

So if you like you can arrange the apropriate function for shell

function rman {
#USAGE: rman programm.name option.to.search (with "-" symbol)
LESS="+/^\s+$2" man "$1"
}

and add it into ~/.bashrc for example.

https://unix.stackexchange.com/questions/180639/is-there-way-to-see-man-document-only-for-specified-option-of-a-command 

 

zondag 6 februari 2022

SimpleHTTPServer

python3 -m http.server 8080

1. go to the relevant directory in your terminal and type this command
2. type ip and find the 192.168. etc.
3. go to the other computer and type into the browser: 192.168.x.x:8080


dinsdag 22 juni 2021

gunzip all files recursively in a target directory?

For zip-files:
find <path_of_your_zips> -type f -name "*.zip" -exec unzip {} -d <out> \;


https://askubuntu.com/questions/620571/how-do-i-gunzip-all-files-recursively-in-a-target-directory

Enlarging Libreoffice window completely with command

 You can open the LibreOffice window completely by pressing the CTRL+Shift+J keys together.