EzDevInfo.com

11.10 interview questions

Top 11.10 frequently asked interview questions

What is the difference between Eject and Safely Remove Device

Taking this question and it's answer into account What is the difference between "Unmount", "Eject", "Safely Remove Drive" and the eject icon? I ask:

Why do both options appear if they are the same.

Is there some kind of difference in regards to how they unmount the unit (Just in case they changed their functionality in the latest Ubuntu versions) and if they are the same, would it be possible to remove one of them.


Source: (StackOverflow)

How do I get rid of this monitor error?

I have an Nvidia card and two monitors.

Every time I log in to Unity on Ubuntu 11.10, I get this error:

x monitor error

"Could not apply the stored configuration for monitors"

I have tried opening nvidia-settings, but none of my experimental alterations to any of the settings has made a difference.

I can still use my computer, but it seems to break the themes, icons, and styles so my computer looks like Unix circa 1992, which is a pretty annoying.

How do I kill this error?


Source: (StackOverflow)

Advertisements

How do I mount a CIFS share?

I'm using Ubuntu 11.10, and am trying to mount a freenas server. I have the server set to share in cifs and nfs with no luck.

I have tried smbmount //192.168.1.### /mnt/

I am not new to Ubuntu but am nowhere near a power user, so I'd prefer a GUI option if available.

How do I mount a cifs share in 11.10?


Source: (StackOverflow)

How to convert .tex into .odt?

I wish to convert a .tex file into an .odt file.
Can you suggest a good step-by-step solution?


Source: (StackOverflow)

Where can I find a g++ 4.7 package?

Some time ago, I managed to find PPA featuring g++-4.7 build. However, I had to reinstall everything on my machine and I lost name of that PPA. Could anyone point me to it? I tried to find it again, but without any luck. I'm on Ubuntu 11.10 installation.


Source: (StackOverflow)

How to replace OpenJDK 6 with OpenJDK 7?

Surprisingly (as OpenJDK 7 was released to general availability about 4 months ago) Ubuntu 11.10 still uses OpenJDK 6 instead of 7 by default. How do I best fix this? I'd prefer to remove OpenJDK 6 completely and let OpenJDK 7 to be the default-jdk and default-jre.

I don't want the official Oracle tarballs, I want deb repos - the standard Ubuntu way.


Source: (StackOverflow)

Automatically mount NTFS drive when I login

I use Ubuntu 11.10 and Windows7 dual boot with Ubuntu as my primary OS.

Every time I need to access a document I need to mount the respective drive, though this is not at all tiresome, still, is there any way that drives becomes automatically mounted when I login?


Source: (StackOverflow)

What is the "show desktop" keyboard shortcut?

I just upgraded to 11.10 from 11.04. Previously the shortcut to show the desktop was Super key + D (same as in Windows), But now it is not working. What is the new shortcut?


Source: (StackOverflow)

How to install a LibreOffice Dictionary (Spelling Check, Thesaurus...)

What are the steps to install the Spelling Check and other language supports for LibreOffice. For example spanish, french, italian, etc..


Source: (StackOverflow)

No such file or directory for existing executable

I just upgrade to Ubuntu 11.10 x64 from Ubuntu 11.04 32bit. But I find a really annoying problem. When I drag executable from file explorer to shell, the shell says
bash: /home/fenfei/app/android-sdk-linux/platform-tools/adb: No such file or directory
it's jus over there. I also have problem executing .../java. So I delete java, and extract the java package again then execute it and it works. But for /home/fenfei/app/android-sdk-linux/platform-tools/adb that method doesn't work. All of them are marked as executable.

Anyone can help me?


Source: (StackOverflow)

How to install MySQL workbench?

Installing MySQL workbench on 10.04 or 10.10 is not a problem, as the deb packages are available on MySQL's website. But there is no 11.04 deb package available.

So, how do I install MySQL workbench on 11.04 and keep it updated automatically when updates become available to ubuntu via apt-get update.


Source: (StackOverflow)

Which programs use the new "Online Accounts"?

In Ubuntu Oneiric 11.10 it's possible to configure a Google Online Account. I'm able to configure this program to get access to Mail, Contacts, Calendar and Chat.

But which programs use this data? There is no information about that.

After I configured my Google Account, I supposed that I will be able to use Google Chat with Empathy, or that I will be able to access my Contacts and Calendar in Thunderbird.

But none of this is true. So, how does Ubuntu use the configured Google Accounts?


Source: (StackOverflow)

How can I change/convert a Ubuntu MBR drive to a GPT, and make Ubuntu boot from EFI?

I recently have upgraded my PC, my new Motherboard (ASUS M5A99X EVO) uses UEFi instead of the regular MBR option.

I have a Ubuntu 11.10 installation that I did when I had my previous hardware (MSI MS 7267) , Ubuntu alone boots fine, and so does Windows 7, however Windows 7 is using UEFI (GPT) boot whereas Ubuntu is using MBR.

I have my OSs in separate drives, so that GRUB2 wont' get replaced by the Windows Bootloader and viceversa, as I said both OSs boot fine on their own, but to do that I have to disconnect one drive in this case the Ubuntu drive as it prevents Windows from loading.

Now my question is, How can I change/convert Ubuntu's drive so that instead of using MBR it uses GPT and allow Windows to boot?.

Preferably without reinstalling the whole system or lose any data.

And if I were to wipe the drive, How can I install Ubuntu in GPT, UEFI, whatever it is mode?.

Edit: I have used gdisk to convert from MBR to GPT, but now Ubuntu can't boot seems like grub just doesn't start.

I have re installed the OS, and the drive is GPT now by default however grup-pc is still being used instead of grub-efi.

How can i make Ubuntu boot from EFI?.


Source: (StackOverflow)

Why is sudoers NOPASSWD option not working?

I have a NOPASSWD line in /etc/sudoers (edited with visudo)

gatoatigrado    ALL=(ALL) NOPASSWD: /bin/set-slow-cpufreq

However, the output is,

gatoatigrado@coral:~> sudo -n /bin/set-slow-cpufreq
sudo: sorry, a password is required to run sudo

This kind of command works on an OpenSuSE machine, but not on Ubuntu 11.10. What am I doing wrong?

Note: I cannot find any relevant system log messages, e.g. via tail -f /var/log/syslog.

edit

Here is /etc/sudoers.

Defaults    env_reset

# things I've tried copying from an opensuse machine
Defaults always_set_home
Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE"

root    ALL=(ALL:ALL) ALL
gatoatigrado ALL=NOPASSWD: /bin/set-slow-cpufreq
%admin ALL=(ALL) ALL
%sudo   ALL=(ALL:ALL) ALL

Source: (StackOverflow)

How do I run a custom animated bootscreen?

I want to create a new splash theme for Ubuntu 11.10 using a volcano theme, so when it boots the volcano erupts with lava (same for shutdown). Now I have my image (png) but obviously it does not animate. I looked at the solar plymouth theme and I was thinking since the animation is there I can check it but no luck.

Is there a tool or a script I need to use to animate my volcano?

The image looks like this:

volcanotheme

I've already got the animated image, I'm just wondering how I can make it run at startup.


Source: (StackOverflow)