Legenda (oznaczenia używane w postach) czyli lets clean this burdel

Oznaczenia używane w postach

Zwykły tekst Czcionka Georgia

apt-get install -Komenda



-ryzyko uszkodzenia systemu


-skrypt w bashu
-Ważna informacja

=====
wycinek z loga konsoli
====

nano /etc/resolv.conf plik do edycji


środa, 27 października 2021

Opensuse Tumbleweed / Leap drukarka i skaner brother

 Step 0 sudo zypper in libusb-0_1-4 libusb-0_1-4-32bit

 

Step1. Download the tool.(linux-brprinter-installer-*.*.*-*.gz)

The tool will be downloaded into the default "Download" directory.
(The directory location varies depending on your Linux distribution.)
e.g. /home/(LoginName)/Download

Step2. Open a terminal window.

Step3. Go to the directory you downloaded the file to in the last step. By using the cd command.

e.g. cd Downloads

Step4. Enter this command to extract the downloaded file:

Command: gunzip linux-brprinter-installer-*.*.*-*.gz

e.g. gunzip linux-brprinter-installer-2.1.1-1.gz

Step5. Get superuser authorization with the "su" command or "sudo su" command.

Step6. Run the tool:

Command: bash linux-brprinter-installer-*.*.*-* Brother machine name
e.g. bash linux-brprinter-installer-2.1.1-1 MFC-J880DW

Step7. The driver installation will start. Follow the installation screen directions.
 

 When you see the message "Will you specify the DeviceURI ?",

 For USB Users: Choose N(No)
 For Network Users: Choose Y(Yes) and DeviceURI number.

The install process may take some time. Please wait until it is complete.

 

scanner 

 sudo nano /etc/sane.d/dll.conf jeśli nie ma do pliku należy dopisać brother3
 

sudo zypper in sane tcsh libncurses5-32bit psutils xsane sane sane-backends simle-scan


prawdopodobnie /udev/rules.d/56-sane-backends-autoconfig.rules

#Brother DCP-145C
 ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="0206", ENV{libsane_matched}="yes"

 

środa, 6 października 2021

Somewhat minimal xorg error solution for TRG

 Hey TRG

Make clean text install check only basic server nothing more, when you are asked to chose repos check all but debug.
After installation completes and the system reboots it self log in and edit

1. /etc/zypp/zypp.conf  and add the line
solver.onlyRequires = true 

or in in
/etc/zypp/zypper.conf change the value from installRecommends = yes to installRecommends = no

Choose one or the other 
save file and reboot

2. Finally you can   do it via zypper switch zypper in --no-recommends package. <---  if you want a alighter system points 1,2,3 are recomended


3. install minimal xorg / with yast -->pattens Very basic Desktop  exclude everything but patterns-base-x11
reboot

sudo chmod 4755 /usr/bin/Xorg  <--- this is crucial without this you will see a message that xorg seuid or uid or something is wrong and you should use reconfigure -- something command as root
In the and giving that command takes you no where
https://chmodcommand.com/chmod-4755/ <-- if you are curious what works
reboot

zypper install xinit xdm fluxbox NetworkManager NetworkManager-applet 

without those two you are fucked if you relay on wifi and you use fluxbox or some box WM

 create ~/.xinitrc edit this via vim or whatever cli text editor
exec startfluxbox

then save

Xdm is required for startx to work, without it xinit will shutdown with errors, complaining about .Xauthority and .serverauth not present in /home/user dir.
Crazy but true. Yes i could create them manually but it was 02:15 in the morning after  3 days of fighting with this running a dozen WM's I just don't give a duck.




By unchecking a few +a packages you can shrink installed packages to around 390 and it can be shrinked furthermore. Default patterns are bloat as hell.
That being said this system was not design to be slim but to be solid and effortless during install
Ok we can restart the system
login and use startx
It will fail at first but on second try  it wil work and start your fluxbox
ram consumption 411 to 426 MB on clean vanilla fluxbox.
I will try to trim it further if I fail my sad basement will become even sadder.

it is not perfect but this is a working solution, later i will work on graphical DM login probably by changing systemd target to graphical by
sudo ln -sf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target I will investigate this further.
If you install Open suse with any preconfigured DE you will get graphical target in

cat /etc/systemd/system/default.target | grep "Description="

so that maybe a case.

Oh without your link https://forums.opensuse.org/showthread.php/488125-Start-X-server-and-KDE-automaticly
it would took me a weak or two to resolve this not 2-3 days , so thank you mate.

I really considering to starting use suse, maybe do a switch from debian / debian'ish family systems.
Suse tumbleweed advantages

1.Yast2 hands down only thing that can somewhat compare with yast is aptitude. Yet yast interface is way more intuitive to use, and its way better designed then aptitude.
2. rolling
3.solid
4.Simple
5. Funfuckingnastic system

disadventages

1.Patterns are bloated as fuck. Debian low level tools are better if you want create small system from the start