54 lines
1.9 KiB
Plaintext
54 lines
1.9 KiB
Plaintext
**touchscreen :**
|
|
**sudo xinput --list** list all input
|
|
**xinput disable 12** disable the input 12, touchscreen for Lenovo-FLEX-3-1120
|
|
**load to start :** add "xinput disable 12" in application autostart
|
|
|
|
**appimage :**
|
|
**chmod +x <name>.appimage** make it executable
|
|
**sudo vim /usr/share/applications/<name>.desktop** create a file.desktop with content :
|
|
[Desktop Entry]
|
|
Exec=/absolute/path/to/file/<name>.AppImage
|
|
Name=<name>
|
|
Type=Application
|
|
**( cd /usr/share/applications && chmod 644 <name>.desktop )** maybe change permissions
|
|
|
|
**firefox extension source code :**
|
|
**right click on install** and select "copy link"
|
|
**curl -L <link> > /tmp/myextension.xpi** download the extension with curl inside a tmp file
|
|
**unzip /tmp/myextension.xpi -d /tmp/myextension** unzip the content
|
|
enjoy reading it ;)
|
|
|
|
**enable accents on ubuntu :**
|
|
**compose key = right alt** change in keyboard > layout > compose key
|
|
**r-alt ' e** é
|
|
**r-alt ` e** è
|
|
|
|
**connect to planet hoster with ssh :**
|
|
ssh hugugtzx@world-370.fr.planethoster.net -p 5022
|
|
**to enable vi :** `export TERM=xterm`
|
|
**locked files on nextcloud :** https://help.nextcloud.com/t/file-is-locked-how-to-unlock/1883
|
|
|
|
**youtube-dl for france.tv :**
|
|
https://github.com/ytdl-org/youtube-dl/issues/29956#issuecomment-1013345689
|
|
|
|
**remap keyboard keys :**
|
|
/* FOR ONE SESSION */
|
|
**xev** open a program that gives informations about key events, like keycode
|
|
**xmodmap -pk | grep <keycode>** to find the name of the key, like Return
|
|
**xmodmap -e "keycode <keycode> = <name>"** ex: `xmodmap -e "keycode 62 = Return"`
|
|
/* OR FOREVER */
|
|
**sudo cp /usr/share/X11/xkb/symbols/pc /usr/share/X11/xkb/symbols/pc.bak** save the file
|
|
**sudo vim /usr/share/X11/xkb/symbols/pc** modify the file
|
|
|
|
**settings of firefox extension MultiTranslate :**
|
|
iframe {
|
|
/*min-width: 720px;*/
|
|
min-height: 600px;
|
|
border: none;
|
|
margin-top: -160px;
|
|
}
|
|
iframe ~ * {
|
|
display: none !important;
|
|
}
|
|
|