A few formatting fixes.

stormdragon2976 2023-06-12 15:43:22 -04:00
parent 312e0c3533
commit 812a4d1882

@ -9,8 +9,12 @@ Where some of the root commands will be, you can precede the command with the wo
Also, it is assumed that your Slint system is fully upgraded, if it isn't, do that now, as it will be very important that nothing should need to be upgraded for one of the steps to follow.
# slapt-get -u
followed by the Enter key.
# slapt-get -upgrade
followed by the Enter key.
Also, you may want to attach a monitor to your pc if it's a desktop as even though you may not need to see graphics the X windowing system will very likely expect one and will work better with one then without.
@ -19,7 +23,7 @@ Also, you may want to attach a monitor to your pc if it's a desktop as even thou
**CAUTION! CAUTION! CAUTION!**
Some of these instructions will involve editing files, which I must strongly recommend that you back up before editing, in case you make a mistake.
##Optional Pulseaudio Configuration
## Optional Pulseaudio Configuration
Okay, this already sounds scary, but don't worry, it's really not, and you may like things the way they are by default, so I'll briefly describe my test box's setup.
It's got two sound cards, one built-in audio, and a usb headset.
@ -35,33 +39,51 @@ We'll go through some of these steps again later, so it will be pretty familiar
As we must be the superuser here, we're going to open a file in the /etc/speech-dispatcher directory called speechd.conf, which we're going to quickly back up before we edit.
We'll use the cp command to copy the speechd.conf file to another file with a different name, so in case something goes wrong, you'll be able to restore the original.
So now type
$ sudo cp /etc/speech-dispatcher/speechd.conf /etc/speech-dispatcher/speechd.conf.backup
followed by the Enter key.
You'll likely be asked for your password, which is the root user password.
Go ahead and type that followed by the Enter key, and you'll be returned to your prompt.
Now we can edit the file safely.
next we open the text editor of choice, for my test box it's Nano so the command would look like this:
$sudo nano /etc/speech-dispatcher/speechd.conf
followed by the Enter key.
You may have a different editor so do the next step however your editor works.
You want to search for the line that says:
AudioOutputMethod "libao"
All you need to do here is to replace what's between the quotes, "libao" with the word "pulse"
and then save the file.
If you have a graphical terminal running when you do this, you'll lose speech when you do thefollowing command, but it will come back. If you've done this in a console, and don't have a graphical user interface running yet, your speech will be fine.
What we need to do is to kill any currently running instances of speech-dispatcher so that when it gets called again, most likely by Orca, it will direct speech output through Pulseaudio.
so here, we type the following command.
$ sudo killall speech-dispatcher
followed by the Enter key.
If you get the responce:
No process found.
That's okay.
In the regular text console your speech would only stop if you're using a speech method that depends upon speech-dispatcher, such as speechd-up for example.
If you're using espeakup, you're using alsa, which will not be affected by this change.
If you get the responce that says "No process found". That's okay. In the regular text console your speech would only stop if you're using a speech method that depends upon speech-dispatcher, such as speechd-up for example. If you're using espeakup, you're using alsa, which will not be affected by this change.
The speech in your graphical terminal will stop upon pressing the Enter key. Simply press the Enter key in your graphical terminal and speech will restart, as Orca is now sending speech through Pulseaudio in the second sound device.
Now all your game output as well as any speech in the graphical user interface will all come from the same place.
So now on to the next step... Way to go you command line ninjas!
## Getting audiogame-manager
So first, we need to go get the subject of our task, Audiogame-manager.
@ -102,6 +124,7 @@ Notice the slash at the end?
That tells us that it's a directory and not a file, which means we'll be going into that with yes, the cd command. Like this.
$ cd audiogame-manager
followed by the Enter key.
@ -110,6 +133,7 @@ The following command will execute the audiogame-manager.sh script, play any new
So here's the command.
$ ./audiogame-manager.sh -c
followed by the Enter key.
@ -124,6 +148,7 @@ So we have to prepare things a bit.
So, still being in our /git/audiogame-manager directory, we want to go back up to the home directory where we started out. Really easy. just do this command.
$ cd
followed by the Enter key.
@ -131,6 +156,7 @@ First we need to make the system multi-lib compatible, so it can run both 32-bit
So we'll get the script first with this command.
$ wget https://slackware.uk/~dive/scripts/alien-multilib-rsync.sh
followed by the Enter key.
@ -141,6 +167,7 @@ We're going to be using super user privileges for a bit, so we'll not use the su
So type the following command.
$ su
Followed by the Enter key.
@ -150,6 +177,7 @@ Now you'll notice that your prompt has changed to let you know you're now doing
We're now going to edit this file. I use nano but any text editor will do. as an example I would type the following from here.
# nano alien-multilib-rsync.sh
followed by the Enter key
@ -164,23 +192,30 @@ When that's done, close your text editor, saving your work.
We're now going to make sure that the file is indeed executable so type the following command.
# chmod +x alien-multilib-rsync.sh
followed by the Enter key.
We now know that the file is executable, so we'll run it, and then silence the speech with Keypad Enter.
# ./alien-multilib-rsync.sh
followed by the Enter key, then silence the speech with the Keypad Enter key for example, if using espeakup.
You can temporarily disable speech in your graphcal terminal too, by using the key combination insert plus letter s. but you'll have to use that combination again to turn speech back on.
On a decent connection this can take anywhare from a half hour, or perhaps a bit longer, on older systems it could be an hour or so.
You can temporarily disable speech in your graphical terminal too, by using the key combination insert plus letter s. but you'll have to use that combination again to turn speech back on.
On a decent connection this can take anywhere from a half hour, or perhaps a bit longer, on older systems it could be an hour or so.
You can check to see if things are still processing by typing the Control key, and if it's still busy, just type the Keypad Enter key and speech will go silent until the next key press, or using the insert plus letter s combination in your gui terminal.
When it's finally done, and you're returned to the command prompt, you'll now be multi-lib capable, so next it's time to go get WINE and anything else we need.
Having made sure the system is fully upgraded before beginning to do anything in this guide, we're now ready to procede to the next step, which is to blacklist the packages that make the system multi-lib, so future system upgrades will not over-write them and undo all your hard work.
As we're still logged in as the super user, the next thing we're going to do is to go to a directory outside the home directory of your normal user, with the following command.
# cd /etc/slapt-get
followed by the Enter key.
@ -190,15 +225,18 @@ In this file, there is a line beginning with
EXCLUDE=
all in uppercase which we are going to add to.
The best way to show you this is to give you an example of what one of my test boxes has in this line.
Here it is.
EXCLUDE=^devs,^kernel-huge-*,^kernel-generic-*,^kernel-modules-*,^kernel-headers-*,-i?86-,^zzz-settings,^mozilla-firefox,^aaa_glibc-solibs,^gcc,^gcc-brig,^gcc-g++,^gcc-gdc,^gcc-gfortran,^gcc-gnat,^gcc-go,^gcc-objc,^glibc,^glibc-i18n,^glibc-profile
To get a list of these packages to exclude you could pretend to do an upgrade with the command
# slapt-get -upgrade
followed by the Enter key, but instead of answering y to the upgrade, you'd just take note of all the packages that are to be upgraded, writing them down somewhere else, then aborting the install by answering n to the upgrade.
@ -209,6 +247,7 @@ You'd then add them in the format you see on the
EXCLUDE=
line in that file using whatever text editor you like, I use nano myself.
Close the editor you used to edit this file, thereby saving your work, but we don't want to exit superuser mode yet.
In fact, re-open your slapt-getrc file, because there's one more line we want to change.
@ -216,6 +255,7 @@ There are several lines in the file that begin with the word
SOURCE
and some of them will have a hash or number sign in front of that word and some will not.
Each of these lines enables fetching from various Slackware repositories used by Slint.
The one we want to change is the one that says
@ -228,24 +268,28 @@ Now after doing that, we can close the editor saving your work, and return to ou
In my case I would do
# cd /home/testo
followed by the Enter key.
Now, we want to update the package lists that slapt-get accesses, and we'll do this just as we do when updating the system, like this.
# slapt-get --add-keys
followed by the Enter key.
When that finishes we then type
# slapt-get -u
followed by the Enter key.
After that completes,
# slapt-get -upgrade
followed by the Enter key, and we can answer y to the upgrade prompt.
@ -264,6 +308,7 @@ Now it's time to get WINE, which is the application we use to run Windows softwa
It's as easy as the following command
# slapt-get -i wine
followed by the Enter key.
@ -274,6 +319,7 @@ When it finishes though, you'll have WINE installed.
For now, we can leave the superuser mode, by typing
# exit
followed by the Enter key.
@ -284,12 +330,14 @@ We want to go to the audiogame-manager directory to check and if need be, write
So from here type
$ cd git/audiogame-manager
followed by the Enter key.
Once again, we're going to have audiogame-manager check to see what we need to install.
$ ./audiogame-manager -c
followed by the Enter key.
@ -304,18 +352,21 @@ We can even do it from here in the audiogame-manager directory. Since you now ha
We'll install cabextract, like this.
# slapt-get -i cabextract
followed by the Enter key.
Now we can exit superuser mode by typing
# exit
followed by the Enter key.
Now you're back in normal user mode, and we can run
./audiogame-manager.sh -c
followed by the Enter key.
@ -326,6 +377,7 @@ Now, there's just one more thing to do, and we can begin playing with audiogame-
type
$ cd
followed by the Enter key.
@ -333,6 +385,7 @@ Now you're back in your home directory, I like to do this to keep from getting l
so, here we go. so become superuser again, and when you are, type
# cd /etc/rc.d
followed by the Enter key.
@ -348,6 +401,7 @@ then close the file, saving your work.
Now, to make this file executable, just like before, we type
# chmod +x rc.local
followed by the Enter key.
@ -355,12 +409,14 @@ Now when the computer boots up, every time, it'll execute that little command wh
We're done here, so we can just exit superuser mode by typing
# exit
folowed by the Enter key.
If you're not in your home directory just type
$ cd
followed by the Enter key, and you should be.
@ -370,6 +426,7 @@ We have a lot of games to choose from, and various switches that make audiogame-
Happy gaming! Remember to get to audiogame manager, simply type from anywhere in the terminal:
cd ~/git/audiogame-manager
Followed by the enter key.