#gnu-linux

canoodle@nerdpol.ch

GNU Linux (Debian) - how to shrink-resize lvm2 luks encrypted root partition - how to enlarge SWAP space

“to swap, or not to swap, that is the question”: definately swap Shakespeare

“to encrypt, or not to encrypt” (if it contains valuable data, encrypt)

“to lvm, or not to lvm” (well….)

because: one fine day, the user decides to open 1000x programs + serveral vms at the same time, why not right?

the system runs out of RAM AND SWAP space (it almost freezes, to death).

but behold!

instead of simply pulling the plug.

the admin decides to wait and work on device B, while device A is struggling to keep alive.

after aprox 15min… the kvm vm crashes (probably because it used the most RAM) while the other programs survive.

For some reason, the otherwise excellent Debian installer, per default decides to reserve only 1GByte of SWAP on an 1000GB SSD.

In past times, the rule of thumb was “at least half of RAM size”, would even go as far and say: make swap = RAM size, why not? SSD space and NVMe space are getting cheaper and faster, nothing worse then running out of RAM & SWAP space (system enters undefined behavior, not only GNU Linux, OSX too)

let’s change that to something like 30GB of swap.

per default the user (probably) has chosen to use lvm2 (logical volume management) + luks2 encryption.

gparted is a pretty nice gui based program, that can do resize of ext4 partitions nicely, but it can’t help with logical volume management.

<span style="color: #ff0000;"># HAVE A FULL BACKUP OF THE HARDDISK IN QUESTION!</span>

# <a href="https://dwaves.de/2021/04/11/ideallinux2021-updated-optimized-bootale-gnu-debian-10-9-64bit-non-free-based-usb-stick-the-live-system-that-keeps-changes-stored/">boot dwaves' live usb stick, or another live system</a>
# (it is Debian 10 based)

# IdealLinux stick, already has those requirements installed
<span style="color: #00ffff;">su - root
apt update
apt install lvm2 cryptsetup</span>

# first thing: find the partition in question

<span style="color: #00ffff;">lsblk -fs</span>

# might help too
<span style="color: #00ffff;">alias harddisks='lsblk -o '\''NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID'\'''</span>

# run the alias
<span style="color: #00ffff;">harddisks</span>

# look at the disk sizes...
# which one is (probably) the partition in question?

# found it? good, let's continue...

# decrypt the partition
<span style="color: #00ffff;">cryptsetup open /dev/sda5 encrypted</span>

*** enter decryption password ***

# make all volume groups active
<span style="color: #00ffff;">vgchange -ay</span>
  2 logical volume(s) in volume group "IdealLinux2021-vg" now active
  2 logical volume(s) in volume group "toplap-vg" now active <- that's the one

<span style="color: #00ffff;">vgdisplay</span>; # list all volume groups
  --- Volume group ---
  VG Name               toplap-vg <-
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <931.02 GiB
  PE Size               4.00 MiB
  Total PE              238340
  Alloc PE / Size       238340 / <931.02 GiB
  Free  PE / Size       0 / 0   

<span style="color: #00ffff;">lvdisplay</span>; # list all logical volumes
  --- Logical volume ---
  LV Path                /dev/toplap-vg/root <- the one to shrink down to 900GB
  LV Name                root
  VG Name                toplap-vg
  LV Write Access        read/write
  LV Creation host, time toplap, 2022-05-17 03:48:56 -0400
  LV Status              available
  # open                 0
  LV Size                930.06 GiB
  Current LE             238096
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3

  --- Logical volume ---
  LV Path                /dev/toplap-vg/swap_1 <- the swap that is too small, will increase to 30GB
  LV Name                swap_1
  VG Name                toplap-vg
  LV Write Access        read/write
  LV Creation host, time toplap, 2022-05-17 03:48:56 -0400
  LV Status              available
  # open                 0
  LV Size                976.00 MiB
  Current LE             244
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4

# run a pre-resize filesystem check
<span style="color: #00ffff;">fsck -y -v -f /dev/toplap-vg/root</span>

# resize the root filesystem from 930GB to 900GB
<span style="color: #00ffff;">resize2fs /dev/toplap-vg/root 900G</span>

resize2fs 1.44.5 (15-Dec-2018)
Resizing the filesystem on /dev/toplap-vg/root to 235929600 (4k) blocks.
The filesystem on /dev/toplap-vg/root is now 235929600 (4k) blocks long.

<span style="color: #00ffff;">lvreduce -L 900G /dev/toplap-vg/root</span> 

  WARNING: Reducing active logical volume to 900.00 GiB.
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce toplap-vg/root? [y/n]: <span style="color: #00ffff;">y</span>
  Size of logical volume toplap-vg/root changed from 930.06 GiB (238096 extents) to 900.00 GiB (230400 extents).
  Logical volume toplap-vg/root successfully resized.

# post-resize filesystem check
<span style="color: #00ffff;">fsck -y -v -f /dev/toplap-vg/root</span>
<span style="color: #00ffff;">
lvextend -l +100%FREE /dev/toplap-vg/swap_1</span>
  Size of logical volume toplap-vg/swap_1 changed from 976.00 MiB (244 extents) to <31.02 GiB (7940 extents).
  Logical volume toplap-vg/swap_1 successfully resized.

<span style="color: #00ffff;">mkswap /dev/toplap-vg/swap_1</span>
mkswap: /dev/toplap-vg/swap_1: warning: wiping old swap signature.
Setting up swapspace version 1, size = 31 GiB (33302769664 bytes)

<span style="color: #00ffff;">sync; sync; sync;</span>

# reboot system

<span style="color: #00ffff;">shutdown -r now</span>;

it worked?

possibly related Links:

also checkout:

https://dwaves.de/2017/05/29/lnux-lvm-lvm2-logical-volumen-management-concept-man-pages-dynamic-resizing-partitions-snapshots-how-to-upgrade-lvm2-encrypted-to-larger-harddisk/

cudos:

https://www.casesup.com/category/knowledgebase/howtos/how-to-shrink-an-lvm-volume-safely-on-linux

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #storage #ram #swap

Originally posted at: https://dwaves.de/2022/05/19/gnu-linux-debian-how-to-shrink-resize-lvm2-luks-encrypted-root-partition-how-to-enlarge-swap-space/

canoodle@nerdpol.ch

GNU Linux (Debian) - how to resize lvm2 luks encrypted root partition - how to enlarge SWAP space

“to swap, or not to swap, that is the question”: definately swap Shakespeare

“to encrypt, or not to encrypt” (if it contains valuable data, encrypt)

“to lvm, or not to lvm” (well….)

because: one fine day, the user decides to open 1000x programs + serveral vms at the same time, why not right?

the system runs out of RAM AND SWAP space (it almost freezes, to death).

but behold!

instead of simply pulling the plug.

the admin decides to wait and work on device B, while device A is struggling to keep alive.

after aprox 15min… the kvm vm crashes (probably because it used the most RAM) while the other programs survive.

For some reason, the otherwise excellent Debian installer, per default decides to reserve only 1GByte of SWAP on an 1000GB SSD.

In past times, the rule of thumb was “at least half of RAM size”, would even go as far and say: make swap = RAM size, why not? SSD space and NVMe space are getting cheaper and faster, nothing worse then running out of RAM & SWAP space (system enters undefined behavior, not only GNU Linux, OSX too)

let’s change that to something like 30GB of swap.

per default the user (probably) has chosen to use lvm2 (logical volume management) + luks2 encryption.

gparted is a pretty nice gui based program, that can do resize of ext4 partitions nicely, but it can’t help with logical volume management.

<span style="color: #ff0000;"># HAVE A FULL BACKUP OF THE HARDDISK IN QUESTION!</span>

# <a href="https://dwaves.de/2021/04/11/ideallinux2021-updated-optimized-bootale-gnu-debian-10-9-64bit-non-free-based-usb-stick-the-live-system-that-keeps-changes-stored/">boot dwaves' live usb stick, or another live system</a>
# (it is Debian 10 based)

# IdealLinux stick, already has those requirements installed
<span style="color: #00ffff;">su - root
apt update
apt install lvm2 cryptsetup</span>

# first thing: find the partition in question

<span style="color: #00ffff;">lsblk -fs</span>

# might help too
<span style="color: #00ffff;">alias harddisks='lsblk -o '\''NAME,MAJ:MIN,RM,SIZE,RO,FSTYPE,MOUNTPOINT,UUID'\'''</span>

# run the alias
<span style="color: #00ffff;">harddisks</span>

# look at the disk sizes...
# which one is (probably) the partition in question?

# found it? good, let's continue...

# decrypt the partition
<span style="color: #00ffff;">cryptsetup open /dev/sda5 encrypted</span>

*** enter decryption password ***

# make all volume groups active
<span style="color: #00ffff;">vgchange -ay</span>
  2 logical volume(s) in volume group "IdealLinux2021-vg" now active
  2 logical volume(s) in volume group "toplap-vg" now active <- that's the one

<span style="color: #00ffff;">vgdisplay</span>; # list all volume groups
  --- Volume group ---
  VG Name               toplap-vg <-
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               <931.02 GiB
  PE Size               4.00 MiB
  Total PE              238340
  Alloc PE / Size       238340 / <931.02 GiB
  Free  PE / Size       0 / 0   

<span style="color: #00ffff;">lvdisplay</span>; # list all logical volumes
  --- Logical volume ---
  LV Path                /dev/toplap-vg/root <- the one to shrink down to 900GB
  LV Name                root
  VG Name                toplap-vg
  LV Write Access        read/write
  LV Creation host, time toplap, 2022-05-17 03:48:56 -0400
  LV Status              available
  # open                 0
  LV Size                930.06 GiB
  Current LE             238096
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:3

  --- Logical volume ---
  LV Path                /dev/toplap-vg/swap_1 <- the swap that is too small, will increase to 30GB
  LV Name                swap_1
  VG Name                toplap-vg
  LV Write Access        read/write
  LV Creation host, time toplap, 2022-05-17 03:48:56 -0400
  LV Status              available
  # open                 0
  LV Size                976.00 MiB
  Current LE             244
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:4

# run a pre-resize filesystem check
<span style="color: #00ffff;">fsck -y -v -f /dev/toplap-vg/root</span>

# resize the root filesystem from 930GB to 900GB
<span style="color: #00ffff;">resize2fs /dev/toplap-vg/root 900G</span>

resize2fs 1.44.5 (15-Dec-2018)
Resizing the filesystem on /dev/toplap-vg/root to 235929600 (4k) blocks.
The filesystem on /dev/toplap-vg/root is now 235929600 (4k) blocks long.

<span style="color: #00ffff;">lvreduce -L 900G /dev/toplap-vg/root</span> 

  WARNING: Reducing active logical volume to 900.00 GiB.
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
Do you really want to reduce toplap-vg/root? [y/n]: <span style="color: #00ffff;">y</span>
  Size of logical volume toplap-vg/root changed from 930.06 GiB (238096 extents) to 900.00 GiB (230400 extents).
  Logical volume toplap-vg/root successfully resized.

# post-resize filesystem check
<span style="color: #00ffff;">fsck -y -v -f /dev/toplap-vg/root</span>
<span style="color: #00ffff;">
lvextend -l +100%FREE /dev/toplap-vg/swap_1</span>
  Size of logical volume toplap-vg/swap_1 changed from 976.00 MiB (244 extents) to <31.02 GiB (7940 extents).
  Logical volume toplap-vg/swap_1 successfully resized.

<span style="color: #00ffff;">mkswap /dev/toplap-vg/swap_1</span>
mkswap: /dev/toplap-vg/swap_1: warning: wiping old swap signature.
Setting up swapspace version 1, size = 31 GiB (33302769664 bytes)

<span style="color: #00ffff;">sync; sync; sync;</span>

# reboot system

<span style="color: #00ffff;">shutdown -r now</span>;

it worked?

possibly related Links:

also checkout:

https://dwaves.de/2017/05/29/lnux-lvm-lvm2-logical-volumen-management-concept-man-pages-dynamic-resizing-partitions-snapshots-how-to-upgrade-lvm2-encrypted-to-larger-harddisk/

cudos:

https://www.casesup.com/category/knowledgebase/howtos/how-to-shrink-an-lvm-volume-safely-on-linux

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #storage #ram #swap

Originally posted at: https://dwaves.de/2022/05/19/gnu-linux-debian-how-to-resize-lvm2-luks-encrypted-root-partition-how-to-enlarge-swap-space/

canoodle@nerdpol.ch

GNU Linux (Debian 11) - Brother HL-5450DN reliable Black and White Laser printer - that works out of the box with cups - filter those laser printers

Brother HL-5450DN

<span style="color: #00ffff;">lsb_release -d</span>; # tested on
Description:    Debian GNU/Linux 11 (bullseye)

# with mate desktop
<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update; apt install mate-desktop-environment;</span>
ii  mate-desktop-environment              1.24.0+4                         all          MATE Desktop Environment (metapackage)

good job all involved 🙂

the MFC 9465 and 9460 and 9332 also should work “smooth” (the install script (which will download & install additional drivers) might be needed for scan functionality)

https://dwaves.de/2016/03/24/how-to-reset-toner-of-corruption-brother-mfc-9332cdw-what-to-do-about-laser-printer-air-pollution-and-healthcare-concerns/

https://dwaves.de/2015/06/16/gnu-linux-one-script-to-setup-them-all-setup-brother-mfc-9465-9460-9332-cdn-and-others-to-print-and-scan-in-color/

laser printers & health

  • it might be wise, to give the laser printers it’s own room (get a room)
    • living room
    • sliping room
    • dining room
  • plus a filter on the output fan vents (it’s the large one on the right-top side)
      • tested and yes, a lot of black sooth will accumulate here

#linux #gnu #gnulinux #opensource #administration #sysops #print #printer #gnu-linux #cups #brother #works

Originally posted at: https://dwaves.de/2022/05/19/gnu-linux-debian-11-brother-hl-5450dn-reliable-black-and-white-laser-printer-that-works-out-of-the-box-with-cups-filter-those-laser-printers/

canoodle@nerdpol.ch

GNU Linux (distro independent) - how to set fixed ip - temporarily

this is a quick bash hack, to set an additional fixed ip to the user's interface, this will (brute force) OVERWRITE all mess done by network managers of various origins: (there should be only one config file to config network settings and[...]

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #networking #lan #connect #ip

Originally posted at: https://dwaves.de/2022/05/19/gnu-linux-distro-independent-how-to-set-fixed-ip-temporarily/

canoodle@nerdpol.ch

GNU Linux Debian - how to view chm (windows help) files

chm files are basically html files packed into an archive.

unpacking them should be possible, but

archmage file.chm output

“Segmentation” faulted.

<span style="color: #00ffff;">lsb_release -a</span>; # tested on
No LSB modules are available.
Description:    Debian GNU/Linux 10 (buster)


<span style="color: #00ffff;">su - root
apt update
apt install xchm
</span>

then in caja (or other file explorer) r-click-the-file-> open with xchm

even comes with cross os support! (lin, win, osx)

the GPL licenced src is here: https://github.com/rzvncj/xCHM

the author does not have any access anymore to: https://sourceforge.net/projects/xchm/ (someone else restored the page, might be scam!)

manpage:

xchm.man.txt

specs:

http://savannah.nongnu.org/projects/chmspec

#linux #gnu #gnulinux #opensource #administration #sysops #chm #gnu-linux #debian

Originally posted at: https://dwaves.de/2022/05/08/gnu-linux-debian-how-to-view-chm-windows-help-files/

librazik@diaspora-fr.org

Sortie de LibraZiK-4

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #debian #francophone #français #french #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #librazik #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Très chères et chers LibraZiK-os,

Avec la venue du printemps, je suis très heureux de vous annoncer la venue de la nouvelle LibraZiK-4 !

LibraZiK-4 est donc disponible pour tous les utilisateurs francophones ou non, pour amd64 (architecture PC 64 bits) et i386 (architecture PC 32 bits).

Peu de blabla dans cette entête, passons tout de suite au gros de la nouvelle ci dessous...

Tout d'abord, merci aux personnes ayant participé à fabriquer ou ayant testé LibraZiK-4 depuis plusieurs mois. Grâce à elles, LibraZiK-4 est assez stable pour être publiée maintenant. Il s'agit de : Nicolas "sub26nico", Jean-Pierre "jpcima", Erwan "r1", et Mathieu "houston4444". C'est un plaisir d'avoir des personnes capables de réagir et tester... Lire Sortie de LibraZiK-4

canoodle@nerdpol.ch

GNU Linux (Debian) on very very old hardware (~20 Years) old hp compaq NX 7010 notebook laptop

  • this notebook was premium when released aprox. 2003
  • it still looks with those LEDs and mic and speaker mini-jacks at the front (it even has a wifi hardware switch on the front (blue LED)
  • the screen and speakers are excellent
  • the CPU und 512MB of RAM and a IDE harddisk (that can not be easily upgraded to SATA) are of course… very very sloooooooooooooooow, but as can be seen: thanks to 32Bit i386 Debian the LATEST firefox is running on this 20 year old device
  • this is the time, when modularity would have been nice, swap out the mainboard for a newer one, off you go another 20 years

how to setup GNU Linux on this old hardware?

two options: (as booting from USB does not really work with computers that old)

  • hook up to internet via LAN
  • burn a 32Bit i386 Debian to CD-R or
  • try to setup like this

or:

https://dwaves.de/2021/12/10/gnu-linux-debian-11-bullseye-example-for-https-enabled-etc-apt-sources-list-including-contrib-and-non-free/

  • what is REMARKABLE, that the https://xfce.org/ Desktop ONLY takes about 250MBytes of RAM! NICE WORK! 🙂
  • instead of running the latest firefox (which is really not recommended with this kind of old calculators) use terminal based text based lynx browser instead 🙂
    • while not being able to display pictures (?) it lynx browser does it’s job nicely to retreave text based answers on text based search engine queries
    • again: great job 🙂

PS: background story: the demise of compaq

(it does not do much, but it still exists… as a name)

Compaq Computer Corporation (sometimes abbreviated to CQ prior to a 2007 rebranding) was an American information technology company founded in 1982 that developed, sold, and supported computers and related products and services. Compaq produced some of the first IBM PC compatible computers, being the second company after Columbia Data Products[1] to legally reverse engineer the IBM Personal Computer.[2][3] It rose to become the largest supplier of PC systems during the 1990s before being overtaken by HP in 2001.[4] Struggling to keep up in the price wars against Dell, as well as with a risky acquisition of DEC,[5] Compaq was acquired for US$25 billion by HP in 2002.[6][7] The Compaq brand remained in use by HP for lower-end systems until 2013 when it was discontinued.[8] The brand is licensed to third parties for use on electronics in Brazil and India. ” (Wiki)

(Elon) “He moved to California in 1995 to attend Stanford University but decided instead to pursue a business career, co-founding the web software company Zip2 with his brother Kimbal. The startup was acquired by Compaq for $307 million in 1999.” (no wonder they went BROKE X-D)

“The same year, Musk co-founded online bank X.com, which merged with Confinity in 2000 to form PayPal. The company was bought by eBay in 2002 for $1.5 billion.” (Wiki)

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #hp #compaq

Originally posted at: https://dwaves.de/2022/05/06/gnu-linux-debian-on-very-very-old-hardware-20-years-old-hp-compaq-nx-7010-notebook-laptop/

canoodle@nerdpol.ch

GNU Linux (Debian) on very very old hardware (~20 Years) old hp compaq NX 7010 notebook laptop

  • this notebook was premium when released
  • it still looks with those LEDs and mic and speaker mini-jacks at the front (it even has a wifi hardware switch on the front (blue LED)
  • the screen and speakers are excellent
  • the CPU und 512MB of RAM and a IDE harddisk (that can not be easily upgraded to SATA) are of course… very very sloooooooooooooooow, but as can be seen: thanks to 32Bit i386 Debian the LATEST firefox is running on this 20 year old device
  • this is the time, when modularity would have been nice, swap out the mainboard for a newer one, off you go another 20 years

how to setup GNU Linux on this old hardware?

two options: (as booting from USB does not really work with computers that old)

  • hook up to internet via LAN
  • burn a 32Bit i386 Debian to CD-R or
  • try to setup like this

or:

https://dwaves.de/2021/12/10/gnu-linux-debian-11-bullseye-example-for-https-enabled-etc-apt-sources-list-including-contrib-and-non-free/

PS: background story: the demise of compaq

(it does not do much, but it still exists… as a name)

Compaq Computer Corporation (sometimes abbreviated to CQ prior to a 2007 rebranding) was an American information technology company founded in 1982 that developed, sold, and supported computers and related products and services. Compaq produced some of the first IBM PC compatible computers, being the second company after Columbia Data Products[1] to legally reverse engineer the IBM Personal Computer.[2][3] It rose to become the largest supplier of PC systems during the 1990s before being overtaken by HP in 2001.[4] Struggling to keep up in the price wars against Dell, as well as with a risky acquisition of DEC,[5] Compaq was acquired for US$25 billion by HP in 2002.[6][7] The Compaq brand remained in use by HP for lower-end systems until 2013 when it was discontinued.[8] The brand is licensed to third parties for use on electronics in Brazil and India. ” (Wiki)

(Elon) “He moved to California in 1995 to attend Stanford University but decided instead to pursue a business career, co-founding the web software company Zip2 with his brother Kimbal. The startup was acquired by Compaq for $307 million in 1999.” (no wonder they went BROKE X-D)

“The same year, Musk co-founded online bank X.com, which merged with Confinity in 2000 to form PayPal. The company was bought by eBay in 2002 for $1.5 billion.” (Wiki)

#linux #gnu #gnulinux #opensource #administration #sysops #gnu-linux #debian #hp #compaq

Originally posted at: https://dwaves.de/2022/05/06/gnu-linux-debian-on-very-very-old-hardware-20-years-old-hp-compaq-nx-7010-notebook-laptop/

linuxmao.org@diaspora-fr.org

Éditorial de mai 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Autrefois, les aspirateurs étaient construits de telle façon que vous obteniez soit de l’aspiration soit du souffle, selon l’extrémité à laquelle vous branchiez le tuyau.

Les normes en matière de décibels domestiques, la technologie des années 50-60, en faisaient des machines terriblement bruyantes. Impossible de tenir une conversation dans une pièce où s’exprimait l’engin. Celui-ci était, bien évidemment, dépourvu de réglage de puissance et c’est au maximum de celle-ci, en permanence, que la bête venait à bout des nerfs les plus endurcis en quelques minutes.

C’est là, amis musiciens, qu’intervient le Mélodica.

Il s’agissait d’un instrument à vent pourvu, sur un octave ou deux, de touches "piano". Un embout amovible en matière plastique tenait lieu d’embouchure. Le corps de cet instrument d’une trentaine de centimètres de long se pinçait d’une main tandis que la main opposée courait sur le clavier. Cela produisait un son de texture et de volume similaires à ceux d’un harmonica chromatique, un peu plus nasillard, un peu moins puissant.

L’instrument était vendu avec un tuyau qui pouvait se substituer à l’embouchure, permettant ainsi de le connecter à la sortie soufflerie d’un aspirateur. Sur le papier : génial, un orgue !

Mais, inutile de préciser que dans cette configuration, l’instrument était totalement inaudible et c’est avec les 2 tympans broyés que la confrontation entre musicien et aspirateur prenait (vite) fin.

Je me suis toujours demandé pourquoi, malgré tous mes efforts, je n’avais jamais réussi à progresser à la clarinette ni au sax. Idem pour les claviers. Le Mélodica, bien sûr !

Au terme de cette petite introspection, je pense avoir enfin mis le doigt sur le traumatisme fondateur…

Et je me dis :

  • allez, ne te cherche pas d’excuses fallacieuses pour ne pas bosser ta musique, au taf !
canoodle@nerdpol.ch

heightened cyber alarm levels - timeline of a successful attack on the most basic tools like: exiftool - possible mitigations

cyber is on heightened alarm levels

… ya’ll know why.

timeline of a successful attack on the most basic tools like: exiftool

  • cve-2021-22204 (failed to properly validate parsed input)
  • This was reported by a security researcher on April 7, 2021, initially confidentially via the bug bounty platform HackerOne at the affected GitLab.
    • They reacted quickly, passed this on to the exiftool maintainers, who already provided a patched version 12.24 on April 13 and on April 14, the researcher received a $19,000 reward.
    • But the story wasn’t over.
    • On April 30 – more than two weeks later – CySrc filed a report with Google’s Vulnerability Reward Program.
    • They had found that DjVu images uploaded to Virustotal gave them access to scan servers.
    • Had the operators of these servers overslept the patches?

translated from: https://www.heise.de/hintergrund/Der-Patch-Alptraum-Wenn-schnell-nicht-schnell-genug-ist-7069924.html

  • Probably not. I rather think that they simply relied on the security updates of their Linux distribution.
  • And with Debian, for example, that didn’t happen until May 2nd; at Fedora even on May 4th.
  • So, after the release of the patch that exposed the problem, there was a window of over 2 weeks in which Linux systems with exiftool were vulnerable to a known, easy-to-exploit vulnerability.
  • CySrc used this window of opportunity to score points on Google’s Vulnerability Reward Program (although it’s not clear if they got a reward).
  • But just as well, state APT or cybercrime hackers could have exploited this gateway for their own purposes and caused real harm.

possibly mitigation: Debian need to push updates more frequently

maybe even like a “hotline” to put together, updates/patches that are URGENT on track to be published IMMEDIATELY.

kernel-live patching?

ubuntu does it already.

https://ubuntu.com/blog/an-overview-of-live-kernel-patching

possibly mitigation:

/usr/bin/unshare

“For exiftool it would therefore have been the right approach not to start it with root rights (!), but rather to run it with unshare (/usr/bin/unshare) in an extremely downtripped context. Linux comes with a lot of security features that you just have to use.”

(src)

possibly mitigation:

another: possibly mitigation:

Yes C++ is “ugly”.

So is RUST.

But RUST comes with “build-in” safety (hardware control might be lacking somewhat).

So yes it is an hard-to-understand-and-what-is-actually-going-on-syntax-language… but unless there comes the “C with safety build in” RUST is the best option for Open Source to be secure, reliable and fast in the future.

Linus & probably also Mr Stallman will always stick to C, because yes it is a great language (still) and it is part of their DNA.

Links:

https://dwaves.de/2019/08/17/rust-most-loved-programming-language-ever-c-with-safety-new-programming-language-from-mozilla-for-mozilla-and-safety-now-also-with-step-debugging/

https://dwaves.de/2019/09/27/compile-rust-hello-world-for-arm7/

https://dwaves.de/2021/12/27/rust-dev-lang-how-to-view-onboard-html-based-documentation-man-page-the-rust-standard-library/

https://dwaves.de/2021/07/24/how-to-step-debug-debugging-rust-in-vim-8-1/

java had it’s oopsi time

https://dwaves.de/2021/12/13/cyberinsecurity-ah-oh-its-java-time-log4j-called-log4shell-dynamically-remote-loading-code-or-any-other-resources-is-always-a-bad-cybersec-idea/

#linux #gnu #gnulinux #opensource #administration #sysops #itsec #cyber #debian #gnu-linux #ubuntu

Originally posted at: https://dwaves.de/2022/05/03/heightened-cyber-alarm-levels-timeline-of-a-successful-attack-on-the-most-basic-tools-like-exiftool-possible-mitigations/

linuxmao.org@diaspora-fr.org

Éditorial d'avril 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Je discutais, dimanche, avec mon ami Dom, bassiste occasionnel et dilettante affirmé, qui me demandait si je pourrais remettre en service une vieille guitare acoustique de jazz qui dort actuellement dans son grenier.

Comme je n’ai jamais vu Dom empoigner une guitare, je lui demandai quelle utilisation il comptait faire de l’instrument, une fois celui-ci ré-encordé, ré-accordé et re-réglé aussi confortablement que possible.

Après les réserves d’usage et quelques éclaircissements sur mes talents limités en matière de lutherie, nous scellâmes le marché et il m’exposa son projet.

Son objectif est donc d’apprendre accompagnement et chant, juste pour lui tout seul (public exclusif mais tolérant, a-t-il bien précisé en bon chanteur de salle de bains) de quelques morceaux choisis de l’œuvre de Georges Brassens.

Bon, Dom, c’est un excellent choix, il y en a de pires, je trouve, lui ai-je dit, en préambule.

Puis il me questionna sur les difficultés que présentait un tel apprentissage puisque je grattouille un peu, hein…

Je lui montrai quelques grilles d’accords ainsi que le type d’arpèges avec lesquels il pourrait, en limitant au maximum les difficultés, se dépatouiller pour obtenir quelque chose d’approchant voire de plaisant pour son (mono) public.

Nous nous sommes dit : bien sûr, nous pourrons apprendre quelques mélodies et, avec un peu de boulot, restituer un résultat satisfaisant mais ça n’aura jamais la consistance de l’original.

Tant pis, on s’en fiche, c’est pas le but !

Apprenons tant que nous le pouvons, il en restera toujours quelque chose. Et, qui sait ?

Il arrive parfois, que l’élève dépasse le maître...

Bossez bien !

linuxmao.org@diaspora-fr.org

Éditorial de mars 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

La petite icône des mises à jour disponibles restait désespérément vide, depuis maintenant quelques mois. Sur mon poste de travail, la distribution installée datait de plusieurs années et, après vérifications, elle n’était plus supportée.

Qu’à cela ne tienne, essayons la mise à niveau, sans rien désinstaller, par dist-upgrade.

Ouuuh-là, la cata ! Plus de souris, un affichage aléatoire et d’autres soucis aptes à vieillir encore davantage votre serviteur et sa machine qui n’ont pas tout leur temps, leur énergie à consacrer au dragage de forums et autres FAQ.

Une machine vieillissante, une mise à niveau en échec, tentons une réinstallation globale. Clef USB, séquence de démarrage modifiée, partitionnement du disque, quelques heures de copies de fichiers, de téléchargements et me voici avec un système tout neuf où il ne reste qu’à graver mon dossier personnel (/home, vous savez...), dûment sauvegardé sur disque externe.

Tout content de vous retrouver, firefox m’amène jusqu’à la page d’accueil de linuxmao et là, je m’aperçois que le navigateur n’a transféré ni mes marque-pages (pas grave) ni mes identifiants et mots de passe (plus ennuyeux lorsque la mémoire, parfois, défaille).

Après de nombreuses recherches, le derrière tanné par les ressorts de mon mauvais fauteuil, il se trouve que depuis certaines versions du navigateur, les structures des fichiers de profils ont été modifiées. Seule une version intermédiaire prenait en charge anciens et nouveaux mécanismes de ces profils. Une version antérieure à la mienne qui, elle, n’assure plus du tout (vérifié après bien des tests et réinstallations) la compatibilité avec l’ancienne structure de fichiers.

Me voilà largué, puni pour avoir sauté une version de navigateur !

La conclusion de cette aventure insignifiante, c’est qu’il devient bien difficile d’être soi-même à jour, compte tenu de l’accélération des techniques. Notre temps, lui, demeurant désespérément incompressible.

Alors je crois que nous allons bien profiter du printemps qui s’annonce en nous disant que le rythme des saisons, lui, ne s’emballera pas. Et je suis certain que ce printemps, dans sa nouvelle release, sera radieux pour vous toutes et tous.

linuxmao.org@diaspora-fr.org

Éditorial de février 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Ces mois d’hiver se prêtent admirablement à la bricole.

C’est bien au chaud que j’ai entrepris, pour ma guitare, l’assemblage d’un nouveau système d’amplification. Un vieux flight-case, un vieil ampli de sono et deux bons haut-parleurs bien rodés, manque un préamplificateur.

Raquettes aux pieds, skis sur l’épaule (souris à la main, en réalité...), me voilà sur la piste du précieux objet. Quête non dépourvue de difficultés lorsque l’on a, pour tout référentiel, que de vagues souvenirs du matos des années 90.

Je découvre alors que ce type de périphérique se décline désormais, principalement, au format pédale d’effet. Pas idiot. Mes sons en nomade, avec la connectique permettant de se brancher sur une table, un ampli ou une carte-son.

Ce premier critère assimilé, je passe quelques semaines de ce rude hiver à naviguer de sites d’occases en sites d’occases.

Et là, je découvre un univers que je ne soupçonnais pas : le club un peu dingo de la pédale d’effet pour guitaristes et bassistes.

La diversité des formes, les différences de modes de production, de la très grande série à l’objet unique et signé, la variété des couleurs, la puissance d’évocation de certaines appellations, la fantaisie des graphismes, leur architecture parfois, la variété des références stylistiques, allant du moyen-age à la science-fiction la plus débridée, tout est prétexte à attirer l’œil et, parfois, à sourire.

J’ai trouvé une machine d’occasion, du format adéquat, un peu noire, un peu austère, très éloignée du petit bain baroque et joyeux dans lequel j’avais pataugé durant quelques jours.

Mais je suis rassuré : le plaisir, le geste élégant, l’humour font toujours partie intégrante de la panoplie du musicien.

Un plaisir...

linuxmao.org@diaspora-fr.org

Éditorial de janvier 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Que peut-on souhaiter à des musiciens, linuxiens de surcroît, pour une nouvelle année ?

Un peintre, figé devant sa dernière toile, découvre une forme, une couleur, une texture inattendue dont il n’a pas souvenir de l’avoir voulue.

Un sculpteur s’étonne de trouver, sous la caresse de ses doigts, des rythmes particuliers dans les coups du burin qu’il a pourtant manié sans y songer.

Un écrivain cherche le mot juste depuis des jours. Les ratures obscurcissent la page et c’est au hasard d’une promenade que le mot manquant s’impose à son esprit. Tout est parfait, sens, charge émotionnelle, sonorité, un miracle !

Le musicien, lui, dispose d’une infinité de paramètres, entre rythmes et mélodies, sur lesquels sa nature, son tempérament, sa culture peuvent influer. Le choix des paramètres modifiables est déjà infini. Chacun joue de ces variables selon sa propre méthode, plus ou moins consciente, avec les possibilités, toujours plus nombreuses, que lui offrent instruments, logiciels et machines.

Je crois que c’est ce que l’on nomme "style", cette arithmétique un peu magique et souvent incontrôlable où le créateur joue de combinaisons de valeurs infinitésimales, gravant ainsi dans son œuvre l’empreinte exclusive de l’unicité de son être.

Alors voilà !

2022, une année stylée et ...libre !

linuxmao.org@diaspora-fr.org

Éditorial de décembre 2021

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #francophone #français #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Cher Père Noêl,

Cette année, comme j’ai été super sage, je voudrais un cadeau exceptionnel.

Oh, rassure-toi, ça ne te coûtera pas un euro. Tu n’auras, de plus, aucune peine pour le descendre par l’étroit conduit de cheminée de ma chaumière. Il pèse pourtant des tonnes mais se déplace tel une plume, sois tranquille !

Par contre tu vas avoir du mal à trouver ce présent dans les catalogues ou sur les sites de vente par correspondance. Tes adjoints ont un sacré boulot en perspective !

C’est un cadeau inédit que personne n’a jamais su se procurer, je dois te l’avouer. Il se dit même que certains auraient confié leurs âmes à des personnages peu recommandables, vraiment pas des potes à toi, en échange d’un échantillon du merveilleux présent.

D’autres, pourtant, possèdent ce cadeau dès le berceau. Cette vie est injuste et toi seul peut m’aider à acquérir ce saint Graal, objet de toutes mes quêtes, et dont, quelle malchance, je n’ai pas été gratifié à ma naissance.

Alors voilà, je passe un marché avec toi : je ne te demanderai plus jamais rien, pour le restant de mes jours je ne ferai plus appel à toi, je te l’assure, mais, s’il te plaît, offre-moi, cette année ce qui attise toutes mes convoitises, tous mes désirs, ce qui me rend parfois jaloux, ce dont l’absence m’agace et peut me déprimer .

Allez, Père Noël, je te provoquais un peu, je t’asticotais gentiment !

Rassure-toi, je sais bien que ni toi ni personne ne pourra jamais m’offrir cet absolu cadeau : le talent.

Ni Santa Klaus, ni rênes, ni traîneaux, pas plus de cheminées que de souliers, la musique ne connaît que l’apprentissage, le travail et la pratique, et puis, enfin, le plaisir.

Alors, cette année encore, je ne compte pas trop sur toi pour attiser la flamme qui nous anime, ici.

La rumeur, les on-dit, les infox, le bruit court que tu n’existerais même pas...

librazik@diaspora-fr.org

Nouveautés LibraZiK - avril 2022

#art #art_libre #artiste #artlibre #cc-by-sa #chanson #copyleft #creative-commons #creative_commons #creativecommons #culture #culture-libre #culture_libre #culturelibre #debian #francophone #français #french #gnu #gnu-linux #gnulinux #gpl #informatique-musicale #informatique_musicale #informatiquemusicale #librazik #libre #libre-art #linux #linux-mao #linux_mao #linuxaudio #linuxmao #logiciel-libre #logiciel_libre #logiciellibre #mao #mao-linux #mao_linux #maolinux #musicien #musiciens #musique #musique-libre #musique_libre #numerique #productionmusicale

Salut les LibraZiK-os.

Un billet court ici pour vous annoncer quelques nouveautés autour de LibraZiK-.3.

splash.png, mars 2021

Musiques faites avec LibraZiK-3 : Tout d'abord, quelques productions musicales faites avec LibraZiK, ce qui vous permettra de lire ce billet de blogue avec de la musique dans les oreilles. Pour commencer, un album entier fait avec une bonne vénérable LibraZiK-1 ! Il s'agit de "Le mystère du gué pucelle" par Alco Frisbass. Voir :... Lire Nouveautés LibraZiK - avril 2022

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux Debian 11 via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

over 1600 FREE DOS GAMES! -> https://www.dosgames.com/

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

i-war: why this game is a genius space flight and fight sim

gate jump: from earth to jupiter (?)

check out the the 3rd trainings mission: docking with containers (fast) and throwing them through a ring X-D

[video width=”746″ height=”560″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-pc-game-1997-independence-war-mission-docking-with-crates-and-throwing-them-through-a-ring-creativity-and-beauty-in-game-design-genious-autopilot-almost-messes-up.mp4″\]\[/video\]

… this could make for an interesting ship space soccer game… X-D (dock with the ball… and inertia throw it through the goal of the enemy X-D)

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

wine: what works?

  • the setup
  • nGlide setup
  • the game itself EVEN in 3DFx-Voodoo-nGlide in full screen mode 🙂 (CONGRATZ ALL INVOLVED! GREAT JOB!)

wine: what does not work?

  • in-game menus
  • instructors sound output (might be a game “can’t find cdrom drive” related issue)
  • it crashes on the end of a mission, but the progress is still saved… so simply restart the game after every mission and should be good
  • possible problems: does not detect the CD-ROM drive (even when it is mounted and files are clearly accessible)
    • possible workaround: copy the CD1 CD2 CD3 CD4 content simply into the game folder….

nice!

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
<a href="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg"><img alt="" class="alignnone size-full wp-image-25655" height="906" src="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg" width="1219"></img></a>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a>
 <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a>

NICE! :) Space Pilots! ENGAGE!

<a href="https://duckduckgo.com/?q=star+trek+lower+decks&t=ffab&ia=web"><img alt="" class="alignnone wp-image-25735 size-full" height="500" src="https://dwaves.de/wp-content/uploads/2022/04/star-trek-lower-decks-marvel-at-the-stars.jpg" width="889"></img></a>

</strong><strong>the menus are still a bit glitchy but...
true space pilots are not scared by that
there are only 4 symbols:
<a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet-1.jpg"><img alt="" class="alignnone size-full wp-image-25734" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet-1.jpg" width="641"></img></a>

<a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-options-screenshot.png"><img alt="" class="alignnone size-full wp-image-25733" height="501" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-options-screenshot.png" width="636"></img></a></strong>

just4info:

i-war stored the path to the setup cdrom in the registry here…

nice 🙂 now what about full screen?

the workaround is like this:

  1. set monitor to 800×600
  2. config wine
  3. ``` WINEPREFIX=${HOME}/iwar winecfg

# create a new start.bat in the same folder as the IWar.exe
echo "IWar.exe -b -16 -800x600 -english" > "~/iwar/drive_c/Program Files/Particle Systems/Independence War/start.bat"

# start the game via wine explorer
cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"
WINEPREFIX=${HOME}/iwar wine explorer
```
4. search for the start.bat -r-click-> open & enjoy 🙂

playonlinux

it’s basically a gui for wine…

unfortunately same problem here… the game won’t detect CD change… possible workaround: copy the CD1 CD2 CD3 CD4 content simply into the game folder….

might also be interesting checking out:

https://www.playonlinux.com/en/

virtualbox.org?

while it is possible to run i-war in software rendering mode (not the smoother 3d accelerated mode that would be started with:

<span style="color: #00ffff;">"C:\Programme\Particle Systems\Independence War\IWar.exe" -b -16 -800x600 -english</span>

within a windows xp vm (set RAM to 256MBytes!)

there will probably be (never?) be proper 3DFx / nGlide / Voodoo support… https://www.virtualbox.org/ticket/7828

dosbox-x:

https://dosbox-x.com/

managed to install win 98 se… but was not able to mount any disk-image.iso (no kidding! it is a major hazzle!

and the documentation does not check out, sorry guys)

if no windoowze is needed to play the game… even BETTER! 🙂

as penguins try to win the war for independence from closed source 🙂

https://dosbox-x.com (NOT based on wine!)

  • “running Linux in an x86 or x86-64 PC … can also try running Windows games and applications using Wine.”
  • “Especially 32-bit Windows games and applications, typically work quite well, and this may be an easier and faster solution and provide better integration with your desktop environment.”
  • “16-bit or mixed 16/32-bit Windows games and applications are more problematic with Wine as modern 64-bit Linux distributions typically have the required kernel functionality for running 16-bit code (e.g., X86_16BIT and MODIFY_LDT_SYSCALL) disabled at kernel compile time.” (src)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

https://dosbox-x.com/

https://dosbox-x.com/

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

creditz:

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

https://www.dosgames.com/game/duke-nukem-3d/ <- for the nerds that enjoyed this reckless guy

https://i-war2.com/

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-debian-11-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys/

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux Debian 11 via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

over 1600 FREE DOS GAMES! -> https://www.dosgames.com/

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

i-war: why this game is a genius space flight and fight sim

gate jump: from earth to jupiter (?)

check out the the 3rd trainings mission: docking with containers (fast) and throwing them through a ring X-D

[video width=”746″ height=”560″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-pc-game-1997-independence-war-mission-docking-with-crates-and-throwing-them-through-a-ring-creativity-and-beauty-in-game-design-genious-autopilot-almost-messes-up.mp4″\]\[/video\]

… this could make for an interesting ship space soccer game… X-D (dock with the ball… and inertia throw it through the goal of the enemy X-D)

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

nice!

although this is the software rendering mode… happy that 1) sound works 2) 3D graphics work 🙂

(the menus don’t work but that’s not a biggie for i-war professionals X-D)

it’s a a bit of fiddling & getting used to, but actually got iwar setup working and the game also… what does not (currently) work is changing CDs (game won’t detect CD change, even when it clearly changed).

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
<a href="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg"><img alt="" class="alignnone size-full wp-image-25655" height="906" src="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg" width="1219"></img></a>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a>
 <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a>

NICE! :) Space Pilots! ENGAGE!

<a href="https://duckduckgo.com/?q=star+trek+lower+decks&t=ffab&ia=web"><img alt="" class="alignnone wp-image-25735 size-full" height="500" src="https://dwaves.de/wp-content/uploads/2022/04/star-trek-lower-decks-marvel-at-the-stars.jpg" width="889"></img></a>

</strong><strong>the menus are still a bit glitchy but...
true space pilots are not scared by that
there are only 4 symbols:
<a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet-1.jpg"><img alt="" class="alignnone size-full wp-image-25734" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet-1.jpg" width="641"></img></a>

<a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-options-screenshot.png"><img alt="" class="alignnone size-full wp-image-25733" height="501" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-options-screenshot.png" width="636"></img></a></strong>

just4info:

i-war stored the path to the setup cdrom in the registry here…

nice 🙂 now what about full screen?

the workaround is like this:

  1. set monitor to 800×600
  2. config wine
  3. ``` WINEPREFIX=${HOME}/iwar winecfg

# create a new start.bat in the same folder as the IWar.exe
echo "IWar.exe -b -16 -800x600 -english" > "~/iwar/drive_c/Program Files/Particle Systems/Independence War/start.bat"

# start the game via wine explorer
cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"
WINEPREFIX=${HOME}/iwar wine explorer
```
4. search for the start.bat -r-click-> open & enjoy 🙂

playonlinux

it’s basically a gui for wine…

same problem here… the game won’t detect CD change…

might also be interesting checking out:

https://www.playonlinux.com/en/

virtualbox.org?

while it is possible to run i-war in software rendering mode (not the smoother 3d accelerated mode that would be started with:

<span style="color: #00ffff;">"C:\Programme\Particle Systems\Independence War\IWar.exe" -b -16 -800x600 -english</span>

within a windows xp vm (set RAM to 256MBytes!)

there will probably be (never?) be proper 3DFx / nGlide / Voodoo support… https://www.virtualbox.org/ticket/7828

dosbox-x:

https://dosbox-x.com/

managed to install win 98 se… but was not able to mount any disk-image.iso (no kidding! it is a major hazzle!

and the documentation does not check out, sorry guys)

if no windoowze is needed to play the game… even BETTER! 🙂

as penguins try to win the war for independence from closed source 🙂

https://dosbox-x.com (NOT based on wine!)

  • “running Linux in an x86 or x86-64 PC … can also try running Windows games and applications using Wine.”
  • “Especially 32-bit Windows games and applications, typically work quite well, and this may be an easier and faster solution and provide better integration with your desktop environment.”
  • “16-bit or mixed 16/32-bit Windows games and applications are more problematic with Wine as modern 64-bit Linux distributions typically have the required kernel functionality for running 16-bit code (e.g., X86_16BIT and MODIFY_LDT_SYSCALL) disabled at kernel compile time.” (src)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

https://dosbox-x.com/

https://dosbox-x.com/

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

creditz:

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

https://www.dosgames.com/game/duke-nukem-3d/ <- for the nerds that enjoyed this reckless guy

https://i-war2.com/

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-debian-11-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys/

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

over 1600 FREE DOS GAMES! -> https://www.dosgames.com/

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

nice!

although this is the software rendering mode… happy that 1) sound works 2) 3D graphics work 🙂

(the menus don’t work but that’s not a biggie for i-war professionals X-D)

it’s a a bit of fiddling & getting used to, but actually got iwar setup working and the game also… what does not (currently) work is changing CDs (game won’t detect CD change, even when it clearly changed).

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
<a href="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg"><img alt="" class="alignnone size-full wp-image-25655" height="906" src="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg" width="1219"></img></a>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg"><img alt="" class="alignnone size-full wp-image-25722" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg" width="641"></img></a>
NICE! :) Space Pilots! ENGAGE!</strong>

just4info:

i-war stored the path to the setup cdrom in the registry here…

playonlinux

it’s basically a gui for wine…

same problem here… the game won’t detect CD change…

might also be interesting checking out:

https://www.playonlinux.com/en/

dosbox-x:

managed to install win 98 se… but was not able to mount any disk-image.iso (no kidding! it is a major hazzle!

and the documentation does not check out, sorry guys)

if no windoowze is needed to play the game… even BETTER! 🙂

as penguins try to win the war for independence from closed source 🙂

https://dosbox-x.com (NOT based on wine!)

  • “running Linux in an x86 or x86-64 PC … can also try running Windows games and applications using Wine.”
  • “Especially 32-bit Windows games and applications, typically work quite well, and this may be an easier and faster solution and provide better integration with your desktop environment.”
  • “16-bit or mixed 16/32-bit Windows games and applications are more problematic with Wine as modern 64-bit Linux distributions typically have the required kernel functionality for running 16-bit code (e.g., X86_16BIT and MODIFY_LDT_SYSCALL) disabled at kernel compile time.” (src)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

https://www.dosgames.com/game/duke-nukem-3d/ <- for the nerds that enjoyed this reckless guy

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys-not-wo/

canoodle@nerdpol.ch

GNU Linux - i-war running inside GNU Linux via wine - run old dos games (and windo(w)s games) from wine to dosbox-x - how to compile from latest src - first problems: keyboard / some keys ":" not working

Remember Monkey Island and Tomb Raider 1? yeah… wanna play it on GNU Linux? yeeeessss!

over 1600 FREE DOS GAMES! -> https://www.dosgames.com/

and also this goody:

https://dwaves.de/2022/04/19/i-war-defiance-1997-how-to-setup-windows-7-and-windows-10-with-3d-acceleration-a-old-but-genious-scifi-space-ship-simulator-with-real-mass-drifting-inertia/

wine

[video width=”638″ height=”428″ mp4=”https://dwaves.de/wp-content/uploads/2022/04/i-war-running-inside-gnu-linux-debian-11-via-wine.mp4″\]\[/video\]

nice!

although this is the software rendering mode… happy that 1) sound works 2) 3D graphics work 🙂

(the menus don’t work but that’s not a biggie for i-war professionals X-D)

it’s a a bit of fiddling & getting used to, but actually got iwar setup working and the game also… what does not (currently) work is changing CDs (game won’t detect CD change, even when it clearly changed).

wine per default creates an folder called

/home/user/.wine/drive_c

which resembles the C:\ drive while installing, it will store files there.

install:

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt update</span>
<span style="color: #00ffff;">apt install wine winetricks
</span># start the config tool<span style="color: #00ffff;">
winecfg
</span># start the config tool
# <a href="https://github.com/Winetricks/winetricks">https://github.com/Winetricks/winetricks</a><span style="color: #00ffff;">
winetricks
winetricks --optout
</span>
# mount cd image iso
<span style="color: #00ffff;">mkdir /media/user/cdrom</span>
<span style="color: #00ffff;">mount -t iso9660 -r -o loop /path/to/iwar-cd1.iso /media/user/cdrom

</span># wine setup, this will create a "prefix" "iwar"
# (aka a alias under which to store-remember the settings for this game)
<span style="color: #00ffff;">WINEPREFIX=${HOME}/games/iwar WINEARCH=win32 winecfg</span>
# in the dialogue
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png"><img alt="" class="alignnone size-full wp-image-25717" height="696" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg_select_windows_98se.png" width="607"></img></a>
# Applications → Windows Version → Windows 98 (hit apply)
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png"><img alt="" class="alignnone size-full wp-image-25718" height="506" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-graphics-emulate-a-virtual-desktop-enabled.png" width="591"></img></a>
# Graphics → Emulate a virtual desktop → Desktop size: 1024x786

# not sure if this is actually needed
<a href="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png"><img alt="" class="alignnone size-full wp-image-25719" height="513" src="https://dwaves.de/wp-content/uploads/2022/04/winecfg-cdrom-drive-d.png" width="612"></img></a>

# install game setup
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine /media/user/cdrom/SETUP.EXE
</span>
<a href="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg"><img alt="" class="alignnone size-full wp-image-25655" height="906" src="https://dwaves.de/wp-content/uploads/2022/04/iwar_setup.jpg" width="1219"></img></a>
# the installer should come up and just work fine
# leave it at default install path

# try to start<strong> THE GAME :)</strong>
<span style="color: #00ffff;">cd "${HOME}/iwar/drive_c/Program Files/Particle Systems/Independence War"</span>
<span style="color: #00ffff;">WINEPREFIX=${HOME}/iwar wine IWar.exe</span>

<strong><a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25720" height="522" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice1-software-rendering-mode.jpg" width="761"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg"><img alt="" class="alignnone size-full wp-image-25721" height="511" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-working-nice2-software-rendering-mode.jpg" width="753"></img></a> <a href="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg"><img alt="" class="alignnone size-full wp-image-25722" height="502" src="https://dwaves.de/wp-content/uploads/2022/04/i-war-gnu-linux-debian-11-wine-menus-not-working-properly-yet.jpg" width="641"></img></a>
NICE! :) Space Pilots! ENGAGE!</strong>

just4info:

i-war stored the path to the setup cdrom in the registry here…

playonlinux

it’s basically a gui for wine…

same problem here… the game won’t detect CD change…

might also be interesting checking out:

https://www.playonlinux.com/en/

dosbox-x:

managed to install win 98 se… but was not able to mount any disk-image.iso (no kidding! it is a major hazzle!

and the documentation does not check out, sorry guys)

if no windoowze is needed to play the game… even BETTER! 🙂

as penguins try to win the war for independence from closed source 🙂

https://dosbox-x.com (also based on wine?)

compile instructions can be found here: https://github.com/joncampbell123/dosbox-x/blob/master/BUILD.md

<span style="color: #00ffff;">lsb_release -a</span>
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye

<span style="color: #00ffff;">su - root</span>
<span style="color: #00ffff;">apt search dosbox</span>
# installs old version
dosbox/stable<span style="color: #ff6600;"> 0.74-3-3</span> amd64
  x86 emulator with Tandy/Herc/CGA/EGA/VGA/SVGA graphics, sound and DOS

# to install latest version compile from src: <a href="https://github.com/joncampbell123/dosbox-x/">https://github.com/joncampbell123/dosbox-x/</a>
<span style="color: #00ffff;">su - root
apt update
</span>
# install requirements
<span style="color: #00ffff;">apt install automake gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev libslirp-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype-dev libxkbfile-dev libxrandr-dev
</span>
# clone dosbox source to local machine
<span style="color: #00ffff;">git clone https://github.com/joncampbell123/dosbox-x.git</span>

# compile as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">cd dosbox-x
./build-debug</span>
# install binaries as root
<span style="color: #00ffff;">su - root
make install</span>

# run as non-root
<span style="color: #00ffff;">Ctrl+D</span> - log out root
<span style="color: #00ffff;">dosbox-x</span>

# it is located here
<span style="color: #00ffff;">/usr/bin/dosbox-x</span>

# alternative: snapd setup
<span style="color: #00ffff;">apt install snapd
snap install core
snap install dosbox-x
</span>
snap remove dosbox-x

congratz! 🙂

first problems: keyboard / some keys “:” not working

for example with older version it was no problem typing “ö” and getting (US-KeybLayout) a “:”

to work around this problem, open a terminal type “:”, copy it to clipboard, start dosbox-x and hit Ctrl+F6 to paste it in

How to install Windows 98 SE?

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

when the user wants to install windows 98 se

can get it from here: https://archive.org/details/win98se_201801

(but the serial is missing?)

  1. rename the iso to win98se.iso and put it into the user’s home directory
  2. create config file (also in user’s home directory):
    • <span style="color: #00ffff;">cd ~ wget <a href="https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt">https://dwaves.de/wp-content/uploads/2022/04/win98.conf_.txt</a></span> <span style="color: #00ffff;">mv -v win98.conf_.txt win98.conf </span> 3. start it like this: - <span style="color: #00ffff;">dosbox -conf win98.conf</span>

the Ctrl+F6 hotkey comes in handy in the next steps, so simply copy and paste those instructions line by line:

# IMGMAKE hdd.img -t hd_8gig
<span style="color: #00ffff;">IMGMAKE hdd.img -t hd -size 16384 -force
IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
</span># copy CD content to C: because during setup it will ask for more files from the CD
<span style="color: #00ccff;">XCOPY D:\WIN98 C:\WIN98 /I /E</span>
<span style="color: #00ffff;">IMGMOUNT A -bootcd D BOOT A:
BOOT A:</span>

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98#_installation_method_2

When the Windows installer reboots, and your back at the DOSBox-X Z:\> prompt. Close DOSBox-X and edit your win98.conf config file, and add the following lines in the [autoexec] section at the end of the file:

IMGMOUNT C hdd.img
IMGMOUNT D win98.iso
BOOT C:

hotkeys / shortcuts: Special Keys

These are the default keybindings. They can be changed using the keymapper.

Note: If you’re using a Mac and are having trouble with the function keys, you may need to set your F keys to function as function keys. You can do this by going to System Preferences > Keyboard, going to the Keyboard area, and checking the “Use all F1, F2, etc” box.

KeyAction*ALT-ENTERSwitch to full-screen (and back).ALT-PAUSE (ALT-F16 on OS X)Pause emulation.CTRL-F1Show the keymapper configuration screen,CTRL-F4Update cached information about mounted drives. Useful if you changed something on a mounted drive outside of DOSBox. Also cycles through disk images mounted using IMGMOUNT.CTRL-F5Save a screenshot (goes to capture folder).CTRL-ALT-F5Start/Stop recording of AVI video. NOTE: You may well have some problems with this, please see Recording Video for more information.CTRL-F6Start/Stop recording sound output to a wave file (goes to capture folder).CTRL-ALT-F7Start/Stop recording of OPL commands.CTRL-ALT-F8Start/Stop the recording of raw MIDI commands.CTRL-F7Decreases frameskip.CTRL-F8Increases frameskip.CTRL-F9Kill (close) DOSBox.CTRL-F10Capture/Release the mouse (if you need to use the mouse within DOSBox).CTRL-F11Decrease DOSBox cycles (slows down the emulation).CTRL-F12Increase DOSBox cycles (speeds up the emulation).ALT-F12*Unlock speed (turbo button).These default bindings are also documented in the README file accompanying the software.

Language Keys

When a keyboard layout is loaded:

CTRL+ALT+F2Switch between foreign layout and US layout.LEFT-ALT+RIGHT-SHIFTActivate dual layouts (for some keyboards, e.g. GK codepage 869 and RU codepage 808).LEFT-ALT+LEFT-SHIFTDeactivate dual layouts.For OS X you have to use additionally + [Applekey] for the same result

INS key is [Fn] + M on OS X.

For Linux you have to use additionally + [win] for the same result

src: https://www.dosbox.com/wiki/Special_Keys

Links:

thanks for inspiration: https://darrengoossens.wordpress.com/2021/01/20/dosbox-x-on-debian-10-compiling-and-running/

https://snapcraft.io/install/dosbox-x/debian

https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98

https://www.dosgames.com/game/duke-nukem-3d/ <- for the nerds that enjoyed this reckless guy

#linux #gnu #gnulinux #opensource #administration #sysops #wine #games #gnu-linux #game #iwar #space #simulator #spaceship

Originally posted at: https://dwaves.de/2022/04/21/gnu-linux-i-war-running-inside-gnu-linux-via-wine-run-old-dos-games-and-windows-games-from-wine-to-dosbox-x-how-to-compile-from-latest-src-first-problems-keyboard-some-keys-not-wo/