Linux and Unix Fixes

From KnowWiki
Jump to: navigation, search

Contents

[edit] NetworkManager does not start scripts

First, make sure all the files in /etc/NetworkManager/dispatcher.d are owned by root Then, run the following command and watch what happens when a network action is triggered:

sudo /usr/lib/NetworkManager/nm-dispatcher.action --debug

[edit] KDE phonon does not see audio devices

Check your System Settings -> Multimedia -> Phonon If it lists only PulseAudio you need to load a KDE module for PulseAudio (start-pulseaudio-kdm). The easies way to do it is to get the latest pulseaudio from here.

If after doing this you still do not see your devices check your modules by loading the udev module:

pactl load-module module-udev-detect

If that helped you can copy your /etc/pulsea/default.pa over to ~/.pulse (save the existing first). Restart your KDM and check if that worked.

For more help check [1]

[edit] F-Spot crashes with the "Icon 'gtk-missing-image' not present in theme" message

Re-generate icon cache manually. I did it for all themes and it helped:

locate icon-theme.cache | sudo xargs rm
sudo update-icon-caches /usr/share/icons/*

[edit] Network is down after restarting a computer that was in a sleep mode

Its an annoying bug that is better be fixed in Ubuntu soon, but for now do this:

sudo service network-manager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state
sudo service network-manager start

If this does not work you might have to

killall knetworkmanager
knetworkmanager &

(obviously for KDE)

[edit] AMD/ATI driver is displaying a watermark "unsupported hardware" or some other watermark

Replace the /etc/ati/control file with the one that has your software marked as supported.You could get the control file by unpacking a dpkg created by running the ati-installer in a package mode (look at the command line arguments for 'bundle'). You have to get the right one somewhere, somehow. Experiment and google.

You might have to first kill the X server since the ati driver replaces control files when it is shut down.

sudo service kdm stop

(or gdm depending on what you run)

[edit] AMD/ATI control panel settings do not survive reboot

Make sure there is only one X running. amdcccle saves it data to /etc/ati/amdpcsdb, but a ati service running in the background overwrites the db when X is restarted. amdcccle disables this "feature" of the ati's service for the X server amdcccle is running on, but not for any other server running at the same time, so the DB gets wiped out.

Same goes for manual editing/replacement of the file. Shutdown all X's first, then tweak the file.

[edit] Repair copy/paste into windows via a terminal server session (tsclient)

Sure way: on the windows machine, start control panel->admin tools->terminal services manager->expand the local box. Pick your session. Right click on your current session. Select reset. Caution: I suspect MSSQL server may have gotten killed one time I had submitted a session reset.

Quick way: On the windows machine, kill and restart 'rdpclip' process

[edit] Troubleshoot beagle indexer

Run in the foreground debug mode

beagled --fg --debug --backend Thunderbird

Look at the logs in /home/alex/.beagle/Log/current-Beagle.

[edit] Can not find Python binding for LittleCMS

sudo ln -s /usr/share/python-support/python-liblcms/lcms.py /usr/lib/python2.5/site-packages/lcms.py

[edit] Apt-get complaining about a menu entry at the end

/usr/share/menu/cairo-dock: 1: Syntax error: word unexpected (expecting ")")

fixed by

sudo chmod 644 /usr/share/menu/cairo-dock
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox