Showing posts with label fix. Show all posts
Showing posts with label fix. Show all posts

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

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 !!!

Wednesday, October 24, 2012

Install the FULL version of Gnome 3 on Ubuntu!

Ok, so like many people, I'm not a huge fan of Unity,
I understand that it has it's place, I've spend some time with it, and it's not terrible, I just fine Gnome 3 to make me more productive.

I'm running Ubuntu 12.10 64Bit but this should work on any version of ubuntu!

...Anyway, you can install Gnome 3 on Ubuntu by running:

sudo apt-get install gnome-session

But, the one in the Ubuntu repo is not the Full version, it's had some features removed, and if you install it you'll be stuck with some of unity's version of apps, such as the file manager nautilus.
here are some examples of the visuals.
Ubuntu's gnome 3 (nautilus)


In order to get the full version of gnome 3, you must add the PPA:


sudo add-apt-repository ppa:gnome3-team/gnome3

If you already have gnome 3 installed you can upgrade to the Full version using the built in updater:

Ubuntu (12.10's) update manager. 

Or if you want to do it via the command line:

sudo apt-get update
sudo apt-get upgrade


If you do not have gnome 3 installed yet you can run this:

sudo apt-get update

sudo apt-get install gnome-session


Either way, reboot, your computer afterwards, and  log in to gnome, and you'll be at the full version:

Gnome 3 Full version (nautilus)
And You're Done!

Saturday, October 6, 2012

Fixing VLC dependencies error (Can't Reinstall VLC)

The story: (feel free to skip)


     I use VLC a lot, And When 2.0 came out Ubuntu did not update to that version, the REPO had the older version even months later, So I added the daily repo:
http://ppa.launchpad.net/videolan/stable-daily/ubuntu

and that worked for a while, after a few months later I received a 'Distribution upgrade', and when I installed it, it removed VLC. when I tried to re-install it gave me a bunch of unmet dependency's, so I disabled the source, ran apt-get update, and tried to install the older VLC, that did not work either. I eventually found a web page, and it helped me get it working, and I was also able to get the 'Stable Daily' working too


But last night, I got another 'disto upgrade' and it uninstalled VLC again.

when I try to reinstall from daily I get:
The following packages have unmet dependencies:
 vlc : Depends: fonts-freefont-ttf but it is not installable
       Depends: vlc-nox (= 2.0.3+git20121005+r392-0~r42~precise1) but it is not going to be installed
       Depends: libvlccore5 (>= 2.0.0) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 2.0.3+git20121005+r392-0~r42~precise1) but it is not going to be installed
       Recommends: vlc-plugin-pulse (= 2.0.3+git20121005+r392-0~r42~precise1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 the same thing would happen when I disabled the 'Daily' source. after some time on askubuntu, I tried some suggestions, and neither helped, So I picked one of the dependencies and tried to install it manually:

sudo apt-get install vlc-nox
This gave me a dependency error for 'libvlc5' so I attempted to install that:
sudo apt-get install libvlc5
And that said it depended on 'libvlccore5' so...
sudo apt-get install libvlccore5
and that pointed to 'vlc-data' and another program I did not reconize. so I started with vlc-data:
sudo apt-get install vlc-data

and this time it said vlc-data was already installed! -The Fix-

so I ran:
sudo apt-get remove --purge vlc-data
and just to make sure, nothing went wrong. I disabled the 'Daily' source for VLC Then I ran:
sudo apt-get update
followed by:
sudo apt-get install vlc
and it installed without any issues, so then I turned the daily source back on
and ran:
sudo apt-get upgrade
and BOOM! I was able to get the latest version of VLC!

 --- Quick fix:

 This may fix the problem for you (did not work for me though):
sudo apt-get remove --purge vlc
followed by:
sudo apt-get install vlc
source: http://askubuntu.com/questions/197161/cant-reinstall-vlc-removed-by-updateagain/197321#197321