Force Brave browser to use video decoding acceleration in Virtualbox running Debian 13 guest operating system

Display Screen settings:
– Video Memory 256 MB
– Graphics Controller: VMSVGA
– Extended Features: Enable 3D Acceleration should be checked

Brave launch command is:

/usr/bin/brave-browser-stable --use-angle=gl --ignore-gpu-blocklist --enable-gpu-rasterization --disable-gpu-compositing --disable-gpu-memory-buffer-video-frames %U

Graphics Feature Status

  • Canvas: Hardware accelerated
  • Direct Rendering Display Compositor: Disabled
  • Compositing: Software only. Hardware acceleration disabled
  • Multiple Raster Threads: Enabled
  • OpenGL: Enabled
  • Rasterization: Hardware accelerated on all pages
  • Raw Draw: Disabled
  • Skia Graphite: Disabled
  • TreesInViz: Disabled
  • Video Decode: Hardware accelerated
  • Video Encode: Software only. Hardware acceleration disabled
  • Vulkan: Disabled
  • WebGL: Hardware accelerated but at reduced performance
  • WebGL2: Hardware accelerated but at reduced performance
  • WebGPU: Disabled
  • WebNN: Disabled

Install mc (midnight commander) on Valve Steam Deck

It seems that it is not that easy to install mc on steam deck even if you ask chatgpt for help, so after some trial and error here are the steps that worked for me:

sudo steamos-readonly disable
sudo rm -rf /etc/pacman.d/gnupg
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --populate holo
sudo pacman -Sy archlinux-keyring
sudo pacman -S mc
sudo steamos-readonly enable

Hope this helps someone.

Append bash history in real-time and change output to show date and time of the command execution

Bash history can be very useful to re-trace steps performed on the system, but one of the issues is that commands are not logged in real-time but after ending a session. Also history output does not include date and time which is really useful for debugging.

In order to solve this you will need to append 3 lines to your ~/.bashrc file:

shopt -s histappend
PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
export HISTTIMEFORMAT='%F %T '

In order for this to become active you need either to log out and log back in our execute:

source ~/.bashrc

After this all your commands will be logged in real-time and output of history command will have date & time information in following format:

YYYY-MM-DD HH:MM:SS history

Run Waydroid in fullscreen on Linux Mint with Gnome

Waydroid looked like excellent option to run Android apps on my Lenovo X240 running Linux Mint.

Because Waydroid is reliant on Wayland you need to use either KDE, Gnome or Sway Desktop Environment.

I am running Gnome and Waydroid works perfectly, but I wanted it to run in fullscreen. Unfortunately Waydroid key mapping is conflicting with Gnome F11 key to go fullscreen, so first thing you need to do is to re-map Gnome fullscreen key to something like Shift+F11 which can easily be done with gnome tweaks.

But once you get your Android app to run “fullscreen” you will notice that actual size of the drawn surface is still the one window started with:

erol@x240mint:~$ sudo waydroid shell wm size 
Physical size: 1366x697

I wanted it shown in 1368×768 which is my native display resolution. To do this open terminal while Waydroid is running and do the following:

erol@x240mint:~$ waydroid prop set persist.waydroid.width 1366
erol@x240mint:~$ waydroid prop set persist.waydroid.height 768
erol@x240mint:~$ waydroid session stop

Now next time you run your Android app it is going to be rendered in native resolution.

erol@x240mint:~$ sudo waydroid shell wm size 
Physical size: 1366x768