Thursday, 1 December 2011

Kubuntu 11.10

system settings > input devices > mouse > double-click to open files

remove system settings tool tips -> configure button -> untick show detailed tooltips

Remove tool tips in task bar, right click task bar -> untick show tooltips

Remove shitty Windows Aero Snap!
System Settings -> Workspace Behaviour -> Screen Edges -> Untick maximise at top and title at side.

System Settings -> Workspace Behaviour -> Workspace -> Untick Show Informational Tips - whooo hoooooooo!!!!

Right Click -> Folder Settings -> Icons -> Tick 'Click to view folder'

http://forum.kde.org/viewtopic.php?f=20&t=97385
Rather than removing the akonadi configuration, I edited ~/.config/akonadi/aknoadiserverrc and changed "StartServer=true" to "StartServer=false", and then rebooted (although logging out and back in should have been sufficient).


Whooo hoooooooo mouse zooming:

xbindkeys --defaults > $HOME/.xbindkeysrc

Then edit with your favorite text editor the file ~/.xbindkeysrc and add before the end those lines:
# Zoom in
"qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "view_zoom_in""
m:0x50 + c:133 + b:4

# Zoom out
"qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "view_zoom_out""
m:0x50 + c:133 + b:5

Restart xbindkeys to apply the new shortcut:
killall xbindkeys && xbindkeys
Now you can fully enjoy the zoom effect and add xbindkeys into Autostart kde systemsettings tab.


Full screen youtube > right click video > pop out


ip: ifconfig -v
gateway: route -n
dns: cat /etc/resolv.conf

Monday, 30 May 2011

Kubuntu 11.04

Clone:
http://www.howtogeek.com/howto/19141/clone-a-hard-drive-using-an-ubuntu-live-cd/
Ubuntu LiveCD
sudo fdisk –l
sudo dd if=/dev/sda of=/dev/sdb bs=1K
sudo diff -r /dev/sda /dev/sdb -- differs for some reason
gParted to resize partition
sudo touch /forcefsck -- for disk check
sudo blkid -- check uuid of HDD
sudo cat /etc/fstab -- double check they are in line

wireless, relaced with wicd
http://kubuntuforums.net/forums/index.php?topic=3116918.0

wireless - hidden - sudo iwconfig wlan0 essid name_of_the_hidden_essid
http://superuser.com/questions/118551/connecting-to-a-hidden-wireless-network-on-kubuntu

live and alt cd failed:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/727783
used usb instead:
https://help.ubuntu.com/community/Installation/FromUSBStick

nvidia drivers
use recommended driver from additional drivers

use nvidia x server settings to configure twin view
show preview of x11 and save to /etc/x11/xorg.conf

sudo update-alternatives --config x-cursor-theme
select core and restart
http://kubuntuforums.net/forums/index.php?topic=3112235.0

nvidia + konsole resize problem
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/760632
http://ubuntuforums.org/archive/index.php/t-1742919.html
https://bbs.archlinux.org/viewtopic.php?id=116544&p=3

go back to 173 nvidia driver - konsole prob disappears

disable window drag
http://forum.kde.org/viewtopic.php?f=66&t=91430

calculator button
http://forum.kde.org/viewtopic.php?f=17&t=89602

wobbly windows
http://ubuntuforums.org/showthread.php?t=1772475

plasma-desktop-appletsrc - script
http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/442422-kde-plasma-desktop-crash-when-start-desktop-after-upgrade-11-3-a.html#post2192496

sudo apt-get install kalternatives

jdk 6
kpackagekit, tick "deb http://archive.canonical.com/ natty partner" or sudo add-apt-repository "deb http://archive.canonical.com/ natty partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk

vcd to mp3
mplayer vcd://15 -cdrom-device /dev/sr0 -dumpaudio -dumpfile /tmp/track15.mp3

picasa uploads via digikam :) and KIPI plugins
https://bugs.kde.org/show_bug.cgi?id=274854

WOL(10)
http://ubuntuforums.org/showthread.php?t=658889
sudo etherwake -bD -i eth1 00:13:D4:64:5B:**

=====
I am using the asus P5G41C-MLx …… I think the bios screen is the same
So …… you may try the following:
1. Go to ADVANCED
Onboard devices configuration
Onboard Lan boot rom ………………. Should be changed to (enabled)
2. Go to POWER
APM Configuration
Power on by PCI (E) device ………….. should be changed to (enabled)
When reboot ….. press F10 to configure ….. and follow the instructions
=======

kajongg - kajonggserver, needs vorbis-tool

restart networking
http://theos.in/desktop-linux/tip-that-matters/how-do-i-restart-linux-network-service/
sudo /etc/init.d/networking restart

maximise flash
https://chrome.google.com/webstore/detail/lljjmflmcnaigbhnheldbdbplkbhngnl

http://maketecheasier.com/8-useful-and-interesting-bash-prompts/2009/09/04
http://www.matrix44.net/blog/?p=503
~/.bashrc
PS1="\u\[\033[37m\]@\[\033[36m\]\h\[\033[33m\]:\[\033[1;34m\]\w\[\033[m\]\$ "

http://ubuntuforums.org/showthread.php?t=602596
http://www.commandlinefu.com/commands/view/2702/ignore-hidden-directory-in-bash-completion-e.g.-.svn
set completion-ignore-case on
set match-hidden-files off
/etc/inputrc

hdd mount on boot
blkid
sudo nano /etc/fstab

Monday, 14 February 2011

Samsung R510

Remove .net framework 4, conflicts with wireless - which takes an extra 90 seconds to startup Windows

Saturday, 30 October 2010

Ubuntu 10.10

http://www.howtogeek.com/howto/13535/move-window-buttons-back-to-the-right-in-ubuntu-10.04/

How to move the window buttons

The window button locations are dictated by a configuration file. We’ll use the graphical program gconf-editor to change this configuration file.

Press Alt+F2 to bring up the Run Application dialog box, enter “gconf-editor” in the text field, and click on Run.

sshot-2

The Configuration Editor should pop up.

sshot-3

The key that we want to edit is in apps/metacity/general.

Click on the + button next to the “apps” folder, then beside “metacity” in the list of folders expanded for apps, and then click on the “general” folder.

sshot-4

The button layout can be changed by changing the “button_layout” key. Double-click button_layout to edit it.

Change the text in the Value text field to:

menu:maximize,minimize,close

sshot-5

Click OK and the change will occur immediately, changing the location of the window buttons in the Configuration Editor.

http://www.ehow.com/list_7301570_ubuntu-compatible-asus-motherboards.html


Removed the slave CD rom ribbon cable for Mint and Ubuntu to boot up!

Errors at startup
http://ubuntuforums.org/showthread.php?t=1592311&page=2 (post 12)
sudo gedit /etc/initramfs-tools/initramfs.conf
changed MODULES=most to MODULES=dep
sudo apt-get install --reinstall initramfs-tools

No boot up logo
http://ubuntuforums.org/showthread.php?t=1607030
sudo -i
echo FRAMEBUFFER=y > /etc/initramfs-tools/conf.d/splash
update-initramfs -u
ctrl-d

HL-1440: hpijs-pcl5e

VMWare player compiling kernel annoyance
sudo gedit /etc/vmware/config
Set VSOCK_CONFED = “no”
src: http://resalxh.wordpress.com/2010/09/09/vmware-player-3-1-1-on-ubuntu-10-10-maverick-meerkat/
others... (don't work)
http://ubuntu-ky.ubuntuforums.org/showthread.php?p=9957825
http://blog.mattrudge.net/2010/10/11/vmware-player-on-ubuntu-10-10-maverick-meerkat/


HL-1440 printer (toner override):
http://www.fixyourownprinter.com/forums/laser/39806

GNU Paint

dual screen flash issue:
http://ubuntuforums.org/showthread.php?p=10103104#post10103104


Java:
sudo update-alternatives --config java
dpkg --get-selections | grep jdk
sudo apt-get remove [all the openjdk stuff listed above]

http://stackoverflow.com/questions/3747789/how-to-install-sun-jdk-on-ubuntu-10-10-maverick-meerkat

Mounting in Terminal
sudo apt-get install smbfs
sudo mount -t smbfs //192.168.1.1/logs /mnt/logs

Batch photo resizer
sudo apt-get install phatch
http://linuxhub.net/2011/02/phatch-simple-batch-image-processing-tool-for-ubuntu/

mp4 to flv:
ffmpeg -i MOV00420.MP4 -ar 44100 -s qvga MOV00420.flv
ffmpeg -y -i MOV00420.MP4 -ss 10 -vframes 1 -s 150x113 -an MOV00420.jpg

#!/bin/bash
for f in *.MP4; do
echo "**************** Working on $f ****************"
ffmpeg -i "$f" -ar 44100 -s qvga "${f%.MP4}.flv";
ffmpeg -y -i "$f" -ss 10 -vframes 1 -s 150x113 -an "${f%.MP4}.jpg";
done

svn wants default keyring password
Edit ~/.subversion/config
add: password-stores =
http://ubuntuforums.org/showthread.php?p=8275152

http://that-matt.com/2009/12/how-to-get-ubuntu-to-ping-a-windows-hostname/
sudo nano /etc/nsswitch.conf
hosts: files wins dns
finally, you need to install winbind
sudo apt-get install winbind
To enable windows to ping ubuntu you then need to install samba:
sudo apt-get install samba

http://wiki.linuxquestions.org/wiki/Linux_software_equivalent_to_Windows_software

Linux Mint 10

Move over Mandy, here comes Minty!

Here to use proper Google search on Firefox
http://mycroft.mozdev.org/search-engines.html?name=google

Installed Chrome
Can't get flash full screen on one page
Added new panel on second screen
Printer seems to work fine
Added gpaint (seems to work)
Can't yet get compiz to work
Login screen weird

Dodgy way of resizing the mint menu
http://forums.linuxmint.com/viewtopic.php?f=90&t=58533

Sunday, 27 June 2010

Mandriva Flash Problem

As it is written in Errata:
In Firefox flash content doesn't play smoothly or doesn't work at all

1. Check which plugins you have installed:
Code:
ll /usr/lib/mozilla/plugins

- If you see:
libswfdecmozilla.so
npwrapper.so

Uninstall it:
Code:
urpme swfdec-mozilla
urpme nspluginwrapper

- Uninstall the flash-plugin from the official media:
Code:
urpme -a flash

2. Add PLF media (if you don't have):
Check it:
Code:
urpmq --list-url

For a 32 bit add PLF media:
Code:
urpmi.addmedia --distrib ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/cfg/2010.0/i586

For a 64 bit add PLF media:
Code:
urpmi.addmedia --distrib ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/cfg/2010.0/x86_64

3. Install Flash from PLF media:
Code:
urpmi flash-player-plugin

After that Flash will work even with FireFox 3.6.3

Source: http://forum.mandriva.com/viewtopic.php?t=127246

Saturday, 3 April 2010

Mandriva Free on Encryted Drive

Boot up Mandriva One
MCC - Disk partioning
Create small partition for boot
Create large partition for root
su -
cryptsetup luksFormat /dev/sda6
[password]
cryptsetup luksOpen /dev/sda6 crytedroot
[password]
mkfs.ext4 /dev/mapper/crytedroot
cryptsetup luksClose /dev/mapper/crytedroot

Boot up Mandriva Free
Custom Disk partitioning
Click use /dev/sda6
[password]
Next, Back
Use existing partions
set / for large partition
set /boot for boot partition

Mirrors
MCC, setup sources, add, yes to install mirror list

ATI drivers
Go to MCC, Hardware, X graphics
Find the same driver
OK
Yes to install proprietary drivers
re-login
rm /etc/X11/xorg.conf
aticonfig --initial=dual-head
re-login
ATI CCC
Set multi-display
re-login

Wireless
removed networkmanager - mv /usr/share/autostart/net_applet.desktop /home/
installed wcid
vim /etc/dbus-1/system.d/wicd.conf - group users at the end
created wicd template (scan_ssid=1 was the key)

name = WPA 1 (TKIP)
author = CN
version = 1
require apsk *Preshared_Key myssid *My_SSID
-----
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="$_MYSSID"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="$_APSK"
}


wicd links:
http://wicd.net/punbb/viewtopic.php?id=296
http://wicd.sourceforge.net/templates.php
http://fr2.rpmfind.net/linux/RPM/mandriva/2009.1/x86_64/media/main/release/wpa_supplicant-0.6.8-1mdv2009.1.x86_64.html
http://bbs.archlinux.org/viewtopic.php?id=63841