Skip to content

Instantly share code, notes, and snippets.

@jahed
Last active June 21, 2020 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jahed/3d2821a41b3217a41f5b15be0e16c256 to your computer and use it in GitHub Desktop.
Save jahed/3d2821a41b3217a41f5b15be0e16c256 to your computer and use it in GitHub Desktop.
All the problems with my Linux installation and how to fix it

NTFS drives are read-only

Caused by Windows' Fast Boot and affects all NTFS drives. Disable it in Windows settings and restart.

Temporary Fix:

sudo ntfsfix /dev/sdc1

XFCE bar is showing wrong windows

https://bugzilla.xfce.org/show_bug.cgi?id=10725

When using multiple displays

  • Right-click panel
  • panel preferences
  • window buttons
  • check and uncheck "Show windows for all monitors" option

Automated script:

#!/bin/bash -e

# Workaround for https://bugzilla.xfce.org/show_bug.cgi?id=10725
# AKA https://bugzilla.redhat.com/show_bug.cgi?id=1068355
# Author: Sean Flanigan <sflaniga@redhat.com>

# This shows which plugins need to have their config fixed:
# xfconf-query -c xfce4-panel -lv | grep tasklist
# also see: xfconf-query -c xfce4-panel -lv | egrep 'tasklist|include-all-monitors'
# and: xfconf-query -c xfce4-panel -l | grep include-all-monitors

plugins=$(xfconf-query -c xfce4-panel -lv | grep tasklist | cut -f1 -d' ')
for plugin in $plugins; do
    xfconf-query -c xfce4-panel -p $plugin/include-all-monitors -s true
    xfconf-query -c xfce4-panel -p $plugin/include-all-monitors -s false
done
echo Configured these taskbar plugins: $plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment