- set M2_HOME if maven is installed (on zshrc)
- Encrypt dropbox
- powersave
- keyring (as in https://wiki.archlinux.org/index.php/GNOME/Keyring#PAM_method)
- stow more stuff like rofi
[TOC]
| export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH" | |
| export PATH="/usr/local/git/bin:/usr/local/bin:/usr/local/sbin:$PATH" | |
| if [ -f ~/.git-completion ]; then | |
| source ~/.gitcompletion.bash | |
| fi | |
| if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color |
| ... | |
| if [[ -r $HOME/.zshstuff/batterylevel.py ]]; then | |
| RPROMPT="$RPROMPT $(python $HOME/.zshstuff/batterylevel.py)" | |
| fi | |
| # Bonus! Indicator of stopped (^Z'd) jobs | |
| function stopped_jobs(){ | |
| if [[ "$(jobs)" =~ "suspended" ]]; then |
| ; bug.n - tiling window management | |
| ; @version 9.0.0 | |
| ;;Status bar | |
| Config_showBar=1 | |
| Config_horizontalBarPos=left | |
| Config_verticalBarPos=top | |
| Config_barWidth=100% | |
| Config_singleRowBar=1 | |
| Config_spaciousBar=0 |
| // Future versions of Hyper may add additional config options, | |
| // which will not automatically be merged into this file. | |
| // See https://hyper.is#cfg for all currently supported options. | |
| module.exports = { | |
| config: { | |
| // Choose either "stable" for receiving highly polished, | |
| // or "canary" for less polished but more frequent updates | |
| updateChannel: 'stable', |
| # /usr/share/X11/xorg.conf.d/20-thinkpad.conf | |
| Section "InputClass" | |
| Identifier "Trackpoint Wheel Emulation" | |
| MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|ThinkPad Compact USB Keyboard with TrackPoint|USB Trackpoint pointing device" | |
| MatchDevicePath "/dev/input/event*" | |
| Option "EmulateWheel" "true" | |
| Option "EmulateWheelButton" "2" | |
| Option "Emulate3Buttons" "false" | |
| Option "XAxisMapping" "6 7" | |
| Option "YAxisMapping" "4 5" |
[TOC]
| # | |
| # 4chan Webm Downloader | |
| # Fetches all webms from a thread | |
| # filters out all the .webm files | |
| # and downloads to a custom path | |
| # using wget | |
| # | |
| # Requires | |
| # nokogiri: gem install nokogiri | |
| # |
[TOC]
I am a Japanese and have low academic ability, so I am not good at writng English. I'm sorry to my terrible language ability for you.
I sometimes get the following error when logging out of Xorg. It's a little different to [xf86-video-intel] flip_done timed out, but it's similar.
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:37:pipe A] flip_done timed out.
Using the video=SVIDEO-1:d kernel parameter doesn't work for me.
I'm running Arch Linux (4.17.2-1) on my laptop ThinkPad X220 which CPU is Intel Core i5-2540M Processor.
| #!/bin/bash | |
| # SPDX-License-Identifier: GPL-2.0-or-later | |
| # | |
| # Tested on freshly installed Manjaro 22.0.5 Gnome. | |
| pamac build trizen | |
| cat >/tmp/convert.sh <<EOF | |
| pacman -Qq | grep pamac | xargs pacman -Rs --noconfirm manjaro-application-utility | |
| pacman -Rdd manjaro-release bashrc-manjaro manjaro-keyring python-manjaro-sdk | |
| pacman -U https://www.archlinux.org/packages/core/x86_64/{lsb-release,pacman{,-mirrorlist}}/download/ | |
| mv /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist |