Monday, December 9, 2013

Get Wicd working in Linux mint 15/ubuntu!

Wicd is a replacement for the built in network manager, it's supposed to be better and offer better consistency,

So I decided to try it out, but it was not very easy to get working,
here is the process to get it too work:

(you know the drill,  black highlights means copy and paste it into terminal.)


Step 1 - install Wicd:
sudo apt-get install wicd python-wicd wicd-daemon wicd-gtk

step 2 - move the resolve file:
sudo mv /etc/resolv.conf /etc/resolv.conf.backup
sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf

step 3- stop old network manager from starting up: (if you do not want to uninstall it)
sudo mv /etc/init/network-manager.conf /etc/init/network-manager.conf-disabled
sudo mv /etc/xdg/autostart/nm-applet.desktop /etc/xdg/autostart/nm-applet.desktop.disabled
sudo killall nm-applet

Step 4 - (optional) remove the old network manager:
sudo apt-get purge dnsmasq-base geoclue-ubuntu-geoip gir1.2-networkmanager-1.0 libnm-glib-vpn1 libnm-glib4 libnm-gtk-common libnm-gtk0 libnm-util2 libproxy1-plugin-networkmanager mobile-broadband-provider-info network-manager network-manager-gnome network-manager-pptp network-manager-pptp-gnome
(all one line)

step 6 - first time run:
(wicd-gtk --tray </dev/null &>/dev/null &)

(you may get some errors, and network devices may not show up, will be fixed on reboot)

step 7 - reboot:
sudo reboot  (Or just restart normally)

step 8 - setup:
click the new icon in the panel to open the network manager, click the arrow  near the top right,
then click 'preferences' in the menu  make sure  'network interfaces' is filled in correctly with the wireless and wired interface name, eg. wlan0 and eth0.

then connect to your wifi access point, and click 'add' by 'wired network' to set up your network access.

if  you cannot connect, reboot, and you should be all good to go!

-----
sources:
http://forum.linuxmint.com/viewtopic.php?f=53&t=115566#wrap

Saturday, May 11, 2013

Having Trouble installing AMD / ATI drivers on ubuntu /linux Mint? Try This!

Ok, so installing the ATI drivers can be a bit tricky,
especially if you've tried  to install them and when you rebooted, you got an Xorg error,
and you can no longer run any graphical programs.

---If You can't login to the desktop---- (Xorg will not start)------
First, make sure it's not blacklisted,
open /etc/modprobe.d/blacklist in vi, or nano (if you have it)
and check for something referring to 'fglrx'
if you see one put a   #   Pound/number sign infront of it, then save/reboot.
(if you can still not boot to the desktop, keep reading in this section)

if you have that problem, you'll need to restore the original graphics settings,
so startup your pc, and you may be greeted with a message asking about running diagnostics,
You will not need this, then you should see a log in prompt, go ahead and log in.
once logged it, you will need to type:
cd /etc/X11 
(make sure you capitalize the 'X')
next type:
sudo mv xorg.conf xorg.conf.bad

and press enter, then type:
sudo cp xorg.conf.original-0 xorg.conf 

then reboot,
you should now be able to boot into the desktop (you may be in a more basic desktop environment)


-----------If you can boot to the desktop------------
now, switch back to the default drivers,
and run:
sudo apt-get remove --purge fglrx*
now reboot,

after you reboot,
install the drivers again, I suggest the beta/updates/post release (what ever the newest one is)

next press Ctrl + Alt + F2
to go to TTY2,
then login, after that type:

sudo init 1

and a type your password,
then a bunch of scary text should show up

after a few seconds, you'll be prompted to enter your password again,
...so do it.
you should have a new command line thing,
type this:
aticonfig --initial

more fancy text should fly by, and once it's done, reboot.

when your pc starts back up you should be good to go!



Saturday, February 16, 2013

Fix Steam for linux error: *SteamStartEngine(0xffbb2f40) failed with error 1 CMultiFieldBlob(pSerialized): Partial

I ran into this error:



So I tried to unistall steam, and re-install it,
but that did not work, so I tried purging the installation, and reinstalling, and it still gave me the same error.

So I started looking it up online, and I came across this:
http://forums.steampowered.com/forums/showthread.php?t=978663
That said deleting a file 'should' fix the problem,

So I looked a bit further and found this:
https://github.com/ValveSoftware/steam-for-linux/issues/76
that said the file I am looking for is called 'ClientRegistry.blob'

So I tried to look up where the file is stored, and most the pages were for windows,
but then I found this page:
http://steamcommunity.com/app/221410/discussions/0/864959809813462697/
that said it should be stored in
/local/share/steam/
but I did not have a steam folder in share.

so after searching my hard drive I finally found it,
it's in the user's home directory, ~/steam

----Solution----
open your home folder, and then open the steam folder,
find the file 'ClientRegistry.blob' and delete it,
now launch steam, and log in.