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.


Monday, December 3, 2012

Netflix on Ubuntu/mint! -Without Emulating Windows!




Finally After all these years,

Their is now a way to Watch netflix on ubuntu without Emulating windows,
In the past you would have to run Virtual box and have a copy of a Windows XP or higher Disk.
but now, with one program installed by pasting two lines, you can finally do it.

The orignial artical was by 'iheartubuntu' link below,
and this is by no means an official app by the Netflix team.

(You may need to install wine first)
anyway to install, open your terminal and paste:

sudo apt-add-repository ppa:ehoover/compholio

and:

sudo apt-get update && sudo apt-get install netflix-desktop

(next make sure the ubuntu software center/ synaptic package manager is closed,
also make sure you're not running any other installers or updaters)

And then run netflix-desktop.
and it will go thought the initial setup.

It will need to install some fonts, and a mono package.
So press yes, next, or what ever it asks you to.




A few files will have to be downloaded.


After the last thing is installed, you may have to wait a bit.


but you should then be greeted by the Web login screen:


From here simply Sign in to your account.

---If it's not working---
if You've been waiting for at least 10 mins, and you still don't have the Login screen,
Try reinstalling, First run: rm -Rf ~/.netflix-desktop
(thank's iheartubuntu) and then run: sudo apt-get remove --purge netflix-desktop
once that's complete, run: sudo apt-get install netflix-desktop
--------------

Now find a Video to watch, and click the play button.

after it's starts buffering, it will ask you to enable DRM playback.
Click 'Enable'
and you should be good to go!



You exit full screen mode by hitting F11.

And then you'll have a windowed version!

I prefer it this way for browsing,

You can use the video's full screen button to watch the video in full screen, and  you'll be able to sit back and watch your videos. without having the rest of netflix's site taking up your whole screen!


Enjoy!

If you have any question, I suggest you ask on the source site, they know more then I do...

Source:
http://www.iheartubuntu.com/2012/11/ppa-for-netflix-desktop-app.html

Friday, November 9, 2012

[Mint] [Solved] Linux mint - No sound on Speakers, but heaphones work.

This is very similar to the issue I had in Ubuntu, however the fix was not the same,

here is what you do:

sudo gedit /etc/modprobe.d/alsa-base.conf 

And on the last line add this line:

options snd-hda-intel index=0 model=hp

To the bottom of the file.

now, we have to modify it to work with your computer,

run this:

inxi -A

the output should look like:

Audio:     Card: Intel 6 Series/C200 Series Chipset Family High Definition Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture ver: 1.0.24

and  where it says 'snd_' 
that's the driver you need,  if it's not 'snd-hda-intel' 
then use what ever your output was instead.

next for your model,
it should be your pc's manufacturer, here is the full list:
http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt

save the file, and reboot!

and now you're done!

Note:
Just in case you have come from reading the Ubuntu version of this Fix,
No, you do not have to block the RTC module.
(if you have not read the Ubuntu version, ignore this note.)

Sources:
http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt
http://forums.linuxmint.com/viewtopic.php?t=73815&f=48#p428775 thanks  johnny87au !!!

Moving to Linux Mint.

Hey guys,
I just moved to Linux mint!
Don't worry, I'll still be posting here, because mint is based off Ubuntu the steps should work on either.

If I make an article for just mint, it will be labeled [Mint]

As for why I'm leaving Ubuntu, it's noting personal, I don't dislike it, or hate unity.
I've spent some time in both, unity, and Gnome 3.

It's just with all the issues I've had to fix by hand, and all the half installed drivers, broken dependencies, and messed up config files, (all caused by me) it began to have some issues.

I won't go in to details. but I saw some video about mint. and I liked the gnome2/3 hybrid desktop.
and some of it's cool features, so instead of re-installing ubuntu for the 3rd time on this laptop,
I decided to try something new. the past two years I was ubuntu->debian->ubuntu->fedora->ubuntu.
So I'm trying something else.

Thursday, November 8, 2012

[Fix] Ubuntu Speaker not working, but headphones are!


This will be my last update as a ubuntu user (for a while at least)
I'll be switching to mint tonight!

sudo gedit  /etc/modules

change the line:
rtc

to:

#rtc

---
save, and reboot.
it should be working fine now.

source:
http://ubuntuforums.org/showthread.php?t=2058548

https://answers.launchpad.net/ubuntu/+source/gnome-media/+question/24639