This is work in progress.
[~,gcr]=system("git rev-parse --show-toplevel"); gcr=strsplit(gcr,newline); gcr=[gcr{1} filesep]; %root of repo |
This is normally in .Xresources
:
$ cat .Xresources
Xft.dpi: 130
To change it on the fly:
#!/bin/sh
rm /tmp/cliprect.png
ssh [email protected] "DISPLAY=:0 xclip -selection clipboard -t image/png -o -" > /tmp/cliprect.png
if [ $? -eq 1 ]; then
notify-send -t 10000 "failed getting png from remote machine"
else
xclip -selection clipboard -t image/png -i /tmp/cliprect.png
fi
xsetwacom set "Wacom Intuos BT S Pad pad" Button 8 <something>
For some reason, button #4 is actually Button 8
. It turned out from xev
output.
sudo apt install libdouble-conversion-dev libpotrace-dev libgtkmm-3.0-dev libpoppler-dev libpoppler-private-dev libpoppler-glib-dev
git clone https://gitlab.com/inkscape/inkscape/
cd inkscape
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/home/$USER/a_sensible_install_directory/inkscape_install ..
make -j6
How to open a Stylus Labs Write .svgz
file with Inkscape?
cat something.svgz | gunzip | inkscape -
I was getting the following error message while trying to run Viber on Ubuntu:
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize 8, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
[1] 929803 abort (core dumped) /opt/viber/Viber
Solved by running: