-
Archives
- February 2023
- January 2023
- September 2022
- August 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- January 2021
- October 2020
- January 2020
- July 2019
- March 2019
- February 2019
- January 2018
- December 2017
- April 2017
- April 2016
- November 2015
- April 2015
- August 2014
- July 2014
- February 2014
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- July 2012
- June 2012
- May 2012
- April 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
-
Meta
Category Archives: Uncategorized
Links 25th Nov 2021
https://karthinks.com/software/batteries-included-with-emacs/
Posted in Uncategorized
Leave a comment
How to select rectangles in TMUX
Just add to your .tmux.conf file: set-window-option -g mode-keys vibind-key -T copy-mode-vi ‘v’ send -X begin-selectionbind-key -T copy-mode-vi ‘y’ send -X copy-selection-and-cancelbind-key -T copy-mode-vi ‘r’ send -X rectangle-toggle
Posted in Uncategorized
Leave a comment
Screen brightness control on i3wm for Lenovo X240 (Ubuntu)
First ensure that you have the right permissions to write to the device by adding a new rule for udev (create a new file like /etc/udev/rules.d/99-backlight) with these lines: ACTION==”add”, SUBSYSTEM==”backlight”, RUN+=”/bin/chgrp video /sys/class/backlight/%k/brightness” ACTION==”add”, SUBSYSTEM==”backlight”, RUN+=”/bin/chmod g+w /sys/class/backlight/%k/brightness” ACTION==”add”, … Continue reading
Posted in Uncategorized
Leave a comment
How to set the brightness of your monitor in Ubuntu 20.04
xrandr –output <output> –brightness 0.5 Use xrandr –listmonitors to get the name of your monitor From: https://www.reddit.com/r/i3wm/comments/cd69ew/i3_and_brightness_on_ubuntu_1904/ets6ee2/
Posted in Uncategorized
Leave a comment
apue.h header from Advanced Programming in the Unix Environment
/* * Our own header, to be included before all standard system headers. */ #ifndef _APUE_H #define _APUE_H #define _POSIX_C_SOURCE 200809L #if defined(SOLARIS) /* Solaris 10 */ #define _XOPEN_SOURCE 600 #else #define _XOPEN_SOURCE 700 #endif #include /* some systems still … Continue reading
Posted in Uncategorized
Leave a comment
GCC-9 and Ubuntu kernel error
if you Linux suddenly stop compiling the kernel or kernel modules from packages (nvidia, virtualbox) check that you are not using gcc-9 as default C compiler, it has a problem with some parameters needed to compile with protections for the last … Continue reading
Posted in Uncategorized
Leave a comment
Delay when using ESC in tmux?
Just set: set -s escape-time 0 In your tmux.conf configuration file.
Posted in Uncategorized
Leave a comment