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


sobota, 23 maja 2020

Debian xfce light

Installing XFCE
Install the core packages that will be enough to allow you to start using your new desktop environment.
root@devuan:~# apt-get install xfce4-panel xfdesktop4 xfwm4 xfce4-settings xfce4-session
You might also want these packages for a more full desktop.
root@devuan:~# apt-get install tango-icon-theme xfwm4-themes xfce4-terminal xfce4-appfinder thunar xfce4-power-manager ristretto

Adding support for auto-mounting
Install the necessary packages for thunar (the xfce file manager) to support auto-mounting.
root@devuan:~# apt-get install thunar-volman gvfs policykit-1
After you start your desktop environment you can now use the xfce settings manager to configure auto-mounting.

Adding a display manager
If a display manager is needed I recommend slim which is the default in Devuan.
root@devuan:~# apt-get install slim
Now run update-alternatives to set the x-session-manager to xfce4-session.
root@devuan:~# update-alternatives --config x-session-manager

Using xfce without a display manager
Login to a regular user account at the console and use the startxfce4 script.
user@devuan:~$ startxfce4

niedziela, 17 maja 2020

debian *box open box, flux box, black box

debian dselect list



debian ekfiwalent yum what provides

$ sudo apt-get install apt-file
If you just installed apt-file, the system-wide cache might be empty. You need to run ‘apt-file update’ as root to update the cache. You can also run ‘apt-file update’ as normal user to use a cache in the user’s home directory.

Let us update the database cache using command:

$ sudo apt-file update
And, then search for the packages that contains a specific file, say alisp.h, with command:

$ apt-file find alisp.h
Or,

$ apt-file search alisp.h
Sample would be:

libasound2-dev: /usr/include/alsa/alisp.h
Well, libasound2-dev it is! You can install this package using command:

$ sudo apt-get install libasound2-dev
If you already have the file, and just wanted to know which package it belongs to, you can use dpkg command as shown below.

$ dpkg -S $(which alisp.h)
Or,

$ dpkg -S `which alisp.h`
If you know the full path of the file, say for example /bin/ls,  you can search for the packages it belongs to using the following command:

$ dpkg -S /bin/ls
coreutils: /bin/ls

sobota, 16 maja 2020

Ventoy genialny boot multiso creator


Ventoy genialny boot multiso creator

Strona projektu
https://www.ventoy.net/en/index.html

Link do google drive na wypadek gdyby projekt upadł
https://drive.google.com/open?id=11pMA57LyOYC2iyhcX2nz279XHUKp-8Bl

czwartek, 14 maja 2020

Debian backup lub przenosiny deselect

odpalamy w katalogu domowym
 tar czfv confback.tar.gz .*

warto wywalić foldery . virtualbox itd bo są duże


dpkg --get-selections > packages.list This will create a list of all the packages installed in your system in the packages.list file.
Now, if something happens and your system crashes, you can install all the packages which were in your system with the help of this packages.list file.
dpkg --set-selections < packages.list

sudo apt-get dselect-upgrade


tar -xvfz confback.tar.gz --strip, --strip-components N gdzie N Strips the first N components from archive members' pathnames
when unpacking.
debian minimal dselect

wtorek, 12 maja 2020

Debian minimall install

debian minimal
apt-get install xserver-xorg-video-dummy xserver-xorg-input-void xserver-xorg-core xinit x11-xserver-utils

Display drivers for common hardware include:

xserver-xorg-video-intel (intel)
xserver-xorg-video-nouveau (nvidia)
xserver-xorg-video-openchrome (via)
xserver-xorg-video-radeon (amd)
xserver-xorg-video-vesa (generic display driver)

If you are unsure of your driver you can use the vesa driver for now until you learn more about xorg drivers. It will work with all VESA compliant displays and is also useful to fall back on in the case of a misconfigured driver.

root@devuan:~# apt-get install xserver-xorg-video-vesa

For graphics chips not mentioned above you can search the repository to find the correct display driver for your hardware.
root@devuan:~# apt-cache search xserver-xorg-video-.* | pager

Installing your input drivers
Since it is a dependency of xserver-xorg we cannot remove the evdev driver, fortunately evdev is a unified driver and is suitable for most input devices. This means you don't need to follow this step unless you have specific requirements.

If you have a mouse and keyboard setup you can install those drivers separately if you prefer this behaviour.
root@devuan:~# apt-get install xserver-xorg-input-mouse xserver-xorg-input-kbd

For a synaptics touchpad you will often need to install the synaptics driver alongside your keyboard driver.
root@devuan:~# apt-get install xserver-xorg-input-synaptics

If you need other input drivers you can search the repository to find them.
root@devuan:~# apt-cache search xserver-xorg-input-.* | pager

Installing optional extras

I recommend installing the basic set of fonts for xorg.
root@devuan:~# apt-get install xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable

You will often want to include mesa opengl support when using the free software display drivers, particularly if you play opengl games.
root@devuan:~# apt-get install libgl1-mesa-dri mesa-utils

Ascii may need the xserver-xorg-legacy package to manage permissions for xserver. Note that this is a setuid wrapper.
root@devuan:~# apt-get install xserver-xorg-legacy

sudo aptitude install fluxbox
, add this line to $HOME/.fluxbox/startup
conky &
be sure it to appear before this other line
exec /usr/bin/fluxbox
which needs to be the last one
sudo aptitude install wifi-radar
sudo aptitude install cpufreqd
Now start it:
sudo /etc/init.d/cpufreqd start
If it can not start (as in my case) you may need to load the right module, read here to know how to do it, according to your processor, but basically you need to choose between these lines for AMD Sempron/Athlon/MP ( K7 )

If you rely on Network Manager to manage your networking, you’ll need to take an extra step to make it run automatically at startup. Open ~/.fluxbox/startup and add nm-applet & before the exec fluxbox line, like this:


# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 & <-- ukrywa kursor myszy
# wmnd & <--pokazuje stan i użycie interfejsów sieci
# wmsmixer -w &
# idesk &  <-- ikony pulpitu
#nm-applet & <-- network menager
#wicd-client & <--wifi
#volumeicon-alsa <--ikona głośności w trayu
#wifi-radar <-- gui lista wifi
sudo modprobe powernow-k7
for AMD Duron/Sempron/Athlon/Opteron 64 ( K8 )
sudo modprobe powernow-k8
for Intel Core Duo and Intel Pentium M
sudo modprobe speedstep-centrino
for Others (Unknown) - This one worked for me with a Pentium IV -
sudo modprobe acpi-cpufreq
sudo apt install sddm
sudo aptitude install firefox thunderbird vim gvim
https://addy-dclxvi.github.io/post/my-fluxbox/


menadzery plików
mc
vifm
pcman
xfe
ranger

odtwarzanie filmów
mplayer
mpv
vlc
 muzyka audacious
 apt install libreoffice-writer  libreoffice-calc libreoffice-impress libreoffice-style-tango libreoffice-l10n-pl thunderbird thunderbird-l10n-pl firefox firefox-l10n-pl xpdf simpleburn xfe smplayer

============================================

Minimal xorg install
This document describes how to perform a minimal xorg installation and some optional good defaults.

Install the core xorg packages
First log in at a console as root using the password you setup during install.
We will now install the minimal set of packages needed for xorg.
root@devuan:~# apt-get install xserver-xorg-video-dummy xserver-xorg-input-void xserver-xorg-core xinit x11-xserver-utils
It should be noted that the void input driver is installed as well as the dummy video driver. These packages do not function as drivers but allow xorg to be installed without drivers. This is done to avoid installing all drivers including the ones you don't need. Instead we will install the individual drivers that you do need afterwards.

Install your graphics driver
You should now install the display driver for your hardware.
Display drivers for common hardware include:

xserver-xorg-video-intel (intel)
xserver-xorg-video-nouveau (nvidia)
xserver-xorg-video-openchrome (via)
xserver-xorg-video-radeon (amd)
xserver-xorg-video-vesa (generic display driver)

For example if you have an amd graphics chip you should install the radeon driver.
root@devuan:~# apt-get install xserver-xorg-video-radeon
If you are unsure of your driver you can use the vesa driver for now until you learn more about xorg drivers. It will work with all VESA compliant displays and is also useful to fall back on in the case of a misconfigured driver.
root@devuan:~# apt-get install xserver-xorg-video-vesa
For graphics chips not mentioned above you can search the repository to find the correct display driver for your hardware.
root@devuan:~# apt-cache search xserver-xorg-video-.* | pager

Installing your input drivers
Since it is a dependency of xserver-xorg we cannot remove the evdev driver, fortunately evdev is a unified driver and is suitable for most input devices. This means you don't need to follow this step unless you have specific requirements.
If you have a mouse and keyboard setup you can install those drivers separately if you prefer this behaviour.
root@devuan:~# apt-get install xserver-xorg-input-mouse xserver-xorg-input-kbd
For a synaptics touchpad you will often need to install the synaptics driver alongside your keyboard driver.
root@devuan:~# apt-get install xserver-xorg-input-synaptics
If you need other input drivers you can search the repository to find them.
root@devuan:~# apt-cache search xserver-xorg-input-.* | pager

Installing optional extras
I recommend installing the basic set of fonts for xorg.
root@devuan:~# apt-get install xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable
You will often want to include mesa opengl support when using the free software display drivers, particularly if you play opengl games.
root@devuan:~# apt-get install libgl1-mesa-dri mesa-utils
Ascii may need the xserver-xorg-legacy package to manage permissions for xserver. Note that this is a setuid wrapper.
root@devuan:~# apt-get install xserver-xorg-legacy

Jak uczynić sida debian unstable stabilnym

$ sudo apt install apt-listbugs apt-listchanges



https://packages.debian.org/sid/apt-listbugs

Wtyczka działa automatycznie przy każdym apt upgrade