Here is my second theme.
Here is my second theme.
This is the first theme I made for the G1 Android. It’s for use with aHome or aHome lite. I published it in the market for $0.99. Hope you like it.
To take a snapshot of the Android screen you will need the Dalvik Debug Monitor Service (DDMS). The DDMS comes with the Android SDK. To get the SDK on either Ubuntu or Windows, check this link.
Once you obtained DDMS, locate it. It will be in your sdk tools folder:
Make sure you enable USB Debugging on the device by going to Settings -> Applications -> Development and ticking the box and plug in your device now.
select Device -> Screen Capture
After upgrading to Jaunty, I never managed to successfully connect to my desktop using NX. I use a windows computer with nomachine nx client. I always got an error like this:
Info: Proxy running in client mode with pid '1728'
Session: Starting session at 'Sat Jan 12 16:34:05 2008'.
Warning: Connected to remote version 3.0.0 with local version 3.1.0
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-desktop'. Assuming agent session.
Info: Using ADSL link parameters 512/24/1/0.
Info: Using cache parameters 4/4096KB/16384KB/16384KB.
Info: Using pack method 'adaptive-7' with session 'unix-gnome'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: No suitable cache file found.
Info: Forwarding X11 connections to display ':0'.
Info: Forwarding multimedia connections to port '6000'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Sat Jan 12 16:58:19 2008'.
Info: Established X server connection.
Info: Using shared memory parameters 0/0K.
Session: Terminating session at 'Sat Jan 12 16:58:19 2008'.
Session: Session terminated at 'Sat Jan 12 16:58:19 2008'.
After hours of searching the web, I concluded the problem is with the ownership and permissions of the .Xauthority file. Here’s how I fixed it:
sudo chown hydtech /home/hydtech/.Xauthority
sudo chgrp hydtech /home/hydtech/.Xauthority
sudo rm /home/hydtech/.Xauthority-l
sudo rm /home/hydtech/.Xauthority-c
Now it works like a charm.
I am currently trying to figure out how to reverse tether a G1 to use an ad-hoc computer-to-computer network. I have Internet at work through ethernet and created an ad-hoc network, but the built in G1 wireless scanner cannot detect ad-hoc networks. There is an application in the marketplace called Wifi Scanner which can detect adhoc networks but it does not have a connect feature. I tried to manually connect using ifconfig in terminal but havent been successful yet. I’ll post updates if I make progress.
I use Gparted to clone/backup my OSX86 partition. You’ll notice that the hfs and hfs+ options are greyed out. I need NTFS to format a storage space to share between Operating systems.
Start up terminal and enter:
sudo apt-get install hfsplus hfsutils hfsprogs ntfsprogs
now you can use gparted with ntfs, hfs and hfsplus formats.
First, download the package from here http://www.slackware.com/~alien/slackbuilds/vlc/pkg/12.2/vlc-0.9.9-i486-1alien.tgz and save it in your / directory or you can do this from the command line by opening up a Konsole and typing:
This will put you in the / directory
This will download the file in the present directory
tar zxf vlc-0.9.9-i486-1alien.tgz
The tar tool will unzip and untar this file
changes the directory to /install
chmod 777 doinst.sh
changes the permission so you can execute the file
cp doinst.sh /
copies the file to the / dir
goes back to the / directory
executes the script
rm -R doinst.sh vlc-0.9.9-i486-1alien.tgz /install
removes unwanted files.
KDE requires the /tmp directory to have the correct permissions (1777) for a user to log in or it will give you an error saying: “call to Inusertemp failed. temporary Directories Full?”. For this you have to change the folder permissions of /tmp by:
chmod 1777 /tmp
This will give permissions of drwxrwxrwt. One problem I was having with BackTrack was that after every reboot, the permission would get set back to dwrwxr_xr_x. I realized this was happening due to BackTrack using the aufs file system to mount root. The aufs or AnotherUnionFS is used on the live CD to make it appear as writeable but in reality the media is physically read only.
To eliminate this problem, open fstab:
And replace the aufs line with your device and the correct file system.
For example: /dev/sda8 / ext3 defaults 0 0
After installing BackTrack, it is important that you change the default password for security reasons. Also, you might want to add a user to the system so you can avoid using the root login as you don’t want to screw things up accidentally.
To add a new user, open up a Konsole and type:
This will guide you through the process of adding a new user.
keep hitting enter for all default values and select a good password:
your user is created but KDE still won’t let you log on because /tmp does not have the correct permissions. you will get an error saying “call to Inusertemp failed (temporary Directories Full?)”
To set the correct permissions type:
cd .. to go up one directory
chmod 1777 /tmp to set the correct permissions on the tmp dir. * see UPDATE *
now you can logoff root and login with your new user.
* UPDATE * – I found out on reboot these permissions get reset. To make permanent changes see here.
goto openoffice.org and download the version for linux.
tar -xvzf OOo_3.0.1_LinuxIntel_install_wJRE_en-US.tar.gz
cd into directory with all the rpm files:
convert all rpms to tgz:
This step will take a while.
Install all tgz using installpkg tool:
openoffice will be installed under /opt
Now we have to place it in the K menu.
Right click on the K and click Menu Editor.
goto File -> New Submenu -> type OpenOffice
Right click on OpenOffice Menu and select new item.
Add a name, description and in the “Command” field, add ‘/opt/openoffice.org3/program/soffice’
In “Work Path” add /opt/openoffice.org3/program
save and close
You can repeat the steps to add Writer, Calc, Math, Draw, Impress and Base