issue147:ubuntu_au_quotidien
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
issue147:ubuntu_au_quotidien [2019/07/29 23:18] – créée d52fr | issue147:ubuntu_au_quotidien [2019/08/08 10:29] (Version actuelle) – andre_domenech | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | We interrupt our regularly scheduled programming (Linux Help) this month, for a related topic, troubleshooting, | + | **We interrupt our regularly scheduled programming (Linux Help) this month, for a related topic, troubleshooting, |
The Atari 800 | The Atari 800 | ||
Ligne 5: | Ligne 5: | ||
Back in the day (the 80’s), I really wanted an Atari 800, but they were far more expensive than I could afford. The Atari 800 was a quite capable 8-bit computer, which was a huge draw, but it was also an excellent game console (an even bigger draw for me, personally). Atari had licensed versions of most of the great arcade hits from the 8-bit arcade era, like Space Invaders, Galaxian, Pac-Man, Defender, Asteroids, Ms. Pac-Man, Missile Command, Joust, Dig Dug, Centipede, Donkey Kong, and Donkey Kong Jr. I don’t think any other console or home computer had all of those. | Back in the day (the 80’s), I really wanted an Atari 800, but they were far more expensive than I could afford. The Atari 800 was a quite capable 8-bit computer, which was a huge draw, but it was also an excellent game console (an even bigger draw for me, personally). Atari had licensed versions of most of the great arcade hits from the 8-bit arcade era, like Space Invaders, Galaxian, Pac-Man, Defender, Asteroids, Ms. Pac-Man, Missile Command, Joust, Dig Dug, Centipede, Donkey Kong, and Donkey Kong Jr. I don’t think any other console or home computer had all of those. | ||
- | I now have an Atari 65 XE, which is compatible with all those games, and I have all those cartridges for it. It’s always had problems with the first joystick port, and they have steadily worsened until it is now unplayable. So I thought emulation might be a good choice to allow me to keep playing the Atari 800 titles. | + | I now have an Atari 65 XE, which is compatible with all those games, and I have all those cartridges for it. It’s always had problems with the first joystick port, and they have steadily worsened until it is now unplayable. So I thought emulation might be a good choice to allow me to keep playing the Atari 800 titles.** |
- | I downloaded a ROM image for Ms. Pac-Man, since I do own the cartridge, and went looking for an Atari 800 emulator for Linux. Lo and behold, there was one, ‘Atari800’, | + | Nous allons interrompre notre planification régulière pour ce mois-ci (Aide sur Linux) pour un sujet apparenté, la résolution d'un problème, appliquée à un problème de rétrogaming. Sincèrement, |
+ | |||
+ | L' | ||
+ | |||
+ | Autrefois (dans les années 1980), je voulais un Atari 800 de tout mon cœur, mais ils étaient beaucoup plus chers que ce que je pouvais me permettre. L' | ||
+ | |||
+ | Actuellement, | ||
+ | |||
+ | **I downloaded a ROM image for Ms. Pac-Man, since I do own the cartridge, and went looking for an Atari 800 emulator for Linux. Lo and behold, there was one, ‘Atari800’, | ||
But after installation, | But after installation, | ||
Ligne 13: | Ligne 21: | ||
What's the deal? | What's the deal? | ||
- | Then, it occurred to me, this software might have been old enough to have no GUI (Graphical User Interface), therefore having to be run from the command-line. I opened a Terminal, typed in atari800 and hit < | + | Then, it occurred to me, this software might have been old enough to have no GUI (Graphical User Interface), therefore having to be run from the command-line. I opened a Terminal, typed in atari800 and hit < |
- | Function Key Roulette | + | J'ai téléchargé une image ROM pour Ms. Pac-Man, puisque je ne suis pas propriétaire de la cartouche ; ensuite, j'ai chargé un émulateur d' |
+ | |||
+ | Mais après l' | ||
+ | |||
+ | Que se passait-il ? | ||
+ | |||
+ | Puis, je me suis dit que ce logiciel était peut-être assez vieux pour ne pas avoir d' | ||
+ | |||
+ | **Function Key Roulette | ||
Many times, programs like this use function keys to control various operations. Without any GUI or menu options, I tried the function keys, hoping to get a response. Sure enough, F1 brings up a number of options for the emulator. Fortunately, | Many times, programs like this use function keys to control various operations. Without any GUI or menu options, I tried the function keys, hoping to get a response. Sure enough, F1 brings up a number of options for the emulator. Fortunately, | ||
Ligne 21: | Ligne 37: | ||
How to Write a Configuration File | How to Write a Configuration File | ||
- | After making a number of changes, particularly to screen resolution to run in Full Screen mode, I exited the program and restarted it. But it still started up in a small window. Looking in the Home directory via File Manager, I found a file called .atari800.cfg. The first period signifies to Linux that it is a hidden file, so you have to turn on the option in the File Manager to show hidden files, in order to see it. Click the second button in the upper right corner of File Manager, between the magnifying glass and ‘hamburger menu’ icons, then click Show Hidden Files. | + | After making a number of changes, particularly to screen resolution to run in Full Screen mode, I exited the program and restarted it. But it still started up in a small window. Looking in the Home directory via File Manager, I found a file called .atari800.cfg. The first period signifies to Linux that it is a hidden file, so you have to turn on the option in the File Manager to show hidden files, in order to see it. Click the second button in the upper right corner of File Manager, between the magnifying glass and ‘hamburger menu’ icons, then click Show Hidden Files.** |
- | This is a very common situation for Linux application configuration files (that may or may not be named with a .cfg extension, it just depends), they are often hidden files in the Home directory, or in a hidden directory (also starting with a ‘.’ character) for the application (for example, the .dosbox folder). | + | Jouer à la roulette avec les raccourcis clavier |
+ | |||
+ | Souvent, des programmes comme celui-ci utilisent les touches de fonction pour contrôler diverses opérations. Ayant ni interface graphique, ni menu avec options, j'ai essayé les touches de fonction, en espérant une réaction. Et oui, F1 affiche de nombreuses options pour l' | ||
+ | |||
+ | Comment écrire un fichier de configuration | ||
+ | |||
+ | Après avoir fait pas mal de modifications, | ||
+ | |||
+ | **This is a very common situation for Linux application configuration files (that may or may not be named with a .cfg extension, it just depends), they are often hidden files in the Home directory, or in a hidden directory (also starting with a ‘.’ character) for the application (for example, the .dosbox folder). | ||
You can usually open a configuration file by right clicking it in File Manager and tell it to Open With Text Editor. You can then read the file’s contents and try to figure out what changes to make. | You can usually open a configuration file by right clicking it in File Manager and tell it to Open With Text Editor. You can then read the file’s contents and try to figure out what changes to make. | ||
- | Most configuration files have a number of non-executed comment lines, starting with a ‘#’ character, providing details on what options are available and what each line means or does, but this one does not. Most of the lines, though, are pretty self-explanatory. I tried to save the manually made changes to the CFG file found in the Home directory, but could not. What was the problem? Eureka! An epiphany struck. The problem is I don’t have permissions as a normal user to write to the CFG file in Home. | + | Most configuration files have a number of non-executed comment lines, starting with a ‘#’ character, providing details on what options are available and what each line means or does, but this one does not. Most of the lines, though, are pretty self-explanatory. I tried to save the manually made changes to the CFG file found in the Home directory, but could not. What was the problem? Eureka! An epiphany struck. The problem is I don’t have permissions as a normal user to write to the CFG file in Home.** |
- | SUDO | + | C'est très habituel pour les fichiers de configuration d' |
+ | |||
+ | Vous pouvez généralement ouvrir un fichier de configuration en cliquant dessus avec le bouton droit de la souris, dans le gestionnaire de fichiers, et en lui disant d' | ||
+ | |||
+ | La plupart des fichiers de configuration ont de nombreuses lignes de commentaire qui ne seront pas exécutées. Ces lignes commence par un # et fournissent des détails sur les options qui sont disponibles et ce que chaque ligne signifie ou fait, mais celui-ci ne les a pas. Toutefois, la plupart des lignes semblent assez explicites. J'ai essayé de sauvegarder les modifications au fichier CFG trouvé dans le répertoire Home que j' | ||
+ | |||
+ | **SUDO | ||
The simple solution is to run a session of ‘atari800’ as SUDO, or ‘Super User DO’. I also guessed, correctly as it turned out, that the command for atari800 needed an ‘argument’ at the end, specifying the location and file name for the ROM I wanted it to load. I had already created an Atari800 directory in Home, with a ‘roms’ subdirectory containing the mspacman.bin file. So, this time, I ran the command-line: | The simple solution is to run a session of ‘atari800’ as SUDO, or ‘Super User DO’. I also guessed, correctly as it turned out, that the command for atari800 needed an ‘argument’ at the end, specifying the location and file name for the ROM I wanted it to load. I had already created an Atari800 directory in Home, with a ‘roms’ subdirectory containing the mspacman.bin file. So, this time, I ran the command-line: | ||
Ligne 37: | Ligne 67: | ||
Remember from Everyday Ubuntu in FCM#137, the ~ character is an abbreviation for the Home directory. Now, after the password for the Super User has been entered, we can get into the configuration options inside ‘atari800’, | Remember from Everyday Ubuntu in FCM#137, the ~ character is an abbreviation for the Home directory. Now, after the password for the Super User has been entered, we can get into the configuration options inside ‘atari800’, | ||
- | Next month: Getting Even More Help in Linux (or Even More Getting Help in Linux, I suppose). This time, for real. | + | Next month: Getting Even More Help in Linux (or Even More Getting Help in Linux, I suppose). This time, for real.** |
+ | |||
+ | SUDO | ||
+ | |||
+ | La solution simple est d' | ||
+ | |||
+ | sudo atari800 ~/ | ||
+ | |||
+ | Rappelez-vous (voir Ubuntu au quotidien dans le FCM n° 137) que le caractère ~ signifie votre répertoire Home. Maintenant, après avoir mis le mot de passe pour le Super Utilisateur, | ||
+ | |||
+ | Le mois prochain : Avoir encore plus d'aide sous Linux (ou, je suppose, Encore plus sur trouver de l'aide sous Linux). Cette fois-ci, pour de bon. |
issue147/ubuntu_au_quotidien.1564435108.txt.gz · Dernière modification : 2019/07/29 23:18 de d52fr