03 November 2011

Chromium won't start in Lubuntu

when run from terminal:
ERROR:process_singleton_linux.cc(443)] readlink failed: Input/output error

Solution
http://ubuntuforums.org/showthread.php?t=1623261

The trick is to remove (or just move, just in case) the ~/.config/chromium folder and let it recreate itself when chromium-browser starts

also maybe:

sudo chown -R username:usergroup -R ~/.config/chromium









23 October 2011

Selecting sound card in Lubuntu

sudo alsamixer

F6 (select sound card)
F5 (see all)

07 October 2011

Mounting Windows Shared Drive

First install smbfs

then create file e.g. connect.sh and make it executable

============================================================
#!/bin/bash

sudo mkdir /home/ubuntu/drive_p

# unmount previously-mounted drive
sudo umount /home/ubuntu/drive_p

sudo smbmount "//192.168.1.11/wdtv_data" /home/ubuntu/drive_p -o username=default,password=default,uid=999,gid=999
============================================================


uid can be found using 'id' command.

15 September 2011

Restore missing Task Panel / Task Bar in Ubuntu

Open Terminal (Alt-F2)
then type "gnome-terminal"
also, you can run "firefox"

Then run these commands:

gconftool-2 --shutdown
gconftool --recursive-unset /apps/panel
rm -rf ~/.gconf/apps/panel
pkill gnome-panel

The task panel should appear just after you execute the last line.

16 July 2011

iPad won't charge

Since you know the charger itself works, reboot your iPad and try to charge again.

Hold both the power and home buttons at the same time for at least 10 seconds (keep holding past the swipe to shut down if it appears) until the Apple logo appears then let go and your iPad will restart.

25 June 2011

Installing Sopcast

http://www.webupd8.org/2010/05/install-linux-sopcast-player-040-in.html

1. You must download libstdc++ manually because this package is not included in the Ubuntu repositories. Don't worry, you can use these .deb files:

2. Add the SopCast Player PPA and install SopCast Player:

sudo add-apt-repository ppa:ferramroberto/extra && sudo apt-get update
sudo apt-get install sopcast-player sp-auth



And that's it, now go to Applications > Sound & Video > SopCast Player.

18 June 2011

Ubuntu Freenet installation



Step 1: INSTALL JAVA JRE
http://www.ubuntugeek.com/how-to-install-java-runtime-environment-jre-in-ubuntu-10-10-maverick-using-ppa.html
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
sudo apt-get install sun-java6*


17 June 2011

SoundBlaster Live and Ubuntu

In old Ubuntu versions asoundconf is used:

sudo asoundconf list
Live
V8237
...
...
sudo asoundconf set-default-card Live
then Reboot


But now, simply select from System > Preference > Sound

Ubuntu 11 classic menu

How to change back to classic menu. The new menu is horrible:

http://ricochen.wordpress.com/2011/05/13/how-to-swith-back-to-classic-menu-in-ubuntu-11-04/

1) Click on the Ubuntu icon on the top left corner, type “login screen” and click on the “Login Screen” application

2) Click unlock, enter password and the window should become the following, choose “Ubuntu Classic” from the dropdown menu, click Close then REBOOT.

If Live CD / USB boot is used, then it will prompt username/pw after reboot. The default username/pw is 'ubuntu' and blank password

Mount/map Windows share permanently

https://wiki.ubuntu.com/MountWindowsSharesPermanently
http://ubuntuforums.org/showthread.php?t=255872&highlight=mounting+shares

sudo apt-get install smbfs

in /etc/fstab :
sudo gedit /etc/fstab

smbmount //servername/sharename /mountdirectory -o username=mywindowsusername,password=mywindowspassword

if un/pw not needed, use 'defaults'

smbmount //192.168.1.11/WDTV_DATA /wdtv -o username=defaults,password=defaults


===
Note, apparently the above does not work with live/usb boot? Manually:

sudo mkdir /media/wdtv
sudo smbmount //192.168.1.11/WDTV_DATA /media/wdtv -o username=defaults,password=defaults

ls /media/wdtv
df -l
fdisk -l

Shell Script:
===
#!/bin/bash
sudo mkdir /media/wdtv
sudo smbmount //192.168.1.11/WDTV_DATA /media/wdtv -o username=defaults,password=defaults

16 June 2011

USB Boot

Disable floppy from BIOS to avoid boot issue "can't open dev sr0"
http://ubuntuforums.org/showthread.php?t=1345125

04 June 2010

Installing Flash Player Plugin on Firefox Portable or Google Chrome Portable (win)

Download Flash Player .xpi version from the official Macromedia flash site.

http://fpdownload.macromedia.com/get/flashplayer/xpi/current/flashplayer-win.xpi

download using IE or google chrome so Firefox would not install it.

Rename the resulting flashplayer-win.xpi file as flashplayer-win.zip and extract it using your favorite compression software like WinZip or 7Zip etc.

Copy the resulting flashplayer.xpt and NPSWF32.dll files into the folder plugins folder.
(see below note)

Restart your Firefox Portable/ Portable Chrome browser to enjoy the flash plugin in it. You can check if the flash is installed by going typing about:plugins in the URL bar

NOTES:

GOOGLE CHROME PORTABLE's plugin folder is GoogleChromePortable\App\Chrome-bin\plugins - you will have to create it if not found.Then copy flashplayer.xpt and NPSWF32.dll

FIREFOX PORTABLE plugin folder is \Data\plugins\

09 February 2007

How to install .bin in Ubuntu

i.e. for google earth:

sudo aptitude install googleearth

08 February 2007

Using WINE to run Windows applications

From Applications > Add/Remove > type 'WINE' in search box. On the list Tick 'Wine Windows Emulator' then 'OK' to install.

To run an applications, copy the Windows application to the desktop. Then go to Applications > Accessories > Terminal

Then type in 'wine '. For example 'wine Desktop/setup.exe'.

If it looks for a .dll, you can download it from dlldump.com and copy it to the application folder before running wine.

Applications run so far:
===============
IrfanView
ABC123 (kid's game)
uTorrent

Still trying:
=======
MYOB - during installation it's looking for IE 5.5 (duh)
Cisco VTII Camera - still trying to 'make' a development driver

06 February 2007

Ubuntu is better than XP!

My first Linux installation (Ubuntu) and on my IBM T23 notebook :

Ubuntu
=====
Video: no need to install driver, screen type detected automatically
Sound: no need to install driver
Trackpoint: no need to install driver
Office application: Already there (OpenOffice)
Printer Canon S100SP: USB plugged in, and immediately recognised
Camera Canon S30: USB plugged in, and immediately usable

Windows XP

========
Video: required driver from IBM
Sound:
required driver from IBM
Trackpoint: required driver from IBM
Office application: required program (MS Office)
Printer Canon S100SP: required driver from Canon
Camera Canon S30:
required driver from Canon

Current score: Ubuntu:6, Windows XP:0