[my PCLinuxOS era]
Linux freezes during booting
In boot splash screen you can try this commands (replace 2.6.38.8-pclos3.bfs with you kernel version):
find /boot/grub/stage2
kernel /boot/vmlinuz-2.6.38.8-pclos3.bfs
initrd /boot/initrd-2.6.38.8-pclos3.bfs
boot
What helped in my case was re-creating initrd file with command:
mkinitrd -f /boot/initrd-2.6.38.8-pclos3.bfs
Linux freezes randomly during running some program / game
This is usually hard to diagnose. In my case problem was with kernel 2.6.33.5-pclos1.bfs. I found out that it is possible to easily upgrade kernel to 2.6.38.8-pclos3.bfs through Synaptic (package manager). If you search for "kernel-" (without quotes) you will find all installed or available kernels.
My game (e.g. Alien Arena) crashed due to OpenAL error "AL lib: ALc.c:1879: exit(): closing 1 Device"
In file /etc/openal/alsoft.conf set item "drivers" to "oss,alsa,pulse" (without quotes).
KDE 4 desktop is messed up. How can I reset it?
Delete file ~/.kde/share/config/plasmarc or ~/.kde4/share/config/plasma-appletsrc (depends on KDE4 version).
I have troubles with setup Xorg to use two monitors (one on laptop and second external)
Look here and search for "Now automate it on login" section.
How to make noname DVB-T card AF9015 with tuner TDA18218 working
I've used steps similar to following script to get it working on my system:
sudo apt-get install mercurial linux-headers-$(uname -r) build-essential
hg clone -r 0f41fd7df85d http://linuxtv.org/hg/~anttip/af9015/
wget http://jusst.de/manu/fw/AFA/dvb-usb-af9015.fw_a-link
sudo mv dvb-usb-af9015.fw_a-link /lib/firmware/dvb-usb-af9015.fw
cd af9015
wget http://media.ubuntuusers.de/forum/attachments/2466878/af9015.patch
patch -p1 <af9015.patch
make
sed -i 's/CONFIG_DVB_FIREDTV=m/CONFIG_DVB_FIREDTV=n/' ./v4l/.config
make
sudo make install
Alternate firmware 1: http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/dvb-usb-af9015.fw
Alternate firmware 2: http://palosaari.fi/linux/v4l-dvb/firmware/af9015/5.1.0.0/dvb-usb-af9015.fw
Forums: link 1(Czech), link 2, link 3
No sound in Minitube
Install phonon-vlc package.
I cannot configure/compile KDE4 program with cmake
Error example:
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/david/.kde4/share/apps;/usr/share/apps
You need package kdelibs4-devel.
I am running out of disk space on root partition - tips
delete temporary data and cached pages from your browser
delete temporary data from package manager, in Synaptic it can be done through Settings/Files or by deleting content of /var/cache/apt directory
use some software for finding largest files, for example in Krusader you can use Tools/Disk Usage (unfortunatelly it reads all mounted disks)
I cannot play Matroska (MKV) file on my TV or player although the file uses correct A/V codecs
Problem is usually caused by compressed headers in the file which are not handled by commercial players. You can use MKVToolnix's mkvmerge to fix it. There is a GUI called mmg in the same package. After you open the video file you click on the audio / video stream, then below click on the tab "Extra Options". On "Compression" select none.
K9Copy crashes few seconds after ripping started
It is probably threading problem with some kind of hardware and kernel versions. I found out that the problem occurs during thumbnail creation which is done in separate thread. As a workaround I disabled thumbnail creation in the source file /src/core/k9saveimage.cpp. I completely commented out content of method: void k9SaveImage::addData(uchar *_buffer, uint32_t _size). After compiling and installing everything worked well (except thumbnail during ripping of course) :-)
Automatic mount of EncFS filesystem
create a script (don't forget to make it executable)
/home/<user>/bin/encfs
#!/bin/sh
encfs --public --extpass="cat /home/david/bin/encfs_password" $*
create a file /home/<user>/bin/encfs_password with your password
add following line into fstab
/etc/fstab
/home/david/bin/encfs#/home/david/Copy/encrypted /home/david/CopyDecrypted fuse rw,user,auto 0 0
Icons sometimes disappears in KDE 4 after boot (issue since approx KDE 4.6 to latest 4.13)
Workaround:
add new PANEL on the top of the screen (by left-clicking on special icon with text "PCLinuxOS" on your desktop)
reduce it's size to minimum (30x15 pixels) so it does not disturb you
in "More settings" of the panel select "Automaticaly hide"
[my Linux Mint era]
My HP deskjet printer does not print in grayscale mode
Sulution is changing the driver to "hpijs" using these steps:
sudo apt-get install hpijs-ppds
Power menu -> System Settings -> "Printing"
Right-click your printer > Properties > Make and Model > Change ...
"Provide PPD File"
Browse to /usr/share/ppd/hplip/HP/
Select your printer.
Now the "Normal Grayscale" should work.
Connecting SAMBA server to my laptop
See this link. I choosed "Connecting using CIFS".
How to make usb WIFI adapter Mediatek MT7601 working (original source)
I suggest you get a temporary internet connection, ethernet, tethered or whatever is available. Then do:
Console
sudo apt-get install linux-headers-generic build-essential git
sudo apt-get install git
git clone https://github.com/porjo/mt7601.git
cd mt7601/src
make
sudo make install
sudo mkdir -p /etc/Wireless/RT2870STA/
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/
sudo modprobe mt7601Usta
Your wireless should now be working.
You have compiled the driver for your current kernel version only. When Update Manager installs a later linux-image, after the required reboot, you must re-compile:
Console
cd mt7601/src
make clean
make
sudo make install
sudo modprobe mt7601Usta
Please retain the files and these instructions for that time. Glad it's working!
How to disable internal WIFI when using external USB WIFI adapter
Add line to file /etc/network/interfaces: iface wlan0 inet manual
Then restart network-manager like this: sudo service network-manager restart
Steam games in WINE crash after any key is pressed
Just disable Steam Community in Steam for specific game (see details).
wpa_supplicant consumes a lot of CPU power when WIFI is turned off
Execute: sudo modprobe -r iwl3945
*OR*
By pressing hardware button enable WIFI just for a second and then disable it again.
How to install new Python (for example version 3.7.0) into older Linux Mint (18.1)
install pyenv - use installer: https://github.com/pyenv/pyenv-installer
check prerequisities: https://github.com/pyenv/pyenv/wiki/Common-build-problems
run: pyenv install 3.7.0
run: pyenv local 3.7.0 (this will set new version as default in system)
Enable pulse-audio equalizer
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install pulseaudio-equalizer
If needed add two lines at the end of the file /etc/pulse/default.pa:
load-module module-equalizer-sink
load-module module-dbus-protocol
To run equalizer use /usr/bin/qpaeq.
Fix no audio issue after BT speaker was used (and you use pulse-audio equalizer)
In ~/.config/pulse/default.pa scroll down and comment out lines after ### Generated from: pulseaudio-equalizer.
How to install Riot.im
Steps from official page didn't work so I used steps for Debian-based systems here.