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"; 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:

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.