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.
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.
#!/bin/sh
rm /tmp/cliprect.png
ssh user@example.com "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
This is normally in .Xresources
:
$ cat .Xresources
Xft.dpi: 130
To change it on the fly:
bindsym $mod+u exec i3-input -F "rename workspace to \"$(i3-msg -t get_workspaces | jq -r \"map(select(.focused))[0].num\"):%s\"" -P 'New name for this workspace: ' |
#Install dependencies | |
sudo apt-get install build-essential git libfftw3-dev cmake libusb-1.0-0-dev | |
#Fetch and build rtl-sdr, skip if already done (subdirectories will be created under the current directory). | |
git clone git://git.osmocom.org/rtl-sdr.git | |
cd rtl-sdr/ | |
mkdir build | |
cd build | |
cmake ../ -DINSTALL_UDEV_RULES=ON | |
make |
[~,gcr]=system("git rev-parse --show-toplevel"); gcr=strsplit(gcr,newline); gcr=[gcr{1} filesep]; %root of repo |
F_signal = torch.fft.rfft(signal])
w = ((((torch.arange(0,301))/600)*(2*torch.pi))) #signal is 600 samples long
d_signal = torch.fft.irfft(w*torch.tensor(complex(0,1))*F_signal)*(1/dt)