os
operating system related posts
wow. i never thought i would have to google how to right click using ubuntu on the powerbook.
apples powerbook touchpad has no middle or right mouse button – where this isnt a big problem using os x, in ubuntu it can generally be an issue.
after much googling i finally found that by default the mouse middle-click was f11 and the mouse right-click was f12. now these are mapped and can be changed by editing the /etc/sysctl.conf and mapping dev/mac_hid/mouse_button2_keycode and dev/mac_hid/mouse_button3_keycode to their corresponding key scan codes.
you can get the key scan codes by running sudo showkey then pressing the key or keys for which the scan codes are to be printed. to exit the key mapping software, press ctrl d.
| C | boot from cd or dvd |
| D | force the boot device to be the internal hard drive |
| T | start in firewire target disk mode – essentially turns your mac into a wicked expensive external hd |
| X | force boot into mac os x (older macs that dual-boot into os 9 and x) |
| N | boot from network drive |
| shift | hold after power-up to boot into safe mode, hold after login to prevent startup items from opening |
| mouse button | eject cd before booting normally |
| command-S | boot into single user mode; type exit when done |
| command-option-O-F | boot into the open firmware prompt |
| command-option-P-R | reset PRAM |
| command-option-V | verbose boot | command-option-shift-delete | bypass internal hard drive and boot from external drive or cd |
| option | shows the startup manager for all bootable drives |
| command-. | when startup disk chooser is active, open the cd tray |
you can run this using the run command, or access it via windows explorer address bar or create a shortcut. any way you do it will bring up a massive list tasks for windows 7. it was originally developed by the windows developers to show search results, so whenever you search for something in the control panel, this page is searched.
here it is -
shell:::{ED7BA470-8E54-465E-825C-99712043E01C}
i did this all on a ubuntu 11.04 server virtual machine inside of an ubuntu 11.04 host.
open /etc/apt/source.list in your favorite editor and add the following line
deb http://download.virtualbox.org/virtualbox/debian natty contrib
get the virtualbox public key
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
update the package database
sudo apt-get update
now install virtualbox 4
sudo apt-get install linux-headers-$(uname -r) build-essential virtualbox-4.0 dkms
download and install the extension pack (this is required since virtualbox outsourced some funcionality)
cd /tmp/
sudo wget http://download.virtualbox.org/virtualbox/4.0.8/Oracle_VM_VirtualBox_Extension_Pack-4.0.8-71778.vbox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.0.8-71778.vbox-extpack
add user to vboxusers group
sudo adduser mike vboxusers
now virtualbox is installed and ready to use. the next posts will be on configuring and using virtualbox via the command line and managing your vms via phpvirtualbox
in the linux world, we can always grep a command. today i needed to be able to do the same thing in dos.
help find
Searches for a text string in a file or files.
FIND [/V] [/C] [/N] [/I] [/OFF[LINE]] "string" [[drive:][path]filename[ ...]]
/V Displays all lines NOT containing the specified string.
/C Displays only the count of lines containing the string.
/N Displays line numbers with the displayed lines.
/I Ignores the case of characters when searching for the string.
/OFF[LINE] Do not skip files with offline attribute set.
"string" Specifies the text string to find.
[drive:][path]filename
Specifies a file or files to search.
If a path is not specified, FIND searches the text typed at the prompt
or piped from another command.
so, for example, if you wanted to find just the system model of a pc using systeminfo, you would type to following:
systeminfo | find /i "system model"
&
it can also be used with netstat
netstat -ano | find /i "80"
here is what i have removed so far, without having tons of random force closes or issues.
rock band
amazon mp3
com.android.htcprofile
magic smoke wallpapers
music visulization wallpapers
android live wallpapers
live wallpaper picker
monopoly
asphalt
rosie utility
location picker
stocks
htc sense live wallpaper
com.htc.dcs.service.stock (part of stocks)
friend steam
friend stream widget
news
news widget
peep
photo widget
weather provider
facebook for mytouch
flickr
stocks widget
twitter widget
weather
clock widget
t-mobile tv
visual voicemail
video chat
quick office
demo videos
app pack
faces/family widget
faves
location picker
my modes
messenger (yahoo)
mail (yahoo)
as i remove more i will keep this post updated.
there are tons of guides out there on this topic. this is just here so i can get to it faster.
reset 10.5 leopard & 10.6 snow leopard password
command+s on your keyboard to enter single-user modefsck –fy and press enter. wait for the checks to complete before going to the next step.mount -uw / and press enterlaunchctl load /system/library/launchdaemons/com.apple.directoryservices.plist and press enter.dscl . -passwd /users/username password and replace “username” with one of the users displayed in the previous step. replace “password” with a new password of your choice. press enter.
reset 10.4 tiger password
command+s on your keyboard to enter single-user modesh /etc/rc and press enterpasswd username and replace “username” with the short name of the user account for which you’d like to reset the password
1: open cmd “run as administrator”
2: then type the following: netsh advfirewall firewall add rule name=realid dir=out protocol=tcp remoteport=1119 action=block
disable firewall rule (on real id)
netsh advfirewall firewall set rule realid new enable=no
enable firewall rule (off real id)
netsh advfirewall firewall set rule realid new enable=yes
activate the firewall rule only in the character selection screen!
here is a fix for getting guest additions working inside of an ubuntu host.
sudo apt-get update
sudo apt-get install build-essential linux-headers-$(uname -r)
sudo apt-get install virtualbox-ose-guest-x11
i got a motorola cliq from double diamond pawn here in lisbon falls yesterday afternoon. as soon as i was done working i began researching new roms for it.
before the roms and overviews, here is a brief comparison of the cliq and cliq xt.
the big differences between the two phones (other than the obvious – cliq has a slide out keyboard) are that the cliq has no camera flash and it has 4x digital zoom (the cliq xt is fixed digital zoom). other than that the phones are remarkably similar.
so, on to the roms….
i tested out Adlxmod 2.1.5-5. now, with the cliq xt, Adlx’s roms are nothing shy of amazing. his consolidation rom was (in my opinion) the best rom to ever happen to the cliq xt. with the dns fix patch this is an amazing rom for the cliq.
J_r0dd’s TheOfficial v1.6 netfilter/swap/ext3/ext4/tun [2.14.11]. this is a rom brought to you by the guy who put together j_r0dd-mb200-v2.0 recovery image. i have used this on both the cliq and the cliq xt. this recovery image blows away any other one i have used, so i look forward to see what his rom will do for the cliq. (i am actually flashing the rom as i am writing this post).
i installed the rom and tested it out. amazing. very smooth. using the adw launcher instead of the blur home. i had not used this launcher before and i am rapidly becoming a big fan of it. the wifi did not work initially, however, after applying the patch i mentioned above everything worked flawlessly. i even ported the task manager app from the Adlx rom to this rom. so far it is a fantastic rom.