Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better UI to create shortcuts/app files (missing app to create a desktop shortcut) #820

Closed
q4a opened this issue Sep 11, 2015 · 13 comments
Closed

Comments

@q4a
Copy link

q4a commented Sep 11, 2015

As I remember I was able to create/edit desktop shortcut with lxshortcut in gtk version.
Is there app to help me create/edit desktop shortcut with same simple steps in lxqt?

@stefonarch
Copy link
Member

You can simply drop icons from "applications" section on the left from
PCmanFM on the desktop.

Il 11/09/2015 19:52, q4a ha scritto:

As I remember I was able to create/edit desktop shortcut with lxshortcut
in gtk version.
Is there app to help me create/edit desktop shortcut with same simple
steps in lxqt?


Reply to this email directly or view it on GitHub
#820.

@q4a
Copy link
Author

q4a commented Sep 11, 2015

Thanks for help, but i want to create new menu://applications entry (new .desktop file).
I tried to copy my binary "CopyAgent" file to "menu://applications/office", but result is empty .desktop file (see attached png).

PS I'm using ubuntu 15.04 amd64 with ppa:lubuntu-dev/lubuntu-daily
2015-09-11-233045_1600x900_scrot

@pmattern
Copy link
Contributor

Personally I think copying an arbitrary desktop entry file e. g. from /usr/share/applications, editing and moving back to that folder or to ~/.local/share/applications is more convenient than any GUI.
But this is of course a matter of taste.

Also note that some basic functionality is available that you may use as kind of workaround:
LXQt is implementing freedesktop's Autostart Specification thus lxqt-config-session (Application menu - Preferences - LXQt settings - Session Settings) is placing a new desktop entry file in ~/.config/autostart if Add from Autostart (left pane) is selected.
This desktop entry file is not of the sophisticated kind and has to be moved, though.

Nevertheless to my knowledge a Qt application to edit those menu entries isn't available so all in all this issue seems worth discussing to me.
(Actually I thought we had already an issue like this but couldn't find it right now.)

@Vladimir-csp
Copy link

If Desktop entry editing application would be concieved, it would be logical to make it more universal. With the ability to toss entries between global/user application pool and autostart pool.
I once thought of a concept named 'Undefied' (as in Universal Desktop File Editor). Even made an icon for it and tried to mash something together with bash and zenity, but obviously it didn't go well.
The full concept is: two-pane editor showing relations (overrides) between global (on the left) and user (on the right) desktop entries in user-friendly way (relationship icons between panes). Context actions for entries would include overriding global with user, updating global, tossing application to global or user autostart, editing fields, etc. Such concept could work for both application entries and autostart entries, enhancing (mostly replacing) session properties too.
If anyone wants to take a concept and/or name, I would be glad.

@Vladimir-csp
Copy link

Personally I think copying an arbitrary desktop entry file e. g. from /usr/share/applications, editing and moving back to that folder or to ~/.local/share/applications is more convenient than any GUI.
But this is of course a matter of taste.

It is good if user knows the concept of desktop entries and where they should be placed. If not, GUI should reflect the concept in intuitive way.

@Vladimir-csp
Copy link

In case anyone is interested, here is a sketch:
undefied_concept

@jleclanche
Copy link
Member

@Vladimir-csp That is far, far too complex. Anyway ideally we won't need a desktop file "creator" at all. What is it @q4a is actually trying to achieve?

@q4a
Copy link
Author

q4a commented Oct 26, 2015

Users want to do simple things with easy predictable way.
May file managers (including Windows Explorer and Nautilus) allow to:

  1. Create link with context menu of file (via Right click).
  2. Edit link in properties.
    Check this for Nautilus: http://www.howtogeek.com/92840/create-shortcuts-for-your-favorite-or-most-used-folders-in-ubuntu/

My suggestions:

  1. Create link.
    Linux users are accustomed with symbolic links, but Windows users - with .desktop files.
  • Best way I can see for now is create submenu "Create link" or "Make link" (after "Open with ..." submenu) with 3 options:
    A) Create .desktop file here
    B) Create .desktop file to menu. It will create .desktop file to ~/.local/share/applications with empty category ("Categories=")
    C) Create symlink
    May be you will see better solution or any other options in submenu like "Create .desktop file on desktop"
  1. Edit .desktop file.
    2.1. On desktop: add new tab and allow user to edit icon with picking png, ico, etc file.
    2.2. In "Start menu":
  2. Best way: allow drag’n’drop items from one category to another and right click with edit option same as in new tab from 2.1.
    I know that this is Light DE, so there is another way:
  3. Simple way - right click on "Start button" should allow to move submenu item with arrows and edit each item like in 2.1, but without right click.

So main idea: make things easy for regular users:

  1. They should not search where .desktop file is located (~/.local/share/applications or /usr/local/share/applications or other)
  2. They should not edit .desktop file in text editor. Choosing category from existing and icon file from file system files is better way. IMHO.

@jleclanche
Copy link
Member

I agree that we need a better UI to create shortcuts/app files but a desktop file editor doesn't make it easy for users, it just makes it slightly easier for people who know the system already.

@q4a
Copy link
Author

q4a commented Oct 26, 2015

Yes. I (or you/moderator) can change topic to "Better UI to create shortcuts/app files", but we all agree, that something should be changed to better way.

@q4a q4a changed the title Missing app to create a desktop shortcut Better UI to create shortcuts/app files (missing app to create a desktop shortcut) Oct 26, 2015
@Vladimir-csp
Copy link

IMHO, naming menu entry that creates a desktop entry as "create link" is confusing and in fact an outright lie. "Create launcher" would be more appropriate in this case.

And the editor window (second) in mockup fits here, as it is pretty simple compared to the main window.

@Cybermaxrus
Copy link

Hello! Please add the ability to create shortcuts for files and folders in the LXQT. I want to create my Linux and Freebsd distributions and choose between Mate and LXQT. I want to choose LXQT because of QT, but the Mate can make shortcuts.

@agaida agaida added this to Needs triage in Issues Jul 14, 2018
@agaida agaida moved this from Needs triage to Wishlist in Issues Jul 16, 2018
@tsujan
Copy link
Member

tsujan commented Apr 9, 2020

Desktop right-click menu → Create Launcher:

launcher

@tsujan tsujan closed this as completed Apr 9, 2020
Issues automation moved this from Wishlist to Closed Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Issues
  
Closed
Development

No branches or pull requests

7 participants