Arch: find package for specific command

The problem is: How do you find the package for a given command? Two solutions are presented.

  1. Use the program pkgfile.
  2. Use pacman.
    1. Update database: $ sudo pacman -Fy
    2. Searching: $ pacman -Fs $cmd



ssh config: include multiple files

it is useful to split up the ssh config file.

do as follows

  1. create config folder $ mkdir ~/.ssh/config.d
  2. create multiple config files in that folder (I group different hosts, and use a global options file)
    1. $ touch ~/.ssh/config.d/group1
    2. $ touch ~/.ssh/config.d/group2
    3. $ touch ~/.ssh/config.d/group3
    4. $ touch ~/.ssh/config.d/options
  3. include the whole directory by using the standard config file
    $ cat ~/.ssh/config
    Include config.d/*


arch: disable linux error beep

this beep comes up in terminals and for each error in matlab. just annoying…. fix this by disabling the right kernel module.

    1. append to /etc/modprobe.d/blacklist.conf:
      blacklist pcspkr
    2. include in /etc/mkinitcpio.conf:
    3. Then rebuild the initramfs and reboot:
      $ mkinitcpio -p linux
      $ reboot

arch+matlab: setup opengl rendering

hardware accelerated rendering needs enabling.

  1. check out the arch-wiki page.
  2. i needed to install the intel graphics driver. explained here.
  3. to set the opengl paths (as explained in the wiki), i needed to modify the .desktop file
    1. for me, the path was: /usr/share/applications/matlab.desktop
    2. changed execution line
      1. before: Exec=matlab -desktop -nosplash
      2. after: Exec=/my/personal/binary/path/matlab_startWithEnvVars
    3. created seperate start script
      1. path: (same as given to Exec command above)
      2. content:
        export LD_PRELOAD=/usr/lib/
        export LD_LIBRARY_PATH=/usr/lib/xorg/modules/dri/
        exec /usr/local/bin/matlab -desktop -nosplash "$@"
      3. make file executable

thunderbird: export message filters

one can export/import/backup the message filters but it’s more involved than it should be.

the message filters are in single files within your home directory. their path is


For example


Latex+beamer: dual screen presentation

you can include notes into your slides. just use \note{txt} inside of your frame environment. you can also make use of overlays and align all notes in itemize environment


you can chose the style of your output pdf by the following options in your preamble

\setbeameroption{hide notes} 		% default
\setbeameroption{show notes}		
\setbeameroption{show notes on second screen=left} % 
\setbeameroption{show only notes}

when choosing “second screen” you get a pdf containing your standard slides and one showing your notes. get a pdf viewer which can actually distinguish between both (e.g. pdfpc).

use pdfpc as such

pdfpc --notes=left --duration=30  ~/presentation.pdf

ecosia: add search engine to ff nightly (using opensearch)

ff nightly will not work with the current ecosia extension. the opensearch form is also not loaded(?) automatically, and searching through the use of keyword is not conventient.

i found the opensearch url of ecosia:

and adding it through the webconsole (ctrl+shift+k): window.external.AddSearchProvider(engineURL);

fixed my problem (using “https….” as the engineURL).