New answers tagged

0

What I did is right click on studio.sh, mouse over custom actions, left click on create desktop shortcut, and done.


1

What happens when you click Lock To Launcher option, is that Unity will change specific dconf schema for the launcher favorites and call couple of dbus methods. The key for programmers and application developers is the change in dconf schema. ( Jacob's answer relies on gsettings, however the idea is essentially the same as gsettings is just front end with ...


1

The way to do it with qdbus and org.ayatana.bamf interface. List of open applications by .desktop file: $ qdbus org.ayatana.bamf /org/ayatana/bamf/matcher \ > org.ayatana.bamf.matcher.RunningApplicationsDesktopFiles /usr/share/applications/compiz.desktop /usr/share/applications/firefox.desktop ...


2

Unity uses Compiz as composing manager, and that has all sorts of plugins for this sort of stuff. To make it easy and long story short without messing in command line , install Compiz Config Settings Manager ( with sudo apt-get install compizconfig-settings-manager or via Software Center ) , and look for Place Windows , ensure it's checked Under that ...


0

You just click on the app then get it into the trash (it work for me).


1

The dash still requires the old ubuntu software center to uninstall programs, even though it is not included with 16.04. Install the software-center package and log out and back in to your account and then you will be able to view screenshots of programs and uninstall them by right clicking on them in the dash like in previous versions.


0

Create ~/.local/share/applications/[application].desktop with: [Desktop Entry] Type=Application Name= GenericName= Comment= Exec=/Path/to/programm Icon=/Path/to/icon Categories= StartupWMClass=


0

I already had this issue since 15.10 and its the same in 16.04 now. Its very similar to a problem stated here where it was zeitgeist related. Reinstantiating the zeitgeist db seemed to help. I did not try it though.


1

Default directories for launchers The two default directories for .desktop files (launchers) are: /usr/share/applications for gloablly installed applications, and ~/.local/share/applications for locally installed applications (~ stands for your home directory, /home/yourname) , or local versions of the launchers. About LibreOffice LibreOffice ...


1

There are two options: The /opt directory is not in $PATH, which makes the .desktop file invalid, unless you added the directory manually. Usually applications in /opt have an absolute path in their Exec= line. Change it to the absolute path to the executable. There might be another .desktop file in ~/.local/share/applications, taking the place of your ...


1

Seems like the problem was not using an absolute path name for the Exec key. Here is a modified /usr/share/applications/emacs.desktop file: [Desktop Entry] Name=Emacs GenericName=Text Editor Comment=Edit text ...


2

Removing the unity-webapps-common package removes Amazon from the dash. Since the Amazon webapp is part of that package, you can't just remove the Amazon portion (well, short of editing the source code). This is a problem when other programs (like Unity Tweak Tool) depend on that package. As noted by fitojb in this answer to another question, however, this ...


-1

How can I remove Unity web apps? -> Try: sudo apt-get remove unity-webapps-amazon* Can't say it's the solution, because first thing I did, was search "amazon" files and manualy deleted "/usr/share/unity-webapps/userscripts/unity-webapps-amazon/" (no this it didn't remove Amazon) and now the apt-get wont find the Amazon.


1

This actually started working on its own. I have no idea why, it just started working after two reboots.


2

Although the solution below is not a fix to what seems to be a minor bug, you can use it as a workaround to automatically blacklist devices on startup (log in). The solution ...is a small script that remembers your blacklisted items on log in. It runs with two arguments: get and set. The first is to read the current blacklisted items, the second will (re-) ...


0

Had same issue after fooling around with unity-tweak-tool. The following terminal commands helped for me (tnx to ubuntuhandbook.org): dconf reset -f /org/compiz/ setsid unity


0

If you want to hide fstab mounted drives from the Launcher, you can do it this way: Install dconf-editor if you haven't already. Start dconf-editor and scroll down to com → canonical → Unity → devices and enter the UUID of the mount in blacklist. Here's an example of what it looks like on my system.


0

typing ccsm and selecting unity launcher did it.


3

Introduction The simple script bellow allows taking a file as argument and sets the launcher to have whatever shortcuts to programs appear in the file (one per line). Basic idea is that the launcher icons are actually links to .desktop files (wherever they may appear) , and canonical method to set the launcher items is to run the following command: ...


3

Another possible solution - via dconf-editor , the schema is com.canonical.Unity.Launcher To install dconf-editor run sudo apt-get install dconf-editor in terminal , or find it in the new software center


6

You can also use Unity Tweak Tool to move the launcher to the bottom. First install Unity Tweak Tool with the following line from a terminal (ctrl+alt+t) sudo apt install unity-tweak-tool after that you can open it from dash or command line. You will be greeted by the following window where you need to access the Starter (called Launcher in english) tab ...


0

More "graphical " way of doing this: Go to folder ~/.local/share/applications using Nautilus or whatever file explorer. Copy and paste some existing shortcut with icon you like. Right click on new shortcut and change property to point to your script or application. Drag it on launcher/taskpan. You can also open it in text editor and do more fine tuning.


0

To get it back: Run nautilus from Dash Browse to /usr/share/applications Drag the file org.gnome.Nautilus.desktop to the Unity Launcher That should do it. Question remains why it does not appear in the launcher if you run it from Dash. Possibly a log out / in would have changed that.


6

If you are using Ubuntu 16.04 you can run the following command in terminal to move the unity launcher to the bottom: gsettings set com.canonical.Unity.Launcher launcher-position Bottom If you want it in the default location (left of the screen), run: gsettings set com.canonical.Unity.Launcher launcher-position Left


1

After I get comment from @MarkKirby I found that steam-launcher icon that was in unity the dashboard of ubuntu 14.04 is found in /tmp folder. How to remove that file from search in unity dashboard? After I found the file, I just simply moved it to trash, it's not an important file anyway. After I remove that file it's gone from unity dashboard. And steam ...


1

Attention: this solution propably only works if you have upgraded from 15.10 to 16.04 LTS Thats pretty easy now, press windows/superkey. In bash enter amazon to find the amazon software. Right click it and see the detailed information, where you shalt find an incredible remove button :) Have fun.


1

1) Go to the installation dir, and fire it up with ./studio.sh 2-A) [For > v2.0] There is an option to add a shortcut in Android Studio's "main menu": 2-B) [For < v2.0] There is an option to add a shortcut in Android Studio's "main menu":


2

As you found out yourself while testing, the entry responsible for such behavior is: X-Ubuntu-Gettext-Domain=gnome-screenshot From https://wiki.ubuntu.com/UbuntuDevelopment/Internationalisation/Packaging: DESKTOP ENTRIES Translations of desktop entries (.desktop files) are also stripped out and included in language packs. Contrary to what ...


1

Simply putting 'Tweak' in the Dash should be enough:


1

Since Unity-Tweak-Tool is normaly not a CLI tool you should be able to find it in Dash after a logout/reboot, but if not simply run it from terminal: unity-tweak-tool


0

use Plank Dock to get a Mac like Dock in Ubuntu `sudo apt-get install plank` set the sensitivity to the lowest to avoid the taskbar


3

No need to make any changes that need sudo How to prevent an application to show up in Dash Copy the corresponding .desktop file from /usr/share/applications to ~/.local/share/applications: cp /usr/share/applications/steam.desktop ~/.local/share/applications Open the local copy with gedit: gedit ~/.local/share/applications/steam.desktop Add the ...


1

To move the Steam Launcher out of /usr/share/applications, and place it into /opt, use the following command: sudo mv /usr/share/applications/steam.desktop /opt/ The launcher should still work if you navigate to /opt and doubleclick it. An update of Steam will probably put a new launcher into /usr/share/applications. For more info on what mv does, see ...


0

I don't know if you ever got this to work, but the issue I'm almost certain was this: The command you are executing should be: /bin/bash /home/mockie/softwares/PhpStorm-133.982/bin/phpstorm.sh


0

Don't install with sudo. ubuntu-make installs software in your own home directory by default (~/.local/share/umake/...). umake ide visual-studio-code I got here by also finding out, there is no launcher generated. The binary is located in the base installation directory and can be opened with: ~/.local/share/umake/ide/visual-studio-code/code So until ...


2

Intruduction The script bellow loops over hex values of colors incrementally. It can be started at login or can be ran manually when one wishes so Getting the Script One can copy the source code from this post directly or through github using the following steps: sudo apt-get install git cd /opt ; sudo git clone https://github.com/SergKolo/sergrep.git ...


2

Introduction The script bellow makes the icon of currently active window float to the top of the launcher. It can be ran manually or as part of startup applications to start with the user session. Setup User can copy the script source from here, or obtain copy of the script through git: sudo apt-get install git cd /opt ; sudo git clone ...


3

Introduction The Unity Launcher and Compiz don't have a setting for only showing the launcher on specific viewport, however it is possible to use hide launcher setting to poll for change in viewport and alter that setting accordingly. The top left viewport would be coordinates 0,0 , thus there must be polling for whether or not we are on that viewport - ...


3

Where Wine launchers are stored Since Wine applications are installed inside ~/.Wine (locally), Wine launchers are also created locally by definition, in ~/.local/share/applications. There simply is no other option then that these launchers are located there. What can be misleading however is that the filename of a .desktop file does not necessarily show ...


0

Well, my launcher does not place newly launched icons in random order, rather more precisely, it does not interfere with the top 10 (which are labeled 1-0) 1,2,3,4,5,6,7,8,9,0. So, I must ask which version of Ubuntu, etc, etc, with more information on your part! Of course, if you by chance lock the new ones to the launcher and then move(click and drag) them ...


4

What to do if an application does not show up in Dash, or cannot be launched from Dash after you installed it? It can happen that you installed an application, you are sure the application is represented by a .desktop file in /usr/share/applications, but it either does not show up or the icon in the launcher doesn't do what it is supposed to do. Log out ...


4

As far as I understand that code it creates a menu item and connects it via DBus to void ApplicationLauncherIcon::Quit() (same file). This basically calls void AppWindow::Quit() const { WindowManager::Default().Close(window_id()); } (file unity-shared/BamfApplicationManager.cpp) for each window that belongs to the launcher icon, which essentially does ...


0

Introduction The script bellow kills all active windows of the currently active window that user is working in. This is meant to be bound to a shortcut. The script will show a popup prompting the user to confirm before killing all the windows. The script uses all the native (pre-installed ) tools, such as qdbus,zenity, and bash. Obtaining the script ...


-1

You could create a shortcut for xkill. settings < keyboard < shortcuts < custom shortcuts Add a custom shortcut, then simply write "xkill" in the command menu and set your own shortcut by pressing the keys you want. Like you said that doesn't give you a "saved unsaved files" message though.


2

Ho to safely close all windows of a gui application with a shortcut key The safest way to close an application's window gracefully, and make sure you will not loose data, is using wmctrl (not installed by default): wmctrl -ic <window_id> To use it in a script to close all windows of an application: install both xdotool and wmctrl sudo apt-get ...


1

in File Manager, I navigated to /usr/share/applications and right-clicked each icon (one at a time) and selected "copy to" and then clicked "Desktop" then "Select" ...voila! not as technical an approach, but it worked.



Top 50 recent answers are included