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