18
0
Fork 0
wiki/Tips.md

76 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2023-11-20 16:50:37 +01:00
---
2023-11-22 14:34:00 +01:00
categories: tip
2023-11-20 16:50:37 +01:00
title: Tips général
...
2017-03-28 10:49:01 +02:00
# Clavier
2017-02-21 10:17:35 +01:00
## [Devenir plus efficace avec son clavier](/TipsKeyboard)
[TipsKeyboard](/TipsKeyboard)
2017-03-28 10:49:01 +02:00
## Bloquer le touchpad si clavier utilisé
~~~
# apt install xserver-xorg-input-synaptics
$ syndaemon -d -i 0.8 -p $HOME/.syndaemon.pid
~~~
# Écran
2017-02-21 09:30:26 +01:00
## Afficher une image en arrière plan
~~~{.bash}
2017-02-21 09:43:32 +01:00
$ display -backdrop -window root <img>
2017-02-21 09:41:47 +01:00
~~~
2017-03-28 10:49:01 +02:00
## Changer lapparence des fenêtre GTK (thêmes)
2017-02-21 09:41:47 +01:00
2017-03-28 10:49:01 +02:00
Voir du côté de :
- ~/.gtkrc-2.0
- ~/.config/gtk-X.0/settings.ini
~~~{.bash}
$ lxappearance
2017-02-21 09:43:32 +01:00
~~~
2017-03-02 11:56:55 +01:00
2017-03-28 10:49:01 +02:00
## Rendu
### Exporter en image le rendu d'une page web (WebKit)
2017-03-02 11:56:55 +01:00
~~~{.bash}
$ cutycapt --url=http://evolix.org --out=evolix-site.png
2017-03-02 14:20:50 +01:00
$ cutycapt --url=file:///home/evolix/index.html --out=test-site.png
2017-03-02 18:05:37 +01:00
~~~
2017-03-10 11:30:28 +01:00
[/HowtoWkhtmltopdf]()
~~~{.bash}
$ wkhtmltopdf http://evolig.org out.pdf
~~~
2017-03-28 10:49:01 +02:00
### std2html
2017-03-10 11:30:28 +01:00
2017-03-28 10:49:01 +02:00
~~~
# apt install aha
$ script-foo-colors | aha > output.html
2017-03-06 13:53:04 +01:00
~~~
2017-03-28 10:49:01 +02:00
# Autres outils
2017-03-06 13:53:04 +01:00
## Recevoir un email depuis un flux RSS lors nouvel article
2017-03-09 11:47:32 +01:00
~~~
# apt install rss2email
~~~
2017-03-06 13:53:04 +01:00
~~~{.bash}
$ r2e new email@example.com
$ r2e add http://flux.rss.example.com/feed email@example.com
$ #ou simplement $ r2e add http://flux.rss.example.com/feed
$ r2e run --no-send #la première fois, car sinon envoie de plusieurs mails
$ crontab -l
# check rss toutes les heures
42 * * * * r2e run
$ r2e list #connaître l'état actuel des flux surveillés
2023-11-20 17:27:32 +01:00
~~~