User Tools

Site Tools


user:sachy:lakatux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
user:sachy:lakatux [2018/12/27 09:41] sachyuser:sachy:lakatux [2019/07/26 21:12] – pul mendeje na alse sachy
Line 359: Line 359:
  
 [[https://www.root.cz/clanky/atributy-souboru-mohou-obsahovat-url-ze-ktere-byl-soubor-stazen/]] [[https://www.root.cz/clanky/atributy-souboru-mohou-obsahovat-url-ze-ktere-byl-soubor-stazen/]]
 +
 +==== Leading zeros v bc ====
 +"bc" zahazuje 0 na zacatku desetinnych cisel, protoze americani maji vseobecne s cislama problem (a neexistuje ani zadny prepinac ktery by to zapnul)
 +<code>echo "5*0.1" | bc
 +.5
 +</code>
 +
 +Nastesti co nedokaze basic calculator, dokaze sed... Fix do .bashrc:
 +<code>alias bc="bc | sed -e 's/^\./0./g' -e 's/^-\./-0./g'"</code>
 +
 ==== TODO ==== ==== TODO ====
 +
 +===== Upgrade Ascii -> Beowulf =====
 +
 +==== Strange behavior of touchpad and broken scrolling ====
 +
 +X11 migrated from evdev to libinput. Lets go back to the working method...
 +
 +<code bash>
 +apt-get purge xserver-xorg-input-libinput
 +apt-get install xserver-xorg-input-evdev
 +</code>
 +
 +==== Release.pgp unsupported binary format ====
 +
 +When apt-get update says ^^, it means that just some junk is left in /var/lib/apt/lists ...
 +
 +<code bash>
 +# rm -rfv /var/lib/apt/lists/*
 +</code>
 +
 +==== ALSA ====
 +
 +Well, audio output gets fucked up completely, since "alsa" command is not provided anymore by any package...
 +
 +<code bash>
 +apt-get purge alsa* pulseaudio* # Na trisky nehled
 +shutdown -r now
 +apt-get install alsa-utils libasound2 libasound2-data volumeicon-alsa
 +shutdown -r now
 +</code>
 +
 +So "aplay -l", note proper device you want to use and disable the other ones in /etc/modprobe.d/alsafucked.conf
 +<code>
 +options snd-hda-intel index=HUGE_INTEGER_DEFINITELY_NOT_0,0
 +</code>
 +
 +Restart again... a v "alsamixer" nastav co je potreba. Restart again and it works (or GOTO 1)
  
  
user/sachy/lakatux.txt · Last modified: 2023/09/10 09:16 by sachy