Use this simple command to install a kde theme for kubuntu! (No need for sudo)
If the folder is compressed, extract the contents.
Open up terminal, change to the directory of the theme, and run:
plasmapkg -t theme -install ./
Dec 9
Posted by brett in linux | 2 Comments
Type in terminal
gksudo gedit /etc/hal/fdi/policy/11-x11-synaptics.fdi
Create and save file with this content:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">On</merge>
<merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">40</merge>
<merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.TapButton2" type="string">3</merge> <!--two finger tap -> middle clieck(3) -->
<merge key="input.x11_options.TapButton3" type="string">2</merge> <!--three finger tap -> right click(2). almost impossible to click -->
</match>
</device>
</deviceinfo>
This allows us to use synclient utility to watch touchpad real-time data in console window.
Now restart X
sudo /etc/init.d/gdm restart
Test with command:
synclient -m 100
And you should see data like this scrolling in the terminal:
129.355 2912 3469 59 1 4 0 0 0 0 0 00000000 0 0 0 0 0 129.455 2952 3529 59 1 4 1 0 0 0 0 00000000 0 0 0 0 0 time x y z f w l r u d m multi gl gm gr gdx gdy 129.555 3283 3516 60 1 4 1 0 0 0 0 00000000 0 0 0 0 0 129.656 3928 3517 60 1 4 1 0 0 0 0 00000000 0 0 0 0 0 129.756 4364 3637 60 1 4 1 0 0 0 0 00000000 0 0 0 0 0 129.856 4020 3329 49 1 4 0 0 0 0 0 00000000 0 0 0 0 0 129.956 3634 3122 58 1 4 0 0 0 0 0 00000000 0 0 0 0 0 130.057 3320 2957 60 1 4 0 0 0 0 0 00000000 0 0 0 0 0 130.157 2779 3312 61 1 4 0 0 0 0 0 00000000 0 0 0 0 0 130.257 2557 3739 61 1 4 0 0 0 0 0 00000000 0 0 0 0 0 130.358 2636 3485 39 1 4 0 0 0 0 0 00000000 0 0 0 0 0 130.458 2659 3104 60 1 4 0 0 0 0 0 00000000 0 0 0 0 0 130.558 2671 2988 60 1 4 0 0 0 0 0 00000000 0 0 0 0 0
f column tells the number of fingers. w is the touched area width. z is the pressure.
If you put two fingers on touchpad and you see value f=2 then your hardware has multi-touch aware touchpad.
(above directions credit blog.twinapex.fi)
<?xml version=”1.0″ encoding=”ISO-8859-1″?>
<deviceinfo version=”0.2″>
<device>
<match key=”input.x11_driver” string=”synaptics”>
<merge key=”input.x11_options.SHMConfig” type=”string”>True</merge>
</match>
</device>
</deviceinfo>
tmpfs /dev/shm tmpfs defaults 0 0
(Credit shared memory directions, zetabill from linuxquestions.org)
Tags: 9.10, how-to, kubuntu, linux, multi-touch, touchpad, ubuntu
Some power settings were changed in Ubuntu / Kubuntu 9.10 that makes the speaker amp turn off when not in use–it then turns on before playing a sound, creating a (rather annoying) ‘tick’ sound. To fix this:
Edit the file: /etc/modprobe.d/alsa-base.conf
Look for the following line of code towards the bottom:
options snd-hda-intel power_save=10 power_save_controller=N
Change that line to:
options snd-hda-intel power_save=0 power_save_controller=N
…and restart! Your problem should be solved.
Tags: 9.10, bug, fix, how-to, kubuntu, linux, speaker, ubuntu
I have experienced a load of problems with GRUB 2 (betas that are included in Ubuntu 9.10–why did they include a beta, anyway?) so I sought a method to downgrade, or revert to GRUB legacy (ver 0.97). Below are detailed instructions, all found from the following post. Credit to posters.
http://ubuntuforums.org/showthread.php?t=1330347
Reverting to GRUB Legacy
If a user chooses to return to GRUB legacy (0.97), these steps will remove GRUB 2 and install GRUB.
The command line produces a cleaner uninstall and reinstallation. While adding and removing the packages can be accomplished with Synaptic, certain steps must be accomplished in a terminal.
- Open a terminal: Applications, Accessories, Terminal.
- Make backup copies of the main GRUB 2 folders & files. (Optional)
sudo cp /etc/default/grub /etc/default/grub.oldsudo cp -R /etc/grub.d /etc/grub.d.oldsudo cp -R /boot/grub /boot/grub.old- Remove GRUB 2
sudo apt-get purge grub2 grub-pcThe system will be unbootable until another bootloader is installed.
- Once the packages are removed, many files will still remain in ‘/boot/grub’
- Install GRUB 0.97
sudo apt-get install grub- With grub installed, the user must still create the menu.lst and stage1/stage2 files by running the following two commands.
sudo update-grub
- Generates menu.lst
- Tab to “Yes” when prompted.
sudo grub-install /dev/sdX
- Choose the correct device (sda, sdb, etc), normally the one on which Ubuntu is installed.
- Creates the stage1 & stage2 files in /boot/grub and writes to the MBR.
Run this command to keep it from upgrading automatically:
echo "grub hold" | sudo dpkg --set-selectionsReboot
I recently purchased a Lenovo IdeaPad Y450 Laptop, but the screen brightness was not being adjusted when I used the proper key combination (FN+UP/DOWN). The key combination did show the brightness bar, but did not adjust the actual brightness on the (LED) LCD. To fix this, edit /etc/default/grub:
Change:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
to
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash nomodeset acpi_backlight=vendor”
Then run
sudo update-grub
And restart!
Tags: grub, ideapad, kubuntu, laptop, lcd, led, lenovo, linux, screen brightness, ubuntu
BrettShaffer.com | powered by WordPress