Friday, July 29, 2022

The project

 https://wiki.freepascal.org/MouseAndKeyInput


https://forum.lazarus.freepascal.org/index.php?topic=48835.0


https://www.getlazarus.org/forums/viewtopic.php?t=51

https://www.howtogeek.com/812717/how-to-circle-invalid-data-in-microsoft-excel/

PolyBar - https://www.youtube.com/watch?v=tOBDUBEMAKM&t=888s

NeoFetch - Self Explanatory, Just find the config file


 - https://www.youtube.com/watch?v=PLBm0C5Gv58 and

https://www.youtube.com/watch?v=7lLa4IoVdCo&t=22s


https://www.howtogeek.com/814829/how-to-fix-the-most-annoying-things-about-windows-11/

https://www.howtogeek.com/howto/3061/burn-any-video-file-type-to-play-on-a-dvd-player/

How to Fix rc=1908 Error

xbps-reconfigure -fx linux
/usr/share/xbps.d

sudo SSL_NO_VERIFY_PEER=true xbps-install -S xbps

sudo nano /etc/resolv.conf

sudo xbps-install -Syu
https://forum.odroid.com/viewtopic.php?t=37873

https://linuxnatives.net/2012/migrating-from-virtualbox-to-virt-manager

https://youtu.be/2Q68TzkQUD8

https://youtu.be/sYz0mjyp29A

https://github.com/furryfixer/vkinfo/blob/main/vkinfo

https://portableapps.com/apps/office/cherrytree-portable


Windows 10+11 Sound Keyboard Application

THE BEST APPLICATIONS FROM ME


  1. unit Main;
  2.  
  3. {$mode objfpc}{$H+}
  4.  
  5. interface
  6.  
  7. uses
  8.   Classes,
  9.   SysUtils,
  10.   Forms,
  11.   Controls,
  12.   Graphics,
  13.   Dialogs,
  14.   ExtCtrls,
  15.   StdCtrls,
  16.   FileUtil,
  17.   codebot.Networking.Ftp,
  18.   codebot.System;
  19.  
  20. type
  21.  
  22.   { TForm1 }
  23.  
  24.   TForm1 = class(TForm)
  25.     Button1: TButton;
  26.     Memo1: TMemo;
  27.     Panel1: TPanel;
  28.     procedure Button1Click(Sender: TObject);
  29.     procedure FormCreate(Sender: TObject);
  30.   private
  31.     FTPClient: TFtpClient;
  32.     procedure Progress(Sender: TObject; const Size, Transmitted: LargeWord);
  33.   public
  34.  
  35.   end;
  36.  
  37. var
  38.   Form1: TForm1;
  39.  
  40. implementation
  41.  
  42. {$R *.lfm}
  43.  
  44. { TForm1 }
  45.  
  46. procedure TForm1.Button1Click(Sender: TObject);
  47. var
  48.   FileList: TStringList;
  49.   i: Integer;
  50. begin
  51.   FileList := TStringList.Create;
  52.   FindAllFiles(FileList,
  53.     '/location/on/your/disk',
  54.     '*', False);
  55.   Memo1.Lines.Clear;
  56.   Memo1.Lines.Add(FileList.Text);
  57.  
  58.   FTPClient.Connect;
  59.   FTPClient.MakeDir('StorageFolder');
  60.   FTPClient.ChangeDir('StorageFolder');
  61.  
  62.   for i := 0 to FileList.Count -1 do begin
  63.     Memo1.Lines.Add('Uploading file ' + ExtractFileName(FileList[i]));
  64.     FTPClient.FilePut(FileList[i], ExtractFileName(FileList[i]));
  65.   end;
  66.  
  67.   FTPClient.Disconnect;
  68. end;
  69.  
  70. procedure TForm1.FormCreate(Sender: TObject);
  71. begin
  72.   FTPClient := TFTPClient.Create;
  73.   FTPClient.Host := 'hostname.domain.tld';
  74.   FTPClient.UserName := 'username';
  75.   FTPClient.Password := 'password';
  76.   FTPClient.OnProgress:=@Progress;
  77. end;
  78.  
  79. procedure TForm1.Progress(Sender: TObject; const Size, Transmitted: LargeWord);
  80. begin
  81.   Memo1.Lines.Add('Progress: ' + IntToStr(Transmitted) + '/' + IntToStr(Size));
  82. end;
  83.  
  84. end.
  85.                  
  86.  

Friday, July 15, 2022

Dualboot Windows efi and Linux

 https://www.majorgeeks.com/files/details/osl2000_boot_manager.html


https://sourceforge.net/projects/supergrub2/


https://www.supergrubdisk.org/


https://neosmart.net/EasyBCD/


https://www.linuxfoundation.org/blog/classic-sysadmin-how-to-rescue-a-non-booting-grub-2-on-linux/

https://pkgs.org/download/skype

https://flathub.org/apps/details/com.skype.Client

https://www.cyberithub.com/solved-no-remote-refs-found-similar-to-flathub-error/


flatpak install flathub com.skype.Client


flatpak run com.skype.Client

https://www.onlineocr.net/

http://www.uniformserver.com/

https://ossf.denny.one/en/resourcecatalog/Program-Development/Programming-Languages/C&Cplus/Compiler.html

https://github.com/melisplatform

https://www.melistechnology.com/




https://gabrieltanner.org/blog/customizing-terminal-using-ohmyzsh/

Void Linux based distros:


https://vxlinux.org/


https://beanpole135.github.io/profile-website/project-trident


Napomena, kada koristite dual-boot sa Windows operativnim sistemima, koristite EasyBCD da dodate u Windows boot meni i stavku za Void Linux.

Ako koristite GPT umesto BIOS (dos) particija, onda morate koristiti i SuperGRUBdisk.iso, a ovaj ISO možete dodati u EasyBCD kao ISO stavku (koristite podizanje ISO iz memorije, mnogo je brže, a i SuperGRUBdisk.iso je veoma mali oko 12 MB, a izuzetno koristan).

MORE TIPS:


https://kobra.dev/

https://frinklang.org/

https://crystal-lang.org/

http://www.groovy-lang.org/

https://scoop.sh/

https://dlang.org/

https://www.embarcadero.com/free-tools/dev-cpp

https://www.embarcadero.com/free-tools/ccompiler

https://www.embarcadero.com/free-tools/rest-debugger

https://www.telegraf.rs/vesti/srbija/3527954-poverenik-za-informacije-od-javnog-znacaja-objavio-uputstvo-za-popunjavanje-informatora-o-radu-organa-vlasti

Organi vlasti dužni su da ispune ovu obavezu, pod pretnjom prekršajne odgovornosti, u roku od godinu dana od dana stupanja na snagu ovog zakona, odnosno do 16. novembra 2022. godine.

https://informator.poverenik.rs/pristup


Windows 10+11 Sound Keyboard Application

THE BEST APPLICATIONS FROM ME

https://beogradsko.blogspot.com/2020/08/ukratko-najbolje-od-mene-za-sada.html

https://knockoutjs.com/


https://wiki.lazarus.freepascal.org/Developing_with_Graphics#Taking_a_screenshot_of_the_screen

https://www.getlazarus.org/helpers/ftpclient/

https://www.getlazarus.org/learn/tutorials/examples/ftpclient/

https://www.howtogeek.com/howto/windows/adding-a-tcpip-route-to-the-windows-routing-table/

Tuesday, July 12, 2022

Monday, July 11, 2022

Void Linux - an incredible linux distro indeed

 Void Linux idle RAM usage:


Void Linux idle htop RAM usage = 280 MB:


Void Linux + Firefox +YouTube + htop RAM usage = 688 MB:


Void Linux + FreeTube + htop RAM usage = 532 MB:



Install>

Boot your machine from the install media you created. If you have enough RAM, there is an option on the boot screen to load the entire image into ram, which will take some time but speed up the rest of the install process.

Once the live image has booted, log in as root with password voidlinux and run:

# void-installer



Post-install>

# xbps-install -Su

# xbps-install -S pulseaudio

# xbps-install -S pavucontrol

# xbps-install -S xfce4-pulseaudio-plugin

# xbps-install -S htop

# xbps-install -S xfce4-xkb-plugin

(right click mouse on Panel, +Add Panel, +add Keyboard Layouts), select your flag - keyboard layout and enjoy !

In Settings > Keyboard you can add other keyboard layouts.

http://photonucleon.blogspot.com/2014/03/setting-up-xfce-desktop-with-void-linux.html

https://www.howtogeek.com/768053/how-to-ssh-into-your-raspberry-pi/

How to install Skype on Void XFCE:

https://flathub.org/apps/details/com.skype.Client


https://www.cyberithub.com/solved-no-remote-refs-found-similar-to-flathub-error/


flatpak remotes


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


flatpak remotes


flatpak install flathub info.febvre.Komikku


flatpak install flathub com.skype.Client


flatpak run com.skype.Client

https://gabrieltanner.org/blog/customizing-terminal-using-ohmyzsh/

Dual-boot with Void Linux, Windows 10 and 11 that always work:

https://sourceforge.net/projects/supergrub2/


https://www.supergrubdisk.org/


Just use SuperGrubDisk.iso to show all partitions and boot Linux partition alongside other Windows partitions.


Alternative with dos mbpr (no EFI or gpt):

https://neosmart.net/EasyBCD/



Windows 7,8,10 and 11 on Void Linux:

https://blog.daveeddy.com/2019/02/11/kvm-virtualization-with-virtmanager-on-void-linux/

https://theupbeat.github.io/posts/vm_2/


Windows 10+11 Sound Keyboard Application


More tips from my realm Working on Wine and Winblows:

My humble freeware applications:

Sound Keyboard is free now !

FIND & OPEN applications for free !

Screenter the Majesty is free now !

Thursday, July 7, 2022

Alpine Linux i3 installation

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.



Post installation commands:

# apk update

# apk add xf86-video-intel xf86-input-intel xf86-video-fbdev xf86-video-vesa

# apk add terminus-font xrandr

# apk add dbus doas nano

# dbus-uuidgen > /var/lib/dbus/machine-id

# rc-update add dbus 



# nano /etc/doas.d/doas.conf

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

permit persist :wheel



# setup-xorg-base 

# apk add i3wm i3status xterm firefox-esr geany thunar pulseaudio pavucontrol

# apk add icu-data-full                     ----►(for non-unicode locales)

# adduser joe

# adduser joe wheel

# addgroup joe input 

# addgroup joe video

# adduser joe video

# adduser joe audio

# adduser root video

# adduser root audio

# rc-service dbus start

# rc-update add dbus

# rc-update add udev


$ pulseaudio -k

$ pulseaudio --start

$ pavucontrol

xrandr 

xrandr -s 1024x768

$ startx /usr/bin/i3

Press enter for the first time to select Win mod key, when you enter in i3 environment first time.

Important notice: Write on paper file path to i3 config file !


In i3 config just add:

 

In my case you have for instance file:

/home/joe/.config/i3

In that file just add following lines:


bindsym $mod+Shift+t exec xterm

bindsym $mod+Shift+w exec firefox

bindsym $mod+Shift+d exec geany

bindsym $mod+Shift+f exec thunar



So it works like...

If you want to start terminal press Win+Shift+t,

If you want to start firefox press Win+Shift+w,

If you want to start file manager press Win+Shift+f,

If you want to start text editor press Win+Shift+d,

If you want to close selected window press Win+Shift+d, that is like ALT+F4 (but alt+f4 not working in i3).

If you want to close i3wm, just press Win+Shift+e.


Isn't it sweet ?





Optional part:


But nitrogen is not in repositories ?
# apk add nitrogen
add line to /home/joe/.config/i3:
exec --no-startup-id nitrogen --set-auto /path/pic1.jpg --head=0 && nitrogen --set-auto /path/pic2.png --head=1

The Negative aspects of Alpine Linux are:

1.) Repository has not "nitrogen".
2.) ImageApp not working.

Instead of ImageApp you can use better solution = it is FLATPAK.
FLATPAK can install almost everything.



Lightdm exist in repositories, that is awesome :)

And last settings for loging Lightdm stuff:

# apk add lightdm lightdm-gtk-greeter

# rc-update add lightdm

# echo "exec startx /usr/bin/i3" >> ~/.xinitrc

# rc-service lightdm start


Select user joe from lightdm form and enter proper user password for joe !

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

That is i3wm installation, if you like rich XFCE try this:

https://beogradsko.blogspot.com/2022/06/alpine-linux-is-best-for-now.html

Docker Tips:

https://www.codeproject.com/Tips/5336563/Run-Database-and-GUI-Clients-in-Docker

https://www.codeproject.com/Articles/5336578/Lightweight-Carousel-Using-only-HTML-CSS-JavaScrip

https://www.codeproject.com/Articles/5336369/Porting-a-Large-Project-from-Windows-to-Linux

Wednesday, July 6, 2022

Fedora xfce idle RAM usage ~ 600 MB

 My suggestion to you, avoid Fedora if you can !


Beware: ☺► FreeTube ImageApp and RPM install of FreeTube "working", but reproduction of video and audio not working on Fedora.

Fedora is not good and easy like some Debian based distros. Some apps not working, panel bar sometimes flickering!

Please compare 576MB of idle RAM usage in Fedora and 280MB idle RAM usage in Void Linux !

Both distros use XFCE, and what a difference !

Fedora is overbloated Linux distro after all.


MORE TIPS:

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