Showing posts with label tips. Show all posts
Showing posts with label tips. Show all posts

Jun 29, 2008

1

Sphere Desktop Cube

I was reading the Ubuntu-id's planet when I found this post which caught my attention. I would like to share with other Ubuntu User who visits my blog with this Earth Desktop made by One of the Indonesian Ubuntu Members.

Well It use compiz as the engine and yes, I found out that it is easy to install. What nice is, he even have a snapshot of the Earth Desktop. Here is the snapshot:


And you could always download the compiz-fusion ccsm at the owners blog. Nice one huh. A good one from Indonesian members.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

Jun 20, 2008

1

Install msttcorefonts on Hardy

Have you ever wondering why every webpage that you surf by using browser on Linux operating system seem lack in fonts presentation? Tired and bored with all the fonts on the linux system? Then you should be looking for something like msttcorefonts package for linux. What is msttcorefonts? Basically msttcorefonts is a package for linux user to install windows fonts. Well this definition taken from linux.about.com:

Definition: msttcorefonts: Installer for Microsoft TrueType core fonts This package allows for easy installation of the Microsoft True Type Core Fonts for the Web including: Andale Mono Arial Black Arial (Bold, Italic, Bold Italic) Comic Sans MS (Bold) Courier New (Bold, Italic, Bold Italic) Georgia (Bold, Italic, Bold Italic) Impact Times New Roman (Bold, Italic, Bold Italic) Trebuchet (Bold, Italic, Bold Italic) Verdana (Bold, Italic, Bold Italic) Webdings You will need an Internet connection to download these modules from Microsoft's Web site.
It's mostly the best package for linux user to have Microsoft Fonts installed on their linux Operating System. Here is some simple steps on how to install msttcorefonts on Ubuntu Linux Operating system:
  • sudo apt-get install msttcorefonts
This command is enough to install all the basic fonts based on Microsoft fonts to make your font presentation better than before. Here is some example of before and after using 'msttcorefonts'

Before using msttcorefonts

After Using msttcorefonts

Nice improvement right? isnt that font look smoother than the original one? yeah it will make your web fonts better than before. Happy surfing~

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

Jun 17, 2008

0

New malaysian Warez - Register Now

Hey, I'm quite busy lately doing my report for my intern period which just finished on 14th Hune 2008. So It's hard to make a quality post on Ubuntu. So here is some update which might be useful for my readers.

Well this post is about the latest warez site which being develop by our fellow Malaysian. This warez site got a lot of useful application which provide the crack for a shareware software. So no need to search for crack and being infected by spyware on the cracks site.

Here is the link to the Malaysian Warez "Download Fridge". Keep up the good work. If you would like to contribute to the download section, feel free to contact the admin himself. We would like more contributors to share the golden softwares.

Happy downloading~!

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

Jun 4, 2008

0

Format Existing Partition On Ubuntu

Well, I encounter a problem where I would like to gain back my 80GB hardisk space which I allocate for my Windows and I dont have a direct access to the machine. So all I got is a SSH access to the machine. And I desperately need the space back. So here is some tips on how to format, and allocate back your partition to ext3 FS on Ubuntu Machine.

  • Login to your box using SSH(remember to login to user account which have sudoers privileges).
  • Then the first thing is to do a 'fdisk' to delete and recreate a partition.
sudo fdisk for example:
sudo fdisk /dev/sda
  • Then a wizard will appear, and you just need to follow the instruction. For help on command to use, please use 'm' .
  • After finished configuring and recreating the partition, then you need to make the partition. Quit the fdisk by using 'q', and do this command:
sudo mkfs -t [filesystem type] [location]
  • For this example, my filesystem i need to create is 'ext3' and the location is '/dev/sda1' , so here is my command:
sudo mkfs -t ext3 /dev/sda1
  • And this will create my partition based on 'ext3' filesystem. To make effect, you need to reboot.
This simple tutorial will be useful to use with symlink and other command if you really want to resize some folder. Well mostly I used this for my webserver.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 29, 2008

6

Torrentflux B4rt on Ubuntu Hardy

Previously I made a post on how to install Torrentflux on Ubuntu Gutsy. So here is some update on How to use torrentflux-b4rt edition on your Ubuntu Hardy. Well, you must be wondering why use torrentflux-b4rt instead of torrentflux. Well, there are a lot of new features on b4rt edition on writing and speed. Well if you really would like to know what b4rt made of, the you should really visit their site here.

So here is step-by-step on how to install the latest torrentflux-b4rt on Hardy Heron:

  • I assume you have your LAMP installed on your system before running this tutorial. If you still didnt install apache, php and mysql - then I will advise you to google search on how to install them on your system.
  • After installing LAMP, then we could start the procedure with downloading the latest b4rt into your /var/www folder.
cd /var/www && wget http://gunblade.fakap.net/doc/torrentflux-b4rt_1.0-beta2.tar.bz2
  • Extract the files on your webserver folder.
tar xf torrentflux-b4rt_1.0-beta2.tar.bz2 && mv torrentflux-b4rt_1.0-beta2/html ./flux
  • Now we could install all the requirement of torrentflux-b4rt before proceeding with further installation:
sudo apt-get install php5-cli unzip unrar transmission-cli
wget http://ubuntu2.cica.es/ubuntu/ubuntu/pool/universe/c/cksfv/cksfv_1.3.5-1_i386.deb && sudo dpkg -i cksfv*deb

Update:
sudo apt-get install php5-gd libxml-dom-perl libxml-simple-perl libthreads-shared-perl libdigest-sha1-perl libhtml-parser-perl
*thanks to phil for the info
  • After installation of the requirement ready, we may proceed on installing torrentflux-b4rt to our system. To install, open up your firefox browser, and navigate to http://localhost/flux
  • Follow the instruction and remember to set the database information correctly. Mostly, people will make silly mistakes here.
When ready, just login to your root account, and start having fun with your machine as a Torrent Monster. I like to use 'Monster' cause it sound great.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 27, 2008

1

Fluxbox: Setting Sound Keyboard Control

Well one of my friend, piju - asking me about how do I control my sound volume on my fluxbox. As he has more experience than me, so maybe he have his own way on controlling sound volume on his Fluxbox. But for me, it's quite simple.

At First I wanted to set the FN key to control sound, but as I search on the google, no other tutorial successfully set the FN+VolDown/VolUp yet. The FN key isnt being map. So I replace FN laptop's Keyboard key with "Windows Key". Here is how to set it up:

  • Open up your shortcut key's file: (On terminal type)
nano ~/.fluxbox/keys
  • then add the following line at the end of file:
mod4 Up: ExecCommand amixer set Master 1%+
mod4 Down: ExecCommand amixer set Master 1%-
  • I hope from here you can get an idea on how to mute and do any other things with sound with the shortcut utility.
I hope this will help Fluxbox user to control sound much better than before. Some other method, you could just install other application GTK based to control your sound.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 25, 2008

3

Edit Sudoers for No Pass Prompt

If you have some script need to run on daily basis such as 'apt-get' maybe you will be thinking on getting rid of password prompt every time you run an 'apt-get' command. And sometime, we wanted to have a script which will autorun on startup and you keep being prompt to enter password. Would you like it to be run fully background? If yes, then you need to edit the 'sudoers' file located in '/etc/' folder.

Before we begin, we may need to really know the power of 'sudo'. If you didnt know what 'sudo' command could be, then do a google search on 'sudo' as a keyword. This could effect your system if you allow users to run such a risky command without password prompt. So, here is steps on how to edit sudoers:

  • Open up terminal (Applications > Accessories > Terminal)
  • Open up the text editor(i'll be using nano for this tutorial) and edit the /etc/sudoers file.
sudo nano /etc/sudoers
  • You will be prompt for password for this one. Enter your user password and the editor will appear. Find line with:
# User privilege specification
root ALL=(ALL) ALL
  • And add to the next line your user and what command you would like to allow. For example, my user is "gunblade" and I would like to allow 'apt-get' to run without any password prompt. Then I need to add this line:
# User privilege specification
root ALL=(ALL) ALL
gunblade ALL=NOPASSWD:/usr/bin/apt-get
  • But first you need to make sure where is the binary file located. To locate it, use 'which' command. For instance, if you would like to know the exact location of 'apt-get' then you need to run 'which apt-get' and it will return the exact location.
$which apt-get
/usr/bin/apt-get
So here is the tips and trick to do a simple thing on sudoers file. But you need to carefully allow some commands because it could bring damage to your system if you wrongly allow it to users. Some command might be best to have password prompt. Edit it on your own risk~!

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

0

Make a startup script on Fluxbox

Well, Fluxbox a light weight window manager. Wondering on how to make a startup script for Fluxbox WM on Ubuntu? Well there is a script/file called Xsession for GNOME WM as a startup script. So with Fluxbox, the file is called xinitrc.

How can you do this? It's simple to start an application on Ubuntu Fluxbox start up. Here is some steps using terminal as a start:

  • Open up terminal and touch a file name ".xinitrc"
touch ~/.xinitrc
  • Then make some script to run the application you like such as nm-applet, pidgin, xchat and etc.
nano ~/.xinitrc
  • When the editor open up, just type the command you would like to run. Here is my xinitrc:
#!/bin/sh
session.screen0.rootCommand: fbsetbg -l
export SHELL=/bin/zsh
export LC=C
export LC_ALL=C
fluxbox &
WMPID=$!
sleep 4 &&
wait $WMPID
xset +fp /home/gunblade/.fonts
nm-applet
So you can add what ever application that you would like to run on startup, but if there is any root privileges type of application, then you need to do some tricks to make it work.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 20, 2008

4

Hardy Heron - B43 Broadcom Driver Setup on fresh install

Well, this is my first time fresh installing Ubuntu 8.04 Hardy Heron on my Laptop. Before this, I used to upgrade my system from Gutsy to Hardy using update-manager. And without any problem, I got the wireless(which in hardy using b43 instead of bcm43xx) working without any need to do anything. Which mean, Upgrade --> Reboot --> And wireless is there and it's B43~!

But in another situation, I just do a Hardy Heron fresh install yesterday, not much problem in the installation process, which I manage to boot into the new system in about 20-30 minutes of installation process. All working fine without any major issue but then i realized that my Broadcom Wireless(b43) didnt light up. So I assume that my broadcom didnt working on fresh install.

Here is simple step I make to make this things work:

sudo apt-get install b43-fwcutter
This command will install the fwcutter for latest b43 driver and load the firmware in installation process. Basically, Hardy suppose to include this things on installation, but somehow the b43-fwcutter sometimes doesnt work will all cards, so you really need to remove the default one and reinstall it back using above command. Hope this will help.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 15, 2008

5

Ubuntu : How to upgrade to 2.6.25 kernel

Well, on the previous post I do give tutorial on how to compile custom kernel on your Ubuntu box debian way. But it seem like it's hard for beginner to start compiling, and stripping the kernel and choose a appropriate driver to be compiled along.

So here is the easy way for Ubuntu users to upgrade to latest kernel 2.6.25 which has been release on the launchpad by the development team.

sudo vi /etc/apt/source.list
Edit the source.list file and add the following line at the end of the files:
deb http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main
Save and exit the text editor, and run:
sudo apt-get update
After finish updating your apt list, you need to install the new kernel by running this command:
sudo apt-get install linux-image-2.6.25-1-generic linux-headers-2.6.25-1
This command will install the 2.6.25 kernel with the Ubuntu Patches already been implement. So no need to wirries about your drivers and etc. But this isnt a stable release yet. I've been reading about kernel 2.6.25 to be included officially on the hardy repo as this 8.04 is a LTS.

Enjoy

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 12, 2008

3

Wireless go into Monitor with Injection Support

I've been experimenting to use aircrack to test out Access Point(AP) security for about a month and a half now, and i used to do it with 3 wireless card that I own which is Broadcom(Built-in on my laptop), rt73usb(which is a USB wireless Device) and ZD1211rw(also a USB device).

Formerly, I have to patch my modules in order to make the cards to go into monitor mode so that it could be used with aircrack suite. All the hard work will paid out if you successfully patch your cards. But to find the right patch is the most hard part as not every patch is suitable with your chipset.

But, i notice somthing different on the latest linux kernel(maybe it might be working too on BSD's kernel), you dont have to patch your card to change your wireless mode into monitor-mode. But this is only tested on Mac80211 cards only. As far as I'm concern, b43(latest driver for broadcom), rt73usb and zd1211rw - all of this card happened to be mac80211 cards on kernel 2.6.24 and higher.

So al you need to do is install the iw application. So how to install 'iw'? It took a few steps to install 'iw'. But even a new linux user could install this without any problems. First all you have to do is install all the requirements needed by 'iw' in order to function.

sudo apt-get update && sudp apt-get install libnl-dev libnl1 libnl1-pre6
Then when all the requirements has been installed, we may proceed to gathering the 'iw' source:
mkdir iw && cd iw
wget http://gunblade.fakap.net/tool/wireless/iw.tar.bz2 && tar xvjf iw.tar.bz2
And now proceed to the final step:
make && sudo ln -s iw /usr/sbin/iw
And we are done. So now you may try to install the aircrack from SVN by using subversion. There is a simpe tutorial on how to install this latest version of aircrack from by using subversion. But first you need to install subversion first by apt. More tutorial on how to install aircrack is on my previous post.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 11, 2008

0

Download Helper for Firefox 3 has been release

I've been waiting for this plugin called "Video DownloadHelper" for a few weeks. Formerly, this plugin work out of the box on Firefox 2.0 where this plugin help me a lot on downloading videos from Youtube, TV3 website and many more which I would reveal on this post.

The main purpose for this plugin is to make it possible for Firefox user to download the Flash Videos (.flv) files by a point-and-click procedure. It's rich in features where else, it could make a download queue and download one by one your queued files until it finish eventhough you have close the Firefox.

And about couple of days ago, the new version of Video Downloadhelper has been release especially to support Firefox 3. The plugin working fine without any problem as far as I'm using it. So now I can download youtube files on point click.

For those who interested to try this plugin, you must have firefox installed on your system(luckily, all ubuntu OS used firefox as default browser). All you got to do is click on the link here, and the installation popup will appear, just click install and you are done!

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

0

Ubuntu: Play Your Favourites Movie Using SopCast

SopCast is a streaming player for all ubuntu user who is interested to watch a show online/streaming. It contain a lot of channel such as HBO, EuroSports and many more. Plus this SopCast also have online movie to entertain the viewer.

For thos interested to have this application running on your Ubuntu Box, please follow this site on how to install QSopCast on Ubuntu. I follow this tutorial and it's working out of the box. No need to have TV Card to watch TV. All I need is a SopCast and I can get a lot of channels.

Did I mention it's a streaming media? Yes, you need to have internet access in order to play the TV online. Surely you will need at least a broadband connection to play a streaming television to have a good quality of video. For me, 1MB of streamyx line is good enough to watch HBO and Sports Channels.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 7, 2008

0

Compile X-chat 2.8.4 on Hardy

This tutorial is for those who would like to compile X-Chat 2.8.4 on their Hardy Heron. And learn to apply patch on the files manually. What is good about compiling application manually from source?

Binary Compatibility means that when something is updated, you continue to work without needing to even recompile.

Source Compatibility means that you need to recompile to keep things working, but you don't have to actually change the sources.

One is not a superset of the other. Here are some examples in each combo.

Compatibility generally doesn't just mean that the change is discoverable, but that the change has some significant breaking implication that would cause a reasonably client to need to adjust their behavior. (Of course, you always find afterwards that's some important client did something unexpected and you need to compensate. Hence the heroics of the AppCompat folks). For example, with C# + reflection, any change is discoverable, so any change could technically break a client; but if a client breaks because they're relying on the names of private methods that you changed, they're hard-pressed to complain.

Yes Binary + Yes Source:

Renaming private methods. Changing a method body in a way that continues to behave the same.

Yes Binary, Not Source:

Adding new method overloads. Since overload resolution is determined at compile time, adding new methods won't affect already-compiled binaries. But if you recompile, it's possible that you may bind to the new overloads. (For example, see float.Equals)

Not Binary, Yes Source:

In this case, you just need to recompile your sources to keep working. The compiler will respond to the change in a corrective way. For example, consider removing a method overload. At a binary level, the method you're bound to is removed and so things fail. But if you recompile, the compiler may bind to another overload that's semantically equivalent, and so things keep working without you having to change any source.

Not Binary, Not Source:

A real breaking change. This requires clients to update their sources and recompile. For example, removing a method.

Taken from Mike Stall's .NET

So, now you know the pro and cons of compiling an application from source. But if you are lazy to recompile on every version updates, then i'll recommend you to use binary installation, cause this will automatically do the updates for you.

Here is the way to compile X-Chat 2.8.4 in your kernel. First you need to get the source from the official x-chat website. Then, just extract the source tarball and run '.configure' , 'make' and 'sudo make install' . This steps will be enough to install the x-chat on your current ubuntu.
wget
tar xjf
cd
./configure
make
sudo make install
And you can see the differences at your ctcp version when you ctcp yourself on the irc server. Normal Ubuntu X-Chat(installed using apt-get) will only reply "VERSION xchat 2.8.4 Ubuntu" but in a manual compiled version of X-Chat, the ctcp reply will give also your current kernel version and machine type like this "VERSION xchat 2.8.4 Linux 2.6.25-gunblade [i686/1.46GHz]" .

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 5, 2008

0

Ubuntu: Hardy and Active Directory easy step


On previous ubuntu release, to get connected to Active Directory need a lot of work to do. But in Hardy release, all this step has been simple as a new package name "likewise-open" is being uploaded into Hardy's repository. Likewine Open is an application to make Linux to Active Directory easier to setup. Only a few clicks needed in order to make your linux ubuntu to get connected to Active Directory.

Likewise Open enables Linux, Unix and Mac authentication on a Microsoft network using Active Directory. A user can now interactively log in to the Linux, Unix or Mac machine using Active Directory credentials, and can access any kerberized services that the non-Windows machine hosts.

taken from likewise-open website
I was really pleased with the action taken by ubuntu to include this package into official repository as this is an important application being used by a lot of ubuntu user in order to access Active Directory which previously need to be setup my intermediate linux user.

You can download the package name 'likewise-open' by using your apt-get service by using this command:
sudo apt-get install likewise-open
As now, everyone could do the setup easily. And no more worries to get the files needed from your Office Active Directory server. But if you have encounter some problem using the new package of 'likewise-open' feel free to launch a bug report in launchpad.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 4, 2008

0

Ubuntu: Firefox-2 on hardy

I notice that the firefox 3 is still have some bugs. So here is the simple to this solution right now, "WAIT UNTIL THE FIREFOX HES BEEN OFFICIALLY RELEASE" . Why do you have to use the beta version? So mean while, please use the old Firefox 2.0. This step below will install you the previous version of firefox:

sudo apt-get install firefox-2
If somehow you still wanted to be a tester user to help firefox to improve and report the bugs in firefox 3, you can always use it by selecting at the "Application > Internet > Firefox 3" menu. So it's your choice.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 3, 2008

10

Ubuntu: Kernel 2.6.25 on Hardy

Well, I've been playing and trying a new kernel stable release of 2.6.25 which is known to be compatible and will work on Ubuntu Hardy or any release. But as i'm using Hardy right now, so this tutorial will be on Hardy Heron environment. Well I strictly not recommend a beginner user to try this because this is not an official kernel for Hardy, so if anything goes wrong, you are the one who cause this(and me cuz writing this tutorial).

So I look on the www.kernel.org for a new stable release of 2.6.25 kernel and wonder if it can work with my new hardy heron. Here is the changes made in the new 2.6.25 kernel:

1. There are deeply invasive performance/scalability/latency fixes for CFS regressions (vs. 2.6.24) in the 2.6.25 tree. These fixes are too invasive to be ported