RSSAmplifier

Blog

Ivan Radovanovic's Blog

codenicer.comRSS feed ↗10 posts

Latest posts

How to Prevent MATE from Auto-mounting Devices

Execute these commands: gsettings set org.mate.media-handling automount-open falsegsettings set org.mate.media-handling automount false To disable automonting for GNOME you should execute: gsettings set org.gnome.desktop.media-handling automount-open falsegsettings set org.gnome.desktop.media-handling automount false

If ArgoUML is consuming too much CPU

Most likely problem is newer version of Java. ArgoUML was created for Java 8, so it is good idea to install older java and to use the old version to run ArgoUML.

Syslog message routing on Linux

Create new file (if needed) in /etc/rsyslog.d (file s name should end in .conf). Make sure to add following line to it: if $programname == 'PROGRAM_NAME' then /var/log/debug.log if you don t want this message to go anywhere else, add " stop" in a separate line after it. If messages go to custom file, don t forget to [ ]

Using efibootmgr on FreeBSD

It seems to work, with the exception that -l switch expects path prefixed with device (for example -l nvd0p1:/efi/boot/bootx64.efi)

How to perform freebsd-update from STABLE

Sometimes freebsd-update doesn t want to update from -STABLE system. Error received would be Looking up update.FreeBSD.org mirrors... 3 mirrors found.Fetching public key from update1.freebsd.org... failed.Fetching public key from update2.freebsd.org... failed.Fetching public key from dualstack.aws.update.freebsd.org... failed.No mirrors remaining, giving up. Way to fix this error is to force…

How to slow down mouse wheel in Firefox

This works in v91 set mousewheel.system_scroll_override.enabled to false in about:config

How to recover lost email accounts in Thunderbird

This is how to handle situation when Thunderbird wants to do set up from scratch after it crashed. First locate profile folder you can do that in Thunderbird by using Help - More troubleshooting information. Once you locate this folder looks for prefs.js and possibly prefs-1.js, prefs-2.js etc.

Record screen capture with audio in FreeBSD with ffmpeg

This command can be used: ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0+0,0 -f oss -i /dev/dsp5.0 -filter:a "asetpts=N/SR/TB" output.mp4 Command above assumes that microphone is at /dev/dsp5.0 (you can check that with cat /dev/sndstat), and you can adjust microphone volume with mixer -f /dev/mixer5 mic 100.

How to show hardware information in FreeBSD

Use dmidecode (It is in /usr/ports/sysutils/dmidecode).

How to see all certificates that web server sends

It can be done using openssl:openssl s_client -connect SERVER:PORT -showcerts