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 1: Line 1:
-
===On fresh system to purge "Unwanted" software===
+
'''On fresh system to purge "Unwanted" software'''
Removes cherry, installers, tutorials, widgets and sharing rubbish.
Removes cherry, installers, tutorials, widgets and sharing rubbish.
Line 8: Line 8:
-
===Unlock Camera key while locked (Doesn't persist reboot)===
+
'''Unlock Camera key while locked (Doesn't persist reboot)'''
''Thanks vi_''
''Thanks vi_''
Line 19: Line 19:
</pre>
</pre>
-
===Disable proximity sensor===
 
-
''Phone application resets this after a call''
+
'''List Saved WLAN passphrases'''
-
 
+
-
<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===
+
  <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>
 
-
 
-
===Adding extra keys to x-term bar===
 
-
 
-
Removes PgUp and PgDn and adds pipe, greater, asciitilde and grave.
 
-
Maximum 7 characters can be added.
 
-
 
-
<pre>
 
-
gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,KP_Enter,bar,greater,asciitilde,dead_grave]"
 
-
gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,CR,|,>,~,\`]"
 
-
</pre>
 
-
 
-
===Live proximity state in terminal===
 
-
 
-
<pre>
 
-
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.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)