In order to achieve that.. you should edit the Nautilus source code and the nautilus.desktop file or using another file manager that allows this, such as nemo.
NOTE: In this example I'm running ubuntu 13.04 with nautilus (files) 3.6.3. You can test this in a virtual machine to see if everything is OK.
1) Make sure you have enable the Source code repository
There are two ways:
You can add a shortcut to a folder by browsing (in nautilus) into the folder you want to add, and choose "add bookmark" from the bookmark menu. Alternatively, you can press Ctrl+D. Bookmarks you created this way are added automatically to the Files icon in the launcher, in the top section (Nautilus adds these shortcuts to ...
Normally, when starting GUI applications from the Unity Launcher, the launcher waits for a window to appear. While waiting, it shows the "spinning wheel". It won't wait forever however; after about 20 seconds, the launcher assumes the window won't appear and gives up waiting.
1. The main command of an application's launcher
I found an easy way outlined on SO.
Please follow the instructions outlined in this link - this solved the same problem I had.
Remove the list you do not want. However, once you login again, it will reset, so
echo "enabled=false" > ~/.config/user-dirs.conf
To the original version of the question (although it also applies to the edited one)
You can use textual icons from the font Ubuntu:
How to set up
Open Special Characters, choose the font Ubuntu* and make a choice of appropriate icons.
Copy the global rhythmbox.desktop file to ~/.local/share/applications:
cp /usr/share/applications/rhythmbox.desktop ~/....
You can edit the Firefox quicklist with Ubuntu-Tweak.
(Click here to see how to install Ubuntu Tweak).
Once you have Ubuntu-Tweak installed...
Navigate to "Admins".
Choose "QuickLists Editor"
Find the icon that matches the one you want to edit (in this case Firefox).
To add your new QuickList items:
Click the "+" ...
GUI quicklist editor
Combining (commands to start-) applications is one of the options of QLE Unity Quicklist Editor. Although you can create a new icon and add your applications, I'd suggest adding your application shortcuts to an existing launcher icon, like below:
Adding applications to an existing icon
In the QLE main window, In the left column, you'...
The file you edited is contained in the "nautilus" package. You can easily restore the original version shipping with 12.04 by doing the following.
Remove the old file:
sudo rm /usr/share/applications/nautilus-home.desktop
sudo apt-get --reinstall install nautilus
After this, the behaviour of the quicklist should be the default for ...
I'm not sure is it correct, but I'm using something like this:
def check_item_activated_callback (menuitem, a, b):
if menuitem.property_get_int (Dbusmenu.MENUITEM_PROP_TOGGLE_STATE) == Dbusmenu.MENUITEM_TOGGLE_STATE_CHECKED:
menuitem.property_set_int (Dbusmenu.MENUITEM_PROP_TOGGLE_STATE, Dbusmenu.MENUITEM_TOGGLE_STATE_UNCHECKED)
I think the answers given so far are a bit over-complicating things. There is no separate script required, the relevant DBus commands can be sent directly via dbus-send. Just make sure that the dbus package is installed and in the command line issue the following commands:
mkdir -p ~/.local/share/applications
cp /usr/share/applications/spotify.desktop ~/....
spotify (native linux client)
Since spotify includes an indicator to control some of its functions, this allows us to use dbus to send events.
There is a great script on ubuntuforums that covers this.
First install a prerequisite:
sudo apt-get install libnet-dbus-perl
Now copy and paste the script into a text file called spcmd and save this to your home ...
It seems there exists no way to remove or disable “Unlock from launcher” in the Quicklist of a Launcher-Icon.
But I found a workaround that saves the current order of the icons in the Launcher and - in the case that an icon was mistakenly removed from the Launcher - restores the order after every start, reboot or login.
Step 1: Save the current order of ...
Here's an example of making a Checkbox type Quicklist menu item:
# Create toggle-able menu item for urgency
urgent_menu_item = Dbusmenu.Menuitem.new ()
# Set the tab's name as the menu item's name
urgent_menu_item.property_set (Dbusmenu.MENUITEM_PROP_LABEL, _('Urgent'))
# Make the menu item toggle-able
They are planned for the future, called "Jump Lists" in GNOME 3 lingo, but are currently only implemented as an extension installable at extensions.gnome.org. It should be noted that "Application menus" currently serve a similar role.
Action lists have been added to the FreeDesktop.org app launcher specification. In theory, all compliant desktop ...
First you need to install Ubuntu Tweak. To install Ubuntu Tweak:
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak
Now open Ubuntu Tweak (using dash or otherwise). Go to Admins>QuickLists Editor.
There would be Firefox Listed in left panel. Click on that. You will see a list of shortcuts for Firefox in right ...
The default entries, which are added automatically to the Files launcher icon (not the ones, mentioned in the .desktop file) , are stored in ~/.config/gtk-3.0/bookmarks, as lines in the format:
I am afraid you will have to re-enter them manually if the file was messed up ...
Just wanted to add an alternate fake_window implementation that is a little bit simpler and doesn't trigger python warnings on an Ubuntu 16.04 system.
from gi.repository import Gtk
from gi.repository import GLib
This is a self-destroying window, to "feed" Unity a fake-window, ...
You can manually add your favourite files in the Quicklist of a Launcher-icon so that it looks like in this screenshot
I describe the way for Precise Pangolin using Ubuntu Tweak (Version 0.7.0):
Open Ubuntu Tweak > QuickLists Editor > click on LibreOffice-Writer on the left side > click on the little Plus-symbol > Enter the Name of the file (it's the name ...
Check out Drawers.
You can put just about anything in a drawer by drag and drop. You can even nest drawers inside one another. See below for a screenshot. It's been submitted to the software center but is awaiting review.
In the meantime, to install drawers run the following in a terminal:
sudo add-apt-repository ppa:ian-berke/ppa-drawers
sudo apt-get ...
I wrote little extension for implemetation of quicklist: extensions.gnome.org/extension/322/quicklists/. At now it is very primitive, and it may not work correctly with Unity specific .desktop files. There can be (there are) some bugs, so please don't judge badly this extension at start - this is only first not perfect version. I uses Ubuntu12.04, so ...
Currently, a bug in Tomboy prevents it from being run with a different flag from command line if it is already started. Because of that, creating a quicklist for Tomboy is not really ideal because it won't work as intended.
I had been trying to create a quicklist for Tomboy some couple of months back and was blocked by this bug. I have since then filed a ...
The Chrome extension, Clutter Free, does exactly what you asked:
switches to already open duplicate tab, when a new one is opened,
works on redirects as long as the final redirected url is already open
Disclaimer: I'm the author for this extension. I too was looking for this solution, and ended up making the extension.
Alan Bell has created a python script to do just this. There is a PPA available (currently only for Precise Pangolin). Hopefully we'll see this feature available as part of official Unity releases in the future.
sudo apt-add-repository ppa:alanbell/unity
sudo apt-get update
sudo apt-get install unity-window-quicklists
Logout and login.
For more ...
The following works:
Create 2 files: mylauncher.desktop and mylauncher.py with contents as given below.
Make mylauncher.desktop an executable.
Add mylauncher.desktop to unity's launcher.
Edit Foldernames and Folderlocations in mylauncher.py as necessary.
Run python mylauncher.py in the background. You'll have to add this to one of your start-up scripts.
Adding a dynamic "recently used" section to the launcher of an application
The full integration of an application with the mentioned dynamic quicklist -entries most likely needs to be done from inside of the application. After all, the most direct information on used files comes from the application itself.
However, since editing the source code is outside ...