Monday, July 4, 2022

ARCH LINUX for beginners

XFCE instalacija na ARCH Linuxu:

Evo uputstva na engleskom, koji verovatno svi razumete. Uputstvo sam napravio na engleskom da što veći broj ljudi razume koliko je u stvari instalacija Arch Linux-a jednostavna, zaboravite na Arch Wiki.

First load Arch Linux, then start following command:

archinstall


You must have at least 3 partitions, like:
/root  100G            ◄----ext4
/boot  * 512M    ◄----ext4
/swap 4G            ◄-----linux swap

When you create partition be sure to select "dos" option at first.
Warning, partition "/boot" must be set as [boot], if everything is fine then you must see * asterisk near boot partition.

If you not set /boot partition as boot, grub will not working properly.

After creating of partitions, you must to select proper partition and confirm that.

After "installing applications", you must to rotate down the mouse wheel to continue with installer, do not leave or close installer until all stuff was installed !

During installation process you must to choose "pulseaudio", that is very important !

After successful completion of "archinstall" script and reboot, you must to do post-installation steps:

sudo pacman -Syyu

sudo pacman -S nano doas


-----------------------------------

nano /etc/doas.d/doas.conf

Add the following line and save the file (ctrl+O, Enter, ctrl+X):

permit persist :wheel

-----------------------------------

sudo pacman -S elogind polkit-elogind

sudo pacman -S xorg xfce4 xfce4-terminal xfce4-screensaver lightdm-gtk-greeter dbus

sudo pacman -S xfce4-pulseaudio-plugin

sudo pacman -S pavucontrol firefox

sudo pacman -S xfce4-xkb-plugin

reboot


Kada instalirate xfce4-xkb-plugin, onda možete šaltovati jezike, ako ste prethodno u Settings - Keyboard - Layouts namestili layoute za engleski, srpsku cirilicu i latinicu.

Pre uportebe treba da dodate Keyboard Layout Switcher u Panel, desni taster miša na Panel, pa add to Panel.

Nakon toga je vreme da podesimo splash formu za logovanje na sistem ili "Lightdm":

Tu se unosi username i password pre ulaska u desktop...

Loging settings - Lightdm settings:

---------------------------------

sudo nano /etc/lightdm/lightdm.conf

just uncomment, remove # at line:

greeter-session=lightdm-gtk-greeter

make sure that =lightdm-gtk-greeter

after change, just press  (ctrl+O, Enter, ctrl+X) to save it.

------------------------------

lightdm --test-mode --debug

Very important command:

sudo systemctl enable lightdm -f

Following command is not necesary:

lightdm --test-mode --debug

More useful tips:

https://www.addictivetips.com/ubuntu-linux-tips/set-up-lightdm-on-arch-linux/

Ovde je ukratko objašnjen ceo postupak instalacije Arch linux-a, kao što možete primetiti uopšte nije tako komplikovano.

Sada priznajte, da li ste na nekom drugom web sajtu videli ovako jednostavan postupak, čak i na ArchWiki je ultra komplikovano i konfuzno objašnjeno kako instalirati Arch.

Evo dokaz da Arch instalacija može biti ultra jednostavna.

Koristio sam XFCE jer je najsličniji Windows-u koji koristi većina ne-Linux korisnika, odnosno, običnih korisnika kompjutera.

Imate sve od zvuka, mreže, firefox, sve kompletno i funkcioniše, sve ostalo možete sami instalirati koristeći pacman -S (naziv-aplikacije).

 

Arch Linux RAM usage in XFCE:

Arch + xfce + firefox + youtube = 1.03 GB 


Arch + xfce + freetube = 734 MB




More tips:

yaourt -Syua

https://archlinux.fr/yaourt-en

https://www.linuxcapable.com/how-to-install-clamav-on-arch-linux/

https://itsfoss.com/best-xfce-themes/

https://www.howtogeek.com/814478/how-to-change-the-rdp-port-on-windows-10/



Anydesk is available for Arch Linux users. However, there are no download instructions on the Anydesk website. Instead, Arch Linux users will need to rely on the Arch Linux AUR.


To start the installation, you will need to install the Trizen AUR helper. Install Trizen with the commands below.


sudo pacman -S git base-devel

git clone https://github.com/trizen/trizen

cd trizen

makepkg -sri


After installing the Trizen AUR helper, you will be able to install Anydesk on Arch Linux with the following command.

trizen -S anydesk-bin


Windows 10+11 Sound Keyboard Application

Arch Linux Serbia

Користите ћирилицу Караџића Вука !  Линукс на ћирилици је најбољи !

Friday, July 1, 2022

Archbang i3

 Archbang i3 stuff:


sudo pacman -Syyu

sudo pacman -S htop

sudo pacman -S nano

If you have problems with keyrings - just try link:

https://dev.to/mattdark/signature-is-unknown-trust-arch-linux-on-vbox-3452

For download mirrors select some close and big country, small countries can be bloated or corrupted.

https://archbang.org/guide/

https://www.cyberciti.biz/faq/how-to-install-htop-on-arch-linux/

https://wiki.archlinux.org/title/pacman

https://opensource.com/article/18/8/getting-started-i3-window-manager#:~:text=Finally%2C%20to%20end%20your%20session,exit%20or%20X%20to%20cancel.

https://wiki.archlinux.org/title/xrandr

https://dev.to/mattdark/signature-is-unknown-trust-arch-linux-on-vbox-3452

Super key is windows key in i3:

https://help.ubuntu.com/stable/ubuntu-help/keyboard-key-super.html.en

https://sourceforge.net/projects/bridgelinux/



+

+

HTML to PDF

https://www.phplift.net/how-to-create-pdfs-from-html-with-php-and-dompdf

Windows 10 and 11 disable Superfetch - SysMain:

https://www.howtogeek.com/811043/disable-superfetch/

Credit:

https://www.howtogeek.com/763825/how-to-get-live-wallpapers-on-windows-11/





https://www.howtogeek.com/742187/how-to-remove-section-and-page-breaks-in-microsoft-word/


https://www.howtogeek.com/811619/how-to-make-system-image-backups-on-windows-11/


https://www.howtogeek.com/816919/microsoft-office-delays-blocking-dangerous-downloaded-macros/


https://www.howtogeek.com/809793/how-to-create-your-own-bibliography-template-in-microsoft-word/


https://www.howtogeek.com/743633/how-to-delete-temporary-files-on-windows-10/


Arch Linux Serbia

By: joel

Thursday, June 30, 2022

LUA to EXE

 https://github.com/ers35/luastatic


https://github.com/rjpcomputing/luaforwindows


https://github.com/rjpcomputing/luaforwindows/releases


https://github.com/neomutt/lua-samples


https://github.com/tshwanedje/lua-samples


https://www.lua.org/pil/1.html


http://www.inf.puc-rio.br/~roberto/book/code.html


https://rspamd.com/doc/lua/examples.html


https://foldit.fandom.com/wiki/Lua_Scripting_Tutorial_(Advanced)


SKIA for Delphi

https://github.com/skia4delphi/skia4delphi/releases/tag/v3.4.0


SVG Editors:

https://www.justinmind.com/blog/best-free-paid-svg-editors-download-online/



BSPWM installing:

https://www.instructables.com/Bspwm-Installation-and-Configuration/

https://www.maketecheasier.com/install-configure-bspwm/

https://wiki.archlinux.org/title/bspwm


Python on Linux:

https://linuxhint.com/run-python-scripts-linux/

https://introcs.cs.princeton.edu/python/linux3/



Archbang i3 stuff:


sudo pacman -Syyu

sudo pacman -S htop

sudo pacman -S nano

If you have problems with keyrings try nex link:

https://dev.to/mattdark/signature-is-unknown-trust-arch-linux-on-vbox-3452

For download mirrors select some close and big country, small countries can be bloated or corrupted.

https://archbang.org/guide/

https://www.cyberciti.biz/faq/how-to-install-htop-on-arch-linux/

https://wiki.archlinux.org/title/pacman

https://opensource.com/article/18/8/getting-started-i3-window-manager#:~:text=Finally%2C%20to%20end%20your%20session,exit%20or%20X%20to%20cancel.

https://wiki.archlinux.org/title/xrandr

https://dev.to/mattdark/signature-is-unknown-trust-arch-linux-on-vbox-3452

Super key is windows key in i3:

https://help.ubuntu.com/stable/ubuntu-help/keyboard-key-super.html.en

https://sourceforge.net/projects/bridgelinux/


Arch Linux Serbia

Monday, June 27, 2022

Alpine Linux is the best for now

Please do not experiment with Alpine, there is a wrong way to install Alpine, and the right way like this =

BIOS TIPS for beginners=

The Alpine Linux installation ISO uses root as the default user and an empty password. In order to login, just enter the username root and press return.


[Initial password for root not exists, just press enter. There is no root password for the first time in Alpine Linux.]

[You can setup root and user passwords later during the setup process.]

[type = root]
[login as root for the first time] 

[You can use su command to gain root access]

su

setup-alpine


us
us
localhost
eth0
UTC
none
none
1
none
busybox
sda
sys
y


reboot

[remove installation DVD or Flash device]

[type = root]

[login as root for the first time]


setup-desktop


[ select XFCE and enjoy! ]

[ or you can try manual method without script... ]

apk add nano doas 




nano /etc/apk/repositories

[   Please remove # before all mirorr paths, and save the file  (ctrl+O, ctrl+X)   ]

/etc/apk/repositories must look like this (or you can add these lines to the existing ones) = 

http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing




apk update

adduser joe

adduser joe wheel

nano /etc/doas.d/doas.conf

Add the following line and save the file  (ctrl+O, ctrl+X):

permit persist :wheel


apk update

setup-xorg-base

apk add elogind polkit-elogind

adduser root video
adduser root input
adduser root games

adduser joe video
adduser joe input
adduser joe games


apk add xfce4 xfce4-terminal xfce4-screensaver lightdm-gtk-greeter dbus

rc-service dbus start

rc-update add dbus

rc-update add udev

rc-update add lightdm

rc-service lightdm start


[for the next command you must be simple user, for that type exit command to exit from root]

exit

[if you have previously created user  ClintEastwood, than type user ClintEastwood, and password for that user]

[now you can see $ sign]


$ echo "exec startxfce4" >> ~/.xinitrc


[that  echo command must be deployed for every user]

su

reboot


startx

[instead of sudo you can use doas command to start commands as root while you are login as simple user]

Congratulations, you have successfully installed Alpine Linux.
Now it remains to take care of the sound.


Alpine Linux Sound working if you try this:


apk add pulseaudio htop neofetch xdg-utils

apk add xfce4-pulseaudio-plugin

apk add pavucontrol

apk add xfce4-xkb-plugin

reboot

------------

https://wiki.alpinelinux.org/wiki/Printer_Setup


------------

Warningjust type su command for root access. Or you can use doas command before any other command. Doas is similar to sudo.

------------

nano /etc/lighdm/lightdm.conf

Do not add the following line and save the file (ctrl+O, ctrl+X):

default-user ClintEastwood

-------

A child from kindergarten can install Alpine linux independently.





Usage of Flatpak on Alpine Linux (in GUI Wizard manner):

FLATPAK AppStore with GUI ON ALPINE:

apk upgrade
apk update 
apk add gnome-software

apk add gnome-software-plugin-flatpak
apk add gnome-apps-extra
apk add gnome-games-collection
apk add pipewire wireplumber gst-plugin-pipewire
rc-update add apk-polkit-server default && rc-service apk-polkit-server start

setup-desktop gnome

reboot

apk add flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

reboot



Gaming on Alpine =


STEAM WORKING ON ALPINE LIKE A CHARM IF YOU DO THIS =





GNOME on top XFCE is the winning solution for GUI AppStore for Flatpak

HTOP RAM USAGE = 728MB

If you want lighter solution, just use XFCE and Flatpak in terminal only.








https://wiki.alpinelinux.org/wiki/Steam

https://wiki.alpinelinux.org/wiki/Gaming_on_Alpine

https://www.linuxshelltips.com/install-openbox-alpine-linux/

htop

IDLE RAM USAGE with Geany, Firefox, Xfce installed = 241MB

That is total record in the Linux world:



Absolutely insane low resource for multimedia heavy usage @ Alpine Linux XFCE only:

htop = 241 MB

htop firefox = 458 MB

htop firefox + youtube = 800 MB 

Alpine Linux has lower resource usage than all linux distros and FreeBSD, Wow !



Windows 10 Sound Keyboard Application



++

https://springwell.rs/proizvodi/nature-essential-garsinija-kambodza

https://www.howtogeek.com/807862/handy-excel-features/


https://www.ubackup.com/


https://www.ubackup.com/clone/ssd-cloning-freeware-4348.html



Alpine openbox settings:

apk add feh 

apk add pcmanfm

apk add firefox

apk add htop

apk add neofetch

apk add geany


nano .config/openbox/autostart

xrandr -s 1360x768 &

feh --bg-fill /home/vlada/s.jpg


apk add feh 

apk add pcmanfm

apk add firefox

apk add htop

apk add neofetch

apk add geany



Alpine with twm:

$ echo "exec twm" >> ~/.xinitrc


startx






Create AI resources = 



WORK FROM HOME = 



MORE = 







Usage of Flatpak on Alpine Linux (in terminal manner) for terminal geeks:

You must be root #:

apk add flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

First download io.freetubeapp.FreeTube.flatpakref from FreeTube website:

flatpak install flathub /home/vlada/Downloads/io.freetubeapp.FreeTube.flatpakref

flatpak run io.freetubeapp.FreeTube



Or install from flathub:

flatpak search xonotic

flatpak install flathub org.xonotic.Xonotic

flatpak run org.xonotic.Xonotic

flatpak uninstall org.xonotic.Xonotic


flatpak install flathub com.vscodium.codium






s


You must follow instructions about installing Steam on Alpine=

https://wiki.alpinelinux.org/wiki/Steam

If you install flatpak first, and after that Steam, there are no problems at all.

As long as you use flatpak and don't compile, applications run perfectly on Alpine.

Musl has no effect on the operation of applications installed via Flatpak.

In order for Steam to work properly, you need to install the graphics drivers first =

https://wiki.alpinelinux.org/wiki/NVIDIA




https://github.com/git-sgmoore/AlpineLinux-DailyDriverDesktop


https://github.com/ibuetler/alpine-linux-setup


https://git.sr.ht/~bt/alpine-linux-setup


Thursday, June 23, 2022

Porteus modules preserve

http://brokenman.porteus.org/porteus/x86_64/testing/live-scripts/ 


cd /tmp

ls

cp firefox*.xzm /mnt/sda1/porteus/modules

ls


https://slackware.pkgs.org/current/slackware-x86_64/


https://slackware.uk/slackware/slackware64-current/slackware64/ap/htop-3.2.1-x86_64-1.txz



https://slakfinder.org/index.php?act=search&start=0&order=&maxresult=30&repo=0&name=htop&desc=&file=#results


Porteus, literally mean, portable OS, installed in an USB disk and carried over , in your pocket. Where ever, you are , when you have access to a Pc, insert the usb disk, change boot order in bios and boot to your favourite porteus OS.

When you need an application, go to slackfinder.org, search for your need and download. The file extension will be *.txz.

Right click on downloaded file, and convert it to xzm module.

Copy the module to your porteus/modules folder and activate(context menu)

If all required libraries are present, The application will work, when you start it from menu.

If not, open terminal, and type ldd /usr/bin/xxxx name. it will list out not found libraries. Search the net for them and add to /usr/lib64.Thumbs up.

No idea about zim notes. Check if this module works for you.

https://www.mediafire.com/file/48dgcmsf ... y.xzm/file

Slackel and Salix distros.

Arch based Porteus Nemesis:

https://forum.porteus.org/viewtopic.php?t=5481

https://archived.forum.manjaro.org/t/porteus-nemesis-a-manjaro-openrc-based-aufs-distribution/3659


https://www.instructables.com/Run-Windows-XP-on-Android-Device/