Saturday, August 12, 2017

Use multiple virtual desktops in Ubuntu 16.04 with compiz

If you use Ubuntu 16.04 with compiz (gnome-flashback), you will see that you can not use virtual desktops because when you click on it with the right button in the virtual desktop selector to increase the number always returns to have only one again.
To fix it install Compiz Config Setup Manager (ccsm) y vdesk
sudo apt-get install ccsm vdesk
  • Then we run ccsm and select these options:
General ► General options ► Size of the Desktop
(you must press the right arrow to access to this option)
  • Now we can increase the horizontal size.


Artículo original en español
How easy things are when you know where to touch!

Wednesday, August 02, 2017

Install CPCtelera in Ubuntu

CPCtelera is a low-level C library that makes things much easier for who want to program software for Amstrad CPC. You can add various elements and compile the result directly into a DSK or CDT file, disk and tape CPC images respectively ready to run in a Emulator or burn in a physical medium to execute in a real Amstrad CPC.
CPCtelera

 Install it on Ubuntu 14.04 64 bits

  • Go to $HOME folder and download the latest version of CPCTelera source code, just type:
git clone https://github.com/lronaldo/cpctelera
  • Install all the libraries you need install it:
sudo apt-get install build-essential bison flex libboost1.55-dev libfreeimage-dev wget unzip wine
  • Start the instalation:
cd cpctelera
./setup.sh
If you need any other library the instalation tell you in the process.

Use

Read the CPCtelera Reference Manual there are also a lot of videos in youtube but most of them are on Spanish.

Original article

Tuesday, July 25, 2017

Some of the best native games in raspberry pi

Raspberry pi has many leisure options beyond emulators and kodi, for example, you can play many GNU / Linux games that do not abuse graphics acceleration.


I made a brief list of funniest and fluid ones for our little computer, I group by installation method:

From official repositories

These are the game you can install with the command apt-get install name_of_the_game:
  1. Block Attack, rise of the blocks: Very addictive diamond game, it's hard to stop playing.
  2. lBreakOut 2: arkanoid remake.
  3. Epiphany: Boulder Dash remake.
  4. Ltris: tetris clone, very good.
  5. Pingus: lemmings clone, with a lot of improvements.
  6. Xgalaga: kill alien ships game. No rest.
  7. Slimey Volley: simple and funny volleyball game.
  8. SuperTux: like Mario but tux is the main character.
  9. Tux football: soccer game, similar to Goal goal goal or Emilio Butragueño.
  10. Pix frogger: frogger remake.
  11. Minecraft Pi: Minecraft for raspberry pi.
  12. Eat the whistle: soccer game similar to Football Manager or Yoda Soccer.
  13. PySOL FC: 1000 cards games in one, very good and very well documented.

Install the form retropie

You need to use retropie script to install them:
  1. Giana's return: Mario clone with amazing graphics.
  2. OpenTyrian: amazing kill alien ships game, see how install it and configure.
  3. zDoom: Doom adapted to raspberry pi.
  4. Quake III: another first person shoot'em all game.
  5. eduke32: Duke Nukem 3D adapted to raspberry pi.
 

Manual installation (binaries)

You need follow the author's instructions to install them, compile them is not necessary:
  1. Hurrican: Turrican remake. Pure adrenaline.
  2. Maldita Castilla (cursed Castilla): zombie game similar to Ghost'n'Goblings, master piece and guaranteed fun.
  3. They need to be feed: Amazing game with worlds with their own gravity where you have to feed a dying alien race.
  4. Air Hockey Arcade: you must put the disc into the goal.
  5. Super Crate Box: a game that will not give you a respite.

To compile them

Compiling is very easy following the author's instructions:
  1. Capitan Sevilla, el remake (Captain S): Another recovered classic game. You are the Captain Sevilla trying to prevent the evil Pr. Torrebruno enslaved the city and the World.
  2. Rock'n'diamons: boulder dash clone with improved graphics (download the source code and compile with the command make sdl)
  3. Lpairs: pairs game, you can change the images always with the same format than original ones.
  4. Vorton: Highway encounter remake, recently recovered.
  5. Stepmania: software to use dance mats.
  6. PyDance: another software to use dance mats.

Java games

You only need java in your raspberry to run them:
  1. The abbey of crime extensum: Remake of one of the most successful Spanish games of all time that takes full advantage of the capabilities of today's computers. It takes a while to boot but then it goes very well.

I want more...

This is just a small sample of the number of games that are available for our gadget, for example, I have not put any of the countless table games that work in luxury.
You can see a more extensible list in this thread in official raspberry pi forum.

Original article

Monday, July 17, 2017

Super button in Lubuntu 16.04

We want to use the Super key (also known as "Windows key") to access  to Display the lxde menu and avoid depend so much on the mouse and gain some productivity in the handling of the computer.




Just add these lines to ~/.config/openbox/lubuntu-rc.xml file
<keybind key="Super_L">
    <action name="Execute">
        <command>lxpanelctl menu</command>
     </action>
</keybind>

And it's all OK.
 

Original article

Saturday, July 08, 2017

Install vice 3, the new version of the commodore emulator, in Ubuntu or Debian (including raspbian for raspberry pi)

Vice is one of the most powerful and famous Commodore computers emulators (not Amiga), it is really like an emulation suite since each platform has a specific executable and you have to call from the console (and not only in GNU/Linux, although always we can create shortcuts).

Last Christmas the new version 3.0 was launched with a lot of improvements, but the programmers didn't launch binaries for any GNU/Linux distro, so we need download the source code, uncompress and compile it, but this is very easy typing the next commands in your console (copy & paste):
sudo apt-get install build-essential byacc texi2html flex libreadline-dev libxaw7-dev texinfo libxaw7-dev libgtk2.0-cil-dev libgtkglext1-dev libpulse-dev
./configure --enable-fullscreen --with-pulse --with-x --enable-gnomeui
make
sudo make
You need copy the BIOS files in your folder .vice into $HOME folder, inside .vice must be a folder for each system:
C128  C64  CBM-II  DRIVES  PET  VIC20
These are the commands to run each system:
x128  x64  x64dtv  x64sc  xcbm2  xcbm5x0  xpet  xplus4  xscpu64  xvic

There are also tools to transfer data between your commodore and your PC as c1541 or cartconv to manage floppies or cartridges respectiveness.
You can see the documents enclosed to the software for more details.

Original article

Monday, July 03, 2017

First Amstrad CPC emulators in GNU/Linux

Amstrad CPC are computers that I have a lot of affection since my first two computers were a CPC464 and a CPC6128, in fact the last one is still running and keeping 100% operative.

 CPC wiki

So I like to play my games of my teen in GNU/Linux and I start using CPCEMU emulator for it.
CPCEmu for DOS was the first CPC emulator I knew, it was great. GNU/Linux version was one of the best native emulator, install it is very simple:
  • Download lastest version for GNU/Linux.
  • Uncompress it in a folder.
  • Select the folder and type the commands cpc464, cpc664 or cpc6128 it depends of the model you want to run.
  • You needn't search the BIOS because BIOS distribution with emulators was allowed by Amstrad, but only provided it is only for that purpose. Therefore, CPCEMU already includes the BIOS.
  • You find some folder intro the instalation folder DISC/, ROM/, SNAP/, TAPE/, UTILITY/ to put on them disk images, ROMs, snapshots, single files and utilities.
All these files can be into a ZIP file that emulator show them like folders, this is useful to save a lot of space.
See the enclosed manual, very interesting.


Other native emulators for GNU/Linux are M.E.S.S., Arnold, CPC++ or cpc4x, but they are more complicated for compiling and installing and they don't have so much features and have less performance than CPCEMU.

I asked in Amstrad CPC forum, MiguelSky ask me than there is a version of arnoldCPC emulator that runs ok in older GNU/Linux distros.

You need download the old version for Windows (includes all the BIOS and necessary files) and add to it the new executable file for GNU/Linux.

But now there is a new version of Arnold WIP CPC Emulador.  that run better in lastest GNU/Linux distros.

Also, KaosOverride recomends me recompile Caprice emulator.


After some years he made a fork called CapriceRPI for raspberry pi with a fancy menu and a lot of improvements. This fork can also be compiled and runs on PC GNU/Linux.
Thank you both for the information.

Another emulator I run with success is CPC emulator for X.



By the way, most of the Amstrad CPC emulators for Windows run ok in GNU/Linux using wine.

Original articles

Tuesday, June 27, 2017

How to autologin on Debian 9 (Stretch)

Autologin means than when Debian runs a session starts without entering any password.
This is very comfortable, but it implies a security risk because if someone has access to our computer can access its content, so it would be very interesting for a public computer without personal data for generic use but not for a laptop for example.

In any case if we access by network, for example by ssh, the system will continue asking for the password.

To get this in Debian Stretch we modify the /etc/lightdm/lightdm.conf file and change the lines:

#autologin-user=
#autologin-user-timeout=0

for:

autologin-user=your_user
autologin-user-timeout=0

Simple and fast.

Wednesday, June 21, 2017

SupertuxKart: All Tente 3D karts and track in one file

SuperTuxKart, is a funny and amazing game, freegame and avalaible for a lot of operating systems.
Tente was a Spanish construction game with bricks very similar to a famous Danish one.

SuperTuxKart Wikia Tente 3D

Now you can download a lot of karts and a track to enjoy with Tente vehicles, Now that STK is in fashion.

#0: Download STK-Tente3D pack

You don't have to download the vehicles one by one, you just need download one file:
Although a file with the installation instructions is included, I will explain how to install and use here:
 

#1: Install SuperTuxKart

If we use GNU/Linux we can find the version more adapted to our distro in their official repositories, in the case of Ubuntu or Debian we would look for it in its software center or by the command:
sudo apt-get install supertuxkart
If our distro doesn't include the game in its repositories (very strange) or we still use Windows o Mac OS X we can download in STK page.

#2: Add the karts and the track

Uncompress the STK-Tente3D ZIP in the folder where is the STK resources, in GNU/Linux is:
/home/youruser/.local/share/supertuxkart/addons/ (only for your user)
or
/usr/share/games/supertuxkart/data/ (copy them as root, for all the users).
If we use Windows uncompress in:
C:\Program Files\SuperTuxKart
In some Windows 'Program Files' is translated into your language.
I don't know details about OS X because I don't use Apple but I suppose that might be ver similar than GNU/Linux.

#3: Run and solving problems if they are

In any case we will have a direct access to the program, either on the desktop or in the menu, so by clicking on it we will launch the game.
If we have a very old computer, it may not start or delay a long time, as each kart is a folder inside the kart subfolder, just delete it to disappear from the game. In this case we could remove all the additions and add until it stops working.

Interesting links and advanced information

 

Original article

Sunday, June 18, 2017

Amstrad PCW emulation in GNU/Linux

The possibility of running software Amstrad PCW in a GNU/Linux is not well known because there are usually no emulators available in the official repositories of most distributions, unlike in other platforms such as commodore , spectrum , ataris , etc...
 

But there is an emulator for Amstrad PCW called Joyce, that works very well and we can install doing in any GNU/Linux (including raspberry pi), just follow these instructions:

  1. Download lastest version for Unix.
  2. Uncompress this file in a folder, for example in /opt . You can rename the subfolder as pcw:
    cd /opt
    sudo tar -zxvf joyce-2.2.7.tar.gz
    mv joyce-2.2.7 pcw
  3. Compile the code (we'll need libxml2-dev pack):
    sudo apt-get install libxml2-dev
    sudo chmod +rw pcw
    cd pcw
    ./configure
    make
    sudo make install
  4. You also need an image of CP/M plus boot disk, copy it on $HOME/Joyce/Boot folder and rename as boot?.img where ? is a number from 0 to 9.
  5. You'll need a real PCW to use them legality (A friend presents me one), in any case you need search in another site or get from your own PCW with the necessary tools, I can't provide a link to these files.
  6. You can run the emulator with this command:
    xjoyce

Original article

Saturday, June 17, 2017

New blog for best articles of M.O.L.

Here you will see most interesting articles of the blog "Malagueños Originales y Libres" translated into English.

M.O.L. is a Spanish blog about open source, GNU/Linux, hardware, raspberry pi, retro-computing, Tente 3D, etc...

The articles will be translated by his author Jesús B. (cpcbegin) and his wife Eva C.