Showing posts with label xfce. Show all posts
Showing posts with label xfce. Show all posts

Tuesday, February 14, 2023

Calculate Linux

 uname -srm


eix firefox


sudo emerge firefox


++


♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣♥♠♣

Do you need encouragement while typing the best code ever?

Try this:


https://github.com/nifanfa/MOOS


Antix XFCE


https://www.howtogeek.com/867350/notepad-plus-plus-on-linux/


https://jellyfin.org/


https://en.wikipedia.org/wiki/Jellyfin


http://www.rohitab.com/apimonitor


https://blog.goranrakic.com/2011/04/midlver_za_licnu_kartu_na_gnulinuxu_naokolo_brze.html


https://github.com/frankmorgner/vsmartcard


https://www.elitesecurity.org/t474616-1


https://docs.strongswan.org/docs/5.9/howtos/smartcards.html


eUPRAVA na Linuxu ?


https://docs.citrix.com/en-us/linux-virtual-delivery-agent/current-release/configure/authentication/support-for-smart-cards.html











Lazarus-ide goodies:

const
  UTF8BOM: array[0..2] of Byte = ($EF, $BB, $BF);
var
  UTF8Str: UTF8String;
  FS: TFileStream;



begin

  UTF8Str := UTF8Encode(Memo3.Text);

//teka := ...;

  FS := TFileStream.Create(teka, fmCreate);

      try
        FS.WriteBuffer(UTF8BOM[0], SizeOf(UTF8BOM));
        FS.WriteBuffer(PAnsiChar(UTF8Str)^, Length(UTF8Str));
      finally
        FS.Free;
      end;


OpenDocument(teka);

end;




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