Tuesday, January 17, 2017

Configuring TexStudio commands and fixing highlight for dark backgrounds

I recently re-installed TeXstudio in Arch Linux after not needing it for a few years and had to remember how to get things working again.
There were 2 issues, one it said I had no Latex distribution, which I did so I had to (ugh) manually configure all the commands (actually I only had to locate each command, the configuration was automatic for each one). I used this as a guide: http://tex.stackexchange.com/questions/246316/error-make-sure-that-you-have-installed-a-latex-distribution.

Then the background color of the current selected line was the same as the foreground color making the text invisible. There are a LOT of color options under settings, but the setting needed is "current line" background, which I figured out from  http://tex.stackexchange.com/questions/85038/current-line-highlighting-in-texstudio even though the option screen is not the same.

Wednesday, January 4, 2017

Fix flickering KDE Plasma display

My Plasma display flickers wildly between black and non-black whenever switching focus or other random interactions with the GUI, it has done this from time to time, but has recently gotten worse.

From https://bbs.archlinux.org/viewtopic.php?pid=1595276#p1595276

Create a file named 20-intel.conf on /etc/X11/xorg.conf.d with the following contents:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   #Option      "AccelMethod"  "sna"
   Option      "TearFree"    "true" 
   Option      "DRI"    "3"