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.
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 RawalState the name of browser please, Will ya ?
-
Sanyam KhuranaFirefox
-
Abhishek RawalOpen 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
thenls
Upload the output. -
Sanyam KhuranaBetween
cd /usr/lib/adobe-flashplugin
and
ls
we have to give space or press enter after first code and then enter second? -
Abhishek RawalOpen 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 KhuranaThis is not possible, no such directory found.. :/
but it's showing that Plugin is installed in Ubuntu Software Center
-
Anand Tamariya
Simpler still, give output of:Sanyam KhuranaBetween
cd /usr/lib/adobe-flashplugin
and
ls
we have to give space or press enter after first code and then enter second?
ls /usr/lib/adobe-flashplugin
-
Abhishek RawalTry the second one then, you should get something like this :
-
Abhishek RawalAlright 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 KhuranaI 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.
-
Sanyam KhuranaAbhishek RawalAlright 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
Well still it doesn't work then, open this link : #-Link-Snipped-# & Download the Google Chrome .deb fileSanyam KhuranaOk wait, I'm doing this.. ๐
(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 KhuranaIt's currently downloading some stuff and installing, I hope it works ๐
-
Abhishek Rawal
It will. Just don't give up on Linux ๐Sanyam KhuranaIt's currently downloading some stuff and installing, I hope it works ๐ -
Sanyam Khurana
I'll not, I'll try my best to Understand it. ๐Abhishek RawalIt will. Just don't give up on Linux ๐ -
Sanyam Khuranata da, it worked with the first method.... ๐
thanks #-Link-Snipped-# -
Abhishek Rawal
Pleasure, buddy. ๐Sanyam Khuranata da, it worked with the first method.... ๐
thanks #-Link-Snipped-# -
Sanyam KhuranaOk, 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 RawalTell me the driver's version of your Nvidia chipset.
Try this : dpkg -l | grep -i nvidia -
Sanyam KhuranaDriver : Intelยฎ Ivybridge Mobile x86/MMX/SSE2
-
Sanyam KhuranaAfter executing the command in terminal, it's showing this
ii nvidia-common 1:0.2.44.2 Find obsolete NVIDIA drivers
-
Abhishek Rawal
Which means you're using Intel's Opensource drivers & not nvidia's.Sanyam KhuranaDriver : Intelยฎ Ivybridge Mobile x86/MMX/SSE2
Problem is not with the nvidia graphics drivers.
Install Bumblebee. -
Abhishek RawalBut 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 KhuranaI think that's because, I've an integrated graphic card of Intel..
-
Abhishek Rawal
Try -->Sanyam KhuranaI think that's because, I've an integrated graphic card of Intel..
Abhishek Rawalsudo 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 KhuranaExecuting 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
Reboot.Sanyam KhuranaExecuting third command it shows this.. -
Sanyam Khurana
Done, What's next..Abhishek RawalReboot.
Do I have to execute the remaining two commands now..? -
Abhishek Rawal
No you have to install Bumblebee now.Sanyam KhuranaDone, What's next..
Do I have to execute the remaining two commands now..?
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee -
Sanyam Khuranasee 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 RawalType
sudo apt-get update && upgrade
Reboot
Then proceed to Bumblebee installation -
Sanyam KhuranaAlso tell me, how to install winzip, I want that for Wine..
-
Abhishek RawalWinzip 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 KhuranaReboot done..!! ๐
Next step please..
and yes, I've installed a program now how to run it..? -
Abhishek Rawal
-- >Sanyam KhuranaReboot done..!! ๐
Next step please..
-----------------------------------------------------------------------------------------------Abhishek Rawalsudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee
You mean Winrar ? Just Right click on file & open with wine loader.Sanyam KhuranaI've installed a program now how to run it..? -
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
Right click on .exe file, install it like you do in Windows & then run.Sanyam KhuranaNope I've installed NI circuit design evaluation copy...and want to run it now..
Most small softwares don't need any other configuration, they work out of box. -
Sanyam KhuranaIt'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 RawalGo 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 Khuranabro, same error again in executing the commands for bumblebee
-
Abhishek RawalI don't understand what's up. I can add the ppa easily.
Check :
I guess you know how to add PPA, do you ? ๐ -
Sanyam Khurana
Yeah, I have read your threads about PPA...Abhishek RawalI guess you know how to add PPA, do you ? ๐
but when you have given the command here, why is it not working for me...
๐ -
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 RawalSwap 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
Yup I read that, so I'm gonna allocate around 8 GB ๐Abhishek RawalSwap 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. -
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.Sanyam KhuranaYup I read that, so I'm gonna allocate around 8 GB ๐
Now a days, it's wastage of memory. 16 GB is just insane amount for SWAP Area. -
Sanyam KhuranaHey 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
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 RawalYou'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. -
Abhishek Rawal4 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.Sanyam KhuranaI 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 ? -
Sanyam Khurana
I have 750 GB HDDAbhishek Rawal4 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.
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/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 KhuranaDoes Wine supports only some limited software programs?
-
Abhishek Rawal
WineHQ - Wine Application DatabaseSanyam KhuranaDoes Wine supports only some limited software programs? -
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?
-
Abhishek RawalInstall 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
It worked, Thanks.Abhishek RawalInstall 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. -
Abhishek Rawal
I am glad, I was able to help you ๐Sanyam KhuranaIt worked, Thanks. -
Sanyam Khurana
If I update directly to 13.10, will my previous data be there or all formated?Abhishek RawalI am glad, I was able to help you ๐ -
Abhishek Rawal
Data ? You mean apps ? Don't worry they will be updated too.Sanyam KhuranaIf I update directly to 13.10, will my previous data be there or all formated?
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@#-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 RawalLOL 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 KhuranaBut I don't want a gcc compiler, I specifically want turbo c
-
Abhishek Rawal
Then IDK buddy, I've been using GCC for quite long. It is constant in development & quite good.Sanyam KhuranaBut I don't want a gcc compiler, I specifically want turbo c
I don't understand why you wanna use TurboC when world's best compiler is already been shipped with distro. -
Anand Tamariya
I'm curious too - why do you want TurboC specifically?Sanyam KhuranaBut I don't want a gcc compiler, I specifically want turbo c
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...