Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Editing Unity quicklists (without knowledge)

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    392
    Distro
    Ubuntu 13.10 Saucy Salamander

    Editing Unity quicklists (without knowledge)

    The subject is not new, but so far, most instructions are based on manually editing the .desktop files. For my own convenience, and because I like learning Python a bit, I wrote a set of scripts to make it easy, also for new users.

    Setup is straightforward:

    • Download the 'launcher_editor.zip' here
    • Unzip it somewhere in your Home directory
    • Open a terminal, cd to the directory in which te 'setup.py' file is, run it by the command 'python setup.py'

    Basically that's all. After you log out and back in a new menu item will be placed at the bottom of your Home launcher's icon:






    Usage is pretty much speaking for itself:








    At this point the script covers three applications: nautilus-home, Firefox (weblinks) and VirtualBox. I am working on more (LibreOffice etc).
    You can move the folder after installation, but you will have to run the setup.py again to repair the linking to- and between the scripts.
    I tried the scripts on 11.10 and 12.04, (Dutch and US English), fresh installed as well as with pre- edited .desktop files, the script takes care of correct file setup and clean handling of the files, I did not run into problems, or they are corrected in this version.

    To remove the scripts, first choose 'nautilus-home' from the script's menu (see above) and after that "restore". Once the original quicklist is restored, simply remove the launcher-editor folder from your system.

    ----------------
    edit 19-2-12
    ----------------
    just added support for LibreOffice quicklists, including a versionchecker (including LibreOffice 3.5). made some adaptions to the editor_module.py to meet the somewhat inconsistent and changing (per version) naming of the .desktop files of LibreOffice.

    ----------------
    edit 20-2-12
    ----------------
    just added support for Banshee (player controls) quicklists
    Last edited by Jacobonbuntu; March 27th, 2012 at 11:07 AM.

  2. #2
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    392
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Editing Unity quicklists (without knowledge)

    Hi people, the information on the script is now outdated, just finished a GUI version:

    can be downloaded here: (download the QLE.zip)
    link

    Last edited by Jacobonbuntu; June 14th, 2012 at 07:53 PM.

  3. #3
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    392
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Editing Unity quicklists (without knowledge)

    Hi people,

    just to give you an update on the Quicklist Editor I have been working on in the passed few months:
    QLE Unity Quicklist Editor
    This is the second "pre-" version of the quicklist editor, coded from zero in python 3. It has a more logical interface, better functionality and a number of build-in precautions to prevent errors. (almost) All editing procedures were totally changed, both at the front-end and behind the screens.
    Editing options now include:
    - adding commands
    - adding dividers
    - adding LibreOffice applications (from a list, to any quicklist)
    - adding shortcuts to applications (creating grouped quicklists from an application list that is presented)
    - adding directories
    - adding virtual boxes (from a list that is presented)
    - adding url's
    - renaming existing entries
    - changing the command of an existing entry
    - moving entries up or down in the quicklist
    - importing entries from textfiles or other quicklists* (experimental)
    - removing entries
    - resetting the quicklist to as it was before QLE editor was installed
    Additionally, the editor recognizes and corrects some possible properties of quicklists that might cause problems (like no ";" at the end of the entry line). The editor recognizes and edits both "old" (<12.04) and "new" style desktop files.
    "standalone" desktop files (made by the user, not representing an application) are recognized and listed, and can be edited like any quicklist.

    This might not be the right place to present it, but as a follow up of the tutorial I placed here some time ago (and that made me work on the editor actually) I thought it would be an appropriate thing to do...



    The download link is in my signature.
    (*the editor requires python3 / python3-tk)
    Last edited by Jacobonbuntu; June 16th, 2012 at 08:17 AM.

  4. #4
    Join Date
    Jun 2008
    Location
    Vancouver Canada
    Beans
    3,136
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Editing Unity quicklists (without knowledge)

    That looks pretty nice,Jacobonbuntu.

    Good work.
    I learn something ubuntu everyday.
    dell precision T7500 1Tb hdd x 2
    2.67 Ghz intel xeon X5550 cpu
    nvidia quadro fx 4800-1.5 Gb video card

  5. #5
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    392
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Editing Unity quicklists (without knowledge)

    Quote Originally Posted by hansdown View Post
    That looks pretty nice,Jacobonbuntu.

    Good work.
    Thanks!

  6. #6
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    392
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Editing Unity quicklists (without knowledge)

    Hi people,

    Just to mention that the Unity Quicklist Editor got version 1.0, available in ppa as well:

    sudo add-apt-repository ppa:vlijm/qle
    sudo apt-get update
    sudo apt-get install qle

    all the best!
    Jacob

  7. #7
    Join Date
    Apr 2007
    Location
    Staunton, Va. USA
    Beans
    424
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Editing Unity quicklists (without knowledge)

    I have installed QLE and it will not launch.
    White box computer:Gigabyte GA-A75-UD4H MB,AMD A6 3670 APU, 640GB HD, 8GB RAM, Acer Aspire TimelineX 4820T Laptop, 6GB RAM, 320GB HD, : AcerOneNetbookAO150,1.5GB RAM,120GB HD, AcerAspireOneNetbook725,2GB RAM 320GB HD. All Ubuntu 14.04.2LTS
    .

  8. #8
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    392
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Editing Unity quicklists (without knowledge)

    Quote Originally Posted by jlh68 View Post
    I have installed QLE and it will not launch.
    Hi jlh68, I did not run into that before, but the only thing I can think of is that one or more files in ~/.qle is corrupted. could you remove the folder (hidden by default; press ctrl-h to mak it visible) and try again?
    also: are you running 32 or 64 bit? did you install the ppa or the .deb installer?

    edit:
    could you run in a terminal:
    python3 /usr/bin/qle_interface.py
    and give me the output?
    Last edited by Jacobonbuntu; October 9th, 2012 at 07:34 AM.

  9. #9
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    392
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Editing Unity quicklists (without knowledge)

    Hi John,

    thanks for the output on launchpad, and thanks for your bug report!!
    the output was very helpful, and this is what causes the trouble:
    normally the local .desktop files are stored in '/home/john/.local/share/applications/'. these files overrule the ones in /usr/share/applications. if the directory '/home/john/.local/share/applications/ does not exist, the editor creates it before the interface is loaded. in your case, a file named 'applications' already exists where a folder should be created with that name, causing the error message and preventing the interface to load.

    what you should do is rename or move the file (if it is of any importance) or remove it (if it was created by accident for some reason).
    after that, when you start the quicklkist editor, everything should work well.

    please let me know!
    Last edited by Jacobonbuntu; October 9th, 2012 at 09:32 PM.

  10. #10
    Join Date
    Mar 2011
    Location
    the Netherlands
    Beans
    392
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Editing Unity quicklists (without knowledge)

    Quote Originally Posted by jlh68 View Post
    I have installed QLE and it will not launch.

    Hi John, I found this post about an (assumed) error in the code of the editor:
    http://www.ubuntugeek.com/qle-unity-...comment-127279
    what I don't get is why you do not reply to my latest answer, but you do post this one, which is obviously not correct.
    Last edited by Jacobonbuntu; October 14th, 2012 at 10:16 PM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •