After very much work finding all dependencies for the Kubuntu QT o/s, compiling, and invoking the script to launch... I got this app to launch. But the window is microscopic small, and the text in menus even smaller. How to make this app resolve full screen for a 4k monitor?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for asking. I'm very glad you had success finding all of the prerequisites and compiling LAC. As you have observed, LAC starts out in a small window. By default, it starts at 640x480 resolution, which is going to be inconveniently small on a huge 4K monitor. You can change that window size by editing the LacConfig.txt file that's stored in a new, hidden folder named ".LAC" in your home directory. The video resolution is near the top of that file and the fields that you need to edit are surrounded by detailed instructions.
Here is a video clip showing exactly what to do. You will only need the first 5 minutes of this longish clip:
Best Regards, Welcome to LAC!
-Bob-
Last edit: bbosen 2020-08-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you have already run our "install.sh" installation script as described in this brief video clip from our "Video HowTo" section:
....then you will find a tiny little script named "lac" in your home folder. It is executable, so you can run it by changing to your home folder with the well-known "cd" command.
From there, just type:
./lac
to launch Linux Air Combat.
You asked "Any way to create an executable desktop icon?"
Yes. Linux Air Combat follows all of the well-known conventions that are required for compatibility with the "shortcut" standards of all of the popular LINUX desktop environments. You can create a menu-based shortcut for that "lac" script according to whatever standards are in place in your chosen desktop environment, according to well-established LINUX norms.
If you have not yet run our install.sh script, you may have been invoking LAC directly by typing "./Lac07p96" from the folder containing the compiled executable. That method also works, but the preferred method is to take advantage of the "install.sh" script and its subsequent creation of the "lac" script, since that tiny little "lac" script makes it easy to create a menu-based shortcut for any of the popular desktop environments.
Have you also installed the free, well-known "mumble" voice communication application? If so, when you connect Mumble with LinuxAirCombat.com you can speak directly with me or others in the LAC community and we can talk you through this stuff.
-Bob-
Last edit: bbosen 2020-08-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I compiled from Lac07p96. Could not install V792a.
Reason; the 'install.sh' scripts contain a function not recognised by my
Kubuntu release.
The offending lines are;
I'm not sure I understand your situation exactly. Do you have LAC working to your satisfaction? I hope so and I'm willing to help if you still need support.
The "install.sh" script is essentially identical for version 7.92 (which seems to have given you trouble) and for version 7.96 (which you may have working???) I cannot understand why the version for 7.96 would work but the version for 7.92 would not. I must be misunderstanding you somehow....
It is not essential to use that install script. You can always just enter the folder containing the executable and run it according to long-standing LINUX norms. After a successful compilation, that folder will always be located beneath the source code folder at ~/bin/Release.
So if you have compiled Linux Air Combat version 7.96 from a folder named "Lac07p96" beneath your "Downloads" folder, you would use the well-known "cd" ("Change Directory") command as follows, commencing from a command prompt in your home directory:
cd Downloads/Lac07p96/bin/Release
Then you would run LAC by typing:
./Lac07p96
The first time you do this, LAC will determine that it has not yet been installed and it will copy all of the required configuration files into their appropriate locations within your local filesystem, creating the required ~/home/.LAC folder in the process.
The SECOND and subsequent times you issue that "./Lac07p96" command, LAC should run as advertised.
Using this method will NOT create the convenient little "lac" script in your home folder for you, so it isn't quite as simple to create shortcuts for launching from a graphical menu, but LAC will work well either way. Many people use both methods.
-Bob-
Last edit: bbosen 2020-03-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I forgot the location of the exec file.
Going to ~/bin/release, then entering ./Lac07p96, launches the LAC.
I found the hidden ~home/.LAC folder
So, I surmise I have it working now.
So now I need to make a shortcut to the exec file, and buy a compatible
flight stick.
I see lots of potential for the LAC. Many thanks for your hard work.
best wishes,
Last edit: bbosen 2020-03-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After very much work finding all dependencies for the Kubuntu QT o/s, compiling, and invoking the script to launch... I got this app to launch. But the window is microscopic small, and the text in menus even smaller. How to make this app resolve full screen for a 4k monitor?
Rob:
Thanks for asking. I'm very glad you had success finding all of the prerequisites and compiling LAC. As you have observed, LAC starts out in a small window. By default, it starts at 640x480 resolution, which is going to be inconveniently small on a huge 4K monitor. You can change that window size by editing the LacConfig.txt file that's stored in a new, hidden folder named ".LAC" in your home directory. The video resolution is near the top of that file and the fields that you need to edit are surrounded by detailed instructions.
Here is a video clip showing exactly what to do. You will only need the first 5 minutes of this longish clip:
Best Regards, Welcome to LAC!
-Bob-
Last edit: bbosen 2020-08-27
Hi. Thanks for reply! I found the file and changed the resolution.
Now, I cannot remember the terminal command to invoke the app !
Any way to create an executable desktop icon?
thanks.
Last edit: bbosen 2020-03-19
You asked about starting Linux Air Combat.
If you have already run our "install.sh" installation script as described in this brief video clip from our "Video HowTo" section:
....then you will find a tiny little script named "lac" in your home folder. It is executable, so you can run it by changing to your home folder with the well-known "cd" command.
From there, just type:
./lac
to launch Linux Air Combat.
You asked "Any way to create an executable desktop icon?"
Yes. Linux Air Combat follows all of the well-known conventions that are required for compatibility with the "shortcut" standards of all of the popular LINUX desktop environments. You can create a menu-based shortcut for that "lac" script according to whatever standards are in place in your chosen desktop environment, according to well-established LINUX norms.
If you have not yet run our install.sh script, you may have been invoking LAC directly by typing "./Lac07p96" from the folder containing the compiled executable. That method also works, but the preferred method is to take advantage of the "install.sh" script and its subsequent creation of the "lac" script, since that tiny little "lac" script makes it easy to create a menu-based shortcut for any of the popular desktop environments.
Have you also installed the free, well-known "mumble" voice communication application? If so, when you connect Mumble with LinuxAirCombat.com you can speak directly with me or others in the LAC community and we can talk you through this stuff.
-Bob-
Last edit: bbosen 2020-08-27
Thanks again for reply.
I compiled from Lac07p96. Could not install V792a.
Reason; the 'install.sh' scripts contain a function not recognised by my
Kubuntu release.
The offending lines are;
!/bin/bash -e
function jumpto
{
label=$1
cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$')
eval "$cmd"
exitfile:///home/ron/Software/LinuxAirCombat/V792/v792a/install.sh
}
full file attached.
-regards,
Last edit: bbosen 2020-03-19
Rob,
I'm not sure I understand your situation exactly. Do you have LAC working to your satisfaction? I hope so and I'm willing to help if you still need support.
The "install.sh" script is essentially identical for version 7.92 (which seems to have given you trouble) and for version 7.96 (which you may have working???) I cannot understand why the version for 7.96 would work but the version for 7.92 would not. I must be misunderstanding you somehow....
It is not essential to use that install script. You can always just enter the folder containing the executable and run it according to long-standing LINUX norms. After a successful compilation, that folder will always be located beneath the source code folder at ~/bin/Release.
So if you have compiled Linux Air Combat version 7.96 from a folder named "Lac07p96" beneath your "Downloads" folder, you would use the well-known "cd" ("Change Directory") command as follows, commencing from a command prompt in your home directory:
cd Downloads/Lac07p96/bin/ReleaseThen you would run LAC by typing:
./Lac07p96The first time you do this, LAC will determine that it has not yet been installed and it will copy all of the required configuration files into their appropriate locations within your local filesystem, creating the required ~/home/.LAC folder in the process.
The SECOND and subsequent times you issue that "./Lac07p96" command, LAC should run as advertised.
Using this method will NOT create the convenient little "lac" script in your home folder for you, so it isn't quite as simple to create shortcuts for launching from a graphical menu, but LAC will work well either way. Many people use both methods.
-Bob-
Last edit: bbosen 2020-03-19
HI:
Many thanks for reply and kind help.
I forgot the location of the exec file.
Going to ~/bin/release, then entering ./Lac07p96, launches the LAC.
I found the hidden ~home/.LAC folder
So, I surmise I have it working now.
So now I need to make a shortcut to the exec file, and buy a compatible
flight stick.
I see lots of potential for the LAC. Many thanks for your hard work.
Last edit: bbosen 2020-03-19