- 13,859 hits
Project Gutenberg: Your Free Digital Library
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Category Archives: Freedom
A normal OpenOffice.org installation (aptitude install openoffice.org) does not install the spell checking capabilities. To install:
- Install these packages: aspell, aspell-en, ispell, myspell-en-us, openoffice.org-thesaurus-en-us
- To have “check-as-you-type” feature (the red curvy lines indicating wrong spelling), go to Tools=>Options=>Language Settings=>Writing Aids and in the options, check the option “Check Spelling As You Type”
Sony Vaio VPCEB24FX laptops come with Marvell ethernet card and Inter wireless cards. lspci says:
04:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 4381 (rev 11)
02:00.0 Network controller: Intel Corporation Device 422c (rev 35)
In order to see which kernel drivers are required to run these devices, one can paste the output of “lspci -n” into http://kmuto.jp/debian/hcl/ . I did this and found out that the intel wireless device is “Centrino Advanced-N 6200″ which requires the iwlagn driver which is there in kernel 2.6.30- . The ethernet card is “80E8059 PCI-E Gigabit Ethernet Controller” which requires the sky2 driver which is present in kernel 2.6.33- . I installed Debian lenny which comes with kernel 2.6.26. For the intel wireless card, one can follow the instructions at http://wiki.debian.org/iwlagn . Its bit of a work in order to make the marvell ethernet card work since kernel 2.6.33 or above is not in lenny-backports or not even in sid. But we have 2.6.35-rc6 in debian experimental. In order to install it, add “deb ftp.debian.org/debian experimental main contrib non-free” into /etc/sources.list and then do a “aptitude install linux-image-2.6.35-rc6-686″ which installs the 2.6.35 kernel. This worked for me. Some sony vaio laptops come with atheros wireless chipsets. You can have a look at http://wiki.debian.org/ath9k to see how to configure it.
Thanks for people on irc for their help. and thanks also to the dpkg bot on #debian. (we can ask the bot with : “/msg dpkg which driver” for example)
I recently bought a Nokia E63 which runs Symbian Series 60 Version 3. To add more functionality I searched for Free and Open Source softwares to run on it. Following is a list softwares I found on the internet. The list will be updated as and when I find new stuffs.
- Alternatedjvu – To read djvu ebooks (http://sourceforge.net/projects/alternatedjvu/)
- Oggplay – To play ogg files (http://symbianoggplay.sourceforge.net/)
(Update: oggplay 2.0 beta can now play theora videos; http://sourceforge.net/projects/symbianoggplay/forums/forum/294908/topic/3728176)
- s2putty – putty ssh client for series 60 (http://s2putty.sourceforge.net/)
- Office Reader – Read OpenDocument files on series 60 (http://code.google.com/p/officereader/)
- Python for series 60 (http://sourceforge.net/projects/pys60/)
Recently, I had to create a Lenny chroot in my laptop running Squeeze. I also had to access, from the chroot environment, files which are outside the chroot directory. I asked around on IRC and received respose ranging from “Why do you need to access files outside your chroot” to “Try creating hard links”. After much asking and googling, the following method solved my problem:
SSHFS (Secure SHell FileSystem) is a file system for Linux (and other operating systems with a FUSE implementation, such as Mac OS X or FreeBSD) capable of operating on files on a remote computer using just a secure shell login on the remote computer. On the local computer where the SSHFS is mounted, the implementation makes use of the FUSE (Filesystem in Userspace) kernel module. The practical effect of this is that the end user can seamlessly interact with remote files being securely served over SSH just as if they were local files on his/her computer. On the remote computer the SFTP subsystem of SSH is used. — From man sshfs
The trick is to use sshfs to mount the required directory on your local machine onto a directory inside the chroot directory. Say, if u have your chroot directory at /srv/lenny-chroot and you have to access /home/user/stuffs from within chroot, you can simply do
sshfs localhost:/home/user/stuffs/ /srv/lenny-chroot/stuffs/
This will mount the required directory under /srv/lenny-chroot/stuffs . You must already have the /srv/lenny-chroot/stuffs directory created beforehand.
Now when you do a chroot /srv/lenny-chroot , your /home/user/stuffs directory and its contents will be accessible from /stuffs directory in the chroot environment. Once you are done with working inside the chroot and you exit it, you can unmount the stuffs directory by doing
fusermount -u /srv/lenny-chroot/stuffs
Till now I have been cursing myself for not being informed enough to buy a laptop which has a wifi card that can run entirely on Free Software. The Acer Aspire 4710z has a Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01) card. I have been using the wifi card with the Free b43 driver together with non-free firmware. All of this changed when i decided to rant about my misfortunes with the wifi card on #gnewsense on freenode. gnufs on #gnewsense pointed me to http://leorockway.wordpress.com/2009/07/04/0c00-0-network-controller-broadcom-corporation-bcm4311-802-11bg-wlan-rev-01-take-two/ . There, I came to know about OpenFWWF , a project “that provides an open source firmware for Broadcom/AirForce chipset based devices”.
The first link above lists steps on how to make the Broadcom wifi card work with the Free firmware under gNewSense. I tried to follow the steps to configure the card under Debian squeeze (presently testing) and it finally worked after I read some debian bug reports as well. The steps I followed are as follows:
Install kernel 2.6.30 from Debian Backports (Currently Squeeze has 2.6.26)
- Add “deb http://www.backports.org/debian/ lenny-backports main contrib non-free” to /etc/apt/sources.list
- aptitude install linux-image-2.6.30-bpo.1-686 (specific pkg name and version may change with time)
Build and install b43-asm (Tool to compile/assemble the firmware from their source code (b43-asm is not in the Debian repo at the time of writing this article)
- svn co svn://svn.berlios.de/fullstory/b43-asm/trunk b43-asm-debian
- cd b43-asm
- debuild -i -us -uc -b –lintian-opts -i (this builds the .deb package from the source tree. Just running debuild without any options gives some gpg key error)
- dpkg -i <name of the deb package built in the above step>
Build and install the openfwwf firmware from its source
- svn co svn://svn.berlios.de/fullstory/openfwwf/trunk openfwwf-debian
- cd openfwwf-debian
- debuild -i -us -uc -b –lintian-opts -i
- dpkg -i <name of the deb package built in the above step>. This installs the Free Software firmwares under /lib/firmware/b43-open/ .
OpenFWWF currently does not support hardware encryption and QOS yet. To force these module options automatically, it is recommended to install a module-init-tools override /etc/modprobe.d/openfwwf.conf containing the following line:
- options b43 nohwcrypt=1 qos=0
Or, just copy the corresponding example /usr/share/doc/openfwwf/examples/openfwwf.conf
Once the Free Firmware is installed, you can remove the previous non-free firmware from /lib/firmware/ directory. Now reboot the machine to see if everything has gone OK or not. On my machine, after rebooting, when i do:
dmesg | grep firmware , I get the following output:
[ 34.301153] b43 ssb0:0: firmware: requesting b43/ucode5.fw
[ 34.484276] b43 ssb0:0: firmware: requesting b43-open/ucode5.fw
[ 34.602878] b43 ssb0:0: firmware: requesting b43-open/pcm5.fw
[ 34.609582] b43 ssb0:0: firmware: requesting b43-open/b0g0initvals5.fw
[ 34.627897] b43 ssb0:0: firmware: requesting b43-open/b0g0bsinitvals5.fw
[ 34.717116] b43-phy0: Loading OpenSource firmware version 410.31754 (Hardware crypto not supported)
Which shows that everything went ok and that I am now using the Free firmware.
One more non-free component removed!! Yay!!! /
My thanks goes to people on #gnewsense (gnufs, graziano and all the others), the OpenFWWF developers and everyone in the Free Software Community.
Note: lspci says my wifi card is: 03:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
I got an OLPC XO today. Its not actually for me. Its from someone in America to a nunnery in Bumthang. They wanted me to install Dzongkha computing capabilities on the XO. Having never worked on this device, I do not know whether this would be possible or not. Anyways, I am happy to get this opportunity to use and work on an XO. Over the following days, I would be blogging my daily experience in using the device.
This guide is about how to configure your computer for Dzongkha computing
All the latest GNU/Linux distros has the basic support for Dzogkha like XKB keyboard map, Dzongkha locale etc. Debian and Ubuntu even has Dzongkha font package (ttf-dzongkha, which has the Jomolhari font). Here are the steps to enable Dzogkha support in your GNU/Linux box. This guide can be used for any distro.
For Debian and Ubuntu users, install ttf-dzongkha package. This installs the font called Jomolhari which is a Tshuyig Font. For Joyig, you have to install Wangdi. For other distros, download the zipped font file. This contains five fonts, Jomolhari, Wangdi, Joyig (smaller version of Wangdi), Tashi, Uchen.
In Gnome desktop, open Nautilus file browser. In the address bar, type “fonts://” (without the quotes). This will open the fonts directory. Now copy your choice of fonts in this directory. This insall the fonts in the .fonts directory in your home directory. This method installs the font for only the perticular user. You may need to logout and login again after this.
This method installs the font for only the perticular user. To install fonts globally, do the following as root. This needs executing commands at shell:
cp <fonts> /usr/share/fonts/truetype/dzongkha/
In KDE, go to KDE Control Center, select System Administration → Font Installer, and add the fonts. You may need to logout and login back after this.
Download Dzongkha fonts from here
Once the font is successfully installed, you will be able to write Dzongkha text using the OpenOffice office suite, view Dzongkha web content in any pango enabled browsers like Debian Iceweasel/Firefox, Epiphany etc and chat in Dzongkha using Gaim/Pidgin chat application. Debian’s Firefox, named Iceweasel, has excellent support for rendering Dzongkha. Epiphany (Gnome’s web browser) comes with pango disabled by default. To enable :
Start Gconf Editor by running “gconf-editor” in the command line
Go to Apps → Epiphany → Web and click on enable_pango.
To do Dzongkha wordprocessing, presentation and spreadsheet, insall and use OpenOffice Office Suite. Most of the major distros like Debian, Fedora has preconpiled, ready-to-use OpenOffice Packages. You just have to install them using your distro’s package manager. To enable text editing, you need to add Dzongkha Keyboard Indicator.
Right click on the upper panel and click on Add to Panel
Add Keyboard Indicator
The upper panel will now show just one keyboard, USA
Right click on USA , select Keyboard Preferences.
In Keyboard Preferences dialog, go to layout tab → Add → Layouts and select Bhutan from the dropdown list.
Now you can select between English and Dzongkha while editing by clicking on the Keyboard Indicator Icon on the upper panel.
Till now I was dual booting Windows XP and Debian on my Acer Laptop. I use XP mainly to play some games like warcraft and AoE. Recently, i have been thinking of having only “The One” OS on my machine and today I did it. I did a fresh Lenny install from a recent weekly-build iso (Downloaded the iso using Jigdo .. Hurrayh!!), with a seperate /home partition. The following lists some of the tweakings and features:
The 2.6.24 kernel that comes with lenny recognises my wireless chip. So I have only go to download the firmware. The boot messege even gives me the url from where to get the firmware.. awesome!! The url is http://linuxwireless.org/en/users/Drivers/b43#devicefirmware and all the instructions are there. Basically I need to install the firmware cutter b43-fwcutter. I did a aptitude install b43-fwcutter and the install process even has to option to download and install the firmware automatically. I did that and its working!!
My earphone jack which was not working with etch is working now. The only problem is when i use my earphone, the laptop speakers dont mute automatically, and have to do that manually. But this is much better than on XP where the earphone jack doesnt work atall. Someone on IRC adviced me to upgrade to 2.6.25 kernel. May be this will solve the un-muting problem .
3. System Time
There is this problem of setting the system time everytime i boot the machine. The bios time is ok but the system time always becomes 12 hours out of sync whenever i reboot. I did a google search and found out the solution:
Edit /etc/init.d/hwclock.sh and /etc/init.d/hwclockfirst.sh and change HWCLOCKPARS to HWCLOCKPARS=”–directisa”
This worked like a charm.
aptitude install bluetooth
Same as in the etch documentation:
aptitude install linux-uvc-source
m-a auto-install linux-uvc
My Acer laptop comes with a “VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)” graphics card and the lenny iso that i used for installation comes with xserver-xorg 7.3. To have openGL support inorder to have good graphics rendering for games:
aptitude insall libgl1-mesa-dri (this also installs libgl1-mesa-glx)
aptitude install mesa-utils (This installs the glxinfo util which we can use to check for direct rendering support)
Before installing the libgl1-mesa-dri, doing a “glxinfo | grep direct” tells me that I dont have direct support. But everything turns out fine once we install libgl1-mesa-dri. Now I can play openarena and may be even flighgear smoothly. This is thanks to all the help from enouf and Nemoder at #debian@OFTC. I even updated a wiki article here: http://wiki.debian.org/InstallingDebianOn/Dell/Inspiron6400/lenny
To install splashy refer this two links :
I am a book lover and so i download ebooks from the internet. Most of the books are in pdf or chm format. So i can read them with ease on my Debian system using eveince and gnochm. Recently I downloaded a book and it was in microsoft LIT format. Microsoft LIT (which stands for “Literature”) is a proprietary ebbok format which means there are no free readers for Free operating systems like GNU/Linux.
I searched on google and also asked on various irc channels to get information on the availability of a LIT ebook reader on debian GNU/Linux system. My search for a reader was unsuccessful but I came across a great application that can convert LIT ebooks to html.
The software is named “Open Convert-.LIT tool” and its home page is here. On my debian system, I had to use the debian-multimedia repository to install the software (the package name is clit.. hehe).
- Add debian-multimedia(folowing line) in /etc/apt/sources.list file
- deb http://www.debian-multimedia.org etch main
- sudo aptitude update
- sudo aptitude install clit
After installing just run clit without any filenames or options and it will display a short how-to to use the software. I usual and simple way to run the command is :
- clit <LIT file> <dir where you want the converted html and picture files>/
- ex . $clit book-XYZ.lit book-XYZ/
After the command is run, you will find the extracted html and images in the directory book-XYZ.
Any digital data, be it music, books, videos, in proprietary format is one evil that all of us should always fight against. They are the tools used by big corporates and evil governments to keep the people under unlawful control and to prey onto people’s privacy. If you have a document and you want others to read it, please release it under free formats like pdf, html or plain text. Every one of us has the Right to Read. Read this article by Richard Stallman to see what type of a place our beautiful earth will be if closed and proprietary formats of the big corporates win the war.
Download and read free ebooks and audio books from http://tuxmobil.org/ebook.html