Friday, July 5, 2024

vsmenu application for all Linux distros

vsmenu 

vsmenu is universal menu for all desktop environments and all window managers.

vsmenu is Linux native executable application.

Download link is = 

https://drive.google.com/file/d/13jZkENHUxlYe8cRI-D4RtVLQyt7Qd6Wo/view?usp=sharing




Vsmenu is free, but you can donate if you want, or...

Special offer:

Do you want to change the menu, layout, order of the icons, add some of your icons, your image with a link to your website? Do you want your own advertisement and animation? You can do all this for only $10.

So, every linux application is legendary or will become so. Participate in creating the future, leave an eternal mark in this Linux legendary application.

Imagine a Linux application with your image and your advertisement.

Only I offer you this possibility.



How did I create a vsmenu linux application?

Application was created with an excellent fpc and lazarus on Debian XFCE

sudo apt update

sudo apt install fpc lazarus

You do not need to install vsmenu, because it is simple executable application for Linux.

You do not need lazarus and fpc to run it.


Theme: Orchis-Dark-Compact

Icons: WhiteSur-dark [GTK2/3]

Terminal Font: Monospace 11



MORE TIPS=

https://webmail.yunet.rs/

https://ludovicrousseau.blogspot.com/

https://sourceforge.net/projects/scard4wine/

https://pcsclite.apdu.fr/

https://ubuntu.hu/blog/36404-36404

https://www.ca.posta.rs/dokumentacija/Korisnicka%20uputstva/Pdf/Uputstvo%20za%20instalisanje%20za%20Linux%20v1.3.pdf

sudo apt-get install pcscd
sudo apt-get install libusb-dev
sudo apt-get install libudev-dev


How to setup lxqt?

nano ~/.xinitrc


startlxqt &

exec dbus-launch --exit-with-session



https://medium.com/@regardt_5245/turn-your-old-computer-into-an-automated-backup-server-b7ab5ca01dae

Windows corner=

Shutdown:

shutdown /s /f /t 180 /m \\ComputerName

Restart:

shutdown /r /f /t 180 /m \\ComputerName

https://sourceforge.net/projects/avidemux/files/avidemux/2.8.1/

https://www.codeproject.com/Articles/5383889/SQLite-Helper-A-Micro-ORM-for-SQLite-Database


https://www.videosoftdev.com/free-video-editor

https://www.blackmagicdesign.com/products/davinciresolve

za serije https://showrss.info
za filmove https://www.1377x.to/

https://www.stremio.com/

https://real-debrid.com/

https://www.circuitsdiy.com/the-simplest-f-m-transmitter-ever-made/

Wednesday, July 3, 2024

Alpine Linux dwm za Srbiju

Installation process=

apk update

apk add nano doas


nano /etc/apk/repositories

[remove # sign, and save {CTRL+O, Enter, CTRL+X}]


apk update

apk add dwm

apk add alsa-utils alsa-lib alsa-plugins

rc-service alsa start

rc-update add alsa

aplay -l

alsamixer

adduser yourusername audio

speaker-test -c 2

apk add setxkbmap

apk add firefox geany xterm pcmanfm thunar libreoffice thunderbird inkscape gimp 



 ~/.xinitrc


rc-service alsa start &

pulseaudio --start &

setxkbmap -layout us,rs,rs -variant , latin -option grp:ctrl_shift_toggle &

exec dwm



Short dwm user manual=

Use Alt + P for commands for typing in the dmenu, like = firefox geany xterm pcmanfm thunar libreoffice thunderbird inkscape gimp st, etc.

Use Shift +Alt + Enter for st terminal application.

Use Shift + Alt + C to terminate focused window.

Use Ctrl + Shift to swich keyboard layouts between us-american, serbian cyrillic or serbian latin.


CLOCK.sh

export DISPLAY=:0

while :

do

DATE=$(/bin/date +"%a %b %d %H:%M")

ROOT="$DATE"

xsetroot -name "$ROOT"

sleep 1m

done 2>&1


#USAGE=

./CLOCK.sh


https://dwm.suckless.org/status_monitor/


while xsetroot -name "$(setxkbmap -print | grep xkb_symbols | awk '{print $4}' | awk -F"+" '{print $2}') | $(date +"%a, %b %d %Y | %H:%M")"
do sleep 2s
done &

https://www.gloriouseggroll.tv/how-to-get-out-of-wine-dependency-hell/
https://bbs.archlinux.org/viewtopic.php?id=96565
http://circuit-zone.com/?cat=fm_transmitters
http://electronics-diy.com/simple-miniature-fm-transmitter.php
https://store.steampowered.com/app/1962663/Call_of_Duty_Warzone/

https://store.steampowered.com/app/1938090/Call_of_Duty/





Saturday, June 29, 2024

Audio Alpine Linux = pipewire + moc + cava + qpwgraph

apk add bspwm bspwm-doc sxhkd dmenu rxvt-unicode xfce4 xfce4-terminal

apk add polybar picom


apk add pipewire wireplumber pipewire-pulse pipewire-alsa

apk add pipewire wireplumber pipewire-pulse pipewire-alsa

apk add xfce4-whiskermenu-plugin xfce4-screenshooter xfce4-pulseaudio-plugin

apk add qpwgraph gimp cava moc 


=Audio en Alpine Linux pipewire + moc + cava + qpwgraph




more...

https://wiki.alpinelinux.org/wiki/Xen_LiveCD

https://xenproject.org/2013/03/04/alpine-linux-and-xen/

https://wiki.alpinelinux.org/wiki/Xen_Dom0

https://alpine-devel.alpinelinux.narkive.com/wtADq8SZ/use-cases-of-alpine-linux-and-xen


http://electronics-diy.com/micro-transmitter-bug.php

Вештачки заслађивачи које би требало користити уз опрез


Е950 ацесулфам К

Е951 аспартам

Е952 цикламати


Вештачке боје које би требало користити уз опрез


Е102 тартразин

Е104 хинолин жута

Е110 оранж жута С

Е124 кошенила црвена А

Е129 алура црвена АС


Конзерванси које би требало користити уз опрез


нитрити Е249, Е250

нитрати Е251, Е252

парабени Е214, Е216, Е218


Брашна која доводе до киселе реакције у организму

  • Бело пшенично брашно
  • Кукурузно брашно
  • Овсено брашно
  • Ражано брашно
  • Јечмено брашно
  • Пиринчано брашно
  • Брашно од леблебија


Брашна гликемијски индекс

Пиринчано брашно 95

Бело пшенично брашно 85


++


Friday, June 14, 2024

rEFInd Boot Manager

 https://sourceforge.net/projects/refind/files/


The refind-bin file contains rEFInd binaries and filesystem driver binaries
for use on an EFI System Partition (ESP) or a Macintosh's OS X root
partition. These binaries have been signed with my own Secure Boot key and
so can be used with shim on Secure Boot systems; however, you'll have to
enroll the key with MokManager.

The refind-bin-gnuefi file is similar to refind-bin, except that the
refind_x64.efi binary was built using GNU-EFI rather than TianoCore EDK2.
This change helps some Arch Linux users who are running into problems
booting some (but not all) 3.7.x and 3.8.x kernels with the stock rEFInd
and some other tools; but this version can't launch BIOS-mode boot loaders.

The refind-cd file contains a bootable CD image file; burn it to an optical
disc and you should be able to boot rEFInd to test it without installing it
on your hard disk. This image is more likely to work on PCs than on Macs;
at least on some early Intel-based Macs, the CD boot process has special
requirements that this image doesn't meet. This image includes four EFI
filesystem drivers, as well as an open source EFI shell that's not included
in the other packages, which can make it useful for some simple emergency
recovery tasks on an EFI computer.

The refind-flashdrive file is similar to the refind-cd file, but it's
intended to create a bootable USB flash drive. You'll need to use the dd
utility in Linux or OS X, or something equivalent to it, to copy the image
file to a USB flash drive.

The refind-src file contains the source code to rEFInd (both the main
program and the EFI filesystem drivers), which you can build yourself. The
build process is based on Linux and uses the TianoCore toolkit or the
GNU-EFI library (for the main rEFInd program) and the TianoCore toolkit
(for the EFI filesystem drivers). It may be possible to adapt the build
process to work under OS X or Windows, but you're on your own if you try
this.

The binary RPM file can be installed directly on Red Hat, OpenSUSE, and
similar RPM-based distributions. It contains binaries that are equivalent
to those of the binary zip file, although they were built separately. Upon
installation, it copies the files to the ESP and registers rEFInd as the
default boot loader with the ESP, assuming the computer was booted in EFI
mode.

The binary Debian package is equivalent to the binary RPM file and can be
used in much the same way on Debian, Ubuntu, Mint, and other Linux
distributions that employ Debian packages.

The source RPM file might be buildable directly on an RPM-based
distribution, but distribution-specific details of GNU-EFI and TianoCore
file locations may prevent this from working. You can tweak the refind.spec
file (included in the refind-src file) and/or the various Makefiles (as
described in the BUILDING.txt file in the refind-src file) as necessary for
your platform.



The game of the day =


https://store.steampowered.com/app/2073850/THE_FINALS/




https://www.homemade-circuits.com/spy-bug-circuits/

https://store.steampowered.com/app/1962663/Call_of_Duty_Warzone/

https://store.steampowered.com/app/1674590/Histera/

https://store.steampowered.com/app/2087030/Shatterline/

https://www.ubisoft.com/en-gb/game/xdefiant

https://www.roblox.com/games/5938036553/FRONTLINES#!/about

https://github.com/dylanaraps

https://kisslinux.github.io/

Wednesday, May 22, 2024

Arch Linux bspwm install

sudo pacman -S bspwm sxhkd polybar picom dmenu dunst nitrogen alacritty thunar

 cd $HOME/.config

mkdir bspwm sxhkd polybar picom dunst

cp /usr/share/doc/bspwm/examples/bspwmrc bspwm/

cp /usr/share/doc/bspwm/examples/sxhkdrc sxhkd/

cp /etc/xdg/picom.conf picom/

cp /etc/polybar/config.ini polybar/

cp /etc/dunst/dunstrc dunst/

cd bspwm/

ls

chmod +x bspwmrc

nano bspwmrc

[delete bspc rule lines...add next lines...]

sxhkd &

picom --config $HOME/.config/picom/picom.conf &

nitrogen --restore &

dunst &

polybar &


[save and exit nano by press CTRL+O, enter, CTRL+X]


cd..

ls

cd sxhkd/

ls

nano sxhkdrc


[change next lines to...]


super + Return

        alacritty 


super + d

        dmenu_run


super + w

        firefox


super + e

        thunar


[save and exit nano by press CTRL+O, enter, CTRL+X]


https://makingcircuits.com/blog/spy-circuits-fm-bug-transmitters/

https://makingcircuits.com/blog/20-best-ic-741-based-diy-circuits/

https://electronics-diy.com/micro-transmitter-bug.php



Ne dozvoli da ono gde si sada postane plafon onoga što možeš postići!


Saturday, May 18, 2024

Weston (Wayland) on Void Linux

 https://store.comet.rs/Catalogue/Product/5600028/#e30%3D

**

sudo xbps-install weston
sudo usermod -a -G weston-launch `whoami`

Reboot to update the group assignment.

Now we can prepare the config. Let's create the file:

mkdir -p ~/.config
nano ~/.config/weston.ini

Then put something like this below. Change as you need.

[core]
xwayland=true

[keyboard]
keymap_layout=gb

[output]
name=LVDS1
mode=preferred
#mode=1680x1050
#transform=90

[launcher]
icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
path=/usr/bin/weston-terminal

[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/firefox.png
path=/usr/bin/firefox

Then run from a tty:

weston-launch

If any error is shown for XDG_RUNTIME_DIR, then run:

mkdir -p /tmp/westontmp
export XDG_RUNTIME_DIR=/tmp/westontmp

Press Ctrl+Alt+Backspace to logout. Super+Tab to switch between apps. Other basic keyboard shortcuts here.

Ref:












Tuesday, May 14, 2024

Tutorial = How to install LXQt on Void Linux

 root

voidlinux


void-installer

xbps-install void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree

xbps-install -Su

xbps-install -S xorg nano htop lightdm

xbps-install -S pipewire wireplumber 

[in case that sound not working= ]

xbps-install -S pulseaudio pavucontrol 

xbps-install -S pipewire-devel alsa-pipewire


xbps-install -S lxqt


xbps-install -S firefox

xbps-install -S libreoffice pcmanfm lxterminal




If startx not working, just try this=


cp /etc/X11/xinit/xinitrc ~/.xinitrc

nano ~/.xinitrc


startlxqt &
exec dbus-launch --exit-with-session



[CTRL] + O

[Enter]

[CTRL] + X

...Done... Enjoy in your new system! 

...

Oh, you must to do this as #root first=

ln -s /etc/sv/lightdm /var/service/

ln -s /etc/sv/lightdm /var/service/lightdm

xbps-install dbus

ln -s /etc/sv/dbus /var/service/dbus

xbps-install -S acpid

ln -s /etc/sv/acpid /var/service/acpid

xbps-install seatd

usermod -aG _seatd $USER

ln -s /etc/sv/seatd /var/service/seatd




startx


MORE TIPS=

Use sudo for ordinary user, or su to take root rights.

You can use sudo poweroff command to shutdown system. Or just poweroff, if you are a root.

You can use sudo reboot command to reboot system. Or just reboot, if you are a root.




Friday, May 3, 2024

Smart cards on Linux





 [[opensc card inspection


$ pcsc_scan


$ pkcs11-tool --list-slots


$ pkcs11-tool --list-objects --login


[[atomic operations, download certificate from a smartcard and show its content


$ pkcs11-tool --list-object --id 01 --type cert \

    --output-file cert.der


$ openssl x509 -inform DER -in cert.der > cert.pem


$ openssl x509 -inform DER -in cert.pem -text


$ pkcs11-tool --sign -id 01 --mechanism RSA-PKCS --login \

    --input-file data --output-file data.sig


$ openssl rsautl -verify -certin -inkey cert.pem \

    -in data.sig


[[openssh client

[[List public keys on the smart card in OpenSSH format


$ ssh-keygen -D /usr/lib64/pkcs11/opensc-pkcs11.so

ssh-rsa AAAAB3..............................Q==


[[Install the keys to the server

[[Connect to server


$ ssh -I /usr/lib64/pkcs11/opensc-pkcs11.so example.com

Enter PIN for 'PIV_II (PIV Card Holder pin)':


[[Store permanent configuration in client configuration


$ cat ~/.ssh/config

Host example.com

  PKCS11Provider /usr/lib64/pkcs11/opensc-pkcs11.so

[[RSA keys only (OpenSSH bug #2474)


[[OpenSSH Client (SSH-Agent)


[[Start ssh-agent (does not work with gnome-keyring):


$test -e "$SSH_AUTH_SOCK" || eval $(ssh-agent)


[[Add a card:


$ ssh-add -s /usr/lib64/pkcs11/opensc-pkcs11.so

Enter passphrase for PKCS#11:

Card added: /usr/lib64/pkcs11/opensc-pkcs11.so


[[Connect to server:


$ssh example.com


[[SUDO (PAM_SSH_AGENT_AUTH)


[[Set up ssh-agent as in previous slide


[[Store public key in /etc/security/authorized_keys


[[Configure sudo through pam:


$cat /etc/pam.d/sudo

...

auth sufficient pam_ssh_agent_auth.so \

     file=/etc/security/authorized_keys


[[Even on remote hosts (forwarded ssh-agent)


[[TLS Client authentication


[[Firefox > Preferences > Privacy&Security > Security > Security Devices > Load


[[Concurrent access


[[Configuration opensc.conf


drivers = PIV-II; # speed up detection and avoid mismatches

reader_driver pcsc {

    disconnect_action=leave; # do not break concurrent sessions

}


[[OpenSSH ssh-agent: long-running session

eval "ssh-agent" && ssh-add -s /usr/lib64/opensc-pkcs11.so

ssh example.com


[[pkcs11-tool: ad-hoc commands


pkcs11-tool --login --sign --id02 -mRSA-PKCS -i data -o data.sig


[[Some application require exclusive access (GnuPG sdaemon) :(

[[More applet on a single card = problems


[[GNUPG


[[Email,git commit signing

[[GnuPG's scdaemon

 [not using PKCS#11 to access OpenPGP applets

 [directly accessing PC/SC with exclusive access

 [preventing other application to use the card

[[gnupg-pkcs11-scd

 [Accessing card using PKCS#11

 [More complicated configuration


[[Troubleshooting smartcard


[[Is the reader/USB device detected?

$ lsusb


[[Is the card detected in pcsc-lite?

$ pcsc_scan


[[PCSC trace (APDU messages)

$ systemctl stop pcscd

$ sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu --color


[[Is the card detected in OpenSC?

 pkcs11-tool -L


[[PKCS#11 level trace:


 export PKCS11SPY=/usr/lib64/pkcs11/opensc-pkcs11.so

 pkcs11-tool -L /usr/lib64/pkcs11-spy.so


[[OpenSC debug logs:

OPENSC_DEBUG=9 pkcs11-tool -L


MORE TIPS=

Some older versions of Adobe software can work in Wine (PlayOnLinux, Bottles) under Linux as well as on Windows.

Modern gaming is possible on Linux (Proton, Lutris, Steam), some games are much better than on Windows.

Firefox, Thunderbird, Libre Office, Inkscape, Gimp, YouTube, FreeTube, VLC, Zoom, Microsoft Teams, OBS, Microsoft Visual Studio Code, Kdnlive, OpenShot, Shotcut, Flowblade, Lightworks, Blender, Cinelerra GG Infinity, DaVinci Resolve, VidCutter, can working on Linux in the latest and greatest versions.

You can bury Windows without any regrets. Losses are minimal. The advantages of Linux are very big today.

After all, you can install full blooded Windows 11 in KVM or Oracle Virtual Box under Linux.

Windows 11 working much better under Linux in virtual environment.



 


Thursday, April 11, 2024

Void Linux BASE ISO with Enlightenment DE

 The Base ISO usage=


root

voidlinux


void-installer

xbps-install void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree

xbps-install -Su

xbps-install -S xorg nano htop lightdm terminology kitty

xbps-install -S pipewire wireplumber 

[if you use lxqt instead enlightenment, or in case that sound not working ]

xbps-install -S pulseaudio pavucontrol 

xbps-install -S pipewire-devel alsa-pipewire

[if you use lxqt instead enlightenment just type this=]

xbps-install -S lxqt

[if you use enlightenment just put this=]

xbps-install -S enlightenment

xbps-install -S firefox

xbps-install -S libreoffice pcmanfm nitrogen lxterminal




If startx not working, just try this=


cp /etc/X11/xinit/xinitrc ~/.xinitrc

nano ~/.xinitrc


[in case of lxqt just add line=]

startlxqt &
exec dbus-launch --exit-with-session


[in case of enlightenment just add line=]

exec enlightenment_start


[CTRL] + O

[Enter]

[CTRL] + X

...Done... Enjoy in your new system! 

...

Oh, you must to do this as #root first=

ln -s /etc/sv/lightdm /var/service/

ln -s /etc/sv/lightdm /var/service/lightdm

xbps-install dbus

ln -s /etc/sv/dbus /var/service/dbus

xbps-install -S acpid

ln -s /etc/sv/acpid /var/service/acpid

xbps-install seatd

usermod -aG _seatd $USER

ln -s /etc/sv/seatd /var/service/seatd




startx


MORE TIPS=

Use sudo for ordinary user, or su to take root rights.

You can use poweroff command to shutdown system, if you are a root.




Congratulations, you have created a minimal Void Linux installation that can do everything.



Firefox + Youtube = 892 MB RAM usage




HOW TO PLACE APPLICATION ICON- SHORTCUTS ON DESKTOP? =



You can do this copy/paste like so:


Find the file in /user/share/applications/

Right-click the file in question

Select Copy

Navigate back to /home/USERNAME/Desktop

Right click in the right pane of the file manager

Select Paste.




LXQt 0.8.0 Desktop Environment now available

The LXQt desktop environment has been packaged by yours truly and we’ve now got the latest available version: 0.8.0.

To install a complete LXQt package with full functionality:

# xbps-install -S lxqt

Use startlxqt to start it via ~/.xinitrc or select it in your Display Manager.






Electro tips=