- Bash
- DKMS
keyring
(install using pip as root)- MOK signing key
# touch /etc/dkms/framework.conf.d/signing.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"anaconda_linting": false | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TMPXAUTHORITY=$(ls /var/run/sddm/*) | |
sleep 15 | |
DISPLAY=:0 XAUTHORITY=$TMPXAUTHORITY xwd -root > "/home/$USER/Desktop/greeter.xwd" | |
convert "/home/$USER/Desktop/greeter.xwd" "/home/$USER/Desktop/login_screen.png" | |
rm "/home/$USER/Desktop/greeter.xwd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
squash = "!f(){ git reset --soft HEAD~${1} && git commit --edit -m\"$(git log --format=%B --reverse HEAD..HEAD@{1})\"; };f" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media print { | |
#write{ | |
max-width: 100%; | |
} | |
@page { | |
size: A4; | |
margin-left: 0; | |
margin-right: 0; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Exit when any command fails | |
set -e | |
# Check for sudo/root | |
if [ "$EUID" -ne 0 ] | |
then echo "Run this script with superuser privileges!" | |
echo "This is because it needs access to /usr/lib/libreoffice/program/soffice" | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Show bookmarks on address bar focus (and thus show automatically when a new tab opens) | |
From https://superuser.com/a/1520406 | |
Original source https://www.reddit.com/r/FirefoxCSS/comments/emzoi0/show_bookmarks_bar_only_in_new_tab_page/feme6yv/ | |
*/ | |
#nav-bar:not(:focus-within) + #PersonalToolbar:not(:hover):not(:focus-within):not([customizing]) { visibility: collapse; } | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- Set Mukta as the Devanagari font. --> | |
<!-- We will remove Devanagari characters from all fonts except Mukta. --> | |
<!-- Idea courtesy: https://stackoverflow.com/a/47614324 --> | |
<!-- Pseudo code: --> | |
<!-- for font in fonts: --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 5.19.0 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="gcc (Debian 12.1.0-7) 12.1.0" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=120100 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_AS_IS_GNU=y | |
CONFIG_AS_VERSION=23890 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Slimbook battery maximo rendimiento | |
# ------------------------------------------------------------------------------ | |
# /etc/tlp.conf - TLP user configuration | |
# See full explanation: https://linrunner.de/en/tlp/docs/tlp-configuration.html | |
# | |
# New configuration scheme (TLP 1.3). Settings are read in the following order: | |
# 1. Intrinsic defaults | |
# 2. /etc/tlp.d/*.conf - Drop-in customization snippets | |
# 3. /etc/tlp.conf - User configuration (this file) |
OlderNewer