1. install Audible manager and Audible download manager with Wine. These programs can be found in software section on Audible sites.
2. Download audible download script, which originally posted at Ubuntu forum by mndzmyst. Open the file with text editor, and change the home folder to your user name.
3. After select the file type on Audible site, download a download bait file, which has .pl extension. Open the .pl download bait file with the script. Download will be started, after it's done, you can listen to the file with Audible manager.
Wednesday, November 17, 2010
enjoy DOS games with DOSbox
1. Install dosbox with aptitude
2. Open /home/username/.dosbox/dosbox-0.73.conf and add under [autoexec] (which is at the end)
3. browse to the game folder in dosbox. play and enjoy.
- In case of an error-message saying ,
- For [mixer], this setting I found good:
- For DOS games like Ultima series, abandonia is a very good site.
2. Open /home/username/.dosbox/dosbox-0.73.conf and add under [autoexec] (which is at the end)
mount c /where/dosgames/folder
c:
3. browse to the game folder in dosbox. play and enjoy.
- In case of an error-message saying ,
you need csdpmi*b.zip
, download cwsdpmi.zip and extract it in the game folder.- For [mixer], this setting I found good:
nosound=false
rate=48000
blocksize=256
prebuffer=50
- For DOS games like Ultima series, abandonia is a very good site.
LaTeX with JabRef and use Havard bibliography style (and where to put those TeX .bst files and .sty files)
1. Go to the JabRef database folder and put .bib extension after the database filename, in case there is no extension designated.
2. Make a symbolic link for the bibliography database file.
Then, put the symbolic link in
3. Extract harvard bibliography style zip file, which is downloadable at CTAN page. Put all the .bst(bibliography style) files in
4. In preambule, put
5. Put, before
We're done. Compile! latex-bibtex-latex-latex.
2. Make a symbolic link for the bibliography database file.
ln -s ~/foldname/of/JabRef-database-folder/ bib
Then, put the symbolic link in
/home/username/texmf
3. Extract harvard bibliography style zip file, which is downloadable at CTAN page. Put all the .bst(bibliography style) files in
/home/username/texmf/bibtex/bst
and .sty files in /home/username/texmf/tex/latex/my_styles
4. In preambule, put
\usepackage{harvard}
and \bibliographystyle{agsm}
right after \begin{document}
.5. Put, before
\end{document},
\addcontentsline{toc}{chapter}{Reference}
\bibliography{/home/username/texmf/bib/filename-without-.bib-extension}
We're done. Compile! latex-bibtex-latex-latex.
Monday, November 8, 2010
Sync iPhone, iPod Touch with Rhythmbox on Ubuntu
Original reference at seadao's comment on Ubuntu Forum.
1: Jailbreak your device install OpenSSH from cydia
2: Change the value of the key 'DBVersion' in /System/Library/Lockdown/Checkpoint.xml (make a backup first!) to 2 (original instruction)
3: Find (/var/mobile/media) itunes_control, and delete it along with all the sym links ex: ipod_control .... if they exist (note an empty itunes_control will be created by firmware, it's a good idea to reboot the device after this)
4: use itunes in windows (i used virtual box NOT OSE, you need usb support), upload 1 mp3 file to the ipod, this will create the new DB
5: install
6: use make install(NOT CHECKINSTALL cmake in not debian rules) to compile usbmuxd from git
Just to add, I jailbroke my iphone 3gs, ios 4.1 with redsn0w for the access to root. Banshee didn't even show iphone connected, while rhythmbox showed it. Rhythmbox gave an error when I attempted to copy a song into iphone. I was sshed into the iphone at that time, so I disconnected. I exited rhythmbox, and ran it again; retried; it worked flawlessly.
1: Jailbreak your device install OpenSSH from cydia
2: Change the value of the key 'DBVersion' in /System/Library/Lockdown/Checkpoint.xml (make a backup first!) to 2 (original instruction)
3: Find (/var/mobile/media) itunes_control, and delete it along with all the sym links ex: ipod_control .... if they exist (note an empty itunes_control will be created by firmware, it's a good idea to reboot the device after this)
4: use itunes in windows (i used virtual box NOT OSE, you need usb support), upload 1 mp3 file to the ipod, this will create the new DB
5: install
libimobiledevice
from ppa:pmcenery/ppa
6: use make install(NOT CHECKINSTALL cmake in not debian rules) to compile usbmuxd from git
git clone git://git.marcansoft.com/usbmuxd.git
cd usbmuxd
mkdir build
cd build
cmake ..
make
sudo make install
7: reboot, ipod will mount and ask if you want to start a music app Just to add, I jailbroke my iphone 3gs, ios 4.1 with redsn0w for the access to root. Banshee didn't even show iphone connected, while rhythmbox showed it. Rhythmbox gave an error when I attempted to copy a song into iphone. I was sshed into the iphone at that time, so I disconnected. I exited rhythmbox, and ran it again; retried; it worked flawlessly.
Make wine program as a default program
This instruction is taken from Ubuntu Wine documentation. I use this to link PDF files to PDF-XChange (,which work flawlessly with PDFs to highlight, comment, bookmark, etc). Note that portable version didn't work with this method.
Creating file associations
If you want certain files to open in a windows application by clicking on them, the best way is to create a script. For example I want Adobe Flash project files (*.fla) to open in Adobe's Flash editor if I double click it.
You can for example create a file using this terminal command.
gedit ~/.wine/Flash\ 8
Now paste the following example script in it, save and close gedit.
Example script:
Make sure the file is executable with this command.#!/bin/sh
QUICKPARLOCATION="c:\\Program Files\\Macromedia\\Flash 8\\Flash.exe"
PARAM=`winepath -w "$*"`
wine "$QUICKPARLOCATION" "$PARAM"
exit 0
chmod +x ~/.wine/Flash\ 8
After you completed this go to an *.fla file right click it, properties, go to the “open with” pane, click add, add this line into your terminal and select the radio button.
'/home/
/.wine/Flash 8'
Now if everything went ok, you can doubleclick the file and it will be openend in Flash 8.
Friday, November 5, 2010
VirtualBox harddrive file (.vdi) seems never shrink, whatever I do in the guest windows. We can fix this. Following is taken from http://kakku.wordpress.com.
For the reference, disk space can be also managed by turning off indexing, logging, restoring, and virtual memory. Also windows have a one stop cleaning center, which can be accessed by right clicking on the disk drive in the explorer.exe.
For the reference, disk space can be also managed by turning off indexing, logging, restoring, and virtual memory. Also windows have a one stop cleaning center, which can be accessed by right clicking on the disk drive in the explorer.exe.
We’ll need the following tools:
1. http://www.feyrer.de/g4u/nullfile-1.02.exe : This tool zeroes out free space, which our next tool compresses. For Linux based OS, search for a file, zerospace.c, which you’ll have to compile yourself.
2. VBoxManage : This tool is the command line management tool that ships with VirtualBox. Whatever you can do with the GUI, can be done by this. + A lot more
Ok now.
1. First boot into your VM. Defragment your drive atleast 2 times.
2. Copy the tool, nullfile mentioned above to the VM and run it. A simple double click should do it.
3. Now shutdown the guest. Open a terminal in the VM image directory. Most probably /home/_user_name_/.VirtualBox/VDI
4. Run our final command, We would be done after this.
VBoxManage modifyvdi _file_path_ compact
e.g. in my case I ran: VBoxManage modifyvdi /media/Blockk/VDI/NewHardDisk1.vdi compact
Wednesday, November 3, 2010
Uninstalled some program? Afraid of remaining dependencies? Clean them!
- To uninstall, check with 'completely uninstall' in Synaptic. You can review if anything undesired will be deleted.
- After uninstall, run
- Then run
Cleaned!
Check out this article to better understand.
- After uninstall, run
sudo apt-get autoremove
- Then run
sudo apt-get clean
.Cleaned!
Check out this article to better understand.
Connect with iPhone over WiFi
1. You need a jailbroken iPhone, OpenSSH installed.
2. Get
3. In Users and Groups under Ubuntu's administrations section, make sure you are a member of "fuse" group.
4. Connect your iPhone with USB cable. This is needed only once.
5. run
6. Rebooting is highly recommended.
Check out Lifehacker's guide!
2. Get
ipod-convenience
from here, and install it. You will be prompted to enter iPhone's IP address and the desired mount point.3. In Users and Groups under Ubuntu's administrations section, make sure you are a member of "fuse" group.
4. Connect your iPhone with USB cable. This is needed only once.
5. run
iphone-mount
. Check the file manager if it is mounted. To unmount, iphone-umount
.6. Rebooting is highly recommended.
Check out Lifehacker's guide!
Subscribe to:
Posts (Atom)