Skip to content

Instantly share code, notes, and snippets.

@jahed

jahed/drive-problems.md

Last active Jun 21, 2020
Embed
What would you like to do?
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