I note down things I come across each day, with my views on it. It can be anything that I feel I should write.
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:
- Open PlayOnLinux
- Click Configure - the wheel symbol
- Go to 'Wine' tab
- Open the task manager
- In the 'Applications' tab, browse to the age of empires exe
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
Labels:
Age Of Empires,
AOE,
games,
Solved,
Ubuntu,
Wine in Ubuntu
Subscribe to:
Posts (Atom)