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, 7 czerwca 2023

Rise of a tomb rider crash sigsev 11

 Ok, I finally solved it. This is how I did it:

(1) echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
(2) export STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 (This is important, you have to set that environment to 1)
(3) LD_PRELOAD='/usr/$LIB/libpulse.so.0 /usr/$LIB/libpulse-simple.so.0 '${LD_PRELOAD}
(4) steam&
(5) Start Rise of the Tomb Raider


Believe it or not after a lot of digging on the internet, at least in my case fedora the issue is that there is no executable pulseaudio available, it happens on modern systems that use pipewire (see https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/562).
Summmary:
- Check if there is a executable pulseaudio in the path
- if not then:
touch /usr/local/bin/pulseaudio
chmod 755 /usr/local/bin/pulseaudio

Edit the file /usr/local/bin/pulseaudio and write (yes it does nothing):

#!/bin/sh

exit 0

And done, the game starts.
systemctl --user unmask pulseaudio

Disable the pipewire-pulse service:

systemctl --user --now disable pipewire-pulse

Re-enable the PulseAudio services:

systemctl --user --now enable pulseaudio.service pulseaudio.socket

Instalacja z sida na innej gałęzi

 1. odpowiedni apt pinning
2. wpis w sources.list 

sudo apt-get -t sid install audacity

poniedziałek, 5 czerwca 2023

Zmiana aplikacji domyślnych

 https://bbs.archlinux.org/viewtopic.php?id=266054

xdg-mime query default inode/directory

xdg-mime default pcmanfm.desktop inode/directory

czwartek, 1 czerwca 2023

Dodanie sprawdzania pisowni w brave -browser

 1.Zainstaluj chrome.
2.Włącz potrzebne słowniki w chrome
3. zamknij chrome -otwórz chrome - zamknij chrome
4.cp ~/.config/google-chrome/Dictionaries/*.bdic ~/.config/BraveSoftware/Brave-Browser/Dictionaries/ 5. Można odinstalować chrome