unity interview questions

Top unity frequently asked interview questions

How can I edit/create new launcher items in Unity by hand?

Will Unity allow making custom launcher icons from .desktop files or via menu editing system? (Right now the launcher doesn't give the option to "keep in launcher" on all programs.

For some programs I use, I have to make custom launchers or .desktop files.

For instance, daily blender builds are generally just folders with an executable.

In basic Gnome or KDE, I can make a new menu entry with the menu editing system. Then, I can also add it to Docky either from the menu or by dragging a .desktop file to it. Unity launcher doesn't support drag and drop, so thats not a bug or anything, but when I open a .desktop file, it has unpredictable results. Most time it will not have "keep in launcher". Sometime it will have a pinnable item without the .desktop's icon, and if I pin the item to the launcher, it will not call upon the program again after closing it. I've also gotten it to just work with a .desktop file for celtx.

Source: (StackOverflow)

How can I configure Unity?

Are there any configuration options for the Unity desktop?

There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below (How can I tell which Ubuntu release I'm using?):

If you're looking to configure Unity 2D, look here.

Source: (StackOverflow)

How do I set focus follows mouse?

Is there a way to set up "focus follows mouse" behavior in Unity?

Source: (StackOverflow)

Is there an easy way to rearrange or move the icons in the Unity launcher?

It looks like the only time that you can choose where an icon goes on the unity launcher, is when you add it. Is there a way to rearrange the order of an icon after it has been added?

Source: (StackOverflow)

Why is Ubuntu switching to Unity?

I understand from Jono Bacon's blog that Ubuntu will be switching to Unity as the default desktop in the upcoming 11.04.

What's not clear is "Why?".

Could someone explain the benefits of Unity over GNOME 2.x or indeed GNOME 3.x so that people can be informed about this decision?

Source: (StackOverflow)

Am I using Unity or Unity 2D?

Unity and Unity 2D look very much alike, so how can new users easily find out whether they are running Unity or Unity 2D?

Source: (StackOverflow)

How do I enable or disable the global application menu?

I'm fairly excited for Unity, as it looks like a promising new direction for Ubuntu. However, I do have a concern - will it be possible to use Unity without the global menu?

I have my window manager set to focus-follows-mouse/sloppy focus, and find the productivity gains to be immense. Sloppy focus is incompatible, however, with global menus, as it is possible for the focus to change while you move from window to menu.

Will Unity support an option to use window menus while still using Unity?

Source: (StackOverflow)

Unity doesn't load, no Launcher, no Dash appears

When I login, nothing happens.

I am presented with my desktop wallpaper.

Blank desktops suck

No Dash, no Launcher, nothing.

Source: (StackOverflow)

How can I set default terminal used in Unity?

How can I set the default terminal used in Unity?

I would like to use the Ctrl+Alt+T hotkey to start a non-default terminal. The default terminal is gnome-terminal.

Where can I change the default terminal value?

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 can I configure Unity's launcher auto-hide behavior?

This has been an issue for me with Unity since its release.
I'd like to make the the launcher auto-hide. Especially on Netbooks, where screens are small, the launcher is quite wide, making it difficult to properly display some websites and other apps. How can I configure the auto-hide behavior?

Source: (StackOverflow)

How do I revert Alt-tab behavior to switch between windows on the current workspace?

Enabling Bias alt-tab sorting to prefer windows on the current viewport as described here made no difference. How can I get back the exact same behavior as 11.04, so that alt-tab only switches between windows on the current workspace?

Simply disabling the alt-tab and shift-alt-tab keybindings on the unity switcher seems to have helped, but it still switches workspaces on me sometimes. For example, if I give a terminal window focus then press alt-tab, it switches to another terminal window on any workspace before trying to switch on the same workspace. Also, the Unity switcher still shows up when I alt-tab then hold alt even though I removed its alt-tab keybinding.

Source: (StackOverflow)

What Custom Launchers and Unity Quicklists are available?

Please note that right now, most of the information contained below is outdated and cannot be updated. Be careful, most of this won't work on Ubuntu 12.04 and newer.

Creating a custom launcher for Unity is simple. Quicklists provide an easy and efficient way to quickly access commonly used tasks for a specific application.

NOTE: Starting with Ubuntu 11.10, this popup option has vanished. Launchers can now only be created by editing text files in your home folder.

Creating a custom launcher is easy.

  1. Right-click on your desktop and click create a launcher.
  2. Edit the .desktop file using a text editor. (More information can be found here and here.)

So, which custom launchers do you use on Unity?

Note: Please limit yourself to one custom launcher per answer. Also, please provide a screenshot of it in action.

Source: (StackOverflow)

Missing date & time applet from top Unity panel

I like Unity very much. Recently, I installed Compiz manager and Nautilus Elementary also then tried to Play. During some of my playing around, Unity's clock applet has vanished.

I want to make it show the time again. How can I do this?

Source: (StackOverflow)

What's the right terminology for Unity's UI elements?

I've sent a few mails to the Ayatana mailing list regarding some UI suggestions for Unity, but I'm afraid I keep confusing the right terms for the UI element, so I would like to have some clarification.

Answer Index:

Source: (StackOverflow)