tag:blogger.com,1999:blog-15872597218163747042024-02-21T03:02:14.159+08:00Howto ubuntu!Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.comBlogger63125tag:blogger.com,1999:blog-1587259721816374704.post-16701330154568954732007-06-22T12:59:00.000+08:002007-06-22T13:01:36.554+08:00Simple script restores your system settings after OS reinstallcome from<a href="http://www.linux.com/articles/62438"> linux.om</a>, maybe useful later 'cause I really want to reinstall my ubuntu when the final exam comes to end.Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-23487593399865639372007-06-22T12:54:00.001+08:002007-06-22T12:54:33.356+08:00How to make OpenOffice run faster in UbuntuSome simple steps make Open Office snappier.<br></br><br></br><a href='http://www.zolved.com/synapse/view_content/28209/How_to_make_OpenOffice_run_faster_in_Ubuntu'>read more</a> | <a href='http://digg.com/linux_unix/How_to_make_OpenOffice_run_faster_in_Ubuntu'>digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-23803626580363606282007-06-21T08:52:00.000+08:002007-06-21T08:54:43.837+08:00Make your gnome menus run fasterSome weeks ago, I have showed two small tips to tweak your Ubuntu Linux. The first one is <a href="http://vntutor.blogspot.com/2007/05/disable-ip-v6-to-speed-up-feisty.html">to disable IPv6</a> and the second one is <a href="http://vntutor.blogspot.com/2007/05/reduce-swaping-to-speed-up-your-ubuntu.html">to reduce swapping</a>. Today, I have another tip to make your gnome menus run faster.<br /><br />1. Create a file named .gtkrc-2.0 in your home directory<br /><br /><span style="font-family: courier new;">cd</span><br /><span style="font-family: courier new;">touch .gtkrc-2.0</span><br /><span style="font-family: courier new;">echo "gtk-menu-popup-delay = 0"| tee -a .gtkrc-2.0</span><span style="font-family: monospace;"><br /><br /></span>2. Logout and login again<br /><br />I have tested with a value <span style="font-family: courier new;">gtk-menu-popop-delay = 2000</span> before to try <span style="font-family: courier new;">gtk-menu-popop-delay = 0</span> to see what is different in effect.<br /><a href="http://vntutor.blogspot.com/">read more</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-7550319327078037052007-06-21T00:39:00.001+08:002007-06-21T00:39:27.001+08:00Learn 10 good UNIX usage habitsAdopt 10 good habits that improve your UNIX command line efficiency and break away from bad usage patterns in the process. This article takes you step-by-step through several good, but too often neglected, techniques for command-line operations. Learn about common errors and how to overcome them.<br></br><br></br><a href='http://www-128.ibm.com/developerworks/aix/library/au-badunixhabits.html'>read more</a> | <a href='http://digg.com/linux_unix/Learn_10_good_UNIX_usage_habits'>digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-11707487167434630822007-06-16T13:04:00.001+08:002007-06-16T13:06:19.817+08:00How to install a DLL file in Windows XP?This tutorial will walk you through the steps on how to install a DLL file in to Windows. This tutorial covers all Windows operating systems.<br />The first post about windows, I didn't mean to but the article is really useful 'cause I met the problem so many times when I use xp!<br /><br /><br /><br /><a href="http://dll-downloads.com/how_to_install_dll_a_file.asp">read more</a> | <a href="http://digg.com/microsoft/How_to_install_a_DLL_file_in_Windows_XP">digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-83670552594752216282007-06-16T12:10:00.001+08:002007-06-16T12:13:47.813+08:00Controlling your Linux system processesAll modern operating systems are able to run many programs at the same time. For example, a typical Linux server might include a Web server, an email server, and probably a database service. Each of these programs runs as a separate process. What do you do if one of your services stops working? Here are some handy command-line tools for managing processes.<br /><br />Each process uses time on a system's CPU, as well as other system resources such as memory and disk space. If a program goes wrong, it can start to use too much CPU time or memory and so deny other programs the resources they need to run.<br /><br />Knowing how to manage rogue processes is an essential part of Linux system management. To help, turn to command-line tools such as ps, top, service, kill, and killall.<br /><br />ps<br /><br />ps shows the current processes running on the machine. ps has many options, but one of the most useful invocations is ps aux, which shows every process on the system.<br /><br />A normal Linux server may have 100 processes running after boot up, so the output from the ps command can be quite long. Here are the first few lines from my CentOS 5 test machine:<br /><br />USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND<br />root 1 0.0 0.1 10308 668 ? S 15:03 0:00 init [5]<br />root 2 0.0 0.0 0 0 ? S 15:03 0:00 [migration/0]<br />root 3 0.0 0.0 0 0 ? SN 15:03 0:00 [ksoftirqd/0]<br />root 4 0.0 0.0 0 0 ? S 15:03 0:00 [watchdog/0]<br />root 5 0.0 0.0 0 0 ? S<br /><br />Here is a brief explanation of each of the columns:<br /><br />USER is the name of the user that owns the processes.<br />Each process has a unique process ID (or PID for short).<br />%CPU shows the CPU utilization of the process. It is the CPU time used divided by the time the process has been running expressed as a percentage.<br />%MEM is the amount of the physical memory the process is using.<br />VSZ show the virtual memory size of the process in kilobytes.<br />RSS is similar to VSZ, but rather than virtual memory size, RSS shows how much non-swapped, physical memory the process is using in kilobytes.<br />TTY is the controlling terminal.<br />STAT is the status of the process, where S means the process is sleeping and can be woken at any time, N means the process has a low priority, and < means the process has a high priority. Other letters to watch for are l which means the process is multi-threaded and R which means the processes is running.<br />START shows when the process was started.<br />TIME is the accumulated CPU time. This includes time spent running the processes and time spent in the kernel on behalf of that process.<br /><br />For a complete explanation see the ps man page.<br /><br />Finding a specific process in such a long list can be a problem. To help, you can use the grep command to look for matches in the text. For example, to look for the sendmail process, use the command:<br /><br />ps aux | grep sendmail<br />root 2401 0.0 0.4 66444 2064 ? Ss 15:04 0:00 sendmail: accepting connections<br />smmsp 2409 0.0 0.3 53040 1752 ? Ss 15:04 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue<br />gary 3807 0.0 0.1 60224 700 pts/2 R+ 15:17 0:00 grep sendmail<br /><br />When you run it, the grep command itself will be shown (in this case PID 3807) as it matches the string we are looking for, namely sendmail. But of course it isn't part of the sendmail service.<br /><br />top<br /><br />While ps shows only a snapshot of the system process, the top program provides a dynamic real-time view of a system. It displays a system summary (with CPU usage, memory usage, and other statistics) as well as a list of running processes that changes dynamically as the system is in use. It lists the processes using the most CPU first.<br /><br />The first few lines of top look something like this:<br /><br />top - 15:18:00 up 54 min, 0 users, load average: 0.00, 0.10, 0.11<br />Tasks: 115 total, 2 running, 113 sleeping, 0 stopped, 0 zombie<br />Cpu(s): 0.7%us, 0.0%sy, 0.0%ni, 99.0%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st<br />Mem: 467888k total, 458476k used, 9412k free, 15264k buffers<br />Swap: 3204884k total, 0k used, 3204884k free, 222108k cached<br /><br /> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br /> 554 root 15 0 229m 9940 4548 S 0.7 2.1 0:10.29 Xorg<br /> 1 root 15 0 10308 668 552 S 0.0 0.1 0:00.11 init<br /> 2 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0<br /> 3 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0<br /><br />The bottom part of the output is similar to the output from the ps command. In the top part, the Swap: line is useful for checking how much swap space is being used. For more information see the top man page.<br /><br />service<br /><br />The easiest way to start and stop services such as sendmail or the Apache Web server from the command line is to use the service command. Each service provide a script for easily starting and stopping the service.<br /><br />To discover the status of a service, type service sendmail status. This should output something similar to:<br /><br />sendmail (pid 4660 4652) is running...<br /><br />If you want to shutdown a running sendmail, you can type service sendmail stop. To start it again, use service sendmail start. To stop and restart sendmail, use service sendmail restart.<br /><br />If you can't stop a running or rogue service using the service command then you may need to resort to the kill and killall commands.<br /><br />kill and killall<br /><br />The kill command attempts to shut down a running process. In Linux, a process is stopped when the operating system sends it a signal telling it to shut down. The default signal for kill is TERM (signal 15), meaning software terminate. If it receives the signal, the process should shut down in an orderly way. If the process has become rogue, chances are that it won't respond to being told politely to shut down. In that case you have to send the KILL signal (signal 9 for short). So to kill off a running process (e.g. process 1234) we would use kill -9 1234.<br /><br />The killall command kills running processes by name rather than by PID. This bring two immediate advantages. First, to kill a process we don't need to look for the PID using the ps command. Second, if there are multiple processes with the same name (as is the case with the Apache Web server) then all the processes will be killed in one fell swoop. As with kill, killall takes a signal parameter, and -9 is used to terminate the processes. So to kill off all the Apache processes you would use killall -9 httpd.<br /><br />Restarting an unresponsive Web server<br /><br />Let's look at an example of how to use these commands to solve a real-life problem. If you find that your Web server has stopped responding and needs to be restarted, first try the service command. The start/stop script for your Web server should be able to get it running again. For Apache on CentOS 5 we would type:<br /><br />service httpd restart<br /><br />If that fails, next try the killall command to eliminate the old instance of the Web server:<br /><br />killall -9 httpd<br /><br />Run ps to check that all the Apache services died:<br /><br />ps aux | grep httpd<br /><br />If there are any strays, kill them off individually with the kill command. Finally, restart the Web server with:<br /><br />service httpd start<br /><br />A friend of mine recently had problem with the fetchmail process. Fetchmail is a program that fetches mail from external mail servers and pulls them down onto the local server. One morning he discovered that his system was running slowly. A quick use of the top command revealed that the fetchmail process was using 99% of the system memory. He noted the fetchmail process's PID, then killed the process and restarted it using the service command. The memory was freed and the system sprang back to life.<br /><br />Conclusion<br /><br />You should monitor your system to ensure that none of your processes have gone haywire. One simple method is to permanently run a terminal window with the top command. A quick glance every so often will assure you that all is OK. If something does start to go bad, Linux provides useful tools to stop and restart processes. Only rarely will a full system reboot be needed. <br /><br /><br /><br /><a href="http://www.linux.com/article.pl?sid=07/06/08/1350219">read more</a> | <a href="http://digg.com/linux_unix/Controlling_your_Linux_system_processes">digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-67497573037821263112007-06-16T12:01:00.001+08:002007-06-16T12:08:23.644+08:00Supercharge your right-click menu with Nautilus Scripts<img alt="Nautilus-Scripts.png" src="http://lifehacker.com/assets/resources/2007/06/Nautilus-Scripts.png" class="postimg center" height="280" width="478" /><p>Linux only: Freeware "package" Nautilus Scripts is a compilation of handy scripts that supercharge your right-click menu in Nautilus.</p><p>With Nautilus Scripts you can convert audio files, convert and install packages, automatically convert CDs to .iso files, compile C/C++ programs for Linux/Windows, and much more. The installation is a snap -- just extract the contents of the download to <code>$HOME/.gnome2/nautilus-scripts/</code> and you'll be all set. Your expanded right-click menu will automatically be created.</p><p>Nautilus Scripts is a free download and requires Gnome and Nautilus. In order to use some of the advanced features of Nautilus Scripts you'll also want to install the following packages: mingw32, wine, alien, and build-essential.</p><br /><br /><br /><a href="http://lifehacker.com/software/featured-linux-download/supercharge-your-right+click-menu-with-nautilus-scripts-269043.php">read more</a> | <a href="http://digg.com/linux_unix/Supercharge_your_right_click_menu_with_Nautilus_Scripts">digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-66804752129601049512007-06-15T22:38:00.001+08:002007-06-15T22:42:36.942+08:00Workaround for Feisty screensaver bugWhen I watch videos in full screen, I usually stop using the mouse. When I do this, I find that the screen blanks after just about exactly 20 minutes. <p>xorg.conf has options for DPMS control on monitors. This appears to be the one that is causing us problems.</p> <p>The following procedure is the workaround for this problem.Before doing any chnages you need to take backup of xorg.conf file</p> <p>sudp cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig</p> <p><strong>Solution1</strong></p> <p>Edit /etc/X11/xorg.conf file using the following command</p> <p>sudo vi /etc/X11/xorg.conf</p> <p>and add the following lines</p> <p>Section “ServerFlags”<br />#other options can go here<br />Option “BlankTime” “0″<br />Option “StandbyTime” “0″<br />Option “SuspendTime” “0″<br />Option “OffTime” “0″<br />EndSection</p> <p>Save and exit the file</p> <p><strong>Solution 2</strong></p> <p>Edit /etc/X11/xorg.conf file using the following command</p> <p>sudo vi /etc/X11/xorg.conf</p> <p>This effectively disables power management on your monitor Settings</p> <p>Section “Monitor”<br />#other options can go here<br />Option “DPMS” “false”<br />EndSection</p> Save and exit the file and restart your machin<br /><br /><br /><br /><a href="http://www.ubuntugeek.com/workaround-for-feisty-screensaver-bug.html">read more</a> | <a href="http://digg.com/linux_unix/Workaround_for_Feisty_screensaver_bug">digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-49214533566777387082007-06-15T22:22:00.001+08:002007-06-16T12:11:12.784+08:00HOWTO: Installing And Working With eyeOS Under Linux (Ubuntu/Debian)Great HOWTO explaining how to install the eyeOS 1.0 Web Operating System into a Linux system (It's for Debian, I tested it under Ubuntu). Just 4 steps and you can be working on eyeOS from any computer on the net. eyeOS is a web Operating System with a ports system like apt-get and 19 base applications to work on the browser, Open Source.<br /><br /><br /><br /><a href="http://www.howtoforge.com/installing_eyeos_debian_etch">read more</a> | <a href="http://digg.com/linux_unix/HOWTO_Installing_And_Working_With_eyeOS_Under_Linux_Ubuntu_Debian">digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-75072392357214710422007-06-14T11:17:00.001+08:002007-06-14T11:17:29.980+08:00How To: Give Ubuntu a speed boostThe XLNTsolution weblog has a whole stash of system tweaks they recommend to speed up Ubuntu Feisty Fawn.Some of the tips include disabling IPv6, enabling parallel boot processes, reducing the load of the swap, and re-aliasing the localhost -- and that just scratches the surface. Some of the tweaks are pretty advanced!<br></br><br></br><a href='http://lifehacker.com/software/how-to/give-ubuntu-a-speed-boost-268325.php'>read more</a> | <a href='http://digg.com/linux_unix/How_To_Give_Ubuntu_a_speed_boost'>digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-58862239275777270072007-06-13T12:21:00.000+08:002007-06-13T12:28:27.711+08:00Tune Boot-Up-Manger for better performance of Ubuntu<p><span style="font-family:Verdana;font-size:85%;">Ubuntu does not come with a graphical tool to disable services. The Boot-Up-Manager (BUM) is the most comprehensive and user-friendly tool for Ubuntu.</span><span style="font-family:Verdana;font-size:85%;"> </span> </p> <p dragover="true"><span style="font-family:Verdana;font-size:85%;">Follow these Steps to </span><strong><span style="font-family:Verdana;font-size:85%;">Install Boot-Up- Manager</span></strong></p> <ul><li> <p dragover="true"><span style="font-family:Verdana;font-size:85%;">Go to <strong>Applications</strong> > <strong>Add and Remove Applications</strong></span></p> </li></ul> <span style="font-family:Verdana;font-size:85%;"><strong> <img src="http://anonymouse.org/cgi-bin/anon-www.cgi/http://www.zolved.com/UserFiles/Image/28311/add1.jpg" alt="" height="347" width="253" /><br /></strong></span> <ul><li> <p><span style="font-family:Verdana;font-size:85%;">The <strong>Add/Remove </strong>Applications window is shown. Search for <strong>boot </strong>in the search text box. Check <strong>Boot-Up-Manager and </strong>click on <strong>OK </strong>to install.<strong><br /> </strong></span><br /> <img src="http://anonymouse.org/cgi-bin/anon-www.cgi/http://www.zolved.com/UserFiles/Image/28311/jpgboot.jpg" alt="" height="383" width="468" /></p> </li><li> <p><span style="font-family:Verdana;font-size:85%;">Click on <strong>Apply</strong> in confirmation popup. Boot-Up-Manager is installed successfully.</span></p> </li></ul> <span style="font-family:Verdana;font-size:85%;"> <img src="http://anonymouse.org/cgi-bin/anon-www.cgi/http://www.zolved.com/UserFiles/Image/28311/jpgboot1.jpg" alt="" height="295" width="468" /><br /></span> <p><span style="font-family:Verdana;font-size:85%;"><strong>Disable the services for better performance tunning</strong></span></p> <ul><li> <p><span style="font-family:Verdana;font-size:85%;">Go to <strong>System </strong>> <strong>Adminstration </strong>> <strong>BootUp-Manager</strong></span></p> </li></ul> <img src="http://anonymouse.org/cgi-bin/anon-www.cgi/http://www.zolved.com/UserFiles/Image/28311/jpgboot2.jpg" alt="" height="248" width="392" /><br /><ul><li> <p><span style="font-family:Verdana;font-size:85%;"><strong>Boot-Up-Manager </strong>window is shown. Check <strong>Advanced </strong>check box, and select tab <strong>Startup and shutdown scripts</strong></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lHMlubfyEUI/Rm9x3UtbF8I/AAAAAAAAADM/HGtYh6lmb7s/s1600-h/jpgbootnext%281%29.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_lHMlubfyEUI/Rm9x3UtbF8I/AAAAAAAAADM/HGtYh6lmb7s/s400/jpgbootnext%281%29.jpg" alt="" id="BLOGGER_PHOTO_ID_5075400500335810498" border="0" /></a></p></li></ul> <span style="font-family:Verdana;font-size:85%;"> <br />Disabling the below listed scripts doesn't disturb your PC<br /></span> <ul type="disc"><li> <p><span style="font-family:Verdana;font-size:85%;"><strong>ntpdate:</strong> a utility that updates the system clock on each reboot.</span></p> </li><li> <p><span style="font-family:Verdana;font-size:85%;"><strong>pcmcia: </strong>used only with laptops if one has PCMCIA cards.</span></p> </li><li> <p><span style="font-family:Verdana;font-size:85%;"><strong>ppp: </strong>point-to-point protocol used only if you have a modem. Disabled the built-in modem in my desktop and only use a network interface card.</span></p> </li><li> <p><span style="font-family:Verdana;font-size:85%;"><strong>powernowd: </strong>Use an AMD processor with Ubuntu and this service does not work with AMD.</span></p> </li><li> <p><span style="font-family:Verdana;font-size:85%;"><strong>rsync: </strong>a utility that provides fast incremental file transfer if you wish to mirror or back up data.<br /> </span></p> </li><li> <p><span style="font-family:Verdana;font-size:85%;"><strong>fetchmail: </strong>a utility to retrieve and forward mail and act as a gateway to smtp. If you are a Linux groupware client, do not use this utility.</span></p> </li><li> <p><span style="font-family:Verdana;font-size:85%;"><strong>postfix: </strong>a mail transfer agent similar to sendmail. Use a mail server from my ISP and our company domain.<br /> </span></p> </li></ul> <span style="font-family:Verdana;font-size:85%;">Reboot the PC and find the difference. </span>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com2tag:blogger.com,1999:blog-1587259721816374704.post-83418916743350062082007-06-11T10:32:00.000+08:002007-06-11T10:35:01.940+08:00How to disable tap-clicking with your touchpad in Linux in a easy wayLots of people have a love/hate relationship with their touch pad on their laptops. It’s great for speeding around your screen and doing lots of cool things with nary a mouse in site. It’s horrible when you accidentaly double-click that Quake 3 icon while your boss is strolling into the room. <p>Here’s a quick and easy guide to disabling tap-clicking and scrolling on your touchpad. With this little hack you’ll still have a mouse replacement, but will avoid Quake 3 inspired embarrassment.</p> <p>First, you’ll need to edit your xorg.conf file. This is the file that controls your display, and oddly all of your input devices as well like your keyboard, mouse and…. touchpad. Open up a CLI (Applications-> Accessories-> Terminal) and let’s get down to business.</p> <blockquote><p>gksu gedit /etc/X11/xorg.conf</p></blockquote> <p>Now you’ve got your xorg.conf file open in an editor, let’s add one line too it. Look for this section in your xorg.conf file:</p> <blockquote><p>Section “InputDevice”<br />Identifier “Synaptics Touchpad”<br />Driver “synaptics”<br />Option “SendCoreEvents” “true”<br />Option “Device” “/dev/psaux”<br />Option “Protocol” “auto-dev”<br />Option “HorizScrollDelta” “0″<br />EndSection</p></blockquote> <p>Yours may have all of this stuff or it may have very little of it. The key points you want to look for are the <em>Section</em> and <em>EndSection</em> bits. Everything has to go between these two, and what we’re going to add is not exception.</p> <p>See the Options above? We’re going to add an option. So cut and paste the following in there just above the <em>EndSection</em> portion:</p> <blockquote><p>Option “TouchpadOff” 2</p></blockquote> <p>Now save your file and exit Gedit. The next time you restart your laptop (or restart your X session) you’re touchpad will be click-less.</p><p>But perhaps this way is so complicated and sometimes it doesn't work! Then you should try this way:</p><p><span style="font-weight: bold;">For KDE</span>:<br />1. Open KDE Control Center<br />2. Select Peripherals > Touch Pad<br />3. Select “Tapping” tab and uncheck “Enable Tapping”<br />4. Click “Apply”<br />Done</p><p><span style="font-weight: bold;">For Gnome</span>:</p> <p>sudo apt-get install gsynaptics</p> <p>And go to System > Preferences > Touchpad</p><p>Done<br /></p>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-81567127516067940842007-06-05T02:15:00.000+08:002007-06-05T02:17:24.676+08:00Mount and Unmount ISO,MDF,NRG Images Using AcetoneISO (GUI Tool)<p>AcetoneISO is CD/DVD image manipulator for Linux.Using this tool it is very easy to Mount and Unmount ISO,MDF,NRG Images</p><p><span class="fullpost"></span></p><p><a name='more'></a><strong>AcetoneISO Features</strong></p><ul><li>Mount and Unmount ISO, MDF, NRG (if iso-9660 standard)</li><br /><li>Convert / Extract / Browse to ISO : *.bin *.mdf *.nrg *.img *.daa *.cdi *.xbx *.b5i *.bwi *.pdi</li><br /><li>Play a DVD Movie ISO with most used media players</li><br /><li>Generate an ISO from a Folder or CD/DVD</li><br /><li>Generate MD5 file of an image</li><br /><li>Encrypt an image</li><br /><li>Split image in X megabyte</li><br /><li>Compress with High Ratio an image</li><br /><li>Rip a PSX cd to *.bin to make it work with epsxe/psx emulators</li><br /><li>Service-Menu support for Konqueror</li><br /><li>Restore a lost CUE file of *.bin *.img</li><br /></ul><br /><p><strong>Preparing Your System</strong></p><p>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. You also need p7zip (a file archiver with highest compression ratio) to compress and extract ISO images.</p><p>sudo apt-get install kommander p7zip</p><p><strong>Install AcetoneISO in Ubuntu</strong></p><p>First you need to download latest AcetoneISO .deb package from <a href="http://kde-apps.org/content/show.php?content=44805" target="_blank">here</a></p><p>Now you should be having AcetoneISO-6.7.deb file you need to install this file using the follwoing command</p><p>sudo dpkg -i AcetoneISO-6.7.deb</p><p>This will complete the installation</p><p>Now you need to go to Application > Accessories > AcetoneISO</p><p><img src="http://www.proxydom.com/proxy.php?q=uggc%3A%2F%2Fjjj.hohaghtrrx.pbz%2Fvzntrf%2Fvfb%2F1.cat" align="middle" /></p><p>Once it opens you should see similar to the following screen</p><br /><p><img src="http://www.proxydom.com/proxy.php?q=uggc%3A%2F%2Fjjj.hohaghtrrx.pbz%2Fvzntrf%2Fvfb%2F2.cat" align="middle" /></p><p><a href="http://onlyubuntu.blogspot.com/2007/06/mount-and-unmount-isomdfnrg-images.html">Read more</a><br /></p>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com1tag:blogger.com,1999:blog-1587259721816374704.post-12699518555680636832007-06-04T02:14:00.001+08:002007-06-04T02:14:48.256+08:00How to Fix Slow Fesity Boot For LaptopsFeisty has a terrible boot time on laptops compared to server (roughly 3x as long) even though it is a faster computer. You can speedup your boot time from over a minute to roughly 30 seconds by doing the following<br></br><br></br><a href='http://www.ubuntugeek.com/how-to-fix-slow-fesity-boot-for-laptops.html'>read more</a> | <a href='http://digg.com/linux_unix/How_to_Fix_Slow_Fesity_Boot_For_Laptops'>digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-61675982823879063272007-05-31T17:39:00.002+08:002007-05-31T17:40:49.208+08:00Howto install Avant Window Navigator in Feisty!!If you are running Ubuntu Feisty Fawn 7.04, you can install AWN and Affinity from an Ubuntu repository.<br /><br />First, edit your apt sources:<br /><br /><ul><li>gksudo gedit /etc/apt/sources.list</li></ul>Add these lines to the bottom (without bullets):<br /><ul><li>## Avant Window Navigator</li><li>deb http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator</li><li>deb-src http://download.tuxfamily.org/syzygy42/ feisty avant-window-navigator</li></ul><br />Then do this in a terminal:<br /><ul><li>wget http://download.tuxfamily.org/syzygy42/8434D43A.gpg -O- | sudo apt-key add -</li><li>sudo apt-get update</li><li>sudo apt-get upgrade<br /></li></ul><br />Now to install the stable AWN version do<br /><br />NOTICE: No stable AWN at this time. It will be added at the next release<br /><br />Or for AWN SVN do<br /><ul><li>sudo apt-get install avant-window-navigator-svn</li></ul><br />The Affinity in this repo requires Tracker to work properly.<br /><br />For the stable Affinity version do<br /><ul><li>sudo apt-get install affinity</li></ul><br />Or for Affinity SVN do<br /><ul><li>sudo apt-get install affinity-svn</li></ul>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-23508028182981672382007-05-31T17:39:00.001+08:002007-05-31T17:42:20.791+08:00HOWTO: Cleaning up all those unnecessary junk files in ubuntu!this article shows you how to get ri of those unwanted files taking up space in your Ubuntu folders.<br /><br /><br /><br /><a href="http://ubuntuforums.org/showthread.php?t=140920">read more</a> | <a href="http://digg.com/linux_unix/HOWTO_Cleaning_up_all_those_unnecessary_junk_files">digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-5200434285447505422007-05-31T17:33:00.001+08:002007-05-31T17:33:24.360+08:00knowhow Adobe and del.icio.us work together?Adobe Illustrator is one of my favorite design tools, and as part of the redesign of del.icio.us I’ve been using it in a number of interesting ways. For example, I’ve written JavaScript code to pull in and parse del.icio.us RSS feeds then automatically render my latest designs in Illustrator using real data. This allows us to rapidly iterate on the<br></br><br></br><a href='http://blog.del.icio.us/blog/2007/05/knowhow_adobe_a.html'>read more</a> | <a href='http://digg.com/design/knowhow_Adobe_and_del_icio_us_work_together'>digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-89285598246918914572007-05-31T16:49:00.000+08:002007-05-31T16:52:38.971+08:00mapping to be If you want to completely swap caps lock and escape, you have to replace the<br />"Lock" on caps lock. Drop this file in your home directory(<span style="font-weight: bold;">don't copy the start&end lines!!</span>):<br />-----------start------------<br /><span style="font-weight: bold;"> ! Swap caps lock and escape</span><br /><span style="font-weight: bold;"> remove Lock = Caps_Lock</span><br /><span style="font-weight: bold;"> keysym Escape = Caps_Lock</span><br /><span style="font-weight: bold;"> keysym Caps_Lock = Escape</span><br /><span style="font-weight: bold;"> add Lock = Caps_Lock</span><br />------------end-------------<br />and call it ".speedswapper". Then open a terminal and type<br />$ xmodmap .speedswapper<br />and you'll be twice as efficient in vim.<br />Who needs caps lock anyway?Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-86143083962990169622007-05-27T17:32:00.000+08:002007-05-27T17:38:11.113+08:00Make your firefox more beautiful in ubuntu!One thing that has always bothered me about Ubuntu's firefox is that the buttons, radio buttons, drop down menus, text fields, and checkboxes (known as <i>widgets</i>) are very cruddy looking. Fortunately I found a simple way to fix this. What we have below is a replacement set of images and CSS code for the widgets which will make them much nicer on the eyes (see bottom of the post for screenshots).<br /><br /><br />The original widgets are done by Osmo Salomaa <otsaloma@cc.hut.fi>. I have written a bash script to make the installation and removal process easier. You can download this at the bottom of this post. Simply unpack the archive anywhere you like, open a shell, cd to the directory you unpacked and run install (do this with the <b>./install</b> command). Now you are presented with a menu.<br /><br />By default this script works with the default firefox directory: /usr/lib/firefox. To work with a different directory (such as /usr/local/firefox32 if you are using Kilz's firefox32 package) you can specify a new installation/removal (option 3). Make sure you enter the correct path to your firefox directory. You can also change the installation/removal directory with the "-p=" or "--path=" command line options when you initiate the script (run <b>./install --help</b> or read the README for more information).<br /><br />Once you have the correct path (or you are just using the default /usr/lib/firefox path), you can install by using option 1 in the main menu. To run the installer immediately and bypass the menu use the "-i" or "--install" command line options when executing the script. Use the "-h" or "--help" command line options to get more information (<b>./install -h</b>).<br /><br />To remove the widgets (make sure you have the correct path first just like with installing), just select option 2 from the main menu. If you wish to bypass the menu and go straight to removal, envoke the "-r" or "--remove" option.<br /><br />You can also use the "-p=" option in conjunction with the "-r" or "-i" command line options if you like. <br /><br />Example) <b>./install --path=/usr/local/Iceweasel32 -i</b><br />This would install the widgets to the /usr/local/Iceweasel32 directory.<br /><br />I should also mention, I have included a backup forms.css file incase you mess anything up. This file is from a default 64-bit Firefox 2.0 installation. The forms.css file an be found in Firefox's "res" directory. You won't need my backup unless you accidently delete your's or the script malfunctions (in which case please contact me).<br /><br />Read the README for more information. Screenshots are below, enjoy! <img src="http://ubuntuforums.org/images/smilies/icon_smile.gif" alt="" title="Smile" class="inlineimg" border="0" /><br /><br /><br /><span style="font-size:130%;"><u><b>Buttons</b></u></span><br /><img src="http://img525.imageshack.us/img525/9933/buttoncomparisonit7.png" alt="" border="0" /><br /><br /><span style="font-size:130%;"><u><b>Check Boxes</b></u></span><br /><img src="http://img525.imageshack.us/img525/4695/checkboxcomparisongb7.png" alt="" border="0" /><br /><br /><span style="font-size:130%;"><u><b>Radio Buttons</b></u></span><br /><img src="http://img525.imageshack.us/img525/5641/radiobuttoncomparisonyz0.png" alt="" border="0" /><br /><br /><span style="font-size:130%;"><u><b>Drop Down Menus</b></u></span><br /><img src="http://img410.imageshack.us/img410/7093/scrollercomparisoniy8.png" alt="" border="0" /><br /><br /><span style="font-size:130%;"><u><b>Text Fields</b></u></span><br /><img src="http://img525.imageshack.us/img525/4117/textfieldcomparisondz6.png" alt="" border="0" /><br /><br /><span style="font-size:130%;"><u><b>Before</b></u></span><br /><img src="http://img525.imageshack.us/img525/2541/oldgoogleuz4.png" alt="" border="0" /><br /><br /><span style="font-size:130%;"><u><b>After</b></u></span><br /><img src="http://img410.imageshack.us/img410/9629/newgooglexq7.png" alt="" border="0" /><br /><span style="font-weight: bold;">Download script</span>:<a href="http://www2.blogger.com/%27http://www.mediafire.com/?8xs20zmmrhv%27">http://www.mediafire.com/?8xs20zmmrhv</a><br /><a href="http://ubuntuforums.org/showthread.php?t=369596">Read more</a></otsaloma@cc.hut.fi>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com1tag:blogger.com,1999:blog-1587259721816374704.post-55797758639376170042007-05-26T22:56:00.000+08:002007-05-26T22:57:48.693+08:00Installing .sh files in Ubuntu 7.04<p>Sometimes when you need to install a software on <strong>Ubuntu</strong>, the installation package only comes in <strong>.sh files</strong> instead of standard <strong>.deb</strong> package for <strong>Debian</strong>. Well the .sh itself has to be executable, however when you got it from internet repository its attribute is set to non-executable. To change this file attribute you need to either Right Click the .sh file from your file explorer, select <strong>file property</strong> -><strong> file permission</strong> and make it <strong>is executable</strong>.</p> <p>You can also change it via the command line console in your Ubuntu.<br />Open a Terminal Window. If you downloaded the file to your Ubuntu desktop you probably need to<br /><span id="more-98"></span><br /><code><br />cd /home/userid/Desktop<br /></code></p> <p><code><br />ls to see if the file exists.<br /></code></p> <p><code><br />chmod 777 /path/some_linux_installation.sh<br /></code> </p> <p>After you changed the file attribute, you can execute those file directly via terminal window or click it when you use file manager. Your installation file should startup.</p>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com1tag:blogger.com,1999:blog-1587259721816374704.post-28529949444904653572007-05-26T12:32:00.000+08:002007-05-26T12:35:21.553+08:00Add screen actions with Brightside<img alt="Brightside-interface.png" src="http://lifehacker.com/assets/resources/2007/05/Brightside-interface.png" class="postimg center" height="360" width="400" /> <p>Linux only: Open-source app Brightside adds reactivity to the corners and edges of your screen (in Gnome) so you can execute commands using only the mouse. </p> <p>Brightside offers a combination of the functionality of Mac OS X apps, <a href="http://lifehacker.com/software/virtual-desktops/download-of-the-day-virtuedesktops-mac-199762.php">VirtueDesktops</a> and <a href="http://lifehacker.com/photogallery/Lifehacker-Top-10-Mac-OS-X-Tweaks/1884609">Active Screen Corners</a>. Almost exactly the way Active Screen Corners allows you to attach custom commands to your <a href="http://lifehacker.com/software/mouse-gestures/">mouse gestures</a> in Mac OS X, Brightside brings this awesome feature to Linux.</p> <p>Softpedia does an excellent job detailing Brightside's functionality:</p> <blockquote>Brightside provides 'edge flipping' to allow you to switch to the adjacent workspace simply by pressing your mouse against the edge of the screen. Brightside also allows you to assign configurable actions to occur while you rest the mouse in a corner of the screen.</blockquote> <p>Ubuntu users can download Brightside out of the repositories with the following command:</p> <blockquote> sudo apt-get install brightside </blockquote> <p>Debian users can grab a Debian version, and all other distros can head to Softpedia to get a generic version of Brightside (a free download). <span class="byline">— Kyle Pott</span></p> <div class="related"> <a href="http://ftp.debian.org/debian/pool/main/b/brightside/">Brightside Debian versions</a> [Debian.org]<br /><a href="http://linux.softpedia.com/progDownload/Brightside-Download-3672.html">Brightside generic version</a> [Softpedia]<br /><a href="http://www.lifehacker.com/software/featured-linux-download/add-screen-actions-with-brightside-263508.php">Read More</a><br /></div>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-82520793447241294432007-05-26T00:06:00.001+08:002007-05-26T00:09:20.423+08:00Use best dictionaries in Ubuntu<p><br /></p><p>There is a wonderful collection of dictionaries for many languages in this web site</p> <p style="text-align: center;"><a href="http://sdict.com/en/"><img src="http://www.siberian.ws/blog/wp-content/uploads/2007/05/community.gif" alt="community.gif" class="imageframe imgaligncenter" height="115" width="330" /></a></p> <p>Unfortunately, SDictionary Linux client is ugly and inconvenient.</p> <p style="text-align: center;"><img src="http://www.siberian.ws/blog/wp-content/uploads/2007/05/ptk_gui.png" alt="ptk_gui.png" class="imageframe imgaligncenter" height="264" width="458" /></p> <p>There is another dictionary system - <a href="http://stardict.sourceforge.net/">StarDict</a> - which has a good-looking GTK2 client. It is included in Feisty repositories. </p> <p>Unfortunately, the dictionaries for StarDict are not as good.</p> <p>Let’s combine both worlds! I am going to convert SDictionary dictionaries to StarDict format and use them in StarDict</p> <p><img src="http://www.siberian.ws/images/step1.gif" valign="absmiddle" alt="" /> Install StarDict</p> <p style="text-align: center;"><img src="http://www.siberian.ws/blog/wp-content/uploads/2007/05/stardicins.png" alt="stardicins.png" class="imageframe imgaligncenter" height="172" width="700" /></p> <p><img src="http://www.siberian.ws/images/step2.gif" valign="absmiddle" alt="" /> Download <a href="http://sourceforge.net/project/showfiles.php?group_id=146506">Dictconv</a> (a small program to convert a dictionay file type in another dictionary file type) and install</p> <p><code>./configure<br />sudo make all install<br /></code></p> <p>You will need build tools for compiling. Install them</p> <p><code>sudo aptitude install build-essential libxml2-dev</code></p> <p><img src="http://www.siberian.ws/images/step3.gif" valign="absmiddle" alt="" /> Download one of the dictionaries, e.g. <a href="http://sdict.com/en/view.php?file=english-spanish.dct">English-Spanish</a>, and convert it to StarDict format (.ifo)</p> <p><code>dictconv -o EnSp.ifo EnSp.dct</code></p> <p>Here is successful operation</p> <p style="text-align: center;"><img src="http://www.siberian.ws/blog/wp-content/uploads/2007/05/dictdict.jpg" alt="dictdict.jpg" class="imageframe imgaligncenter" height="410" width="642" /></p> <p><img src="http://www.siberian.ws/images/step4.gif" valign="absmiddle" alt="" /> The result will be three files</p> <pre>EnSp.dz<br />EnSp.ifo<br />EnSp.idx</pre> <p>Put them into a folder and copy that folder into the folder <strong>/usr/share/stardict/dic</strong> so that the dictionary appears in StarDict</p> <p><code>sudo cp FOLDER-WITH-FILES /usr/share/stardict/dic</code></p> <p><img src="http://www.siberian.ws/images/step5.gif" valign="absmiddle" alt="" /> You will find StarDict in menu Application > Accessories</p> <p style="text-align: center;"><img src="http://www.siberian.ws/blog/wp-content/uploads/2007/05/starta.thumbnail.png" alt="starta.png" class="imageframe imgaligncenter" height="520" width="700" /></p> <p><em>You can convert and use <a href="http://www.babylon.com/gloss/">Babylon dictionaries</a>, too!</em></p><br /><p style="text-align: center;"><img dragover="true" src="http://www.siberian.ws/blog/wp-content/uploads/2007/05/babyba.jpg" alt="babyba.jpg" class="imageframe imgaligncenter" height="526" width="700" /></p><p style="text-align: center;"><a href="http://www.siberian.ws/linux/dictionaries/">Read more</a><br /></p>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com2tag:blogger.com,1999:blog-1587259721816374704.post-32784284477793282102007-05-26T00:00:00.000+08:002007-05-26T00:06:49.381+08:00Working with Word 2007 Documents(.docx) in UbuntuMicrosoft Office 2007 uses a new file format, called Office OpenXML, as the default file format. It is based on XML and uses the ZIP file container.So Word 2007 documents are incompatible with OpenOffice.Here's how to make it compatible.<br /><br />1.Download the OpenXML Translator<br />From: <a href="http://download.novell.com/SummaryFree.jsp?buildid=ESrjfdE4U58%7E">http://download.novell.com/SummaryFree.jsp?buildid=ESrjfdE4U58~</a><br />filename: odf-converter-1.0.0-5.i586.rpm<br /><br />2. Use alien to convert it to a Slackware tgz file<br />Code:<br /><code>fakeroot alien -ct odf-converter-1.0.0-5.i586.rpm</code><br /><br />If fakeroot and alien is not installed then install it<br />Code:<br /><code>sudo apt-get install alien fakeroot</code><br /><br />3. Unpack the slackware tgz file<br />Code:<br /><code>tar xzf odf-converter-1.0.0.tgz</code><br /><br />4. Copy three files into your OpenOffice.org directories -- note that the usr that you're copying from is a directory that was inside the tgz file.<br />Code:<br /><pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; height: 66px; text-align: left;">sudo cp usr/lib/ooo-2.0/program/OdfConverter /usr/lib/openoffice/program/<br />sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Filter/MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/<br />sudo cp usr/lib/ooo-2.0/share/registry/modules/org/openoffice/TypeDetection/Types/MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/</pre><br />5. Restart OpenOffice and you can now save and open Word 2007 docx files.<br /><a href="http://geekhacks.blogspot.com/2007/05/working-with-word-2007-documentsdocx-in.html">来源</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com1tag:blogger.com,1999:blog-1587259721816374704.post-37384046261347696802007-05-25T01:58:00.001+08:002007-05-25T01:59:28.655+08:00How to speed up Mozilla Firefox on UbuntuSimple tips and tricks to speedup Mozilla Firefox on Ubuntu<br /><br /><br /><br /><a href="http://www.zolved.com/synapse/view_content/28106/How_to_speed_up_Mozilla_Firefox_on_Ubuntu">read more</a> | <a href="http://digg.com/linux_unix/How_to_speed_up_Mozilla_Firefox_on_Ubuntu">digg story</a>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0tag:blogger.com,1999:blog-1587259721816374704.post-1865680885620996282007-05-25T00:13:00.000+08:002007-05-25T00:15:06.013+08:00Fix for Beryl Worspaces Problem in Feisty Fawn!<strong><a href="http://www.ubuntugeek.com/fix-for-beryl-worspaces-problem-in-feisty-fawn.html">来源</a><br />Problem</strong> <p>The workspace options dissapeared when right clicking on a window using the beryl manager.</p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog"><strong>Solution</strong></a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">First you need to Add Beryl Edgy Repos</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">sudo vi /etc/apt/sources.list</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">Add the following at the bottom</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">## Beryl Edgy Repo<br />deb http://ubuntu.beryl-project.org/ edgy main</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">Then reload your update manager.</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">sudo aptitude update</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">Now you need to downgrade the following packages</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">libwnck18<br />libwnck-common</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">Go to the packet manager System -> Administration -> Synaptic Package Manager</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">Click on search and enter “libwnck”, click ok, then you should see several files returned.</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">Select libwnck18 and go Package -> Force Version, in the drop down menu select 2.16.1 and push ok. Repeat this for the common package as well. Then push apply and you will downgrade your version of both files.</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">Reboot your computer and on restart you can now switch workspaces like you used to, perhaps later a patch will be made for beryl to work with 2.18.0</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">If you want to stop the update manager from pestering you to upgrade to 2.18.0 just search for libwnck like before and select each of the two files one at a time and then go System -> Lock Version.</a></p> <p><a id="more-198" target="_blank" class="blines2" title="Link to another page in this blog">The only problem with this is you will have to update these two files manually if a new version is released</a></p>Kingneversmilehttp://www.blogger.com/profile/13892641197187077970noreply@blogger.com0