[125002050010] |How to get Flash working in Opera 9.20 [125002050020] |Opera is a cross-platform web browser and Internet suite which handles common internet-related tasks including visiting web sites, sending and receiving e-mail messages, managing contacts, chatting online and displaying Widgets. [125002050030] |Opera’s lightweight mobile web browser Opera Mini and most current versions of its desktop application are offered free of charge. [125002050040] |Install Opera web Browser in Ubuntu [125002050050] |Download Opera 9.20 from here [125002050060] |Now you should have opera-static_9.20-20070409.1-qt_en_i386.deb package you need to install using the following command [125002050070] |sudo dpkg --force-architecture -i opera-static_9.20-20070409.1-qt_en_i386.deb [125002050080] |Now you need to download lesstif from here and install this package using the following command [125002050090] |sudo dpkg -i --force-architecture lesstif2_0.93.94-11.4ubuntu3_i386.deb [125002050100] |Now you need to download openmotif from here and install this package using the following command [125002050110] |sudo dpkg -i --force-all openmotif_2.1.30-5_i386.deb [125002050120] |Now you need to install Flash9 from here [125002050130] |Now you need to extract this file using the following comand [125002050140] |sudo tar xzvf install_flash_player_9_linux.tar.gz [125002050150] |Now you need to go in to the install_flash_player_9_linux directory [125002050160] |cd install_flash_player_9_linux/ [125002050170] |sudo cp libflashplayer.so /usr/lib/opera/plugins [125002050180] |sudo cp flashplayer.xpt /usr/lib/opera/plugins [125002050190] |Now you need to install following packages [125002050200] |sudo aptitude install ia32-libs ia32-libs-sdl ia32-sun-java5-bin ia32-libs-gtk flashplugin-nonfree sun-java6-plugin sun-java6-jre [125002050210] |Now you need to install Get qt3 libs download qt3 libs from here and install this package using the following comamnd [125002050220] |sudo dpkg -i --force-architecture libqt3-mt_3.3.8really3.3.7-0ubuntu5_i386.deb [125002050230] |Now you can launch your opera webbrowser and enjoy your news,programs etc [125002060010] |Howto upgrade kernel(2.6.22-9-generic) in Feisty Fawn [125002060020] |Currently Feisty Fawn users (7.04) using the generic kernel (which is 2.6.20-16-generic). [125002060030] |This tutorial will explain howto upgrade you to kernel version 2.6.22-9-generic(as of 07AUG07). [125002060040] |If you want to know what are the chnages in kernel version 2.6.22 check here [125002060050] |First you need to add the Gutsy repository (this is only temporary to pull the new kernel) [125002060060] |echo ‘deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted’ | sudo tee -a /etc/apt/sources.list [125002060070] |Update the source list using the following command [125002060080] |sudo apt-get update [125002060090] |you need to install the new kernel using the following command [125002060100] |sudo apt-get install linux-backports-modules-2.6.22-9-generic linux-headers-2.6.22-9 linux-headers-2.6.22-9-generic linux-image-2.6.22-9-generic linux-restricted-modules-2.6.22-9-generic linux-ubuntu-modules-2.6.22-9-generic [125002060110] |Now you should remove the Gutsy repository from your sources.list [125002060120] |sudo vi gedit /etc/apt/sources.list [125002060130] |Now you can remove the line or simply comment it out [125002060140] |#deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted [125002060150] |Now save the file and exit. [125002060160] |Update the source list using the following command [125002060170] |sudo apt-get update [125002060180] |If you’ve done all of the above without errors, you’ve successfully installed 2.6.22-9-generic. [125002060190] |Now you need to reboot into the new kernel [125002060200] |sudo reboot [125002060210] |Troubleshooting [125002060220] |After rebooting if you have any problem you need to follow this procedure to revert back your changes. [125002060230] |Reboot your computer and at Grub press esc to boot into your last kernel. (probably 2.6.20-16-*) [125002060240] |Remove the installed kernel packages [125002060250] |sudo apt-get remove linux-backports-modules-2.6.22-9-generic linux-headers-2.6.22-9 linux-headers-2.6.22-9-generic linux-image-2.6.22-9-generic linux-restricted-modules-2.6.22-9-generic linux-ubuntu-modules-2.6.22-9-generic [125002060260] |Removing the packages will remove the kernel from your Grub menu. [125002060270] |But for some reason it doesn’t follow these steps to remove it [125002060280] |sudo vi gedit /boot/grub/menu.lst [125002060290] |Now remove the following and save the file [125002060300] |title Ubuntu, kernel 2.6.22-9-generic root (hd0,0) kernel /boot/vmlinuz-2.6.22-9-generic root=UUID=34f3806f-36b8-494d-be17-78325684a0a5 ro quiet splash initrd /boot/initrd.img-2.6.22-9-generic quiet savedefault [125002060310] |title Ubuntu, kernel 2.6.22-9-generic (recovery mode) root (hd0,0) kernel /boot/vmlinuz-2.6.22-9-generic root=UUID=34f3806f-36b8-494d-be17-78325684a0a5 ro single initrd /boot/initrd.img-2.6.22-9-generic [125002060320] |Now rebbot your system. [125002070010] |Howto Install artwiz fonts in Ubuntu [125002070020] |The artwiz fonts are a set of small futuristic fonts for x11, created by Artwiz,TigerT,and Daniel Erat.These fonts are most popular with openbox/fluxbox users. [125002070030] |Install artwiz fonts in Ubuntu [125002070040] |sudo aptitude install xfonts-artwiz2 [125002070050] |Enable bitmapped fonts using the following command [125002070060] |sudo dpkg-reconfigure fontconfig-config [125002070070] |Now it will prompt for some questions first one is font tuning method for screen i have selected native and press enter [125002070080] |Enable Subpixel rendering for scree select automatic and press enter [125002070090] |It will ask whether you want to enable bitmapped fonts by default select “yes” and press enter. [125002070100] |Restart your x by pressing Ctrl+Alt+Backspace. [125002070110] |If you are using fluxbox or openbox, you can select these fonts for your apps by running [125002070120] |gnome-font-properties [125002070130] |then selecting “Application font”. [125002070140] |If you are using gnome, go to System >Preferences >Font. [125002080010] |Install the LAMP stack with 3 commands! [125002080020] |For this article, I’ll assume that you already have Ubuntu installed. [125002080030] |It’s one of the easiest distro’s out there to install, ranking right up there with Fedora and Suse. [125002080040] |After installation is complete, and you log in for the first time, you’ll most likely be prompted to install updates. [125002080050] |Install these updates and reboot before continuing. [125002080060] |Typically, you don’t need to reboot after an update, but just in case you updated your kernel, go ahead and do it. [125002080070] |Now, let’s get to it. [125002080080] |Open a terminal window and run the following commands: [125002080090] |sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-xsl php5-gd php-pear libapache2-mod-auth-mysql php5-mysql [125002080100] |sudo sed -i ‘s/; extension=mysql.so/extension=mysql\.so/g’ /etc/php5/apache2/php.ini [125002080110] |#That’s a series of 3 spaces after ‘s/; [125002080120] |sudo /etc/init.d/apache2 restart [125002080130] |Reboot and you’re done! [125002080140] |What do those commands do? [125002080150] |Well, the first one installs all of the packages needed. [125002080160] |The second one uses sed to remove the semicolon (which denotes a comment) from the php config file, thus allowing php to work with mysql. [125002080170] |The third one simply restarts apache. [125002080180] |In the above commands, there should only be 3 lines. [125002080190] |Your display settings may cause the commands to span more than 3 lines. [125002080200] |If so, just copy and paste line by line. [125002080210] |Each command begins with sudo. [125002090010] |How to Convert chm files to HTML or PDF files [125002090020] |Microsoft Compiled HTML Help is a proprietary format for online help files, developed by Microsoft and first released in 1997 as a successor to the Microsoft WinHelp format. [125002090030] |It was first introduced with the release of Windows 98, and is still supported and distributed through Windows XP platforms. [125002090040] |HTML Help files are made with help authoring tools. [125002090050] |Microsoft ships the HTML Help Workshop with supported versions of Microsoft Windows and makes the tool available for free download. [125002090060] |There are also a lot of third-party help authoring tools available. [125002090070] |CHM files, known as Microsoft Compressed HTML Help files, are a common format for eBooks and online documentation. [125002090080] |They are basically a collection of HTML files stored in a compressed archive with the added benefit of an index. [125002090090] |Under Linux, you can view a CHM file with the xchm viewer. [125002090100] |But sometimes that’s not enough. [125002090110] |Suppose you want to edit, republish, or convert the CHM file into another format such as the Plucker eBook format for viewing on your Palm. [125002090120] |To do so, you first need to extract the original HTML files from the CHM archive. [125002090130] |This can be done with the CHMLIB (CHM library) and its included helper application extract_chmLib. [125002090140] |Install Chmlib in Ubuntu [125002090150] |sudo apt-get install libchm-bin [125002090160] |Convert .chm files in to HTML files [125002090170] |If you want to convert .chm files in to HTML files use the following command [125002090180] |extract_chmLib book.chm outdir [125002090190] |where book.chm is the path to your CHM file and outdir is a new directory that will be created to contain the HTML extracted from the CHM file. [125002090200] |Convert .chm files in to PDF files [125002090210] |First you need to install htmldoc. [125002090220] |HTML processor that generates indexed HTML, PS, and PDF.HTMLDOC is a program for writing documentation in HTML and producing indexed HTML, PostScript, or PDF output (with tables of contents). [125002090230] |It supports most HTML 3.2 and some HTML 4.0 syntax, as well as GIF, JPEG, and PNG images. [125002090240] |sudo apt-get install htmldoc [125002090250] |If you want to use htmldoc type the following command in terminal [125002090260] |htmldoc [125002090270] |Once it opens you should see similar to the following screen here you can choose the html file and convert them to pdf,ps [125002100010] |How to Install Tor to Surf Anonymously in Ubuntu Feisty with Firefox [125002100020] |This article explains how to set up Tor in Feisty based on my own experience (with Gnome interface). [125002100030] |Tor is a program that allows one to surf through a local proxy with a routed IP address (so the webpage you surf does not have a record of your own IP address). [125002100040] |I got it work in Firefox2, so this tutorial will mainly be for Firefox users (if you use Firefox 1.5 or under, you need to install Privoxy in addition to the two steps below). [125002100050] |Installing Tor in Ubuntu Feisty [125002100060] |We will be using apt-get command to install Tor. [125002100070] |However, the Tor copy in Ubuntu universe didn’t work for me. [125002100080] |I had to use the one from noreply.org. [125002100090] |To do so, do in the terminal [125002100100] |$ sudo gedit /etc/apt/sources.list [125002100110] |After the file is opened, add these two lines to the end of the sources.list file: [125002100120] |Save the file and exit gedit. [125002100130] |In the terminal, type: [125002100140] |$ sudo apt-get update [125002100150] |Read to see if apt-get tells you that you are missing a Pubkey for noreply.org. [125002100160] |If so, you need to use gpg command to add the key to apt-get. [125002100170] |In the terminal, do: [125002100180] |$ sudo gpg --keyserver subkeys.pgp.net -- recv 94C09C7F [125002100190] |$ sudo gpg --fingerprint 94C09C7F [125002100200] |After you got the key, do: [125002100210] |$ sudo gpg --export 94C09C7F | sudo apt-key add - [125002100220] |Now you can do install through apt-get: [125002100230] |$ sudo apt-get update [125002100240] |$ sudo apt-get install tor [125002100250] |You should see a message showing that tor is starting. [125002100260] |SETTING UP FIREFOX [125002100270] |The easiest way to use Tor with Firefox is to use an extension/addon to manage the Tor proxy. [125002100280] |Neither Torbutton nor Switch proxies recommended in other tutorials worked for me. [125002100290] |However, I find that it is really easy to work with FoxyProxy. [125002100300] |To install the addon, open your Firefox browser and go here: [125002100310] |https://addons.mozilla.org/en-US/firefox/addon/2464 [125002100320] |Follow the link to install the FoxyProxy addon. [125002100330] |Upon Firefox restarts, the addon will ask you some configuration questions and automatically make Tor work for you. [125002100340] |Now through the FoxyProxy option, you can specify which website to be visited with Tor proxy. [125002100350] |CHECKING IF ITS WORK [125002100360] |To see if your Tor is working, first visit this site without using FoxyProxy: https://torcheck.xenobite.eu/.Note the IP address on the site. [125002100370] |Then, open FoxyProxy option, add this site as a whitelist in FoxyProxy (by editing the property of the Tor proxy in FoxyProxy), and then visit the site again: [125002100380] |https://torcheck.xenobite.eu/ [125002100390] |The test may show a message saying that you are not using Tor, but you can ignore it. [125002100400] |Look at the IP address being shown and see if it is different from your previous visit. [125002100410] |If so, you are routing your address successfully. [125002110010] |Howto Setup Bluetooth Keyboard and Mouse in Ubuntu [125002110020] |If you have a Bluetooth Keyboard and Mouse here is the procedure to follow howto setup in ubuntu [125002110030] |We need the MAC address (e.g. 00:00:00:00:00) of the mouse and keyboard.You can use KEYBOARD_ADDR and MOUSE_ADDR where you should find the addresses for the keyboard and mouse respectively. [125002110040] |Press the button on the mouse that makes it visible to be found by the computer. [125002110050] |Do the same for the keyboard. [125002110060] |Now open a terminal window and run the following command [125002110070] |hcitool scan [125002110080] |Scanning …KEYBOARD_ADDR Microsoft Wireless Keyboard MOUSE_ADDR Microsoft Mouse [125002110090] |Adding the Keyboard and Mouse [125002110100] |Now we need to add the keyboard and mouse to the bluetooth configuration files. [125002110110] |Run the following command to pop up GEdit [125002110120] |sudo gedit /etc/bluetooth/hcid.conf [125002110130] |You may be asked for your password, this is because we used sudo. [125002110140] |At the end of the file, add the following (replacing KEYBOARD_ADDR and MOUSE_ADDR for the keyboard and mouse MAC addresses as found earlier) [125002110150] |device KEYBOARD_ADDR { name “Microsoft Wireless Keyboard”; auth enable; encrypt enable; } [125002110160] |device MOUSE_ADDR { name “Microsoft Mouse”; } [125002110170] |Now you need to restart the bluetooth subsystem so that it refreshes it’s configuration file. [125002110180] |sudo /etc/init.d/bluez-utils restart [125002110190] |* Restarting Bluetooth services… [ ok ] [125002110200] |Pairing the Devices [125002110210] |You now need to pair the devices with the computer. [125002110220] |Do not press any buttons on the keyboard as we’ll need to use it to enter a passcode so we can pair. [125002110230] |Run the following command [125002110240] |sudo hidd --search [125002110250] |Searching …Connecting to device MOUSE_ADDR Connecting to device KEYBOARD_ADDR [125002110260] |They could pair with the computer in any order, you will need to remember which one is the keyboard. [125002110270] |As soon as Connecting to device KEYBOARD_ADDR appears you must enter a PIN code into the keyboard. [125002110280] |It must consist of numbers not using the numpad, somewhere between 4 and 8 should be fine. [125002110290] |Type this number in to the keyboard and press Return. [125002110300] |A window should pop up on your computer asking you for the number you just entered on the keyboard. [125002110310] |You should now be set up. [125002110320] |The devices should automatically reconnect when they go to sleep and when your computer boots up. [125002110330] |Troubleshooting [125002110340] |If you have followed all the steps above and you find your mouse or keyboard don’t automatically reconnect, we can fix it. [125002110350] |Run the following command in a terminal [125002110360] |sudo gedit /etc/default/bluez-utils [125002110370] |Find the following lines [125002110380] |HIDD_ENABLED=0 HIDD_OPTIONS=”…” [125002110390] |Change them to [125002110400] |HIDD_ENABLED=1 HIDD_OPTIONS=”--master --connect KEYBOARD_ADDR --connect MOUSE_ADDR --server” [125002110410] |Now reboot and hopefully they’ll automatically connect (give them a few seconds to connect after you move the mouse/press a key). [125002120010] |Securing SSH Using Denyhosts [125002120020] |SSH is a great way to remotely administer a server. [125002120030] |However, it still has a number of issues when you open it up to the world. [125002120040] |The server and client communications are secure but that doesn’t mean the hosts involved are. [125002120050] |Opening an SSH service to the world allows for brute force attacks and means that the carbon interface is still the weakest link. [125002120060] |There are some very simple steps you can take to really harden remote access over SSH, especially if you can’t simply tie the service down to a limited number of source ports. [125002120070] |First things first, sshd_config. [125002120080] |In Ubuntu this is usually found in /etc/ssh and can be used to configure a great number of features. [125002120090] |The simplest ones to deal with are always the best. [125002120100] |Restricting the users who can login via SSH is a first principle. [125002120110] |This can be done in one of two ways, by user or by group. [125002120120] |AllowGroups allows any user in this group authenticated access to the server via SSH. [125002120130] |A more fine grained approach is to use the AllowUsers option. [125002120140] |Another easy win is by moving the listen port from 22 to some other randomly assigned port. [125002120150] |This reduces the likelihood of a scan showing SSHD running. [125002120160] |Other steps you might want to take include disabling root access, disable password authentication and using keys only. [125002120170] |The next step is a wee tool called Denyhosts (http://denyhosts.sourceforge.net/). [125002120180] |Make sure you’ve got the additional sources enabled in /etc/apt/source.list and then type: [125002120190] |sudo apt-get update [125002120200] |sudo apt-get install denyhosts [125002120210] |DenyHosts is a python script intended to be run by Linux system administrators to help thwart SSH server attacks (also known as dictionary based attacks and brute force attacks). [125002120220] |Denyhosts acts as a dynamic blocker for SSH and other services. [125002120230] |It relies on the /etc/hosts.deny and hosts.allow. [125002120240] |It dynamically builds a list of hosts that repeatedly connect to your server. [125002120250] |By default the service will block connections from IP sources that are repeated attempting to connect and access your host. [125002120260] |The denyhosts process is configured in /etc/denyhosts.conf [125002120270] |There are additional things that can be done using iptables to rate limit connections and you should always run a firewall on your hosts but I’ll deal with that in a separate post. [125002120280] |Once you’ve put these steps in place you can rest assured the SSH on a public facing host is much more secure, there’s no guarantees but every little helps. [125002130010] |Widescreen Resolutions for Intel Display Cards In Ubuntu Feisty [125002130020] |Many People have been having problems with Intel Graphics in widescreen so here is the solution howto fix this. [125002130030] |Open Up Your Terminal [125002130040] |Install i8xx,i9xx display driver [125002130050] |In order to use higher resolution install updated Intel i8xx, i9xx display driver. [125002130060] |It is provided by a package called xserver-xorg-video-intel. [125002130070] |This package provides the driver for the Intel i8xx and i9xx family of chipsets, including i810, i815, i830, i845, i855, i865, i915, and i945 series chips. [125002130080] |sudo apt-get install xserver-xorg-video-intel [125002130090] |When this is finished reboot your system [125002130100] |Now you need to go to System>Preferences>Screen Resolution to see all of the new options. [125002140010] |Mount and Unmount ISO,MDF,NRG Images Using AcetoneISO (GUI Tool) [125002140020] |AcetoneISO is CD/DVD image manipulator for Linux.Using this tool it is very easy to Mount and Unmount ISO,MDF,NRG Images [125002140030] |AcetoneISO Features [125002140040] |
  • Mount and Unmount ISO, MDF, NRG (if iso-9660 standard)
  • [125002140050] |
  • Convert / Extract / Browse to ISO : *.bin *.mdf *.nrg *.img *.daa *.cdi *.xbx *.b5i *.bwi *.pdi
  • [125002140060] |
  • Play a DVD Movie ISO with most used media players
  • [125002140070] |
  • Generate an ISO from a Folder or CD/DVD
  • [125002140080] |
  • Generate MD5 file of an image
  • [125002140090] |
  • Encrypt an image
  • [125002140100] |
  • Split image in X megabyte
  • [125002140110] |
  • Compress with High Ratio an image
  • [125002140120] |
  • Rip a PSX cd to *.bin to make it work with epsxe/psx emulators
  • [125002140130] |
  • Service-Menu support for Konqueror
  • [125002140140] |
  • Restore a lost CUE file of *.bin *.img
  • [125002140150] |Preparing Your System [125002140160] |You need to install kommander ( it consists of an editor and a program executor that produce dialogs that you can execute), which is required by AcetoneISO. [125002140170] |You also need p7zip (a file archiver with highest compression ratio) to compress and extract ISO images. [125002140180] |sudo apt-get install kommander p7zip [125002140190] |Install AcetoneISO in Ubuntu [125002140200] |First you need to download latest AcetoneISO .deb package from here [125002140210] |wget http://mesh.dl.sourceforge.net/sourceforge/acetoneiso2/acetoneiso2_2.0.1_x86.deb [125002140220] |Now you should be having acetoneiso2_2.0.1_x86.deb file you need to install this file using the follwoing command [125002140230] |sudo dpkg -i acetoneiso2_2.0.1_x86.deb [125002140240] |This will complete the installation [125002140250] |Now you need to go to Application >Accessories >AcetoneISO [125002140260] |Once it opens you should see similar to the following screen [125002150010] |Ubuntu Next Version is 8.04 with code name Hardy Heron [125002150020] |Announcing the Hardy Heron (Ubuntu 8.04), the next version of Ubuntu that will succeed Gutsy Gibbon (Ubuntu 7.10, due for release in October 2007). [125002150030] |Not only will the Ubuntu community continue to do what it does best, produce an easy-to-use, reliable, free software platform, but this release will proudly wear the badge of Long Term Support (LTS) and be supported with security updates for five years on the server and three years on the desktop. [125002150040] |We look forward to releasing the Hardy Heron in April 2008. [125002150050] |With the opening of each new release cycle of Ubuntu, we have more and more opportunity at our fingertips. [125002150060] |Not only are our friends in the upstream world constantly innovating and extending their applications and software, but the Ubuntu community continues to see incredible growth in its diverse range of areas such as packaging, development, documentation, quality assurance, translations, LoCo teams and more. [125002150070] |Each new release gives us all an opportunity to shine, irrespective of which bricks in the project we are laying, and this is at the heart of our belief - working together to produce an Operating System that will empower its users and shape the IT industry, putting free software at the corner-stone of our direction. [125002150080] |Most people only ever see the end-user view of Ubuntu, running it on their desktops, servers and mobile devices around the world. [125002150090] |For these users, Ubuntu provides a simple, convenient means to do what they want to do easily, effectively and without unnecessary complexity. [125002150100] |For many of us though, we want to open up the hood and understand how the system works and how to extend and grow it. [125002150110] |Thousands of us get out of bed every day, united behind Ubuntu, ready to make a difference, working together to make our vision happen. [125002150120] |Read more here [125002160010] |How to install/use packages in UBUNTU 7.04 DVD? [125002160020] |Hello friends, [125002160030] |I recently downloaded UBUNTU 7.04 DVD and installed it on my lappy. [125002160040] |Previously I had used Red Hat and Suse Linux ( 5cd pack) which installed all the packages included in the cds. [125002160050] |But this UBUNTU dvd installed only the base OS which we can install using a UBUNTU cd. [125002160060] |What about the other packages given in the DVD . [125002160070] |How to install them? [125002160080] |When i am trying to install the packages using package manager it is downloading them from internet not using the DVD. [125002160090] |What is exactlly given in the DVD ? [125002170010] |Nice Ubuntu Comic [125002170020] |If you want nice Ubuntu Comic this is for you [125002180010] |Ubuntu Linux + Apache2 + Virtual Hosts + Syslog Server [125002180020] |This tutorial will explain How to install syslog server in ubuntu using apache. [125002180030] |Steps Involved in this tutorial 1) Install Apache2 and change the ports 2) Virtual Hosts: an example 3) Syslog Server with php and Virtual Hosts 4) Only me wants to see the log files (by using a .htacces file) [125002180040] |Local static ip address [125002180050] |Imagine yourself that eth0 is your internet interface and you want 192.168.0.102 as your local ip address. [125002180060] |Change the /etc/network/interface file and save it. [125002180070] |This is an excellent example then: [125002180080] |auto eth0 iface eth0 inet static address 192.168.0.102 netmask 255.255.255.0 gateway 192.168.0.1 broadcast 192.168.0.255 [125002180090] |Ofcourse you’ll have to modify it for your own needs, the above file is just an example file ofcourse. [125002180100] |Preparing syslog [125002180110] |mkdir /logs (let’s make a directory for our logs) Modify /etc/syslog.conf and add the next rule if you really would like to log everything: (don’t forget to save it) *.* /logs/logger.log [125002180120] |It’s possible you’re only interessed in a few things, here is the list: [125002180130] |auth - authentication (login) messages cron - messages from the memory-resident scheduler daemon - messages from resident daemons kern - kernel messages lpr - printer messages (used by JetDirect cards) mail - messages from Sendmail user - messages from user-initiated processes/apps local0-local7 - user-defined (see below) syslog - messages from the syslog process itself [125002180140] |0 - Emergency (emerg) 1 - Alerts (alert) 2 - Critical (crit) 3 - Errors (err) 4 - Warnings (warn) 5 - Notification (notice) 6 - Information (info) 7 - Debug (debug) [125002180150] |Would you like to log everything from auth, cron, lpr error and only syslogs warnings then you have to add next lines to /etc/syslog.conf [125002180160] |auth.* /logs/logger.log cron.* /logs/logger.log kern.* /logs/logger.log lpr.3 /logs/logger.log syslog.4 /logs/logger.log [125002180170] |Now modify /etc/init.d/ksyslogd with your favourite editor and do the next: [125002180180] |SYSLOGD=”” Change this line by the next line and save: SYSLOGD=”-r -m0” [125002180190] |restart networking again: /etc/init.d/networking restart [125002180200] |Install Apache2 and stuff: [125002180210] |apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client [125002180220] |php5-mysql [125002180230] |Check cat /etc/hostname, and the hostname that you are seeing here you have to [125002180240] |place in your /etc/hosts file, together with your local static ip address. /etc/hosts: 192.168.0.102 myhostname Don’t forget to change the above to your own needs! [125002180250] |I decided to host on Port 8070, my ISP (Telenet Belgium) has blocked all ports under 1024. [125002180260] |Modify /etc/apache2/ports.conf: (Listen 80 must be replaced by Listen 8070) Listen 8070 [125002180270] |If you are behind a NAT, don’t forget to open this port on your router. [125002180280] |Now we’re going to install our virtual hosts. cd /etc/apache2/sites-available touch myname.homelinux.com (we create our name) Now edit your myname.homelinux.com file with your favorite editor and make sure it looks like this: [125002180290] |ServerAdmin you@mail.com ServerName myname.homelinux.com ServerAlias myname.homelinux.com DirectoryIndex index.php DocumentRoot /logs [125002180300] |Ok, now we’re going to etc/apache2/sites-enabled [125002180310] |cd /etc/apache2/sites-enabled ln -s /etc/apache2/sites-available/myname.homelinux.com myname.homelinux.com This symbolic link (ln -s) is absolutely necessary. [125002180320] |Ok, now we’re going to our logs directory and we place there an index.php file cd /logs touch index.php Modify index.php now with your favorite editor. [125002180330] |This is how it should look like: [125002180340] |Restart apache: /etc/init.d/apache2 force-reload [125002180350] |Ok, go to www.dyndns.com and www.whatsmyip.org (memorize your ip) And on dyndns you registrate yourself, you log in, then click DNS services -> [125002180360] |dynamic DNS -> Add Host -> and you registrate myname.homelinux.com. [125002180370] |Mention your remote IP (what you saw at whatsmyip.org at the ip line) [125002180380] |If you visit now your myname.homelinux.com/:8070 webpage you will be able to see your syslogs! [125002180390] |4) Only me wants to see the log files (by using a .htacces file) [125002180400] |Now we take measures: Only you will have the possibility to see your syslogs. [125002180410] |cd /logs (Yes we go again to the /logs directory) touch .htaccess (We’ll make an .htaccess file) Modify .htaccess with your favorite editor. [125002180420] |This is how your .htaccess file should look like: [125002180430] |AuthUserFile /root/.htpasswd AuthName ‘Access is limited here’ AuthType basic require valid-user [125002180440] |cd /root (go to the /root directory) htpasswd -c .htpasswd webmaster (let’s make a valid account) [125002180450] |Now modify the /etc/apache2/sites-available/default file with your favorite editor: [125002180460] |DocumentRoot /var/www [125002180470] |Options FollowSymLinks AllowOverride None [125002180480] |Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all # Uncomment this directive is you want to see apache2′s # default start page (in /apache2-default) when you go to / #RedirectMatch ^/$ /apache2-default/ [125002180490] |This AllowOverride all tells apache2 it has to deal with a .htaccess file. [125002180500] |Restart apache2 again: /etc/init.d/apache2 force-reload [125002180510] |Go to your site now, you’ll have to give a password that you’ve specified. [125002180520] |Conclusion [125002180530] |Now you have a syslog server that’s using the virtual host technique on apache2. [125002180540] |And only you is able to read the information, caused by the .htaccess file. [125002180550] |By phar0z | mansondudeNOSPAM@gmail.com [125002190010] |Howto Silence Sony Vaio laptop fan Using Fansilencer [125002190020] |Many people complain that Sony Vaio laptops are loud because of the fan. [125002190030] |Fan is running almost all the time, which can be very annoying. [125002190040] |This program works under Linux and requires SonyPI driver to work. [125002190050] |This driver is preinstalled at least in Ubuntu distribution. [125002190060] |This program allows you to determine the maximum temperature. [125002190070] |When temperature reaches this definied maximum the fan starts to run. [125002190080] |It runs until the temperature is drop down to the level that user wants. [125002190090] |Program simply prevents fan from running until the predefined temperature limit has been exceeded. [125002190100] |After this fan runs until the ‘low limit’ has been reached. [125002190110] |It is a very simple program indeed and shouldn’t require any extra explonations. [125002190120] |Below is a concole output of the Fansilencer. [125002190130] |Sony Vaio - Fan silencer v0.1 ----------------------------- Usage: fansilencer [MAX TEMPERATURE] [ACTIVE TEMPERATURE] [125002190140] |Fan activates when temperature reaches given MAX TEMPERATURE and runs until temperature is dropped down to ACTIVE TEMPERATURE. [125002190150] |WARNING! [125002190160] |DO NOT USE TOO HIGH MAX TEMPERATURE. [125002190170] |THIS MIGHT DAMAGE YOUR SYSTEM OR BREAK IT COMPLETELY! [125002190180] |USE AT YOUR OWN RISK. [125002190190] |Note : As you can see, stopping the fan from working can be dangrous and harm your system! [125002190200] |You can download this program from here [125002200010] |Howto Install Intel C++ Compiler 10 on Ubuntu Feisty Fawn [125002200020] |Intel® C++ Compiler Professional Edition offers the best support for creating multi-threaded applications. [125002200030] |Only the Professional Edition offers the breadth of advanced optimization, multi-threading, and processor support that includes automatic processor dispatch, vectorization, auto-parallelization, OpenMP*, data prefetching, and loop unrolling, along with highly optimized C++ templates for parallelism, math processing, and multimedia libraries. [125002200040] |If you want to know the features check here [125002200050] |You need to install non-commercial license software from here [125002200060] |Once you downloaded the file you need to Extract the archive [125002200070] |tar xfzv l_cc_p_10.0.023_ia32.tar.gz [125002200080] |We need to convert the RPM to a debian package using alien [125002200090] |sudo apt-get install alien [125002200100] |cd l_cc_p_10.0.023_ia32/data [125002200110] |sudo alien -cv intel-icc100023-10.0.023-1.i386.rpm [125002200120] |We can now install the debian package [125002200130] |sudo dpkg -i intel-icc100023_10.0.023-2_i386.deb [125002200140] |Now we need to copy our license file to the appropriate directory [125002200150] |sudo mkdir -p /opt/intel/licenses [125002200160] |sudo cp /your/license/path/NCOM_L_CMP_CPP_NB96-WLC77F6B.lic /opt/intel/licenses [125002200170] |Finally, we need to adjust some strings in the executable scripts [125002200180] |cd /opt/intel/cc/10.0.023/bin [125002200190] |sudo perl -pi -w -e ‘s/!\/bin\/sh/!\/bin\/bash/g;’ * [125002200200] |sudo perl -pi -w -e 's//\/opt\/intel\/cc\/10.0.023/g;' * [125002200210] |To have the compiler directories in the path environment variable, execute [125002200220] |. ./iccvars.sh [125002200230] |Now, try [125002200240] |icc --version [125002200250] |You should see some output like [125002200260] |icc (ICC) 10.0 20070426 [125002200270] |Finally, if you want to have the compiler in the path all the time, append to your ~/.bashrc [125002200280] |source /opt/intel/cc/10.0.023/bin/iccvars.sh [125002200290] |To uninstall, simply select the appropriate intel package in synaptic. [125002210010] |Settingup an FTP Server on Ubuntu with ProFTPD [125002210020] |ProFTPD is a proven, high-performance, scalable FTP server written from scratch, with a focus toward simplicity, security, and ease of configuration. [125002210030] |Naturally, ProFTPD powers some of the largest sites on the Internet. [125002210040] |It features a very Apache-like configuration syntax, modules, and a highly customizable server infrastructure, including support for multiple ‘virtual’ FTP servers, anonymous FTP, and permission-based directory visibility. [125002210050] |ProFTPD Features [125002210060] |
  • Single main configuration file, with directives and directive groups which are intuitive to any administrator who has ever used the Apache web server.
  • [125002210070] |
  • Per directory “.ftpaccess” configuration similar to Apache’s “.htaccess”.
  • [125002210080] |
  • Easy to configure multiple virtual FTP servers and anonymous FTP services.
  • [125002210090] |
  • Designed to run either as a stand-alone server or from inetd/xinetd, depending on system load.
  • [125002210100] |
  • Anonymous FTP root directories do not require any specific directory structure, system binaries or other system files.
  • [125002210110] |
  • No SITE EXEC command. [125002210120] |In modern Internet environments, such commands are a security nightmare. [125002210130] |ProFTPD does not execute any external programs at any time. [125002210140] |The source is available (and must always be available) for administrators to audit.
  • [125002210150] |
  • Hidden directories and files, based on Unix-style permissions or user/group ownership.
  • [125002210160] |
  • Runs as a configurable non-privileged user in stand-alone mode in order to decrease chances of attacks which might exploit its “root” abilities. [125002210170] |Note: This feature is dependent on the capabilities of the host Unix system.
  • [125002210180] |
  • Logging and utmp/wtmp support. [125002210190] |Logging is compatible with the wu-ftpd standard, with extended logging available.
  • [125002210200] |
  • Shadow password suite support, including support for expired accounts.
  • [125002210210] |
  • Modular design, allowing server to be extended easily with modules. [125002210220] |Modules have been written for SQL databases, LDAP servers, SSL/TLS encryption, RADIUS support, etc.
  • [125002210230] |
  • IPv6 support.
  • [125002210240] |Install Proftpd Server in Ubuntu [125002210250] |If you want to install proftpd in ubuntu use the following command [125002210260] |sudo apt-get install proftpd [125002210270] |This will start the installation this time it will ask one question you want to run proftp server from inetd or standalone here select standalone and press enter after this installation will be completed. [125002210280] |Configuring ProFTPD Server [125002210290] |By default proftp configuration file is located under /etc i.e /etc/proftpd.conf [125002210300] |If you want to check the default proftpd.conf file check here [125002210310] |We are going to change the basic configuration for proftp server this includes security configuration also. [125002210320] |Now you need to edit the /etc/proftpd.conf file using vi or any other editor and you need to change the following Directives or add the following directives for proftp server configuration these are only some of basic directives if you want to know available directives check here sudo vi /etc/proftpd.conf [125002210330] |Change the following directives [125002210340] |ServerName — Configure the name displayed to connecting users [125002210350] |ServerName “proftp server” [125002210360] |ServerIdent — Set the message displayed on connect [125002210370] |ServerIdent on “Welcome to proftp server” [125002210380] |UseReverseDNS — Toggle rDNS lookups [125002210390] |UseReverseDNS off [125002210400] |IdentLookups — Toggle ident lookups [125002210410] |IdentLookups off [125002210420] |DefaultRoot — Sets default chroot directory [125002210430] |DefaultRoot ~ [125002210440] |RequireValidShell -- Allow connections based on /etc/shells [125002210450] |RequireValidShell off [125002210460] |MaxClients — Limits the number of users that can connect [125002210470] |DenyFilter -- Regular expression of command arguments to be blocked [125002210480] |DenyFilter \*.*/ [125002210490] |Maxclients 30 [125002210500] |MaxClientsPerHost — Limits the connections per client machine [125002210510] |MaxClientsPerHost 50 [125002210520] |After adding these directives you need to restrat your proftpd server to take these changes effect. [125002210530] |sudo /etc/init.d/proftpd restart [125002210540] |Now your Basic server configuration is ready To perform a syntax check of your proftpd.conf file use the following command [125002210550] |sudo proftpd -td5 [125002210560] |Proftp Client Installation [125002210570] |If you want to use commnd line ftp client in debian you need to install the ftp package using the following command [125002210580] |sudo apt-get install ftp [125002210590] |By default users can FTP in to their own home directories only [125002220010] |How to get PASV FTP to work behind a NAT router with ProFTPD [125002220020] |If you want to work with FTP server behind NAT use the following procedure.We have already discussed how to install proftpd server on ubuntu if you want to check click here . [125002220030] |Now you need to edit the proftpd configuration file using the following command [125002220040] |sudo vi /etc/proftpd.conf [125002220050] |at the end of the file add the following lines [125002220060] |PassivePorts 60000 60100 [125002220070] |MasqueradeAddress SiteName.com MasqueradeAddress xxx.xxx.xxx.xxx [125002220080] |The PassivePorts command we entered there allows 100 concurrent connection which should be enough for most home users. [125002220090] |Those are the ports we are going to have to forward to the FTP server on the router. [125002220100] |Replace the xxx.xxx.xxx.xxx with the routers public IP address [125002220110] |Restart the proftpd server using the following comamnd [125002220120] |sudo /etc/init.d/proftpd restart [125002220130] |Now we have to forward the PassivePorts on the router. [125002220140] |Login to your router click on the advanced tab then the forwarding tab. [125002220150] |Enter in the port range we specified in the configuration file then check the TCP box UDP does not need to be enabled then enter the IP address of the FTP server and click enable. [125002220160] |Click the “Apply button and your done on the router. [125002220170] |Note if you are using a different brand router the process should be similar this is the setup on a Linksys router. [125002220180] |This should work your FTP server should work behind your NAT router. [125002220190] |There is one drawback to this if you have a dynamic IP address from your ISP you will need to update the address in your configuration file whenever it changes. [125002230010] |Howto Set Flickr images as Ubuntu desktop wallpaper [125002230020] |Webilder delivers stunning wallpapers to your Linux desktop, directly from Flickr and Webshots. [125002230030] |You choose what keywords (tags) to watch for, and photos are automatically downloaded to your computer. [125002230040] |Webilder can also change the wallpaper every few minutes. [125002230050] |Webilder Features [125002230060] |
  • download flickr photos that match tags (for example: beach,party)
  • [125002230070] |
  • download photos from flickr users of your choice.
  • [125002230080] |
  • download most interesting photos from flickr.
  • [125002230090] |
  • download amazing daily proshots from Webshots (requires Webshots account).
  • [125002230100] |
  • automatically download new photos for you.
  • [125002230110] |
  • change your wallpaper every few minutes.
  • [125002230120] |
  • import webshots collections (wbz or wbc formats).
  • [125002230130] |Install Webilder in Ubuntu [125002230140] |First you need to edit the /etc/apt/sources.list file [125002230150] |sudo gedit /etc/apt/sources.list [125002230160] |and add the following source list which is suitable for you save the file and exit [125002230170] |For Ubuntu Intrepid (i386, amd64, powerpc of sparc) Users [125002230180] |deb http://debian.websterwood.com/ intrepid main deb-src http://debian.websterwood.com/ intrepid main [125002230190] |For Ubuntu Hardy (i386, amd64, powerpc of sparc) Users [125002230200] |deb http://debian.websterwood.com/ hardy main deb-src http://debian.websterwood.com/ hardy main [125002230210] |For Ubuntu Gusty (i386, amd64, powerpc of sparc) Users [125002230220] |deb http://debian.websterwood.com/ gusty main deb-src http://debian.websterwood.com/ gusty main [125002230230] |For Ubuntu Feisty (i386, amd64, powerpc of sparc) Users [125002230240] |deb http://debian.websterwood.com/ feisty main deb-src http://debian.websterwood.com/ feisty main [125002230250] |For Ubuntu Edgy (i386, amd64, powerpc of sparc) Users deb http://debian.websterwood.com/ edgy main deb-src http://debian.websterwood.com/ edgy main [125002230260] |For Ubuntu Dapper (i386, amd64, powerpc or sparc) Users [125002230270] |deb http://debian.websterwood.com/ dapper main deb-src http://debian.websterwood.com/ dapper main [125002230280] |Now you need to update the source list using the following command [125002230290] |sudo apt-get update [125002230300] |Install Webilder using the following command [125002230310] |If you are using GNOME Desktop use the following command [125002230320] |sudo apt-get install webilder webilder-gnome [125002230330] |If you are using KDE Desktop use the following command [125002230340] |sudo apt-get install webilder webilder-kde [125002230350] |This will complete the installation process [125002230360] |Adding Webilder to your Desktop Panel [125002230370] |For GNOME Users [125002230380] |Right-click on the GNOME panel you should see the following screen here you need to choose “Add to Panel” [125002230390] |Once you choose Add to Panel option you should see the following screen here under utility you need select “Webilder Webshots Applet” and click on add [125002230400] |Now you should see one small camera icon marked with Red added to your desktop panel [125002230410] |For KDE Users [125002230420] |From the graphics menu, start KWebilder. [125002230430] |Go to the preferences Window, to the Advanced Tab, and select KDE wallpapers settings [125002230440] |Now you need to download photos from flicker for this right click on Webilder on your desktop panel and select “Download Photos” option you can see this in the following screen [125002230450] |Downloading Photos are in progress [125002230460] |Once dowload finished your desktop will start refreshing wallpapers by default 5 min if you want to change this option you need to right click on Webilder on your desktop panel and select “Preferences” [125002230470] |You should see the following option here you can select what time your wallpaper need to be refresh or photos download option [125002230480] |Some of the Flicker Wallpapers from my Ubuntu Desktop [125002240010] |How to create a transparent terminal session as your desktop background [125002240020] |Like my article on Conky, this is one of my favorite techniques to use on any Linux distribution. [125002240030] |This technique - utilizing devilspie - will create a transparent terminal session on your desktop that will remain for the duration of your login (unless you exit the terminal session for some reason) This particular how-to addresses Ubuntu specifically, but I’ve done this successfully in 3 or 4 distributions. [125002240040] |It should look something like this when you’re done: [125002240050] |1) The first thing to do is to install devilspie. [125002240060] |This is easily done at the command line. [125002240070] |sudo apt-get install devilspie [125002240080] |This will show up in your terminal looking something like this: [125002240090] |Once you have devilspie installed, it is time to configure it. [125002240100] |2) The first command creates a directory (.devilspie) off of your home directory in which you will create a file called DesktopConsole.ds that will contain the configuration parameters (you can edit the geometry values later to better fit your desktop size). [125002240110] |Again, go to the command line/console and type the following commands: [125002240120] |mkdir ~/.devilspie gedit ~/.devilspie/DesktopConsole.ds [125002240130] |Copy and paste the following configuration text into the file you just opened with gedit: [125002240140] |(if (matches (window_name) “DesktopConsole”) (begin (set_workspace 4) (below) (undecorate) (skip_pager) (skip_tasklist) (wintype “utility”) (geometry “+50+50″) (geometry “924×668″) ) ) [125002240150] |Save the file and close gedit. [125002240160] |3) Create a new gnome-terminal profile named “DesktopConsole” [125002240170] |Open a gnome terminal (Applications-Accessories-Terminal) and choose File-New Profile. [125002240180] |Type in “DesktopConsole” for the name of the profile. [125002240190] |Your screen should look something like this: [125002240200] |On the General Tab, uncheck the “Show menubar by default in new terminals” box: [125002240210] |On the Scrolling tab, make sure that the Scrollbar is disabled: [125002240220] |On the Effects tab, enable “Transparent background” and move the slider to wherever you want to get your desired degree of transparency. [125002240230] |I like mine totally transparent (all the way to the left): [125002240240] |5) Now you have to add two programs to your startup/sessions group - one to launch devilspie and the other to launch the reconfigured terminal within the devilspie parameters. [125002240250] |Go to System-Preferences-Sessions and you should see the following screen (or something similar): [125002240260] |Click on the “New” button and type in “devilspie” for the program name and “/usr/bin/devilspie” for the command. [125002240270] |I”m pretty sure sure it will work if you leave out the “/usr/bin/” part, but I usually put it in just to make sure. [125002240280] |Create another new startup program called “gnome-terminal xxx” (choose anything really) and type in “gnome-terminal --window-with-profile=DesktopConsole” in the command window (that’s a double dash before the word “window”). [125002240290] |When you complete this step, your screen should look like the following. [125002240300] |Make sure that devilspie loads before gnome-terminal. [125002240310] |6) At this point, all you should have to do is log out and back in or use the CTRL-ALT-BKSP key combination. [125002240320] |Your desktop should look similar to the following: [125002240330] |You might notice that between the two pictures that the text color is different. [125002240340] |That’s something that you can easily change using the profile editor. [125002240350] |I will sometimes change the profile so that I can see the text better - depending on which background I’m using. [125002240360] |One more thing - I configure my installation to have X follow the mouse so that all I have to do is move the cursor in the general direction of the terminal session on the desktop in order for the terminal to gain focus. [125002240370] |You can do this in System-Preferences-Windows. [125002240380] |Devilspie has many more capabilities than just this. [125002240390] |There is a good wiki here. [125002240400] |Also, in order to give credit where credit is due, I got most of my information from this small tutorial (I have pictures, though.) [125002240410] |Enjoy! [125002250010] |How to Move From Windows XP to Ubuntu? [125002250020] |I am new to Ubuntu and was wondering if after I have all the files in Ubuntu that I want to import from windows if I can safely remove Windows completely. [125002250030] |I want all my music files (which I have) pictures (which I am working on) and Outlook Express address book and emails (still working on this). [125002250040] |It is nice to have Windows Linux but I only need one operating system. [125002250050] |Both systems are depleting my hard drive space. [125002250060] |Thanks. [125002260010] |How to setup file-sharings/FTP for machines by newbie in 5 minutes [125002260020] |Lacking of good GUI tool, it is often a headache for newbies to setup the FTP service to transfer files among windows/linux/mac machines. [125002260030] |Here we introduce a new powerful GUI server/client tool for you to easily solve this problem. [125002260040] |You can use it on Linux, Windows, or Mac OS X, the same approach. [125002260050] |System Requirement: Install Sun Java 1.4+ [125002260060] |It will use the FTP tool called CrossFTP Server and CrossFTP Client. [125002260070] |What you need to do is setup the FTP Server first for file sharing. [125002260080] |After that, use the FTP client to download/upload files from/to the server. [125002260090] |
  • Install and Start CrossFTP Server (Open source, Apache License Version 2) [125002260100] |
  • Install: Click Web Start Now and open it by Java Web Start (javaws). [125002260110] |The server will be directly installed and run. [125002260120] |(See Figure 1)
  • [125002260130] |
  • Configure: Click “Configure” to setup the port, max login… (See Figure 2) ATTENION: on the Linux machine, please choose a port bigger than 1024 since lower port number requires Administration right.
  • [125002260140] |
  • Add User and directory: Click “User”, “Add” a user, setup its username and password, directory, and press “Save”. [125002260150] |(See Figure 3).
  • [125002260160] |
  • Start: Press “Start Server”. [125002260170] |That’s it.
  • [125002260180] |
  • Install and Start CrossFTP Client to test the server.(Freeware) [125002260190] |
  • Install: Click Web Start Now and open it by Java Web Start (javaws). [125002260200] |The client will be directly installed and run.
  • [125002260210] |
  • Connect: Fill in your FTP server’s address (if on the same machine, you can use localhost, otherwise, put in the IP address, which can be checked by ipconfig), port, username and password, click connect, you won’t miss it. [125002260220] |(See Figure 4)
  • [125002260230] |
  • That all! [125002260240] |The following are demonstration figures for your reference:
  • [125002260250] |
  • Figure 1. [125002260260] |Server Main Window
  • [125002260270] |
  • Figure 2. [125002260280] |Configuration Dialog
  • [125002260290] |
  • Figure 3. [125002260300] |User Management Panel
  • [125002260310] |
  • Figure 4. [125002260320] |Client Connection
  • [125002270010] |How-To Recover password under Ubuntu [125002270020] |If you forgot you password for your ubuntu system you can recover using the following steps [125002270030] |Turn your computer on. [125002270040] |Press ESC at the grub prompt. [125002270050] |Press e for edit. [125002270060] |Highlight the line that begins kernel ………, press e [125002270070] |Go to the very end of the line, add rw init=/bin/bash [125002270080] |press enter, then press b to boot your system. [125002270090] |Your system will boot up to a passwordless root shell. [125002270100] |Type in passwd username [125002270110] |Set your password. [125002270120] |Type in reboot [125002280010] |Howto Turn Off Auto-Play of CDs,DVDs and iPods in Ubuntu [125002280020] |Ubuntu automatically starts playing audio or video discs when you insert them into CD/DVD drive.If you want to turnoff this use the following tip. [125002280030] |Go to System--->Preferences--->Removable Drives and Media [125002280040] |Once it Opens You should see the following screen [125002280050] |Now you need to click on Multimedia tab you can just uncheck the box for the disc type you don’t want to autoplay [125002280060] |Once you unselect all the options you should see similar to the following screen now you need to click on close [125002280070] |If you are using Feisty by default this is unchecked. [125002290010] |Howto make Ubuntu to read feeds for you [125002290020] |Akregator is a KDE application for reading online news feeds. [125002290030] |Install Akregator using the following command, [125002290040] |sudo apt-get install akregator [125002290050] |kttsd (KDE Text-to-Speech Deamon) is a non-gui application that runs in the background, providing TTS support to KDE applications. [125002290060] |To install this use the following command, [125002290070] |sudo apt-get install kttsd [125002290080] |Festival is a general multi-lingual speech syntheses system and it offers a full text to speech system with various APIs, as well an environment for development and research of speech synthesis techniques. [125002290090] |To install this use the following command, [125002290100] |sudo apt-get install festival [125002290110] |Run kttsd using by executing the following command, [125002290120] |kttsd [125002290130] |Go to Application --> Internet --> Akregator [125002290140] |After getting the Akregator, [125002290150] |Go to Settings --> Toolbars and select Speech Toolbar(Akregator). [125002290160] |Now you can see a parrot icon in the toolbar. [125002290170] |Yeah, now select the articles whatever you want to read and click the “parrot” icon in the toolbar. [125002290180] |Hope it starts reading feeds for you. [125002300010] |Howto Fix RSSOwl Internal Browser [125002300020] |Applications that collect data from RSS-compliant sites are called RSS readers or “aggregators.” [125002300030] |RSSOwl is such an application. [125002300040] |RSSOwl lets you gather, organize, update, and store information from any compliant source in a convenient, easy to use interface, save selected information in various formats for offline viewing and sharing, and much more. [125002300050] |It’s easy to configure, available in many many languages and the best of all: It’s platform-independent. [125002300060] |RSSOwl is lack of HTML support. [125002300070] |So here is the fix this problem [125002300080] |Install mozilla-browser Using the following command [125002300090] |sudo apt-get install mozilla-browser [125002300100] |Change run.sh in your rssowl directory to: [125002300110] |#!/bin/sh export MOZILLA_FIVE_HOME=/usr/lib/mozilla/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH} java -Xmx134217728 -Djava.library.path=. -jar rssowl.jar [125002300120] |In RSSOwl, go to Tools-->Preferences-->View [125002300130] |In the “Misc” section, check “View newstext in browser” [125002300140] |Go to Tools-->Preferences-->Browser [125002300150] |In the “Please enter path to executable” box, enter the path to your exectuable (lol). [125002300160] |This is the app that you want to use to open in an external browser, so I wanted to use firefox. [125002300170] |My path was “/usr/bin/firefox” but that’s not default. [125002300180] |With a new system, it could be “/usr/bin/mozilla-firefox” [125002300190] |At the bottom, check “use external browser” [125002300200] |Now you should be able to view everything properly. [125002310010] |Howto Install Freecom Musicpal in Ubuntu Feisty [125002310020] |Introduction Freecom just brought a brand new product to the Dutch market called the “Musicpal“. [125002310030] |On the box it says it’s supported for Windows and Mac, although its software is based on Linux Kernel. [125002310040] |Stubborn and Windows/Mac hater as I am, I decided to buy this nice product convinced of managing to make it work somehow in Ubuntu (Linux geek as I am!). [125002310050] |Two days later I managed to make it work! [125002310060] |Still not perfect, but enough not to bring my Musicpal back to the store. [125002310070] |Therefor I thought it would be nice to write the beginning of a good tutorial. [125002310080] |Technical information [125002310090] |To run the Freecom Musicpal, you need the delivered software which is, how awkwardly, not linux approved. [125002310100] |But what is in this software? [125002310110] |Nothing more than a fancy mediaserver. [125002310120] |This mediaserver, serves musicfiles from your computer to the Musicpal in the network. [125002310130] |Musicpal’s mediaserver works with UPnP, a kind of networkprotocol for datatraffic mostly audio and videofiles. [125002310140] |XBOX-Mediacenter and Mythtv are just two examples of programmes with build-in mediaservers based upon the UPnP protocol. [125002310150] |The software delivered with the Musicpal is a UPnP-based mediaserver program. [125002310160] |UPnP mediaserver for linux [125002310170] |Are there any UPnP mediaservers for linux? [125002310180] |Yes there are: [125002310190] |
  • GeexBox
  • [125002310200] |
  • PyMedS
  • [125002310210] |
  • MediaTomb
  • [125002310220] |
  • TwonkyMedia (non-free)
  • [125002310230] |
  • GMediaserver
  • [125002310240] |First I tried GMediaserver which is in the ubuntu feisty repositories. [125002310250] |But I couldn’t work it out to work with Musicpal, therefore the rest of this tutorial will be based upon the next program I tried: MediaTomb. [125002310260] |Mediatomb installation [125002310270] |This program is free and quite simple to use. [125002310280] |Although it is not GUI based, still it is easy, even for a noob like me! [125002310290] |Just follow the next steps and you’ll have your own mediaserver: [125002310300] |
  • Go to the webpage of MediaTomb by clicking on this link
  • [125002310310] |
  • Here you can find plenty of information on this program. [125002310320] |But we’re going to install it so…
  • [125002310330] |
  • Go back to your computer and open a terminal window
  • [125002310340] |
  • Copy paste this line wget http://apt.mediatomb.cc/key.asc -O- -q | sudo apt-key add -
  • [125002310350] |
  • Press enter, something like OK must appear
  • [125002310360] |
  • Close the terminal window and open synaptic
  • [125002310370] |
  • Open packetsources in the main menu
  • [125002310380] |
  • Open the third party sources tab
  • [125002310390] |
  • Press Add
  • [125002310400] |
  • Copy paste this line: deb http://apt.mediatomb.cc/ feisty main and press add source, then close the packet sources menu
  • [125002310410] |
  • Press the button that says reload sources (or something like that)
  • [125002310420] |
  • Now search for Mediatomb and install it
  • [125002310430] |Mediatomb start up [125002310440] |This is the part where i’m new as well, and in the future we could improve ourselves. [125002310450] |This is how I managed to make things work: [125002310460] |
  • Open a terminal window
  • [125002310470] |
  • Type mediatomb (mediatomb will set itself up)
  • [125002310480] |
  • Type mediatomb -- add /home/username/music (type in the path where your music is stored, this is only my example)
  • [125002310490] |
  • Now mediatomb will easily add all your musicfiles to the network
  • [125002310500] |Connect with Musicpal to Mediatomb [125002310510] |Go to you’re beloved Musicpal and gently press the buttons to reach the menu that says: “Media Server”. [125002310520] |If you click on it, you’ll find Mediatomb in the next menu, and if you’ll click on that, you’ll find all your mediafiles that you want your sweet Musicpal to be playing. [125002310530] |Hope you beginners can use this tutorial, and hope that the more advanced linux users can add there knowledge to this start up! [125002310540] |Kind regards, [125002310550] |Merlijn Schoots [125002320010] |What package is that file in ? [125002320020] |One question I get all the time is “What package is that file in?” [125002320030] |There’s a really easy way to find out yourself. [125002320040] |It’s called apt-file and it can search for a file in any package (installed or not). [125002320050] |It’s really easy to use: [125002320060] |$ sudo apt-get install apt-file [125002320070] |$ sudo apt-file update [125002320080] |$ apt-file search autoexpect [125002320090] |expect-dev: usr/share/doc/expect-dev/examples/autoexpect.1.gz expect-dev: usr/share/doc/expect-dev/examples/autoexpect.gz expect-tcl8.3: usr/share/doc/expect-tcl8.3/examples/autoexpect expect-tcl8.3: usr/share/doc/expect-tcl8.3/examples/autoexpect.1 manpages-ja: usr/share/man/ja/man1/autoexpect.1.gz [125002320100] |Apt-file comes in handy many times. [125002320110] |One thing to note is that you don’t need to run ‘apt-file update’ very often (once every release upgrade) since the file names don’t change that much, just the file contents. [125002320120] |For the record, if you want to figure out which installed package a file belongs to, use ‘dpkg -S’. [125002320130] |This doesn’t always work for config files, and files in /var, since those are generated after the package is extracted. [125002330010] |Howto Auto mount a drive in DOSBOX [125002330020] |DOSBox emulates an Intel x86 PC, complete with sound, graphics, mouse, modem, etc., necessary for running many old DOS games that simply cannot be run on modern PCs and operating systems, such as Microsoft Windows 2000, Windows XP, Linux and FreeBSD. [125002330030] |However, it is not restricted to running only games. [125002330040] |In theory, any DOS application should run in DOSBox, but the emphasis has been on getting DOS games to run smoothly, which means that communication, networking and printer support are still in early developement. [125002330050] |Install dosbox in ubuntu [125002330060] |Open terminal window and type the following command [125002330070] |sudo apt-get install dosbox [125002330080] |Howto Automount drive [125002330090] |Open a terminal session, and it should take you to your home directory. [125002330100] |If not, type cd /home/yourname/ [125002330110] |Create a directory to store your DOS programs in. [125002330120] |I called mine dosprog, so I typed mkdir dosprog The full pathname to this file is home/yourname/dosprog [125002330130] |Open dosbox by typing dosbox [125002330140] |You are now in the dosbox shell. [125002330150] |Neat, huh? [125002330160] |Note that it automatically puts you at the Z:\ drive We want to change that. [125002330170] |Try typing in the dos command C: Note that it says the drive doesn’t exist. [125002330180] |We could mount the C drive everytime we open dosbox by typing mount c /home/yourname/dosprog everytime, but why do that whendosbox can create a configuration file to take care of that for you! [125002330190] |But first we need to create the file. [125002330200] |At the dosbox Z:\ prompt, type in config -writeconf /home/yourname/dosbox.conf You now have the configuration file. [125002330210] |Type exit. [125002330220] |This puts you back in your terminal session [125002330230] |Type sudo gedit dosbox.conf This will open the dosbox configuration file. [125002330240] |Scroll down the dosbox.conf file to this section [125002330250] |[autoexec] # Lines in this section will be run at startup.Type the following in on a new line: [125002330260] |mount c /home/yourname/dosprog [125002330270] |This will automatically mount the C: drive to your dosprog directory. [125002330280] |If you want dosbox to automatically start on the C: drive, enter C: on a new line after your mount line. [125002330290] |Save and quit gedit. [125002330300] |Now at the terminal prompt, type in dosbox It should auto mount the C: drive, (and if you followed step 8a, it will also start you on the C: drive) [125002330310] |Manually Mounting a CD-ROM [125002330320] |Place a CD in your CD-ROM. [125002330330] |Ubuntu will happily auto-mount the CD for you to /media/cdrom0 assuming that you placed teh CD in that drive. [125002330340] |If you have more than one CD-ROM drive Ubuntu may will have mounted it to /media/cdromx where x is a number. [125002330350] |Now that we’re done with that OS stuff back to DosBox. [125002330360] |Type mount d /media/cdrom0 -t cdrom [125002330370] |Now your CD is mounted in DosBox to the D: drive. [125002330380] |Again if you’d like to test this type, D: and press enter. [125002330390] |Now type dir and press enter. [125002330400] |You should again get a listing of all items on the CD. [125002330410] |Mounting a directory to a drive in DosBox [125002330420] |Open triminal windows and type the following command [125002330430] |dosbox [125002330440] |This launches DosBox in a new window, and starts you with a Z:\ prompt [125002330450] |So now on to really mounting a drive. [125002330460] |I suggest you mount a directory that you have permission to write to (as a user, not a superuser). Your home directory (/home/username) works nicely. [125002330470] |Type mount c /home/username [125002330480] |This mounts your home directory to the C:\ drive in DosBox. [125002330490] |If you’d like to test this, type C: and press enter. [125002330500] |Now type dir and press enter. [125002330510] |Just as in DOS, you will get a listing of all items in your directory. [125002340010] |Howto Forward root’s mail to your inbox [125002340020] |If you want to read these system messages, you can always do sudo mutt -f /var/mail/root if you are familiar with mutt. [125002340030] |However, an easier and more efficient way to check this mail would be to have it forwarded to your user’s local inbox, and then read it with your favorite email reader. [125002340040] |Note:- Replace username with your account name. [125002340050] |First, you need a mailbox, preferably with all of root’s old mail already in it. [125002340060] |cd /var/mail [125002340070] |sudo cp root username [125002340080] |sudo chown username username [125002340090] |sudo chgrp username mail [125002340100] |That creates a mailbox for your username with the appropriate user and group permissions. [125002340110] |The contents of the mailbox are a copy of root’s mailbox. [125002340120] |Now you need to forward all of root’s incoming mail to your inbox. [125002340130] |sudo gedit /root/.forward [125002340140] |Enter the following line save and exit the file [125002340150] |username@localhost [125002340160] |Now, you will receive any mail sent to root. [125002340170] |To make things more convenient, let’s set up Evolution to read the mail. [125002340180] |Change the permissions of /var/mail directory if you get any permission errors in Thunderbird or Evolution mail client [125002340190] |sudo chmod 777 /var/mail [125002340200] |Open up Evolution. [125002340210] |In Tools -> Settings -> Mail Accounts, click Add. [125002340220] |Enter your Full Name if you wish, and your local mail address username@localhost, then click Forward. [125002340230] |For server type, select “Standard Unix mbox spool or directory.” [125002340240] |For Path, enter /var/mail/username , then click Forward. [125002340250] |The options on the next screen are optional. [125002340260] |On the next screen, select Sendmail for the Server Type, then click Forward. [125002340270] |Name the account however you wish. [125002340280] |Use username@localhost, Local Mail, or something similar. [125002340290] |Now you’re finished. [125002340300] |To test, compose a mail to root@localhost and send it. [125002340310] |Then click Send/Receive. [125002340320] |You should see the new mail pop up in your inbox. [125002350010] |Restart Apache Server without affecting existing connections [125002350020] |Sometimes you want to restart your Apache server after changing some configuration in your virutual hosts,sites etc, but you have few hundred clients currently downloading files from your server and you don’t want to disconnect them. [125002350030] |You need to use the following command [125002350040] |sudo /etc/init.d/apache2 graceful [125002350050] |This will gracefully restart your Apache with new configuration without affecting your client’s connections. [125002360010] |Improved subpixel font rendering for Feisty Fawn/Hardy Heron [125002360020] |FreeType developer David Turner posted some patches for Cairo and Xft that improved the rendering of fonts on LCD screens (but also CRTs with Trinitron layout). [125002360030] |These were put up with the proviso that he was unsure whether they would infringe patented algorithms around Microsoft’s ClearType technology. [125002360040] |The most recent patches by David have been incorporated into a series of packages that replace the libraries libreetype6, libcairo2 and libxft2 on Edgy. [125002360050] |The patches move the filtering from Xft and Cairo to Freetype with the effect that letters have less color fringing and more faithful letter outlines. [125002360060] |This is achieved by more advanced subpixel filtering methods and getting rid of stem quantization. [125002360070] |Some people dislike this kind of “hack” visually, but for many it is a good trade-off of letter contrast and font aesthetics. [125002360080] |First you need to edit the /etc/apt/sources.list file [125002360090] |sudo vi /etc/apt/sources.list [125002360100] |add the following lines [125002360110] |deb http://www.telemail.fi/mlind/ubuntu feisty fonts deb-src http://www.telemail.fi/mlind/ubuntu feisty fonts [125002360120] |For amd64 binaries use add the following lines [125002360130] |deb http://raof.dyndns.org/falcon feisty experimental deb-src http://raof.dyndns.org/falcon feisty experimental [125002360140] |Alternative repository, for experimental builds only. [125002360150] |deb http://www.telemail.fi/mlind/ubuntu feisty experimental deb-src http://www.telemail.fi/mlind/ubuntu feisty experimental [125002360160] |Save the file and exit [125002360170] |Now you need to add the following gpg keys [125002360180] |wget http://www.telemail.fi/mlind/ubuntu/937215FF.gpg -O- | sudo apt-key add - [125002360190] |or [125002360200] |gpg --keyserver subkeys.pgp.net --recv-keys 937215FF [125002360210] |gpg --export --armor 937215FF | sudo apt-key add - [125002360220] |GPG key to RAOF’s repository (amd64 packages) [125002360230] |wget http://ubuntu.moshen.de/2F306651.gpg -O- | sudo apt-key add - [125002360240] |Now you need to run the following command [125002360250] |sudo apt-get update [125002360260] |Install the packages using the following command [125002360270] |sudo aptitude install libfreetype6 libcairo2 libxft2 [125002360280] |After the install, you may want reconfigure font settings. [125002360290] |sudo dpkg-reconfigure fontconfig-config [125002360300] |sudo dpkg-reconfigure fontconfig [125002360310] |If you later decide to go back to Ubuntu packages, you must downgrade all three installed packages and You’ll probably need to restart X-server after installing the packages to see the changes apply. [125002360320] |For hardy Heron Users [125002360330] |Method 1 [125002360340] |go to a terminal and type the following command [125002360350] |sudo dpkg-reconfigure fontconfig-config [125002360360] |Then I select “Autohinter”, “Always” and “No” when prompted. [125002360370] |I finish it up with [125002360380] |sudo dpkg-reconfigure fontconfig [125002360390] |After that I restart X and my rendering is beautiful! [125002360400] |Method 2 [125002360410] |System>Prefs>Appearance>Fonts [125002360420] |LCD smoothing, then details. [125002360430] |Hinting - Slight. [125002360440] |Method 3 [125002360450] |Try this nice procedure [125002370010] |Crypt Manager - An encrypted folder manager for Ubuntu Linux [125002370020] |Crypt manager is a compilation of tools which allow to easily encrypt, open, close and uncrypt folders in a Desktop environment. [125002370030] |It is wrote in Python, it uses cryptsetup and LUKS as backend. [125002370040] |Crypt Manager is composed of three parts: [125002370050] |A python module called cryptsetup.py A command line tool called crypt-manager A GTK interface called gcrypt-manager An extension to the GNOME file manager Nautilus [125002370060] |Install Crypt Manager in Ubuntu [125002370070] |sudo addgroup your-login fuse [125002370080] |sudo apt-get install encfs python2.4-dev python-nautilus subversion [125002370090] |svn checkout http://crypt-manager.googlecode.com/svn/trunk/ crypt-manager [125002370100] |cd crypt-manager [125002370110] |sudo ./install.sh [125002370120] |This will complete the installation part now if you want to open Crypt Manager go to System -> Administration -> Encrypted folders or you can type the command in the terminal “gcrypt-amanger” [125002370130] |Once it open you should see the following screen.If you want to encrypt the folder click on Encrypt. [125002370140] |Once it open the encyptwindow you should see similar to the following screen here you need to select the folder and enter the password for this and click on apply [125002370150] |Now you can see the encryption is in progress bar as follows [125002370160] |If you want to decrypt select folder and click on decrypt. [125002380010] |Upgrade Ubuntu 7.04 (Feisty Fawn) to Ubuntu 7.10 (Gutsy Gibbon) [125002380020] |The Ubuntu team is excited to bring you the absolute latest and greatest software that the open source and free software communities have to offer. [125002380030] |This is Ubuntu 7.10, which brings a host of excellent new features. [125002380040] |Before Upgrading You need to remember the following Important point [125002380050] |Take complete backup of your system before upgrading .Now you need to upgraded Ubuntu Feisty Machine to Ubuntu Gutsy. [125002380060] |If you want to upgrade using GUI use the following procedure [125002380070] |Use the Alt+F2 key combination to bring up the Run Application dialog, where you’ll want to enter the following command [125002380080] |update-manager -c “-c” switch tells it to look for upgrades at all. [125002380090] |You should see the following screen here Now you can see 7.10 is available for upgrade click on upgrade [125002380100] |Now you should see the release notes as follows here you need to click on upgrade [125002380110] |Preparing for the upgrade in Progress [125002380120] |You can see similar to the following screen about end of support for some applications click on close [125002380130] |Now you should see the following screen to start upgrade click on start upgrade [125002380140] |Fetching the upgrades are in progress [125002380150] |Installing the upgrades are in progress [125002380160] |Cleaning Up is in Progress [125002380170] |You need to restart the system to complete the Upgrade by clicking “Restart Now” [125002380180] |Testing Your Upgrade [125002380190] |You can check the ubuntu version installed using the following command [125002380200] |sudo lsb_release -a [125002380210] |Output Looks like below [125002390010] |How to Install Ruby on Rails (ROR) in Ubuntu [125002390020] |Rails is a full-stack framework for developing database-backed web applications according to the Model-View-Control pattern. [125002390030] |From the Ajax in the view, to the request and response in the controller, to the domain model wrapping the database, Rails gives you a pure-Ruby development environment. [125002390040] |To go live, all you need to add is a database and a web server. [125002390050] |Install Ruby on Rails (ROR) on Ubuntu [125002390060] |First we need to install Ruby and irb (Interactive ruby shell) and we’ll add ri and rdoc. [125002390070] |The recommended Ruby version for rails is 1.8.5. [125002390080] |Open your terminal and type [125002390090] |sudo apt-get install ruby irb ri rdoc ruby1.8-dev2.2 [125002390100] |Then we need to install RubyGems. [125002390110] |We are going to install RubyGems with the following command [125002390120] |sudo apt-get install rubygems [125002390130] |Then we’ll update RubyGems with the following command [125002390140] |sudo gem update --systemNow [125002390150] |we have the correct version, and best of all when we want to uninstall it we can just do it with synaptic. [125002390160] |Now we will install rails with command [125002390170] |sudo gem install rails --include-dependencies [125002390180] |Thats it You have successfully installed Ruby on Rails. [125002390190] |To create new project type [125002390200] |rails name_of_app [125002390210] |How to uninstall Ruby on Rails (ROR) in Ubuntu [125002390220] |To uninstall all first remove rails gem [125002390230] |sudo gem uninstall rails [125002390240] |and then uninstall rubygems and ruby [125002390250] |sudo apt-get remove rubygems ruby irb ri rdoc ruby1.8-dev [125002400010] |Installing LAMP Server Using TASKEL (desktop edition) [125002400020] |This is to help people install LAMP(LINUX-APACHE-MYSQL-PHP) server in ubuntu(if u use the desktop edition,not for server edition).There are many ways in installing LAMP in a desktop edition. now lets see them. [125002400030] |The first way is using commands in the terminal…. the command is… [125002400040] |sudo apt-get install apache2 mysql-server php5 libapache2-mod-php5 php5-xsl php5-gd php-pear libapache2-mod-auth-mysql php5-mysql [125002400050] |The second way to install is using TASKEL… a TASKEL is a software application tool that groups some packages into tasks and allows the user to install the packages from the task.. u can install it from the terminal by typing… [125002400060] |sudo taskel install lamp-server [125002400070] |Another way of suing the TASKEL is by using the SYNAPTIC PACKAGE MANAGER …open synaptic package manager from [125002400080] |system->administration->synaptic package manager [125002400090] |then in the edit menu click on mark packages by taskel and from the list select LAMP server and apply…. it installs the lamp server on to ur system!!! [125002410010] |Use Google Linux repositories in Ubuntu [125002410020] |Google’s Linux software repositories make it easier to download and stay up-to-date with current releases of Google Linux applications. [125002410030] |Please choose one of the guides below to help configure your system to use these repositories. [125002410040] |First you need to edit /etc/apt/sources.list file [125002410050] |sudo vi /etc/apt/sources.list [125002410060] |add the following line [125002410070] |# Google software repository [125002410080] |deb http://dl.google.com/linux/deb/ stable non-free [125002410090] |Save and exit the file [125002410100] |you must download the key and then use apt to install it and refresh your package indexes. [125002410110] |Run these commands as root: [125002410120] |wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - [125002410130] |Now you need to update the source list using the following command [125002410140] |sudo apt-get update [125002410150] |Install google applications now you can see the following command to install google picasa [125002410160] |sudo apt-get install picasa [125002420010] |How to connect Motorola V3X to ubuntu 7.04 trough USB [125002420020] |In this tutorial we will learn how connect your Motorola V3X to ubuntu 7.04 trough USB [125002420030] |First of all, we will download the moto4lin utility from the repositories. [125002420040] |sudo aptitude update [125002420050] |sudo aptitude install moto4lin [125002420060] |Once installed, we need to change the configuration file of moto4lin. [125002420070] |cd $HOME/.qt [125002420080] |gedit moto4linrc [125002420090] |We change the old values to this ones. [125002420100] |The most important values are, the device, product and vendor values. [125002420110] |Those values are for the motorola V3X. Other motorola have different values. [125002420120] |I’m sure you may look in web for those values or you may get them inside the moto4lin using inside preferences the update list button. [125002420130] |You can activate the auto connect option too. [125002420140] |[device] cfgACMdevice=/dev/ttyACM0 cfgATproduct=3002 cfgATvendor=22b8 cfgAutoConnect=1 cfgDetachDriver=0 cfgP2Kproduct=3001 cfgP2Kvendor=22b8 [125002420150] |[filemanager] cfgAutoExpandDirTree=0 cfgAutoUpdateFileList=1 cfgGoLastFolder=0 cfgLoadList=0 [125002420160] |Now we are going to make a little script in our home directory to load the module and launch moto4lin. [125002420170] |moto4lin you need access from root login to work, so we make a sudo launch. [125002420180] |cd $HOME [125002420190] |gedit motorola [125002420200] |This will be the script: [125002420210] |sudo modprobe cdc_acm [125002420220] |sudo moto4lin [125002420230] |now we only need to allow execution for the script with chmod and we have our script. [125002420240] |chmod 700 motorola [125002420250] |./motorola [125002420260] |If all has gone right we will be able to connect our Motorola V3X by USB. [125002430010] |Howto Setup firefox for kmail [125002430020] |Firefox with its default configuration does not integrate well with kde . [125002430030] |Now you will see how to setup firefox as default client in the following two cases [125002430040] |1.) [125002430050] |Clicking on a email link in a webpage should create a new email with kmail. [125002430060] |Start firefox and type the following in the url bar: about:config [125002430070] |A big table with configuration options will appear in the main browser window. [125002430080] |Look for the item network.protocol-handler.external.mailto and make sure its value is set to true. [125002430090] |The value is the right most piece of text in the row for that item. [125002430100] |Right-click on that line and select “toggle” in the pop-up menu to toggle if necessary. [125002430110] |Now, do a right-click again and select New -> String. [125002430120] |A window will appear, asking you to set the name of the new config item, set it to network.protocol-handler.app.mailto and and click OK to confirm. [125002430130] |A second window will appear to ask for the value of the config item. [125002430140] |Type kmail into its text field and confirm again. [125002430150] |Now, if you click on an email link on a webpage (in the status bar, that is the bar at the lower end of the firefox window, you will see something like mailto:test@test.com) kmail should fire up with a new email to that address. [125002430160] |2.) [125002430170] |Clicking on a weblink in kmail (and other kde apps) should open and load the link into firefox. [125002430180] |This can be configured by changing one kde setting. [125002430190] |Depending on the kde version you have there may be different ways to get to that kde settings window we need. [125002430200] |For kde 3.4.2, click on the System button in the control panel, it is the one right next to the blue K button in the control panel. [125002430210] |A pop-up menu appears, select Settings. [125002430220] |A new konqueror window will appear showing the contents of the settings:/ directory. [125002430230] |Select KDE components -> Component Selection. [125002430240] |This will open the kde control center module we need, appearing in a new window. [125002430250] |There is a list at the left site of that window, select Web browser and click on the lower button in the main section of the window, named in following browser. [125002430260] |The text input field below the button will become active, type mozilla-firefox and click the OK button to confirm the setting. [125002430270] |From now on, links in emails etc. should be opened in firefox.