Editing User:Sixwheeledbeast/Scripts
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 19: |
Line 19: |
| </pre> | | </pre> |
| | | |
- | ===Disable proximity sensor===
| |
- |
| |
- | ''Phone application resets this after a call''
| |
- |
| |
- | <pre>
| |
- | sudo gainroot
| |
- | chmod 666 /sys/devices/platform/gpio-switch/proximity/disable
| |
- | echo 0 > /sys/devices/platform/gpio-switch/proximity/disable
| |
- | chmod 444 /sys/devices/platform/gpio-switch/proximity/disable
| |
- | </pre>
| |
| | | |
| ===List Saved WLAN passphrases=== | | ===List Saved WLAN passphrases=== |
Line 34: |
Line 24: |
| <pre> | | <pre> |
| gconftool -R /system/osso/connectivity/IAP | grep passphrase | | gconftool -R /system/osso/connectivity/IAP | grep passphrase |
- | </pre>
| |
- |
| |
- | ===List Saved Email passwords===
| |
- |
| |
- | <pre>
| |
- | gconftool-2 -R /apps/modest/server_accounts | grep password
| |
| </pre> | | </pre> |
| | | |
Line 56: |
Line 40: |
| <pre> | | <pre> |
| while true; do cat /sys/devices/platform/gpio-switch/proximity/state; done | | while true; do cat /sys/devices/platform/gpio-switch/proximity/state; done |
- | </pre>
| |
- |
| |
- | ===Live back cover state in terminal===
| |
- |
| |
- | <pre>
| |
- | while true; do cat /sys/devices/platform/mmci-omap-hs.0/mmc_host\:mmc0/cover_switch; done
| |
- | </pre>
| |
- |
| |
- | ===Live Slide State in terminal===
| |
- |
| |
- | <pre>
| |
- | while true; do cat /sys/devices/platform/gpio-switch/slide/state; done
| |
- | </pre>
| |
- |
| |
- | ===Rebuild annoying media tracker and thumbnails===
| |
- |
| |
- | <pre>
| |
- | rm -f /home/user/.cache/media-art/*.*
| |
- | rm -f /home/user/.thumbnails/cropped/*.*
| |
- | rm -rf /media/mmc1/Music/*/*/.mediaartlocal
| |
- | tracker-processes -r
| |
- | </pre>
| |
- |
| |
- | ===SSH screenshot===
| |
- | <pre>
| |
- | gst-launch-0.10 ximagesrc num-buffers=1 ! ffmpegcolorspace ! pngenc ! filesink location=screenshot.png
| |
| </pre> | | </pre> |
Learn more about Contributing to the wiki.