Solutions to Ubuntu Related Problems

This thread is created for solutions to all problems related to Ubuntu.
I'm tagging the people who would help #-Link-Snipped-# and #-Link-Snipped-#


First problem I'm facing :

I downloaded adobe flash player, it's downloaded and it's showing a status installed in Ubuntu Software Center, but when my brother wants to run a small online game, it doesn't start saying no flash player found.

Help me in rectifying this.

Replies

  • Abhishek Rawal
    Abhishek Rawal
    State the name of browser please, Will ya ?
  • Sanyam Khurana
    Sanyam Khurana
    Firefox
  • Abhishek Rawal
    Abhishek Rawal
    Open Terminal ( Press Ctrl+Alt+T) & Type :

     cd /usr/lib/adobe-flashplugin 
    then type
     ls 
    What does it shows ? (Upload the pic)

    & Try this too :
     cd /usr/lib/firefox-addons/plugin 
    then
     ls 
    Upload the output.
  • Sanyam Khurana
    Sanyam Khurana
    Between

    cd /usr/lib/adobe-flashplugin

    and
    ls

    we have to give space or press enter after first code and then enter second?
  • Abhishek Rawal
    Abhishek Rawal
    Open Terminal & type :

    cd(space)/usr/lib/adobe-flashplugin(Press Enter)

    Now you are in desired directory :
    Now type "ls" then press enter.

    For Information : cd = change directory, ls = list directory (shows up all the files present in the directory)
  • Sanyam Khurana
    Sanyam Khurana
    This is not possible, no such directory found.. :/

    but it's showing that Plugin is installed in Ubuntu Software Center

    [โ€‹IMG]
  • Anand Tamariya
    Anand Tamariya
    Sanyam Khurana
    Between

    cd /usr/lib/adobe-flashplugin

    and
    ls

    we have to give space or press enter after first code and then enter second?
    Simpler still, give output of:
    ls /usr/lib/adobe-flashplugin
  • Abhishek Rawal
    Abhishek Rawal
    Try the second one then, you should get something like this :
    [โ€‹IMG]
  • Abhishek Rawal
    Abhishek Rawal
    Alright Screw these!
    You might endup banging your head on wall.

    Open terminal & type :
     sudo apt-get remove flashplugin-installer 
    This will remove flashplayer.

    Now restart the PC, Open Terminal again & type :
     sudo apt-get install ubuntu-restricted-extras 
    This will install audio/video codecs + Flashplayer.
  • Sanyam Khurana
    Sanyam Khurana
    I have tried the second one too, it's there in the image I have attached, I tried both the codes , but they are both showing no plugin,

    I think I have to reinstall it, could you tell me which version I should download now..?

    or any other option as it's showing correctly installed in USC

    Here's the pic.

    [โ€‹IMG]
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    Alright Screw these!
    You might endup banging your head on wall.

    Open terminal & type :
     sudo apt-get remove flashplugin-installer 
    This will remove flashplayer.

    Now restart the PC, Open Terminal again & type :
     sudo apt-get install ubuntu-restricted-extras 
    This will install audio/video codecs + Flashplayer.

    Ok wait, I'm doing this.. ๐Ÿ‘
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    Ok wait, I'm doing this.. ๐Ÿ‘
    Well still it doesn't work then, open this link : #-Link-Snipped-# & Download the Google Chrome .deb file
    (For Information : Like in windows there is .exe executable file for software installation, Ubuntu uses .deb packages)

    Now you have to learn how-to install .deb files in Ubuntu:

    Method 1 : Lightspeed Method Using Terminal

    By default .deb file will be downloaded to "Downloads" Folder in Home directory.so we need to cd to Downloads.

    Open Terminal & Type :
     cd Downloads 
    Press & then type :
     sudo dpkg -i  
    Press

    It will be installed.

    Method 2 : GUI

    We need a software named Gdebi for that.
    Open Terminal & Type :
     sudo apt-get install gdebi 
    Press . Software will be installed.

    Now in Downloads folder, the downloaded google chrome .deb file is there.
    Right click on it & Open with Gdebi installer.
    It will ask for password, type in password & it will get installed.
  • Sanyam Khurana
    Sanyam Khurana
    It's currently downloading some stuff and installing, I hope it works ๐Ÿ‘
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    It's currently downloading some stuff and installing, I hope it works ๐Ÿ‘
    It will. Just don't give up on Linux ๐Ÿ‘€
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    It will. Just don't give up on Linux ๐Ÿ‘€
    I'll not, I'll try my best to Understand it. ๐Ÿ˜‰
  • Sanyam Khurana
    Sanyam Khurana
    ta da, it worked with the first method.... ๐Ÿ˜


    thanks #-Link-Snipped-#
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    ta da, it worked with the first method.... ๐Ÿ˜


    thanks #-Link-Snipped-#
    Pleasure, buddy. ๐Ÿ‘
  • Sanyam Khurana
    Sanyam Khurana
    Ok, problem is, whenever I switch on my system, it shows, that, my graphics settings are not detected properly, and I've to configure it manually, I press enter and taken to another screen, where there are various options, but nothing works (I can't choose anything, because my keyboard and mouse doesn't work on that screen..)

    Then I've to start the system various times.. to get it properly booted..

    My graphics card is Nvidia geforce gt 610m optimus...

    #-Link-Snipped-# told me to open terminal and execute this command..

    sudo apt-get install mesa-utils
    
    And now it's done, what's next..?
  • Abhishek Rawal
    Abhishek Rawal
    Tell me the driver's version of your Nvidia chipset.

    Try this : dpkg -l | grep -i nvidia
  • Sanyam Khurana
    Sanyam Khurana
    Driver : Intelยฎ Ivybridge Mobile x86/MMX/SSE2
  • Sanyam Khurana
    Sanyam Khurana
    After executing the command in terminal, it's showing this

    ii  nvidia-common                                1:0.2.44.2                                      Find obsolete NVIDIA drivers
    
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    Driver : Intelยฎ Ivybridge Mobile x86/MMX/SSE2
    Which means you're using Intel's Opensource drivers & not nvidia's.
    Problem is not with the nvidia graphics drivers.

    Install Bumblebee.
  • Abhishek Rawal
    Abhishek Rawal
    But before that do the following :

    sudo apt-get remove --purge nvidia-*
    sudo apt-get install ubuntu-desktop
    sudo rm /etc/X11/xorg.conf
    echo 'nouveau' | sudo tee -a /etc/modules

    Reboot the system.

    Nouveau is Opensource Nvidia drivers.
  • Sanyam Khurana
    Sanyam Khurana
    I think that's because, I've an integrated graphic card of Intel..
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    I think that's because, I've an integrated graphic card of Intel..
    Try -->

    Abhishek Rawal
    sudo apt-get remove --purge nvidia-*
    sudo apt-get install ubuntu-desktop
    sudo rm /etc/X11/xorg.conf
    echo 'nouveau' | sudo tee -a /etc/modules

    Reboot the system.

    Nouveau is Opensource Nvidia drivers.
  • Sanyam Khurana
    Sanyam Khurana
    Executing third command it shows this..

    sanyam@sanyam-300E4C-300E5C-300E7C:~$ sudo rm /etc/X11/xorg.conf
    rm: cannot remove `/etc/X11/xorg.conf': No such file or directory
    
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    Executing third command it shows this..
    Reboot.
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    Reboot.
    Done, What's next..


    Do I have to execute the remaining two commands now..?
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    Done, What's next..
    Do I have to execute the remaining two commands now..?
    No you have to install Bumblebee now.

    sudo add-apt-repository ppa:bumblebee/stable
    sudo apt-get update
    sudo apt-get install bumblebee
  • Sanyam Khurana
    Sanyam Khurana
    see this..

    sanyam@sanyam-300E4C-300E5C-300E7C:~$ sudo add-apt-repository ppa:bumblebee/stable
    Traceback (most recent call last):
      File "/usr/bin/add-apt-repository", line 125, in 
        ppa_info = get_ppa_info_from_lp(user, ppa_name)
      File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 84, in get_ppa_info_from_lp
        curl.perform()
    pycurl.error: (7, "couldn't connect to host")
    
  • Abhishek Rawal
    Abhishek Rawal
    Type
    sudo apt-get update && upgrade
    Reboot

    Then proceed to Bumblebee installation
  • Sanyam Khurana
    Sanyam Khurana
    Also tell me, how to install winzip, I want that for Wine..
  • Abhishek Rawal
    Abhishek Rawal
    Winzip or winrar ?

    You don't need winzip as 'archive manager' is already there.
    For winrar download winrar.exe from somewhere & install it with wine directly. It will work.
  • Sanyam Khurana
    Sanyam Khurana
    Reboot done..!! ๐Ÿ˜€

    Next step please..

    and yes, I've installed a program now how to run it..?
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    Reboot done..!! ๐Ÿ˜€
    Next step please..
    -- >
    Abhishek Rawal
    sudo add-apt-repository ppa:bumblebee/stable
    sudo apt-get update
    sudo apt-get install bumblebee
    -----------------------------------------------------------------------------------------------
    Sanyam Khurana
    I've installed a program now how to run it..?
    You mean Winrar ? Just Right click on file & open with wine loader.
  • Sanyam Khurana
    Sanyam Khurana
    You mean Winrar ? Just Right click on file & open with wine loader.
    Nope I've installed NI circuit design evaluation copy...and want to run it now..
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    Nope I've installed NI circuit design evaluation copy...and want to run it now..
    Right click on .exe file, install it like you do in Windows & then run.
    Most small softwares don't need any other configuration, they work out of box.
  • Sanyam Khurana
    Sanyam Khurana
    It's installed, but I don't know how to run it..

    I browsed the file, and found NiPie.exe but when I try to tun it, nothing happens..
  • Abhishek Rawal
    Abhishek Rawal
    Go to /Home & type Ctrl+H (It will show hidden files)
    You will see .wine folder, there will be C drive like you see in Windows, browse it & open with Right click-> wine loader
  • Sanyam Khurana
    Sanyam Khurana
    bro, same error again in executing the commands for bumblebee
  • Abhishek Rawal
    Abhishek Rawal
    I don't understand what's up. I can add the ppa easily.
    Check :

    Screenshot from 2013-08-11 16:21:47

    I guess you know how to add PPA, do you ? ๐Ÿ‘€
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    I guess you know how to add PPA, do you ? ๐Ÿ‘€
    Yeah, I have read your threads about PPA...

    but when you have given the command here, why is it not working for me...

    ๐Ÿ˜•
  • Sanyam Khurana
    Sanyam Khurana
    :argh: I think may be it is something to do with 32 bit OS, while my machine can support 64 bit...

    I think, I'll go for 13.04 now...

    ๐Ÿ˜‰

    BDW, how much swap area should I allocate? or if I just don't allocate anything.?
  • Abhishek Rawal
    Abhishek Rawal
    Swap Area = 2x RAM size.
    But I have noticed that SWAP Area will never be used by Linux. Swap Area works like virtual Ram when system consumes all the physical memory it will use swap area so the system doesn't hang.
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    Swap Area = 2x RAM size.
    But I have noticed that SWAP Area will never be used by Linux. Swap Area works like virtual Ram when system consumes all the physical memory it will use swap area so the system doesn't hang.
    Yup I read that, so I'm gonna allocate around 8 GB ๐Ÿ˜‰
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    Yup I read that, so I'm gonna allocate around 8 GB ๐Ÿ˜‰
    You'll never need that many of. Swap Area used to be very useful during old times when 256 MB RAM were treated like 16 GB RAM.
    Now a days, it's wastage of memory. 16 GB is just insane amount for SWAP Area.
  • Sanyam Khurana
    Sanyam Khurana
    Hey One more thing, When I installed Ubuntu this time, I faced some problem, when I created three partitions, it asked me to tell the type of those, I don't remember exactly what options it gave me, but could you tell me more about that?
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    You'll never need that many of. Swap Area used to be very useful during old times when 256 MB RAM were treated like 16 GB RAM.
    Now a days, it's wastage of memory. 16 GB is just insane amount for SWAP Area.
    I have 4 GB of RAM, and I think it's enough, but still if I want to allocate some SWAP memory, how much should I allocate ?
  • Abhishek Rawal
    Abhishek Rawal
    4 partitions, not 3.

    / - 40 GB is like 'whoa! enough!'
    /boot - 450 MB
    /home - As per your use
    SWAP Area - 2x RAM

    Sanyam Khurana
    I have 4 GB of RAM, and I think it's enough, but still if I want to allocate some SWAP memory, how much should I allocate ?
    Go for 6, not a single byte more.
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    4 partitions, not 3.

    / - 40 GB is like 'whoa! enough!'
    /boot - 450 MB
    /home - As per your use
    SWAP Area - 2x RAM


    Go for 6, not a single byte more.
    I have 750 GB HDD

    So, for root directory, 40 GB, /boot 450 MB, and I want to have one more for all the stuff, like around 250 GB- 300 GB.

    For what is /home used for..?
  • Abhishek Rawal
    Abhishek Rawal
    /home is where the hidden files related to DE, some of your software configs,Wine,etc. is stored. It should be maximum, as most of the work is primarily stored in /home only.
    If I am doing coding, I usually store all the files in /home only, makes it very easy & fast to access.
  • Sanyam Khurana
    Sanyam Khurana
    Does Wine supports only some limited software programs?
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    Does Wine supports only some limited software programs?
    WineHQ - Wine Application Database
  • Sanyam Khurana
    Sanyam Khurana
    @#-Link-Snipped-# need your help, I just installed Ubuntu 13.04

    Made three partitions,
    one having the linux file system, and the other two for other stuff, but it seems something went wrong, I cannot do anything with the other two partitions, neither store some stuff, nothing..

    This is what I got from properties of one of the partition, it says that the root user has access, but I'm the root user, then what's the problem?

    [โ€‹IMG]
  • Abhishek Rawal
    Abhishek Rawal
    Install gparted
     sudo apt-get install gparted 
    Open it & format those two drives to NTFS. (This should fix it)

    BTW Ubuntu 13.10 Saucy Salamander stable build is released.
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    Install gparted
     sudo apt-get install gparted 
    Open it & format those two drives to NTFS. (This should fix it)

    BTW Ubuntu 13.10 Saucy Salamander stable build is released.
    It worked, Thanks.
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    It worked, Thanks.
    I am glad, I was able to help you ๐Ÿ˜€
  • Sanyam Khurana
    Sanyam Khurana
    Abhishek Rawal
    I am glad, I was able to help you ๐Ÿ˜€
    If I update directly to 13.10, will my previous data be there or all formated?
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    If I update directly to 13.10, will my previous data be there or all formated?
    Data ? You mean apps ? Don't worry they will be updated too.
    You know I always ask people to have seperate /home, so when you upgrade you won't lose your data.
    However if you've added PPAs, you need to purge 'em first before doing upgrade.
  • Sanyam Khurana
    Sanyam Khurana
    @#-Link-Snipped-#

    I need to install Turbo C compiler, i saw a post saying to place the zip file in a folder and writing command through DOS box, but that command is not working,

    If you know any other method please tell...

    +

    Code Blocks program isn't compiling, I have tried making with a new project and new file, but what it gives me, is the output of the first test program "Hello World"

    I'm feeling like crying..

    PS : This is the #-Link-Snipped-#
  • Abhishek Rawal
    Abhishek Rawal
    LOL What's TurboC ? Turbo C & DOS in Unix, You gotta be kiddin me.

    GNU GCC C Compiler is preinstalled in Ubuntu. For C++, do apt-get g++.
    Use 'geany' IDE it's lightweight.However, I am not fond of IDEs, as with addons/plugins/extensions gVim can do as goog as what IDEs can.
  • Sanyam Khurana
    Sanyam Khurana
    But I don't want a gcc compiler, I specifically want turbo c
  • Abhishek Rawal
    Abhishek Rawal
    Sanyam Khurana
    But I don't want a gcc compiler, I specifically want turbo c
    Then IDK buddy, I've been using GCC for quite long. It is constant in development & quite good.
    I don't understand why you wanna use TurboC when world's best compiler is already been shipped with distro.
  • Anand Tamariya
    Anand Tamariya
    Sanyam Khurana
    But I don't want a gcc compiler, I specifically want turbo c
    I'm curious too - why do you want TurboC specifically?

You are reading an archived discussion.

Related Posts

I wonder if this happens only with me, or with everyone else here. nowadays whenever i click on the google chrome icon, a dialog box appears saying "whoa ! google...
Need a suggestion regarding plc programmer whether it has good scope that i am being electrical graduate is it good for me and how much one can earn after getting...
As Google IO's keynote kicked off, new services were announced among which the Google Play for Education stands out as a convincing one for development. After Sundar Pichai, the Vice...
You do enjoy the services given to you by current messaging or photo sharing apps but now Google has announced an app that unifies all the features you need. Conversations,...
The Google IO keynote ended well with many exciting features and services announced and released already. Google Wallet had a new amazing announcement which seems like a total win. You...