Sunday, February 18, 2018

How to send youtube videos from your PC with Firefox quantum to KODI

You can send a youtube video from your new Firefox "quantum" to a computer with Kodi as your raspberry f.e. with the  addon 'Send to kodi'.

Install the addon

  1. Visit Send to kodi website
  2. Select 'Add to Firefox'.
  3. Select 'Add' again.

Configure the addon

  1. Clic on three stripes button (≡)
  2. Select 'Accesories', 'Extensions' and 'Send to Kodi'.
  3. Clic on 'Preferences' button.
  4. Now you can see a page where you can add all the KODI computers URLs you'll use.


Use the addon

  1. Search a youtube video with firefox quantum in your PC.
  2. Clic on the new KODI icon. You can see it in the address bar.
  3. If you configured only a video server inmediat, the video will start in KODI device immediately. If you configured more than one, you can select where you are going to send.
Artículo original en castellano

Tuesday, February 06, 2018

Open alternatives to privative software (VI): evince, the PDF reader

Adobe reader users see this software get bigger and bigger, now is an enormous monster just for reading pdf files.

Fortunately there are a lot of alternative programs that can do this work with a few sizes and more reasonable requirements for this simple mission.
 Evince is one of them, the pdf reader included in most new GNU/Linux distros.
This software open files much faster because it is light software.

Can read all these formats:
  • PDF
  • Postscript
  • djvu
  • tiff
  • dvi
  • XPS
  • SyncTex support with gedit
  • comics books (cbz, cbr, cb7 and cbt)
Available in a lot of languages:



This an exclusive GNU/Linux software and a good reason to join to tux, anyway there is a lot of alternatives for other systems.Artículo original en castellano

Friday, January 26, 2018

How configure WiFi in recalbox?

To configure WiFi in recalbox just follow these steps:
    Trucos Recalbox
  1. Start your raspberry pi recalbox with a keyboard connected to your raspberry pi.
  2. Press Enter to access to menu.
  3. Move cursor keys until you select Network configuration and then press A key.
  4. Move cursor keys until you select SSID Wifi and then press A key.
  5. Use the cursor keys to focus over text area, then press A key, write your SSID name, press Enter, move cursor keys until you select OK and then press A key.
  6. Move cursor keys until you select Wifi password and  then press A key.
  7. Use the cursor keys to focus over text area, then press A key, write your Wifi password, press Enter, move cursor keys until you select OK and then press A key.
  8. Move cursor keys until you select Activate Wifi and change to ON use the A key.
  9. Move cursor keys until you select Return and  then press A key.
  10. Wait for a seconds and you'll see a dialog box than shows "Activated WiFi". You can close this dialog with A key. 
Your raspberry pi might be connected to wifi.

Problems?

If your raspberry still isn't connect, may be in one of these cases:
  • Remember than SSID name and wifi password are case sensitive.
  • If you use strange caracters in SSID name or wifi password then use wire connection and access to share network resource.
    Search the file system/recalbox.conf and edit wifi values.
  • Use channels allowed in France or recalbox doesn't see your wifi network (example: in Spain channel 12 is allowed but not in France, this selection won't work).
    The solution is change wifi channel in your router.

Source

Thursday, January 18, 2018

All my Tente 3D models in github

All my Tente 3D models I had in my old web are now in a project in github called tentemodels.




How can I download them?

For newbies:
You can download all the files pressing on Clone/download and then Download ZIP
If you want to add your own models you can attach them in issues section. I put them in the folder "others" (remember that you can add your name as autor in the file with MLCad).

For advanced users:
You can see changes in all the project or in each file, investigate in github, get the lastest version download only the changes using git commands, etc...
You can use these commands as normal user:


CommandResult
git clone https://github.com/cpcbegin/tentemodels desired_folderDownload all the project, that is, all the models in the desired folder.
git pullUpdate to get latest changes
git logSee change history


If you open an account in github until you can create a clone and propose yourselves more models. We will see in a next article how to do this.
Artículo original en español

Saturday, January 06, 2018

Open alternatives to propietary software (V): Audacity: audio software for multi-track recording and editing

Audicity is the best program to digitize audio in your computer, the perfect tool for this task:
  • Multisystem: available for GNU/Linux, Windows and Mac.
  • Light but very powerful.
  • Multi-track.
  • Easy to use. Intuitive.
  • The size limit of your file is the free space in your hard disk, other propietary software need save temporal in memory because are too slow, when out of memory these programs hang.
  • You can export to wav, ogg vorbis and mp3.
  • You can add more features with  plugins and libraries like use other formats like older retrocomputers ones.

Audacity
Artículo original en castellano

Sunday, December 31, 2017

Loading games in your Amstrad CPC6128 (input tape port) from your PC audio output

Amstrad CPC is living a new golden age because retrocomputing is on fashion.
A lot of enthusiastic users are making a lot of high quality homebrew for this old computer, but you need make a lot of difficult operations or buy new gadgets to use this software in your real CPC.
Is there another alternatives to awkward people with the welder as me? Yes, you can plug the output in your PC sound cart to input tape port in your Amstrad CPC, a simple solution but it work... but I find some issues...

Hardware

  • Tape wire: just plug in the input tape port to the output of your PC sound cart (green port).
  • Jack extension: the wire usually aren't long enough to connect your Amstrad to your PC unless they are really close, you can but an jack extension to solve a problem (around 2€).

Software

If you use any GNU/linux distro you need these software:

Do it

After install audacious and playtzx on the PC and pluging both computers, we need do this:

In your Amstrad CPC

Type
|TAPE
RUN"
And press play and any key

In your PC

  • Convert the cdt or tzx file to a voc file
playtzx -voc mygame.cdt temporalfile.voc
  • Play the file with audacious
audacious -pqH temporalfile.voc

Issues and solutions

You need select the correct volume, I try with a low level and I'm increasing until more than 100%.
I need change the sound configuration in my Ubuntu and allow a level bigger than 100%

At least I needn't any mini amplifier as on other occasions.

In theory you can directly play the cdt with the command playtzx mygame.cdt without parameters but it doesn't work and I need convert file to voc and play it with audacious.
You might do this with other 8 bits computers like my ZX Spectrum +2 (I think it doesn't work in my Commodore 64), in these cases you need an audio cassette adaptor to plug the wire to the retro computer.


We also change the jack extension using a bluetooth speaker than includes output to headphones, if this gadged provides enough volume.
You can automatize with a bash script:
#!/bin/bash
playtzx -voc mijuego.cdt /tmp/temporal.voc
audacious -pqH /tmp/temporal.voc
rm /tmp/temporal.voc
Now we can enjoy the latest software releases for our Amstrad CPC :)
Artículo original en castellano

Monday, December 25, 2017

LDraw viewers and editors in Ubuntu 16.04. Your favourite construction game, now virtual in your PC

The last Ubuntu LTS version has many new features, but some exotic programs have stopped working and you have to compile them or wait for versions to run them on this version.

Just follow this guide if you want make your own Tente(R), Lego(R), Exin Castillos(R), etc... 3D models with the open format LDraw.

LDraw editors: MLCad & LeoCAD

You can install both of them without any problem, MLCad is a Windows sofware than run very well with wine, so if you want to use in any GNU/Linux install first wine and them MLCad like any other Windows application.


LDraw viewer: LDView

You can install the new special versions for Ubuntu 16.04 , 64 bits or 32 bits.

Then you can install it with commands like this:
sudo dpkg -i ldview-4.2-ubuntu-16.04.XXX.deb
sudo apt-get install -f

Professional screenshots: povray

You can get screenshots like a 3D professional:
  • Export the model to povray form LDVIEW
  • You can get a Full HD screenshot with a command like this:
povray my_model.pov -W1920 -H1080
The problem is that if we install the povray package in the Ubuntu 16.04 repositories it does not work because of a problem in a library, so we have to recompile it ... ugh! how difficult! That it is enough that you copy and paste in your console the following commands:
sudo apt-get install git build-essential libvips-dev libboost-system1.58-dev libboost-thread1.58-dev libc6-dev libgcc1 libilmbase12 libjpeg8-dev libopenexr22 libpng12-dev libsdl1.2-dev libstdc++6-4.7-dev libtiff5-dev zlib1g-dev
./configure COMPILED_BY="tu nombre y correo" --disable-io-restrictions
git clone https://github.com/POV-Ray/povray
cd unix
./prebuild.sh
cd ..
make check
sudo make install
And now you get it.

Set of pieces

You need the set of the pieces of the constuction game you want to use: TENTE(R), LEGO(R) or EXIN CASTILLOS(R).
Then unzip them in differents folders, for example:
  • /home/your_user/ldraw/tente
  • /home/your_user/ldraw/lego
  • /home/your_user/ldraw/exincastillos
Then we can run LDView with this parameter:
LDView -LDrawDir=path_to_set_of_pieces
For more details see the Tente 3D wiki.
Note: The artwork is my construction in Tente 3D of the famous building of the comic 13, Rue del Percebe, the first tentexpress quiz I won :)
Artículo original en castellano

Saturday, December 16, 2017

Shortcuts in Debian LXDE


Desktop shortcuts are very useful to order your favorite software.

There is two ways to make shortcuts in LXDE:
 

Clone shortcuts from start menu

  1. Press start menu
  2. Select the category
  3. Right click on item we want to clone.
  4. Select option 'Add to desktop'.

Made icons from scratch

  • Open the console (Start => Accessories => LXTerminal).
  • Select the Desktop folder
    cd Desktop
  • Create a file with a name similar to my_app.desktop with this content:
    [Desktop Entry]
    Version=1.0
    Encoding=UTF-8
    Name=Name_of_the_app
    Comment=Comments_about_the_app
    Exec=exec_file
    Path=path_to_exec_file
    Icon=path_to_icon
    Type=Application
    Categories=Categories_separate_with_semicolon;
  • This file must have writing rights for the owner than must be the user.sudo chmod +x my_app.desktop
Artículo original en castellano

Friday, December 08, 2017

Open alternatives to proprietary software (IV): 7zip compressor/uncompressor

There are a lot of open compressing software, one of them is 7zip
  • Multisystem: available for Windows, GNU/Linux, Mac, Amiga, BeOS, DOS, Solaris, etc...
  • Support almost all compressing formats and it has an own one than compress the files very well.
  • It can open iso, cab, msi, linux packages, etc...
  • Very light, 1 or 2 Mb.
  • You can use it in your mother tongue, available 79 languages.
If you use ubuntu or debian install p7zip, p7zip-full y p7zip-rar packages and you can open almost all the files.
You can install it with the software center of your distro or from console with the commands:
apt-get install p7zip p7zip-full  p7zip-rar
Artículo original en castellano

Monday, November 27, 2017

Add css over your blogger theme to get your blog more responsive

Blogger adds borders for bigger widths and doesn't show all the screen for small width, now you can solve this problem.



You can add css over your theme, you need go to blogger's back-end and select these options: Themes > Advanced > Add CSS.

I add these piece of code in my blog in order to get responsible widths, separate code, avoid overflow in images without deformations and something else:

body {
    min-width: 0px !important;
    padding: 0px;
}

.content-outer, .content-fauxcolumn-outer, .region-inner {
    min-width: 0px !important;
    max-width: 10000px !important;
}

th {
    background-color: #006600;
    color: #ffff99;
}

th, td {
    padding: 0.04em 0.3em;
}

code {
    background-color: white;
    padding: 0.2em 0.7em;
    margin: 0.5em;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
    border-radius: 0 0 2px 2px;
    display: block;
}

.main-outer img {
    max-width: 99%;
    height: auto;
}

.post-body img, .post-body .tr-caption-container {
   background: none;
}


You might use the special theme for mobile, you need select theme, press the nut and activate mobile theme.

Artículo original en castellano

Wednesday, November 15, 2017

Copy midnight commander (mc) from raspbian to recalbox

Midnight commander is the best double-panel file manager for GNU/Linux console. This is a very useful tool for newbies and lazy users like myself, by example using ssh protocol:



The easier way to get mc in recalbox is "steal" it to a raspbian we previously installed it.
These are the files and folders you need to copy:


Rasbian►►►Recalbox
/usr/bin/mc.../usr/bin/mc
/usr/lib/mc.../usr/lib/mc
/etc/mc.../etc/mc
/usr/share/mc.../usr/share/mc
/usr/lib/arm-linux-gnueabihf/libgpm.so.2.../lib/libgpm.so.2
/usr/lib/arm-linux-gnueabihf/libssh2.so.1.../lib/libssh2.so.1

You can copy the files by ssh, using the same mc if you have GNU/Linux in your PC (plug the cart to the PC), from raspbian if you have this system and recalbox, WinSCP if you use Windows, etc...

If you haven't raspbian here you are all the necesary files, each in the correct path.

Warning: you probably need copy again each time Recalbox will be updated (This is a fast and simple operation and Recalbox is updated every long time).
Anyway, if you want mc will be part of recalbox you can join to the request I asked in the official forum.
Artículo original en castellano

Monday, November 06, 2017

Open alternatives to proprietary software (III): UMplayer, the multimedia player

UMPlayer is an open source multimedia player with a lot of advantages:
  • Multisystem.
  • Plugins included inside. If it hangs for a buggy file the system doesn't hang.
  • I can play almost any multimedia file.
  • Adapted to your PC hardware, processor and graphics card.
  • Subtitles support is included.
  • It can play DVD, VCD, CD from the device or the files copied in a folder.
  • Supports TV, radio and videocast.
  • It can play youtube videos.
UMPlayer was my prefer multimedia player for a long time.


Artículo original en castellano