How to setup "show-user-menu false" as default setting

Ubuntu unity displays users list: How to setup "show-user-menu false" as default setting

I know that I can switch off this, using

gsettings set com.canonical.indicator.session user-show-menu false 

or by using the dconf tools.

It works, but every user in the system has to do that, if he doesn't want to see all users list from system.

Do you know, how (and where) to set up this to not show users in menu as a default setting?


  1. Copy the code below into an empty, file, save it as nouserinfo.desktop:
    [Desktop Entry]
    Exec=/bin/bash -c "sleep 10 && gsettings set com.canonical.indicator.session user-show-menu false"
  2. Copy the file to /etc/xdg/autostart

From now on, the default will be set to not show the users. The setting will be applied shortly after log in.


  • The command to disable the list can be run on log in, by placing a .desktop file that runs your command in ~/.config/autostart. This will however only run for one user.
  • If you do the same, but put the .desktop file in /etc/xdg/autostart, the command will be run, equally what user logs in.
  • The sleep 10 is to make sure the command runs when the desktop is ready for it.

Exclude one user?

Simply put the file below in the user's ~/.config/autostart:

[Desktop Entry]
Exec=/bin/bash -c "sleep 15 && gsettings set com.canonical.indicator.session user-show-menu true"

Local versions of global .desktop files will overrule the global ones, also on Startup Applications' .desktop files.

Category: unity Time: 2016-07-30 Views: 2

Related post

  • How to setup FTP users 2013-10-14

    Can anybody tell me how to setup FTP users under ISPConfig for one FTP server? I read in the forums I can add a user and this user can use FTP then. But adding a users automaticly adds an emailaddress and this is not what I want. What I do want is: S

  • show underlined menu items by default 2011-01-24

    in the previous releases of ubuntu menu items were underlined by default so i didnt have to press Alt to show them. however in maverick one has to press Alt to view them. how can i set ubuntu to show underlined menu items by default? is there a setti

  • How do i show all campaign members by default when I click on the campaigns tab? 2013-08-08

    How do I show all campaign members by default when I click on the campaigns tab, while sowing all the other campaign fields?

  • How to setup virtual users for vsftpd with access to a specific sub directory? 2015-01-19

    I need to be able to add a virtual users to vsftpd that only have access to a sub folder. The reason why I want to use virtual users is I only want to have 1 real user on the server. The FTP structure is: www website_name1 sub_folder1 website_name2 s

  • How to shrink the user menu? 2011-10-16

    I am running gnome-session-fallback and I want my panel to have a height of 24 pixel, that can be easily configured, except for one problem maker, the user menu: Unlike all other applets, the user menu has a minimum size of around 30 pixel, which mak

  • How can I show different menu for different pages? 2011-11-09

    I have a website that has a main menu(Top-Horizontal) like this: Main menu - Home - About Us - contact us On Home page I have a link to "Company" page like this When I am on this company page I want my website to chnage my m

  • In Views, how can I show users with one role before all other users? 2012-09-05

    I have several views of users and I want to show all users with a certain role (example, "show_me_first") before all other users in all of these views. I thought this would be easy, but apparently there is no "User: Role" as a sort cri

  • Superfish - how to integrate main & user menu together 2014-07-22

    I am using superfish module to decorate the menu system but found one issue. i need to show my "main menu" & "user menu" blocks on header region. so that if user is logged in, they can see all the main menu along with "user me

  • How to setup networked user accounts with private folders for Windows XP that can be accessible by other computers on the network? 2011-03-16

    6-9 desktop computers connected wired and running Windows XP SP3 Wireless is available for Windows/Mac laptops HP MediaSmart Server EX490/495 (only being used as a backup currently) I am trying to setup networked user accounts at a non-profit so the

  • how to setup SSH user with limit permission? 2011-04-10

    There are some sites provide SSH accounts only for ssh tunnel. I want to know how to make sure these accounts can only have permission to do tunnel, and how to do limit settings. And I also notice that github ssh format is ssh://[email protected]:{gitus

  • How to keep showing Administration menu when changing user? 2014-01-24

    I'm using the Administration menu, like thousands of others. I recently discovered that one can change from user by hoovering over the red "hello user" button at the right. It's a nice feature, but I was wondering if it's possible to keep showin

  • How can I show user's privileges in MySQL? 2010-02-27

    I know that I can set user's privileges in the following simple way: grant all on [database name].[table name] to [user name]@[host name]; But how can I see existing privileges? I need to see data similar to those which are used in grant. In other wo

  • How to setup a user account for a web application 2010-06-01

    What are the main guidelines to setting up a user account on a Linux machine for a web app? In my case it is a Rails application that does file management. First thing I can think of is to limit access rights to only the directories it needs. But how

  • How to always show the menu in GRUB2? 2011-02-03

    This question already has an answer here: I can't get grub menu to show up during boot 5 answers Installing Ubuntu 10.10 I get the GRUB2 boot manager. By default is does instant booting of the first entry, i.e. you have to hold the Shift key while bo

  • How can I show user name on gear icon in ubuntu 12.04? 2014-01-04

    I am using ubuntu 12.04 after once used 13.04 one. However, when I login to ubuntu 12.04 and see the gear icon at the right-top of the screen, there is no username on it. How can I fix/show it? Is there any command in Terminal that I should use to re

  • How do I show user custom fields in the comments section? 2012-11-04

    I have three custom fields from the user accounts that I would like to display in the comments user posts: field_agencyname field_address field_phone How/Where would I be able to display this information?

  • How not to show user name beside each consecutive message 2013-10-26

    After years on GTalk, I recently switched to Pidgin for my IM needs. Almost all is ok with me, though there's on thing that bugs me. It shows the name of the author beside each consecutive message. e.g. joce: Hey joce: Long time no see! joce: How are

  • How to not show user signatures in comments? 2014-05-26

    In D7, user signatures appear in their comments. It can be very annoying for many, especially when the signature is long or contain big pictures. So I'm wondering how to disable this? --------------Solutions------------- There is feature in admin pan

  • How to hide/show a menu in EasyAdminBundle programatically 2016-02-11

    I read the EasyAdmin documentation and see a lot of customization, but nothing like programatically set the showing menus. I'm thinking for example hide or show the menus depending of the user logged roles. Any help will be appreciated. -------------

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 1.050 (s). 13 q(s)