Hide-icon.sh - A Small Script to Hide Annoying Application Icons

If you are super-OCD like me, and you can't stand those ugly icons for applications that are forced to be on your system due to dependencies, I've written a little script to create .desktop files with "NoDisplay=true" in your ~/.local/share/applications directory based on a list you supply it.
To use it, just run
./hide-icon.sh list_of_desktop_file_names.txt
The script will also remove any .desktop files for applications that are no longer installed (that are in the list file).
Script:
#!/bin/sh
APPLICATION_PATH="/usr/share/applications"
USER_APPLICATION_PATH="${HOME}/.local/share/applications"
for FILE in `cat $1`; do
if [ -e "${APPLICATION_PATH}/${FILE}" ]; then
echo "Creating file ${USER_APPLICATION_PATH}/${FILE}"
echo "NoDisplay=true" > "${USER_APPLICATION_PATH}/${FILE}"
elif [ ! -e "${APPLICATION_PATH}/${FILE}" ] && [ -e "${USER_APPLICATION_PATH}/${FILE}" ]; then
echo "Deleting unnecessary file ${USER_APPLICATION_PATH}/${FILE}"
rm "${USER_APPLICATION_PATH}/${FILE}"
fi
done
My personal list file:
assistant-qt4.desktop
avahi-discover.desktop
bssh.desktop
bvnc.desktop
CMake.desktop
designer-qt4.desktop
ipython-qtconsole.desktop
jconsole.desktop
linguist-qt4.desktop
policytool.desktop
qdbusviewer-qt4.desktop
qtconfig-qt4.desktop
qv4l2.desktop
gda-control-center-5.0.desktop
gda-browser-5.0.desktop
nvidia-settings.desktop
hplip.desktop
ipython.desktop
zenmap.desktop
zenmap-root.desktop
Hope this helps someone make their application list less cluttered.

To hide the window completely use…
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "System Events"
tell process "Speech Feedback Server"
set value of attribute "AXHidden" to true
end tell
end tell</pre>…or to just minimize it to the dock use…
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "System Events"
tell process "Speech Feedback Server"
tell window "Speech Feedback"
set value of attribute "AXMinimized" to 1
end tell
end tell
end tell
</pre>

Similar Messages

  • I want to hide an application so that it doesn't show up on the iPhone (4S w/ iOS 6.1) or on the Apps screen when I sync my iPhone to the computer.  I used to be able to do this before the upgrade.  Is there a way?

    Before I upgraded to iOS 6, there was a way to hide an application on my phone.  When you did this is only showed up in Featured Apps in the App Store and specifically, would only appear in "Hidden Apps".  Also, the app wouldn't show up at all on my device when I sync to the computer.  I can't figure out how to hide an app anymore.  Can anyone help?  Oh and I'm talking about purchased apps...not the ones that come standard with the iPhone.

    Seems that you can no longer hide them on your phone.  Try doing so in iTunes: http://support.apple.com/kb/HT4919.

  • HOW TO HIDE INSTALLED APPLICATIONS

    If i download and install any application and if i want nobody to know about that application, how to hide that application. Please help me

    For that you will need some 3rd Party Application.. Create another Folder and move all such applications there-in.. and you should be able to Password protact that folder...but the compatibility will depend upon your device. Check here after setting your Device Model...

  • Hide related application region/link in email notifications

    Hi,
    Any pointers to hide related applications region/links in email notifications?
    Thanks upfront for the help!!

    Hello,
    Please see:
    How To Remove The Notification Details Attachment From Html Notifications (Doc ID 273518.1)
    Thank you,
    Deborah Bourgeois
    Oracle Customer Support

  • Why does "Hide all Applications" not hide all applications?

    Currently, when I invoke the "Hide all Applications" action, it leaves some apps visible. This happens all the time with Safari if it is open. This is clearly a bug -- is there a workaround for it?

    found this link a helpful workaround! (hint: use Option key when selecting apps and it closes them off desktop so you're left only with the one app window you want - not all of them)
    http://discussions.apple.com/thread.jspa?messageID=3517319&#3517319

  • Can't always hide an application

    From time to time, I find that I cannot Hide an application (menu "Application" -> Hide "Application" is greyed out and Apple-H doesn't work).  I cannot find any pattern.  Most of the time it is OK, but this happens occasionally with both Apple and third party applications.  Often, the App in question starts to behave again some time later.
    Does anyone have any thoughts as to the cause, and how can I clear it if it happens.

    I have a partially downloaded app I want to delete it.It is grey in colour and does not tremble when pressed what can I do?

  • Can you please have a look on this small script?[SOLVED]

    Hello guys,
    I am writing a small script which has to do the following:
    1. It should run without any interruption. (Therefore while [ 1 ])
    2. While working continuously, it should check whether a folder named "check" is available in the folder "/home/arch".
    3. If it is the case, it should execute the script /home/arch/shutdownServer1
    The bash script I am trying to execute is the following:
    #!/bin/bash
    while [ 1 ]
    do
    if [$(ls /home/arch | grep check)="check"]; then
            /home/arch/shutdownServer1
    fi
    done
    I tried to execute the code while the folder named "check" was available in the folder "/home/arch" But I got the following error.
    /home/arch/myscript: line 5: [check=check]: command not found => This implies that the expression "$(ls /home/arch | grep check)" was evaluated correctly because of check=check. But why does it say "command not found"? Since check=check it should be evaluated as true and execute the script shutdownServer1?
    P.S.: myscript is the name of the bash script file.
    Guys, please help me.
    Thanks in advance
    Last edited by Archie_Enthusiasm (2010-11-29 12:20:58)

    Try one of these
    if [ $(ls ~/ | grep check) ]; then
    ~/shutdownServer1
    fi
    or
    [ $(ls ~/ | grep check) ] && ~/shutdownServer1
    Edit: @Allan: thanks for '-d', I completely forgot that
    Last edited by igndenok (2010-11-29 11:59:16)

  • Sticky hide show - application

    Dear all,
    I justed installed the sticky hide show - application to take advantage of the ajax and dhtml logic, but when I try to run the application or single pages I always get the ORA-01722: invalid number error message and I don't know the reason for that. My apex version is compatible with this demo version.
    Thanks
    Jens

    Rhodri
    Hi. Sorry post not clear - is exactly the same issue - get 'ORA-01722: invalid number'. on one ApEx installation but not on another. In fact this applies to the demo app that downloads from OTN for the sticky windows as well as our app after adding the "sticky" functionality.
    Mentioned page 101 as this is a system generated page (easily allows reproduction of the error in a test app) and this localises the 'ORA-01722 error in the process added as part of the sticky show-hide implementation. The only element of the "sticky" implemented by this point in the (first) app page is the application process triggered at page "On Load". See my post:
    If you set the app to use the Application Express authentication scheme and
    then run it, you get the error on page 101, followed by the process error
    message inserted for the SHOW_HIDE_OUTPUT "On Load" process. This
    implies the problem is in the show_hide_collection_output procedure in the
    package.You can check out the show_hide_collection_output procedure in the package using the apex object browser or sql*developer - its the one called at the point the error is generated.. The installed package supporting the sticky implementation is called "show_hide_memory"
    Cheers, Dave

  • Hide indesign instance (Hide running application)

    Hi
    I am creating indesign instance using this code
    INDESIGN::_Application oApplication;
    oApplication.CreateDispatch(L"InDesign.Application") ==0);
    Indesign application start successfully.
    I want to hide the application means when i create instance then application should not visible
    and run in backside.
    for example
    Dim objWord As Word.Application
    Dim objDoc As Word.Document
    Set objWord = New Word.Application
    objWord.Visible = FALSE;
    There is a Application property visible to set application visible.
    i am using indesign.h and indesign.cpp file created from .tlb file of CS5(7.5).
    In my .h and .cpp file there is no application visible function or application class property

    The InDesign appliction's visible property is read only. Try to use minimize method like so:
    app.documents[0].layoutWindows[0].minimize(); // this is JS, in VB it will be similar

  • Workflow does not work from Script Menu or as Application

    Hi,
    I create a really simple script to adjust podcast volume...
    1. Get Specified iTunes Items (Recently added podcast – my smart folders of recently downloaded items)
    2. Filter Songs in iTunes (Volume Adjustment is 0: so the workflow will not touch podcasts already adjusted.)
    3. Set Options of iTunes Songs (Volume Adjustment: 80)
    The workflow works find when running from Automator. But when I save it as script plug-in or application and try to run it, nothing happens. Please help. Thanks.
    P.S. I tried to create folder action script that adjust the volume automatically when a podcast is downloaded (get selected items -> set options in iTunes songs). At first it works. Now it doesn't.

    It starts by pausing iTunes, executes a applescript where there are say commands, pauses for 3 seconds, gets info from ical, filters out todays events, speaks these events out loud, fetches a weather report via web(xml), speaks out loud, pauses a couple of seconds, gets current itunes song, resumes playing of this song and the workflow is finished.
    It quits right before it is about to announce todays events. Doesnt matter if there are events for today or not. If I start the application manually however, everything seems fine.
    The Applescript used to launch the program:
    tell application "TodaysiCal"
    run
    end tell
    Any suggestions now ?

  • GPO 2012 RDS Desktop Session - Hide All Application Arrow

    Does anyone have any ideas how to hide the all apps arrow on the metro interface please?
    running a SBS 2011 server with Win 2012 Std RDS for remote workers.
    Many thanks

    Hi,
    Thanks for posting in the forum.
    As far as I know, we could not hide the All Applications Arrow-down icon from Start Screen via Group Policy.
    Best Regards,
    Andy Qi
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Andy Qi
    TechNet Community Support

  • Hide all applications

    Hello there. Someone I know is having a hard transition from OS9 to OSX. Is there a keyboard command on OSX to hide all open windows and show the desktop? Is there a program that puts that application switcher thing from OS9 in the menu bar, in OSX? Any info that would ease the transition is appreciated. Thanks

    977/3423
    Yes,
    using Exposé you can show the desktop the F11 way (or set hot corners for the mouse).
    You can also switch between application windows, or all applications windows: play with the F9 and F10 options followed by Tab.
    You can also use Application Switcher to toggle between all open apps:
    Command-Tab (keep Command down then Tab-Tab-Tab or `-`-`).
    Hide All:
    you can only "Hide Others", using the usual Option-Command-H shortcut, or by Option-holdclicking the Finder icon in the Dock.
    By the way, you can combine mousing with the F keys too.
    Enjoy your Mac!
    Axl

  • How to hide standard application toolbar through config?

    Hi,
    My requirement is to make the transaction SWIA available in CRM WEB UI and to hide some buttons from the application toolbar like the execute Work Item, display Workflow Log buttons and few more.  Is there a way i can do it through cong?

    You can use transaction variants.
    [http://help.sap.com/saphelp_nw04s/helpdata/en/67/232037ebf1cc09e10000009b38f889/frameset.htm]
    Your fist step will be to execute transaction SHD0 and create a transaction variant for SWIA. Then you can create a Z transaction (ZSWIA) that will call SWIA with the transaction variant you have just created.

  • Does Cmd+H not hide all applications in Yosemite?

    When I press Cmd+H to hide each open app, it works as expected until I get to the last visible app. Instead of the last app being hidden and showing my desktop, pressing Cmd+H will either toggle (hide/unhide) between the last two apps, or not hide the last app at all.
    Is anyone else seeing this behavior? Is it possible to restore the Mavericks behavior where I can simply hide all the apps to eventually see the desktop? (Note - this is different than Mission Control's Show Desktop)
    Thanks in advance for any info!

    found this link a helpful workaround! (hint: use Option key when selecting apps and it closes them off desktop so you're left only with the one app window you want - not all of them)
    http://discussions.apple.com/thread.jspa?messageID=3517319&#3517319

  • Hide an application so it can't be brought to front without a password...

    I've been searching for a solution to this problem: I would like to be able to hide a running application, so that it a password is required to access the application in the foreground again.
    So far, I have searched without results. Does anyone have an solution? It doesn't have to be elegant...
    Thanks in advance for any help on this.

    Hi Anton,
    when your window form load;
    my code is in VB,
    Me.WindowState = FormWindowState.Maximized
            Me.CenterToScreen()
            Me.WindowState = FormWindowState.Normal
            Me.TopMost = True
    hope this helps,
    nd.Q

Maybe you are looking for