Saturday 16 November 2013

Login as root in Ubuntu

To open the folders in ROOT user privilege, type the following command in terminal.
sudo nautilus

Sunday 14 April 2013

Rename all files in a directory - Ubuntu

Type the following command in the terminal
for i in *; do mv $i "$i.txt"; done

mv: target `filename' is not a directory

This error occurred when I was using mv command. I solved by typing the below line before my mv command. IFS=$'\n'

Zip all files in a directory - UBUNTU, LINUX using command prompt

for i in *; do zip -9 "$i.zip" "$i"; done

Friday 12 April 2013

PlayOnLinux error "[FS_Check] Error: The following file is located on a fuse filesystem. It might prevent wine from working"

Open the PlayOnLinux console and type the command: POL_Config_Write NO_FSCHECK TRUE
To open the console, select the program in the list, and click configure. Go to Miscellaneous and click Open a shell

Wednesday 10 April 2013

Play age of empires in Ubuntu

Install Age of empires from setup.exe, using playonlinux. Target can be a usb drive locate by /media//AOEA

After install do the following:

  1. Open PlayOnLinux
  2. Click Configure - the wheel symbol
  3. Go to 'Wine' tab
  4. Open the task manager
  5. In the 'Applications' tab, browse to the age of empires exe

Tip on how to find video card details is available in the url:http://www.cyberciti.biz/faq/howto-find-linux-vga-video-card-ram/

Tweaks can be done:

  • The config file is ~/.PlayOnLinux/shortcuts/Age Of Empires II : The Conquerors
  • In this file, the working directory will be the directory in the cd command.
  • POL_Wine <the exe name> -nostartup "$@" is the next line
PlayOnLinux will expect the exe and the installed folder to be the working directory.

Thursday 28 March 2013

Batch processing using Gimp for Ubuntu

DBP (David's Batch Processor), is a very useful tool to do batch tasks using Gimp. The repository is available in the url. For the source to compile g++ is required. To install, g++ : Open a terminal, and run the following: sudo apt-get install libgimp2.0-dev gcc cpp g++ Enter 'y' for all the prompts. Download dbpSrc-1-1-9.tgz to desktop untar (or unzip) the tgz file using the following command sudo tar -xvzf /home/[username]/Desktop/dbpSrc-1-1-9.tgz cd dbp-1.1.9 To build, run the following command sudo make To install, run the following command make install After installing, open gimp tool. The newly installed batch processes can be found in menu Filters > Batch Process...