/srv/irclogs.ubuntu.com/2019/05/16/#ubuntustudio-devel.txt

OvenWerksEickmeyer: http://i.imgur.com/fpxGVwV.png01:34
EickmeyerOvenWerks: So, is the filename absolute path?01:35
OvenWerksThe filename is only text, no path, no extension. The .desktop will get added and the file placed in ~/.local/share/applications/01:36
OvenWerksThat will over ride anything01:36
EickmeyerOkay, that makes sense. So, should it say filename, or application name? I'm just trying to think from a user perspective.01:38
EickmeyerPeople aren't going to necessarily understand the term "Desktop File" especially if they are coming from Mac or Windows.01:39
OvenWerksif there are no spaces application name is ok... but really if the user wants to override a system file it has to have the same name.01:39
OvenWerksAlso, people are used to not being able to use any odd character in a file name01:41
EickmeyerFair enough.01:42
OvenWerksI actually put the file detection in with the wrong button (edit) when it should be (save)01:43
OvenWerksmy idea is to create a temp file with a copy of the original file (if it exists) or a template (if it doesn't) and use that to call exo-desktop-item-edit01:45
OvenWerksThen when that exits and save is pressed, The temp file is copied on top of the original or created.01:46
EickmeyerYeah, that's a great idea. Keeps it non-destructive until finalized.01:47
OvenWerksHmm, I guess I need a "remove" button. not sure what to call it, that removes the file from ~/.local/share/applications/ and lets the system file work.01:47
OvenWerksAnyway, I want to get it working first... right now the about button works :)01:48
EickmeyerWell, that's a start. :)02:40
OvenWerksWhen it can at least make a file I will upload it02:40
EickmeyerCool.02:41
EickmeyerI just got done removing the standalone jack clients from the lsp-plugins. They required a shared object in /usr/lib and that's a huge no-no. vorlon wasn't letting it into the archive based on that alone.02:42
OvenWerksWell, I actually get a new item in my menu... will upload tomorrow.05:09
OvenWerksso far it always starts from scratch. It does not look to see if it already exists and then read in the old one as a template for the new.05:10
OvenWerksRight now, I do a straight cp temp file to new file, I will be doing a line by line save in the future though to look for no show lines and catagories lines to replace them according to user choices.05:13
OvenWerksThe show check box is already there (but not yet used). I want to add a dropdown that has all sub menus listed and a second dropdown with any sub sub menus05:17
OvenWerksComing up with a catarories line that is unique for each is the goal... we may need to change -menu for best results.05:20
OvenWerksI would like to have a window similar to the icon selection window that shows all the desktop files with icon/menu text so that the user can select one of those as the template.05:23
Eickmeyer[m]Sweet! Sounds like a big job though.05:26
OvenWerksWell that was silly... I uploaded before commit... so no executable  :P15:25
OvenWerksEickmeyer: how do we change: https://code.launchpad.net/~ubuntustudio-dev/+git/ubuntustudio-menu-add into a project? (lp:ubuntustudio-menu-add)15:56
Eickmeyer[m]OvenWerks: I will do that in a bit. FYI, I will be out of town and low on communication the next couple of days, but I'll be doing what I can.16:01
OvenWerksno problem, nothing I am doing is urgent16:01
EickmeyerOvenWerks: Done.16:21
Eickmeyerhttps://code.launchpad.net/ubuntustudio-menu-add/+git16:22
OvenWerksThank you16:24
EickmeyerYou're quite welcome.16:28
EickmeyerYou'll have to re-clone that to make sure you have the right upstream.16:28
OvenWerksYa, I know.16:28
Eickmeyer:)16:29
OvenWerksEickmeyer: I don't know if you will have time to look at menu-add (not sure if that is a good name or not)16:59
OvenWerkswhen you do... there is a point I am not sure how to deal with16:59
EickmeyerNah, my Studio machine is packed in a bag right now. Probably later.16:59
* Eickmeyer is waiting for his ride for a 3 hour drive17:00
EickmeyerI try to keep my 2-in-1's installation simple.17:00
EickmeyerWith only 2GB of RAM, it has to be.17:00
OvenWerkswhen you hit save on the editor it just saves to the temp file. then the menu item has to be saved in the main window to be seen17:01
OvenWerksI was thinking of adding a dialog, but people who use the app a lot might get anoyed with that17:01
EickmeyerYeah. MIght cause dialog fatigue.17:02
OvenWerksMaybe I should change the "Save" button in the main window to "Install"17:02
EickmeyerYeah, but that comes with a bunch of different connotations.17:02
OvenWerks"activate"17:03
OvenWerks??17:03
OvenWerksActually, that may be the best way to go. I could then have a "Deactiveate" to remove something from the users local directory.17:05
EickmeyerNot bad.17:06
Eickmeyer"Apply"?17:06
EickmeyerOvenWerks: ^17:07
OvenWerksEickmeyer: I think I will add another check button that says "active"17:09
EickmeyerThat might work.17:10
OvenWerksApply also has the wrong idea for me.17:10
Eickmeyerok17:10
OvenWerksI want to have a file selector that lists users made menu items (anything in ~/.local/share/appliacations)17:11
OvenWerksThat way the user can choose from those to edit or deactivate17:12
OvenWerksThe question is, should a deacivated item still be saved? I guess so, deactivate would rename from base.desktop to base.saved17:13
EickmeyerI think so.17:13
OvenWerksexo-desktop-item-edit requires something that is called base.desktop I think, so I still have to start with a temporary file.... I will try with an odd named file.17:16
EickmeyerSo, touch base.desktop?17:23
OvenWerksI actually put some things in there to begin17:36
OvenWerksexo-desktop-item-edit requires -c to create but I want to be able to edit already active files and I want to be able to add catagories and don't show and...17:37
OvenWerksso I create a base.desktop in .config that I send exo-desktop-item-edit to. Then copy to final on save... but that will change.17:39
OvenWerksI had the save button so that the person could change the catagories and shown after editing and then save it.... I will set it up so that any change save anyway.17:40
OvenWerksI will need to check the file to make sure it has a name and exec (or url).17:42
OvenWerkstrying to make it active without will give an error dialog17:42
EickmeyerWell, early stages, I guess.18:08
OvenWerksEickmeyer: in menu_add... should there be a checkbox to add the desktop file to the desktop? I just thought of this one... I was going to just add the word desktop to the menu folder choices, but really even a desktop icon should have reasonable catagories and also show up in the menu.... execpt, I have also added the possibility to create a link as well as an application and maybe a link 21:15
OvenWerksreally belongs only on the desktop. Should I even allow Links at this stage?21:15
OvenWerksHmm that may be too long a message, it may be missing the last part of the top line.21:16
OvenWerksI understand you are on the road so I am not expecting a quick reply.21:16
OvenWerksEickmeyer: Answered my own question, the user can create urls on their desktop by just dragging them from the browser... and the application is a menu item creater.21:42
Eickmeyer[m]Yeah. Last I checked that works in pretty much all desktops.23:08
* Eickmeyer[m] is in Pasco23:08

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!