How to show/hide all hidden startup applications in ubuntu 14.10
Your are probably familiar with the concept of “hiding” a folder or file in Windows. Hiding a folder or file just “removes” the folder from the normal view and then you can choose to display “hidden files” to see it.
So how do you see the hidden files in Linux then? Let me show you that.
Show hidden files in Ubuntu & other Linux distributions
If you are in a terminal, you can use the ls command to display the all the files, including the hidden ones:
You can recognize the hidden files and folders with the dot (.) before their names.
If you use desktop Linux, you can still see hidden files easily. Let’s see how.
Keyboard Shortcut in GUI
If you are in the file manager, you can use the Ctrl+H keyboard shortcut in Ubuntu and I presume other distributions to display all the files including the hidden ones.
Pressing Ctrl+H again will hide the files.
If you are not a fan of keyboard shortcuts, you can use the file manager GUI to display the hidden folders and files.
To see a hidden file or hidden folder in Ubuntu, go to the file manager (default is Nautilus). File Manager is Ubuntu’s counter part of Windows Explorer.
Now go to the top menu->Show hidden files:
How to hide files or folders in Ubuntu
Now that you have learned to see hidden files in Ubuntu, let’s now see how you can hide a folder or files.
Unfortunately/interestingly, there is no similar way as in Windows to hide a folder. In Windows, you right click on a file and choose the option of making it hidden. But this option is not available in Ubuntu.
So, how can you hide a folder in Ubuntu then? Very simple! Using the Linux property of hiding a file/folder. In Linux, if a file name starts with . (dot), it is considered as a hidden file.
Now if you want to hide a file or folder, lets say MyFolder, just rename it to .MyFolder and it will be taken as a hidden file or folder.
If you are using Linux desktop, just right click and choose the rename option and add the dot before the name.
Bonus Tip: Hiding multiple files and folders without renaming all of them (valid for GUI only)
This is a neat little trick that will let you hide several files and folders from the normal view in your desktop Linux’s file manager.
Traditionally, if you create a .hidden file and add the name of the folders in this file, those folders will be hidden from normal view when you close your file manager and open it again.
Keep in mind that this trick works with only the current directory you are in. It won’t work for nested directories. You can create the .hidden file in any directory to hide files and folders in it.
This was about hiding files in Linux. There are separate methods for locking a folder in Linux. I hope you like this little bit of Linux knowledge.
เมื่อเร็ว ๆ นี้เราได้แสดงวิธีจัดการแอปพลิเคชั่นเริ่มต้นใน Ubuntu 14.04 เช่นเดียวกับที่คุณทำใน Windows อย่างไรก็ตามเมื่อคุณเข้าถึงเครื่องมือการตั้งค่าแอปพลิเคชันเริ่มต้นแอปพลิเคชันเริ่มต้นทั้งหมดจะไม่แสดง บางอย่างถูกซ่อนอยู่ เราจะแสดงวิธีเปิดเผยแอปพลิเคชันที่ซ่อนอยู่เหล่านี้.
ในการแสดงแอปพลิเคชั่นเริ่มต้นที่ซ่อนอยู่ให้กด Ctrl + Alt + T เพื่อเปิดหน้าต่างเทอร์มินัล พิมพ์คำสั่งต่อไปนี้ที่พร้อมต์แล้วกด Enter.
sudo sed -i ‘s / NoDisplay = true / NoDisplay = false / g’ /etc/xdg/autostart/*.desktop
เริ่มพิมพ์“ แอปพลิเคชั่นเริ่มต้น” ในช่องค้นหา รายการที่ตรงกับสิ่งที่คุณพิมพ์เริ่มแสดงใต้ช่องค้นหา เมื่อเครื่องมือแอปพลิเคชันเริ่มต้นแสดงขึ้นให้คลิกไอคอนเพื่อเปิด.
ในการไม่แสดงแอปพลิเคชันเริ่มต้นที่ซ่อนอยู่อีกครั้งให้พิมพ์ (หรือคัดลอกและวาง) คำสั่งต่อไปนี้ที่พร้อมท์แล้วกด Enter.
sudo sed -i ‘s / NoDisplay = false / NoDisplay = true / g’ /etc/xdg/autostart/*.desktop
หากต้องการปิดหน้าต่างเทอร์มินัลให้คลิก X ที่มุมบนซ้ายของหน้าต่างหรือพิมพ์“ exit” (โดยไม่ใส่เครื่องหมายอัญประกาศ) และกด Enter.
How do I manage (add/remove) all the startup applications in Ubuntu 11.10 and up?
Startup Applications doesn’t show all the applications which are started during boot.
5 Answers 5
As said above, you have to edit /etc/xdg/autostart/ and either:
- remove the NoDisplay=true lines;
- or make those same lines comments by adding # in front of them;
- or replace true by false in those same lines.
The third solution can be easily done in three steps:
- Summon the terminal with Ctrl + Alt + T .
Type the two following commands:
After changing anything you want, you can go back to the previous state by typing this into the terminal:
This has been tested in 12.04, 12.10 and 13.04.
[Source: iloveubuntu.net, thank you Nikhil Sinha for the link]
/.config/autostart/ as suggested in @TormodVolden 's answer
Remove the NoDisplay=true line from each entry in /etc/xdg/autostart/ Then just uncheck the ones you don’t want in Startup Applications. Generally though the autostart apps are there for a reason so make sure you know what you’re doing when you disable them.
There are also various services which store their configuration files in /etc/init . Most users shouldn’t touch those files though.
The correct way to do this as a normal user is to copy the desktop file in question from /etc/xdg/autostart/ to
/.config/autostart/ (create the directory first if needed) and edit this copy to state NoDisplay=false . Then open “Startup Applications Preferences” and uncheck the corresponding box.
Now you need to remove the NoDisplay=true key from the files after copying them, which can be done with sed for all of them with
/.config/autostart/ after a system upgrade for any changes compared to the default files in /etc/xdg/autostart/ in case something was added during upgrade
It’s normal that you don’t see anything listed. The Additional startup programs list is just for programs that start up for the current user (not necessarily for other users, and not all the services that start when Ubuntu boots). Furthermore, it doesn’t list the normal parts of the desktop environment that start when the user logs in graphically.
Anyone can check this by clicking “Startup applications”. Its blank by default.
If you want to have the hidden startup entries shown (such as update notifier, orca screen reader, onboard, etc), just type/copy and paste the following in a terminal:
If you want to hide the normally hidden entries, just type/copy and paste the following
Hiljuti näitasime teile, kuidas käivitusprogramme hallata Ubuntu 14.04-s, nagu saate Windowsis. Siiski, kui käivitate rakenduste eelistuste tööriista, ei ole kõik käivitusrakendused loetletud. Mõned on peidetud. Näitame teile, kuidas need peidetud rakendused avaldada.
Näiteks on need käivitamisrakendused, mida me näeme, kui avate käivitamisrakenduste eelistuste tööriista.
Peidetud käivitusrakenduste kuvamiseks vajutage klahvikombinatsiooni Terminal akna avamiseks Ctrl + Alt + T. Sisestage järgmine käsk viirusel ja vajutage sisestusklahvi.
sudo sed –i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop
MÄRKUS: eespool nimetatud käsu kopeerimine ja kleepimine oleks lihtsam ja tagaks täpsuse.
Sisestage parool, kui see küsitakse ja vajutage sisestusklahvi.
Käivitamisrakenduste eelistuste tööriista avamiseks klõpsake Ühtse riba ülaosas nuppu Otsi.
Alusta otsinguväljale käivitamisrakenduste kirjutamist. Kirjanikud, mis sobivad teie sisestamisega, hakkavad kuvama otsingukasti all. Kui tööriist Startup Applications kuvab, klõpsake selle avamiseks ikooni.
Nüüd näete kõiki käivitusprogramme, mis varem olid varjatud. Tehke soovitud muudatused ja klõpsake selle tööriista sulgemiseks nuppu Close.
Peidetud käivitusprogrammide uuesti näitamiseks tippige (või kopeerige ja kleepige) järgmine käsk viirusel ja vajutage sisestusklahvi.
sudo sed –i ‘s/NoDisplay=false/NoDisplay=true/g’ /etc/xdg/autostart/*.desktop
Terminaliakent sulgemiseks klõpsake akna ülemises vasakus nurgas X-s või tippige väljumiseks (ilma jutumärkideta) ja vajutage sisestusklahvi.
Nedávno sme vám ukázali, ako spravovať spustené aplikácie v Ubuntu 14.04, rovnako ako v systéme Windows. Keď však pristupujete k nástroju Predvolené aplikácie, nie sú uvedené všetky spustené aplikácie. Niektoré sú skryté. Ukážeme vám, ako odhaliť tieto skryté aplikácie.
Napríklad ide o spúšťacie aplikácie, ktoré vidíme pri otvorení nástroja Predvolené aplikácie.
Ak chcete zobraziť skryté spustené aplikácie, stlačte klávesy Ctrl + Alt + T na otvorenie okna Terminál. Na výzvu zadajte nasledujúci príkaz a stlačte kláves Enter.
sudo sed –i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop
POZNÁMKA: Kopírovanie a vloženie vyššie uvedeného príkazu by bolo jednoduchšie a zaručilo by presnosť.
Po výzve zadajte heslo a stlačte kláves Enter.
Ak chcete otvoriť nástroj Predvolené aplikácie pre aplikácie, kliknite na tlačidlo Hľadať v hornej časti panela Unity.
Začnite písať "spúšťacie aplikácie" do poľa Hľadať. Položky, ktoré zodpovedajú zadanému typu, začínajú zobrazovať pod vyhľadávacím poľom. Keď sa zobrazí nástroj Spúšťacie aplikácie, kliknite na ikonu a otvorte ju.
Teraz uvidíte všetky spustené aplikácie, ktoré boli predtým skryté. Vykonajte všetky potrebné zmeny a kliknutím na tlačidlo Zavrieť zatvorte tento nástroj.
Ak sa skryté spustené aplikácie skryje, znova zadajte (alebo skopírujte a prilepte) nasledujúci príkaz na výzvu a stlačte kláves Enter.
sudo sed –i ‘s/NoDisplay=false/NoDisplay=true/g’ /etc/xdg/autostart/*.desktop
Ak chcete zatvoriť okno Terminál, kliknite na X v ľavom hornom rohu okna alebo napíšte "exit" (bez úvodzoviek) a stlačte Enter.
Наскоро ви показахме как да управлявате стартовите приложения в Ubuntu 14.04, точно както можете в Windows. Въпреки това, когато отворите инструмента "Предпочитания за стартиране на приложения", не се показват всички стартови приложения. Някои са скрити. Ще ви покажем как да разкриете тези скрити приложения.
Например това са приложенията за стартиране, които виждаме при отваряне на инструмента за предпочитания за стартиране на приложения.
За да покажете скритите приложения за стартиране, натиснете Ctrl + Alt + T, за да отворите прозореца Терминал. Въведете следната команда от прозореца и натиснете Enter.
sudo sed –i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop
ЗАБЕЛЕЖКА: Копирането и поставянето на горната команда ще бъде по-лесно и ще гарантира точност.
Въведете паролата, когато получите подкана, и натиснете Enter.
За да отворите инструмента "Предпочитания за стартиране на приложения", кликнете върху бутона "Търсене" в горната част на лентата на Unity.
Започнете да въвеждате "стартови приложения" в полето за търсене. Елементите, които съответстват на въведеното от вас, започват да се показват под полето за търсене. Когато инструментът за стартиране на приложения се покаже, кликнете върху иконата, за да го отворите.
Вече ще видите всички стартирани приложения, които преди са били скрити. Направете желаните от вас промени и кликнете върху Затваряне, за да затворите този инструмент.
За да не се показват отново скритите приложения за стартиране, въведете (или копирайте и поставете) следната команда от прозореца и натиснете Enter.
sudo sed –i ‘s/NoDisplay=false/NoDisplay=true/g’ /etc/xdg/autostart/*.desktop
За да затворите прозореца на терминала, кликнете върху X в горния ляв ъгъл на прозореца или въведете "изход" (без кавичките) и натиснете Enter.
Will there be a way to disable auto-hide behavior of global application menu in Unity. While I would prefer to have this behavior disabled by default (as it is bad UX), it looks like it’s here to stay, so I’m wondering if, as a user, I will be able to turn it off.
3 Answers 3
16.04 and later (unity 7)
In addition to the gsettings menu option introduced in 15.04, this has been added to Settings – Appearance:
15.04, 15.10 & 14.04
15.04 now has the ability to toggle the global menu as well as the local integrated menus (Via System Settings – Appearance – Behaviour tab) to be permanently on or off.
If you are running a fully up-to-date version of 14.04, this same ability has been backported.
To switch on permanently:
To switch off i.e. to autohide:
12.10 through to 13.10 + 14.10
There is an implementation report which has some speculative suggestions as to the global menu including the ability to have the ability to always turn-on the global menu.
Unfortunately for these versions of Ubuntu the auto-hide ability was not implemented
The global menu cannot be prevented from autohiding using the standard Unity install.
Unlike previous versions of Unity where opening an application never showed the global menu, in 12.04, the global menu appears for two seconds after an application has been launched before fading.
. you can also delay the autohiding of the global menu for up-to 10 seconds
Recently ubuntu-forums published a solution to always display the global-menu (i.e. it never hides).
This solution involves adding a custom version of Unity to your installation. Thus – you are dependent on the PPA maintainer for future Unity releases etc. Whether this dog eats your cat – I’ll leave for you to monitor the ubuntuforums thread. I will not vouch for its veracity or stability.
[according to this post the ‘Menu always visible’ option is gone from the unity-revamped ppa]
Now it’s possible. The Unity Revamped PPA which provides Unity with two patches: Dodge Windows and minimize/unmaximize on click for the Unity launcher, has been updated yesterday with some fixes which aren’t yet available for the Unity package from the official Ubuntu 12.04 repositories as well as a new patch that brings a much requested feature: an option to disable the application menu (global menu) autohide behaviour.
The option that lets you disable menu autohide in Unity was supposed to be included by default in System Settings for Ubuntu 12.04, but it didn’t make it for some reason. Hopefully, this option will make it into Ubuntu 12.10 by default, but until then, you can use the PPA below to get an option to disable the application menu autohide behaviour.:
To upgrade to the latest patched Unity from the Unity Revamped PPA in Ubuntu 12.04 Precise Pangolin, use the following commands:
Once the packages have been successfully upgraded, log out and log back in.
To get the menu to always be visible, you’ll need to install CompizConfig Settings Manager:
Then open CompizConfig Settings Manager (CCSM), select "Ubuntu Unity Plugin" and on the "Experimental" tab, check the box next to "Menu Always Visible" (it’s not checked by default).
I was trying to control Ubuntu 14.4.1 Launcher’s behavior. I want it to auto-hide every time I have browser window like firefox maxmaized. I found this solution:
but is seems too old to work then I found this
I tried to combine the two scripts together so here is what I did:
But script doesn’t work. can anybody refine this script to me and get it to work?
2 Answers 2
Below two versions of a script to autohide the launcher when an application’s window is maximized. The scripts are tested on 14.04 / 14.10 /16.04
The differences
- The first version is a “general” version, it makes the launcher autohide whenever a window of any application is maximized.
- The second one makes the launcher autohide, but only on applications that you specifically define in the headsection of the script.
Both scripts recognize windows to be iconized, then there is no reason to autohide, and both scripts work workspace- specific; the launcher only switches to autohide on workspaces where actually one or more windows are maximized.
Installing wmctrl
The scripts use wmctrl to map the currently opened windows. You might have to install it:
The scripts
Both scripts below were updated/rewritten March 2017.
1. The “basic” version, acts on maximized windows of all applications
2. The application- specific version:
How to use:
Copy either one of the scripts into an empty file,
[set, if you chose the second one, your applications to hide]
and save it as autohide.py .
Run it by the command:
If it acts like you want it to, add it to your startup applications.
N.B. If you use it as a startup application, you should uncomment the line:
In the head section of the script. The script might crash if it is called before the desktop is fully loaded. Change the value (10), depending on your system.
Explanation
In a loop the script:
- [checks the possible pids of the set applications]
- checks the screen’s resolution, to see where the windows are positiond (relative to the current workspace)
- creates a list of current windows, their state
- checks the current hide-mode (either 0 for not- autohide or 1 for autohide)
(only) if a change in the hide-mode needs to be made, the script changes the setting.
לאחרונה הראינו לך כיצד לנהל את יישומי ההפעלה ב- Ubuntu 14.04, בדיוק כמו ב- Windows. עם זאת, כאשר אתה ניגש לכלי 'העדפות יישומים של הפעלה', לא כל היישומים של ההפעלה מופיעים ברשימה. חלקם מוסתרים. אנו נראה לך כיצד לחשוף את היישומים האלה מוסתרים.
לדוגמה, אלו הן יישומי ההפעלה שאנו רואים כאשר אנו פותחים את הכלי 'העדפות יישומים של ההפעלה'.
כדי להציג את יישומי ההפעלה הנסתרים, הקש Ctrl + Alt + T כדי לפתוח את החלון Terminal. הקלד את הפקודה הבאה בשורת הפקודה ולחץ על Enter.
sudo sed –i ‘s/NoDisplay=true/NoDisplay=false/g’ /etc/xdg/autostart/*.desktop
הערה: העתקה והדבקה של הפקודה הנ"ל תהיה קלה יותר ותבטיח דיוק.
הקלד את הסיסמה כשתתבקש לעשות זאת והקש Enter.
כדי לפתוח את הכלי 'העדפות יישומים להפעלה', לחץ על הלחצן חיפוש בחלק העליון של סרגל 'אחדות'.
התחל להקליד "יישומי הפעלה" בתיבה חפש. פריטים שמתאימים לסוג שאתה מקליד מתחילים להופיע מתחת לתיבת החיפוש. כאשר הכלי 'יישומים של הפעלה' מוצג, לחץ על הסמל כדי לפתוח אותו.
כעת תראה את כל יישומי האתחול שהוסתרו בעבר. בצע את השינויים הרצויים ולחץ על סגור כדי לסגור את הכלי.
כדי לא להציג שוב את יישומי ההפעלה הנסתרים, הקלד (או העתק והדבק) את הפקודה הבאה בשורת הפקודה ולחץ על Enter.
sudo sed –i ‘s/NoDisplay=false/NoDisplay=true/g’ /etc/xdg/autostart/*.desktop
כדי לסגור את חלון הטרמינל, לחץ על X בפינה השמאלית העליונה של החלון, או הקלד "exit" (ללא המרכאות) והקש Enter.