Today I tested the FPS Microgame from learning area of Unity 3D with Fedora linux distro.
The project works great even my hardware is old.
This is an screenshot of the running process of the project.
tutorials, tips, tricks, commands, programming, linux, windows, database, sql, python, programming language, Fedora, drawing, painting, tutorial, tutorials
[root@desk mythcat]# dnf install Downloads/hyper-3.0.2.x86_64.rpm
Last metadata expiration check: 0:14:49 ago on Sun 07 Mar 2021 11:22:49 AM EET.
Dependencies resolved.
================================================================================
Package Architecture Version Repository Size
================================================================================
Installing:
hyper x86_64 3.0.2-3440 @commandline 37 M
Transaction Summary
================================================================================
Install 1 Package
Total size: 37 M
Installed size: 141 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : hyper-3.0.2-3440.x86_64 1/1
Running scriptlet: hyper-3.0.2-3440.x86_64 1/1
Verifying : hyper-3.0.2-3440.x86_64 1/1
Installed:
hyper-3.0.2-3440.x86_64
Complete!
[root@desk Downloads]# dnf install local-5.9.9-linux.rpm
...
Installed:
local-5.9.9-20210215.1.x86_64 ncurses-compat-libs-6.2-3.20200222.fc33.x86_64
nss-tools-3.60.1-1.fc33.x86_64
Complete!
# check the branch that you committed to by accident, in this case, is master
git checkout master
# reset the branch back one commit
git reset --soft HEAD^
# use stash to record the current state of the working directory
git stash
# checkout the branch it should be in, in this case, is mymain
git checkout mymain
# apply the stash
git stash apply
# commit the changes
git commit -am "main commit"
# then push the changes to our main branch
git push origin mymain
# checkout the original branch, in this case, is master
git checkout master
# the last step is to force push the commit deletion to the original branch.
git push --force origin master
Hope this help's !!
[root@desk mythcat]# dnf search obconf
...
obconf.x86_64 : A graphical configuration editor for the Openbox window manager
[root@desk mythcat]# dnf install obconf.x86_64
Last metadata expiration check: 0:25:25 ago on Sat 13 Feb 2021 11:49:09 AM EET.
Package obconf-2.0.4-17.20150213git63ec47.fc33.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
<application type="normal">
<position>
<x>center</x>
<y>center</y>
</position>
</application>
<keybindkey="XF86AudioRaiseVolume">
<actionname="Execute">
<command>amixersetMaster5%+unmute</command></action>
</keybind>
<keybindkey="XF86AudioLowerVolume">
<actionname="Execute">
<command>amixersetMaster5%-unmute</command></action>
</keybind>
<keybindkey="XF86MonBrightnessDown">
<actionname="Execute">
<command>xbacklight-20</command>
<startupnotify><enabled>yes</enabled><name>Decreasescreenbrightness</name></startupnotify></action>
</keybind>
<keybindkey="XF86MonBrightnessUp">
<actionname="Execute">
<command>xbacklight+20</command>
<startupnotify><enabled>yes</enabled><name>Increasescreenbrightness</name></startupnotify></action>
</keybind>
[mythcat@desk ~]$ openbox --reconfigure
[mythcat@desk ~]$ lxappearance
[root@desk mythcat]# lxdm-config
[root@desk mythcat]# setxkbmap -layout "us,ro" -option "grp:alt_shift_toggle".
[root@desk mythcat]# dnf search meson
Last metadata expiration check: 2:20:41 ago on Thu 11 Feb 2021 08:39:26 PM EET.
============================== Name Exactly Matched: meson ==============================
meson.noarch : High productivity build system
[root@desk mythcat]# dnf install meson.noarch
...
Installed:
meson-0.55.3-1.fc33.noarch ninja-build-1.10.2-1.fc33.x86_64
Complete!
[mythcat@desk ~]$ mkdir CProjects
[mythcat@desk ~]$ cd CProjects/
[mythcat@desk CProjects]$ vi main.c
[mythcat@desk CProjects]$ vi meson.build
#include
//
// main is where all program execution starts
//
int main(int argc, char **argv) {
printf("Hello there.\n");
return 0;
}
project('tutorial', 'c')
executable('demo', 'main.c')
[mythcat@desk CProjects]$ meson setup builddir
The Meson build system
Version: 0.56.2
Source dir: /home/mythcat/CProjects
Build dir: /home/mythcat/CProjects/builddir
Build type: native build
Project name: tutorial
Project version: undefined
C compiler for the host machine: cc (gcc 10.2.1 "cc (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)")
C linker for the host machine: cc ld.bfd 2.35-18
Host machine cpu family: x86_64
Host machine cpu: x86_64
Build targets in project: 1
Found ninja-1.10.2 at /bin/ninja
[mythcat@desk CProjects]$ cd builddir/
[mythcat@desk builddir]$ ls
build.ninja compile_commands.json meson-info meson-logs meson-private
[mythcat@desk builddir]$ meson compile
Found runner: ['/bin/ninja']
ninja: Entering directory `.'
[2/2] Linking target demo
[mythcat@desk builddir]$ ls
build.ninja compile_commands.json demo demo.p meson-info meson-logs meson-private
[mythcat@desk builddir]$ ./demo
Hello there.