Firefox quick fix for scroolbar bug when using gtk-qt-engine.
scrollbar slider
{
margin-left: -1px;
border-left: 1px solid #8C8D90;
margin-top: -1px;
border-top: 1px solid #8C8D90;
}
- from: polishlinux.
Clearing pacman cache.
pacman -Sc #clean cache (old files)
pacman -Scc #clean cache (all files)
- from: blog.preshweb.co.uk.
Ranking mirrors for faster pacman downloading:
cd /etc/pacman.d
for repo in *; do
echo "Processing $repo..."
mv $repo $repo.b4.rankmirrors
rankmirrors -v $repo.b4.rankmirrors > $repo
done
Reinstalling all packages:
pacman -S $(pacman -Qq | grep -v "$(pacman -Qmq)")
- Formatting usb flash drives.
- Open fdisk. Let’s assume the flash drive is /dev/sda. Then type fdisk /dev/sda in a virtual console.
- Type m to see the available commands.
- Type p to list existing partitions.
- Type n to create a new one. Choose primary.
- WRITING THE CHANGES. Type w.
That’s it. - Fixing “cannot open display” error with su
(wireshark:3095): Gtk-WARNING **: cannot open display: :0.0
This is a common error when trying to run X applications as root, which sometimes makes sense. Like, for instance, running wireshark (a network sniffer) as root.
The solution is temporary giving access to a local user to connect to the X server.
xhost +local:root