system-settings interview questions

Top system-settings frequently asked interview questions

Is it possible to add custom items to System Settings window?

For example, how to add a "Startup Applications Preferences" launcher to this Window?

System Settings window in 11.10

Source: (StackOverflow)

Is it possible to remove items from "System Settings"

I would like to remove or disable some unused settings panels in system settings/gnome-control-center to keep my more "ambitious" users from messing with them.
Specifically, I would like to disable/remove the following:

  • Printers (because we don't have any attached to these machines)
  • Details (because it lets you set actions on removable media)
  • Keyboard (because it lets you set shortcut keys - not a dealbreaker)

This seems like it should be pretty straightforward (I can remove them from the Applications menu by setting Hidden=true in the .desktop file associated with the panel), but they stubbornly remain in System Settings when I do that.

Am I missing something, or are we stuck with these panels in the Settings application forever?

Source: (StackOverflow)

System Settings icons missing in 14.04

I did a fresh install of trusty 14.04, but a lot of icons are missing. I installed from DVD which was painfully slow and I hope to avoid repeating the process, especially since I started customizing stuff.

Here's my settings window:

System Settings

I've tried:

sudo apt-get install --reinstall gnome-control-center
sudo apt-get install --reinstall gnome-settings-daemon-schemas

None of which changed anything.

Any idea? I wanna edit preferences and none of them are in System Settings, neither in Unity Dash.

Source: (StackOverflow)

Missing System Settings after removing some packages

I installed or uninstalled some packages. I do not even remember what I was doing. As a result, now I can't see most of the system settings in settings window. Any idea how to solve this problem.

enter image description here

When I hover mouse over the window title, it shows 'Unknown Application name' I must have removed something, not sure what :-)

Source: (StackOverflow)

Shouldn't dconf-editor and gsettings access the same database?

This is a basically 'academic' question --- to try to understand better the configuration system innards.

I understand that the dconf system is the new configuration system in gnome3 that has replaced the (deprecated) gconf; this is quite clear from Gconf, Dconf, Gsettings and the relationship between them.

It seemed to me that the programs gsettings and dconf-editor where just two different way to access the same dconf database, which is corroborated in
What is dconf, what is its function, and how do I use it?

EDIT: I discovered that someone noticed it as a difference in case in some schema name, see here --- Are dconf schema names case-sensitive?; but it seems that the differences are not restricted to that. In one of the answer there is an example of mismatch, but I didn't find an explication of why.

But lately I discovered that the keys accessible from gsettings and dconf-editor are not the same. For example, settings for vino are in dconf-editor under org.gnome.desktop.remote-access (see screenshot below) while in gsettings they are under org.gnome.Vino. There is some documentation that explain the difference?

In gsettings:

(0)samsung-romano:~/tmp/try% gsettings list-recursively org.gnome.Vino
org.gnome.Vino alternative-port uint16 5900
org.gnome.Vino authentication-methods ['none']
org.gnome.Vino disable-background false


(0)samsung-romano:~/tmp/try% gsettings list-recursively org.gnome.desktop.remote-access
No such schema 'org.gnome.desktop.remote-access'

But in dconf-editor:


Source: (StackOverflow)

mouse and touchpad settings missing

I am using the latest version of ubuntu 14.04 in the new lenovo Z510 ideapad laptop. I came across this problem while i was trying to enable my two-finger swipe action. Usually the mouse and touchpad setting will have separate columns for mouse and touchpad as shown here:

from this link

Whereas in my case there is no two parts. Just one, as shown.


Now can I get my settings back to normal, as shown here? Also, is it possible to enable both edge scrolling and two-finger scrolling without the use of third party apps like touchegg? If so, how?

Source: (StackOverflow)

How to mute sound effects in 14.04 via the command line?

Using the command line, I want to mute the sound effects in Ubuntu 14.04.

The GUI way of doing so is going to System Settings (unity-control-center), then going to the Sound Effects tab: enter image description here

The answer to this question outlines a way to do so using gconf (sudo su gdm -c "gconftool-2 --set /desktop/gnome/sound/event_sounds --type bool false"), but that no longer works in newer versions of Ubuntu.

I also looked for a clue at the output of pacmd info, but couldn't find anything useful either.

There is what seems to be a relevent setting that can be changed in dconf (org/gnome/desktop/sound/event-sounds), but it is set to false and changes nothing. There are some Ubuntu settings, especially for Unity, that don't have visible dconf settings. Still, they can be seen when changed with a GUI while running dconf watch /. But it shows nothing when muting/un-muting that setting.

I know I could just remove all the sound effects, but there must be a proper way of doing this...

Source: (StackOverflow)

How can I quickly see a list of the keyboard shortcuts?

For example to see which keys switch between multiple terminal windows.

I'm trying to use the keyboard more and more and the mouse less.

If I have multiple windows open I can use ialt-tab to switch between them.

By default it starts to select the 'next' application window but I found that if I hold it down for 2 seconds it will stay on the terminal window and allow me to switch between terminal windows. This is what I'm looking for.

Is there a way to be able to switch between windows - either through the multi-pane approach above or by cycling through the windows - without using the above approach with the 2 second delay.

It would be great if there was a way to do something like ctrl-tab or shiftalttab

I am not looking for split-window or tab windows or tmux pane solutions. I already use these and this is a separate issue that I like to know if there is any options to address this need.

Keyboard manager settings shows the below but doesn't seem to help me. enter image description here

Also keyboard shortcuts shows:

enter image description here

but alt-f6 doesn't work

Source: (StackOverflow)

How to remove "online accounts" from "system settings"?

I uninstalled "Unity" and use "Gnome Shell" instead, but the new "online accounts" was still in the "system settings" menu. How can I completely remove it?

I tried the command below but it doesn't work:

sudo apt-get -y remove unity-lens-shopping account-plugin-aim account-plugin-facebook account-plugin-flickr account-plugin-google account-plugin-icons account-plugin-identica account-plugin-jabber account-plugin-salut account-plugin-twitter account-plugin-windows-live account-plugin-yahoo gnome-online-accounts 

Source: (StackOverflow)

How to add korean keyboard?

How do I add the korean keyboard typing system? I'm currently usins ubuntu 11.10.

I have tried adding the korean keyboard under setting>keyboard layout, but It doesn't allow me to type in korean.

Source: (StackOverflow)

"Language support" icon missing in System Settings

The "Language Support" icon from the System settings has disappeared:

No language support icon in System Settings

(Also I can't find it from Dash)

The last thing I've done was changing the keyboard input method system to "ibus".

I tried to execute gnome-control-center directly in the command line, expecting to see errors in the output, but there is no console output.

Where can I start looking for the cause? Can I call the "Language Support" option directly from command line?

Source: (StackOverflow)

Sound Settings is missing all output devices [duplicate]

Possible Duplicate:
My sound stopped working today, how can I fix it?

I'm baffled by this discrepancy:

  1. This speaker test is successful:

    speaker-test -c 6 -D 'surround51:CARD=PCH,DEV=0'
  2. Sound Settings is behaving as if I have no sound card:

    Sound Settings

How do I find out what's causing this problem?


Have a look at aplay -L, pacmd list-cards, lshw, pulseaudio -vvvv, and pavucontrol. I do not use HDMI.

This discussion of a similar problem on a PulseAudio mailing list suggests that changes to /etc/pulse/ might be responsible, but I have not edited this file.

Source: (StackOverflow)

Appearance, Online accounts disappeared in System Settings in Ubuntu 13.10

I was installing some apps and icons then I noticed that there were about 4 games installed, so I went to the Software Centre to remove them. Then I wanted to add my Facebook account to Online Accounts but Alas! It was disappeared. But it was there when I searched for Online Accounts in the Unity Dash.

Please help me. I think I might have uninstalled the wrong packages. Can anyone tell me the packages that are associated with them?

Below are screenshots of my settings window and the Online Accounts icon in the Unity Dash.

Source: (StackOverflow)

How do I use non-regular variant of a font in Ubuntu?

How do I use non-regular variant of a font in Ubuntu?

Simply stating, I was trying to use light variant of a font. However, I couldn't. Every time I select those light variant, Ubuntu reluctantly used the same regular one.

For example, Today, I was trying to use Dosis font. When I choose this using Ubuntu-Tweak (or Unity-Tweak-Tool), Ubuntu selected the light one. I wanted to use Medium one, since that was giving more contrast. But selecting Dosis-Medium gave the save light rendering!!

Lastly, I tried using fonts.conf in .config/fontconfig directory. I've put these lines in that file. Putting these lines forces Ubuntu to display medium variant, but then Every Dosis fonts become Medium. There is no way to use Light variant anymore.

    <test name="family"><string>Dosis</string></test>
    <edit name="style" mode="assign" binding="strong">

In short, How can I select or use different variant of a font in Ubuntu. A solution using fonts.conf is also okay.

Output of fc-list 'Dosis'

    /usr/share/fonts/opentype/dosis/Dosis-Light.otf: Dosis:style=Light
    /usr/share/fonts/opentype/dosis/Dosis-SemiBold.otf: Dosis:style=SemiBold
    /usr/share/fonts/opentype/dosis/Dosis-Bold.otf: Dosis:style=Bold
    /usr/share/fonts/opentype/dosis/Dosis-Book.otf: Dosis:style=Book
    /usr/share/fonts/opentype/dosis/Dosis-ExtraBold.otf: Dosis:style=ExtraBold
    /usr/share/fonts/opentype/dosis/Dosis-ExtraLight.otf: Dosis:style=ExtraLight
    /usr/share/fonts/opentype/dosis/Dosis-Medium.otf: Dosis:style=Medium

Output of fc-match 'Dosis'

    Dosis-Medium.otf: "Dosis" "Medium"

Output of fc-match 'Dosis-Medium'

    Dosis-Medium.otf: "Dosis" "Medium"

Screenshot of Dosis font selecting light variant:

Dosis using light variant

If I use fonts.conf, all dosis become same

enter image description here

Source: (StackOverflow)

Change system settings depending on whether a monitor is plugged in

I'm currently using a Laptop running Ubuntu 12.04. When I'm at work I plug in a monitor, mouse and keyboard. Then I close my laptops screen and use it as a normal pc. Everytime I plug it in and plug it out, I have to change my system settings, because normally my laptop would suspend to RAM, when I close its screen. Also I have to change where my graphics card should display my desktop.

Is there any way to execute some script when an external monitor or usb-device is plugged in or out? If yes, is there any way to change my system settings by a shell script? If not, is there any other way to do it?

Source: (StackOverflow)