No sound in Fedora. Fix sound in fedora20

1. lets find the output sources we have.
$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0


2. Now we know the card# and device#. I want to use Logitech as my default output source so let me test it by outputting the stream to that source by running below command.

aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Right.wav           #0,0 is card 0, device 0 for Logitech

3. Determine the index of the above source by running below command.

pacmd list-sinks | less            # don't run this command as root as you will not find any source. For me it was 4


4. Lets append following 2 lines in /etc/pulse/default.pa

load-module module-alsa-sink device=hw:0,0            #0,0 is card 0, device 0 for Logitech
set-default-sink 4                       #4 is the index of the source i got from step 3

5. Restart the computer and you will have your sound fixed.
 
Please leave a comment or g +1 or share on f or share on t below if this post helped you. This will keep me motivating.

[source - https://wiki.archlinux.org/index.php/PulseAudio/Examples#Defaulting_an_Analog_Output_Source]

Install utorrent in ubuntu

I have following:
Ubuntu version -> 12.04
Utorrent version tar.gz file -> utorrent-server-3.3-debian-6.0-i386-30235.tar.gz


Install libraries just in case if you have not installed it before.
Run following commands:

1. sudo apt-get install libssl0.9.8:i386
2. sudo apt-get install lib32stdc++6

Once the libraries are installed, follow below steps to begin actual install of utorrent:

  1. Download utorrent .tar.gz from -> http://www.utorrent.com/downloads/linux
    Above tar.gz file will most prorably be downloaded in /home/Downloads folder.
  2. go to /home/Downloads and run:
    tar xvzf utorrent-server-3.3-debian-6.0-i386-30235.tar.gz -C /opt/
  3. chmod -R 777 /opt/utorrent-server-alpha-v3_3/
  4. sudo ln -s /opt/utorrent-server-alpha-v3_3/utserver /usr/bin/utserver
  5. Finally run the utorrent server
    utserver -settingspath /opt/utorrent-server-alpha-v3_3/ &
  6. Open firefox and run utorrent -> http://localhost:8080/gui/
    username: admin and password is blank
  7. Please leave a comment or g +1 or share on f or share on t below if this post helped you. This will keep me motivating.
Source: http://askubuntu.com/questions/104094/how-to-install-utorrent-step-by-step

Firefox asks for user name and password on internal sites

Follow the instructions below and Firefox will not splash its password prompt for internal sites.

  • Firefox version < 13
    • Open Firefox
    • In the Address bar type about:config
    • In the filter field type ntlm
    • Double click network.automatic-ntlm-auth.trusted-uris
    • In the prompt that comes up, type a list of server you want to allow, separated by a comma and a space. For example, if you wanted to allow http://company1_server and http://company2_server, you would type in company1_server, company2_server
    • Click OK
    • In the filter field type negotiate-auth
    • Double click network.negotiate-auth.trusted-uris
    • Set the same value as above
    • Click OK
    • Restart Firefox.



  • Firefox version >= 13
    • Open Firefox
    • In the Address bar type about:config
    • In the search/filter field type ntlm
    • Set network.automatic-ntlm-auth.trusted-uris to .company_name.com
    • Set network.automatic-ntlm-auth.allow-non-fqdn to true by right-clicking and selecting "toggle"
    • In the search/filter field type negotiate
    • Set network.negotiate-auth.trusted-uris to .company_name.com
    • Set network.negotiate-auth.allow-non-fqdn to true by right-clicking and selecting "toggle"
    • Click OK if present
    • Restart Firefox.

  • Please leave a comment or g +1 or share on f or share on t below if this post helped you. This will keep me motivating.