/srv/irclogs.ubuntu.com/2016/12/11/#ubuntustudio-devel.txt

OvenWerksOK all, there is a new test version of controls available. Lots of stuff in the GUI doesn't work (or at least it doesn't do anything).18:39
OvenWerksI will probably be removing the presets and tablet tabs before release as I don't see myself getting there.18:40
OvenWerksI took a look at wacom tablet setup... I am confused :P19:33
OvenWerksAbout the only thing I found that _I_ understood, was that it is indeed a /dev/input device, the same as keyboards mice and joysticks (and wiimotes).19:35
OvenWerks(create a painting by waving a wiimote around in the air)19:35
OvenWerkskrytarik: What I have done so far with -controls is up and a package is available. I have left the whole GUI in for now even though most of it doesn't work.19:36
OvenWerkskrytarik: I have moved the preset/profile box onto a tab, but it does nothing... and will for a while. Audio is working it's way towards working on my system, but not the upload yet. tablets I can't even start on because I don't know where to start. :)19:38
krytarikOvenWerks: Any chance to drop the previously mentioned excess changelog entry too then? :P  (As well as fix the changelog of -default-settings.)19:39
OvenWerksbut that is ok, because I think the audio page will be a while anyway.19:39
OvenWerkskrytarik: what would you like it to say? Just back to where it was?19:40
OvenWerksSome one had put a release note in it when it had not been released.19:40
krytarikYeah, that was Ross, this time.19:40
* OvenWerks has been running with turbo turned on and the CPU speed changes even more than ondemand ever did.19:41
OvenWerksok, will put it back.19:41
krytarikNo, merging the two sections was right - just separate the changes per author then - and drop any excess ones.19:43
OvenWerks0.64 UNRELEASED just Ross' last fix19:43
OvenWerksI will commit as a change log fix, but not in the changelog itself.19:44
krytarikLike referring to intermediate changes within the same version, or to ones that have even been uncommitted.19:44
krytarikAnd particularly when it pertains the changelog itself.19:45
OvenWerksrevision 303 look ok?19:47
krytarikYeah - but well, now it's back to a single, last author - so could as well drop Ross' name at the top there.19:51
OvenWerkskrytarik: wrt -controls. I have a tab for basic ubuntustudio setup. This is for those who install our metas rather than our iso. It just completes the process. I am hoping to detect if it needs to be set and have -controls open with the tab active in that case but not normally.19:51
OvenWerks :)19:51
OvenWerkskrytarik: would you like another commit?19:52
krytarikWell, I guess it depends on if there are any changes from anyone more than him foreseeable until the next release.19:54
OvenWerksI have a tab for system tweaks that is sort of universal with the cpu governor and boost off/on. Theses are now dropdowns with the name of the governor on them and boost of and on.19:54
OvenWerksAnyway, install -controls and see what it does now and looking at the audio part will show where it is going19:55
krytarikOtherwise, could also dial back the both last commits completely and force-push it - then it's like before indeed.19:55
krytarik(And this time autobuild wouldn't fail on that even.)19:56
OvenWerkskrytarik: I am not sure I want to add jackd to the depends.20:02
krytarikUh, I'm referring to what we were just talking about, -default-settings.20:03
OvenWerksya, i've kind of gone beyond that20:04
krytarikOn -controls, you just need to drop the "* Fix changelog version." entry.20:06
krytarikWhichever way, before release.20:07
OvenWerkskrytarik: next commit I will fix that20:07
OvenWerksIt is already fixed on my system.20:09
OvenWerksI will probably add something to -settings too when I get -controls done. SO it will take care of itself.20:09
krytarikAlso, since neither of us is expected to be the uploader too, it's fine like that anyway - and I used to do it that way for my own changes.20:13
OvenWerkshttps://launchpad.net/~ubuntustudio-dev/+archive/ubuntu/autobuild says -settings was successfully built.20:13
OvenWerkskrytarik: FYI, my plan just now for controls is to get the audio tab working and remove the tabs for presets and tablet for this release. I think that may be as far as I get. The best thing would be for me to actually have a tablet and work with it... but the cheapest I can find just now locally is $100... for something I don't really need.20:25
krytarikYeah, just read that in the log - just leave that to eylul then! :P20:27
eylulhuh?20:28
eylulhi Krytarik and OvenWerks20:28
krytarikHiii. :D20:28
OvenWerkso/20:28
eylulleaving what to me? 20:28
OvenWerkstablet settings design20:29
krytarikAll the fancy and tablet stuff.20:29
eyluloh dear god. hahaha. sorry ovenwerks, I didn't expect you to go this fast :D20:29
eylul(not a bad thing!)20:29
OvenWerksAudio will take a while I think... or at least be more lines than the whole file so far :P20:30
eylulheheh20:30
* OvenWerks should be doing the easy parts first...20:31
eylulin terms of wacom tablet, the main issue is that button setup changes based on every single tablet, based on what version it is and what size it is. (larger tablets have more buttons on them.. or none at all.. in some cases :D)20:32
OvenWerkseylul: how many people use more than one tablet?20:32
* eylul has an intuos, a cintiq companion and a bamboo. (although she doesn't really use the bamboo)20:33
OvenWerkseylul: that is, would this be a set once or all the time.20:33
* eylul ducks the incoming object20:33
eylulits actually pretty common for people to have 2 tablets: one with a screen, another one an intuos/intuos pro it seems20:34
OvenWerkseylul: have you looked at the /dev/input/directory?20:34
OvenWerksare there any subdirectories that start with by-*?20:35
eylulnope?20:35
eylulI do see a list of items that says "event" 20:35
eylulby-id    event1   event12  event15  event2  event5  event8  mice    mouse220:35
eylulby-path  event10  event13  event16  event3  event6  event9  mouse0  mouse320:35
eylulevent0   event11  event14  event17  event4  event7  js0     mouse120:35
OvenWerksthe by-id subdir could be useful20:35
eylulactually20:36
OvenWerksby-path should have links that are solid20:36
eylulwe should be using libwacom I think?20:36
OvenWerksthat is the event 6 might point at a different device every time, but the by-path may be able to always point to the save device when it shows up.20:37
eylullet me check20:37
OvenWerksprobably. I don't know how it works.20:37
eylulactually20:38
eylulI think for wacom we might go through by-iD20:38
OvenWerksAt least it has enough info to figure ut which event* is which.20:38
OvenWerksby-id is easiest, that is what I use for dual keyboards20:38
eylulactually OvenWerks hang on a sec20:38
* eylul digs through script folder to find the wacom script20:39
eylulI would expect we would use xsetwacom to set up the wacom20:41
eylulnot go through dev/input20:41
eylulunless there is a reason for going much lower level. 20:41
eylulwhich is entirely possible20:41
eylulhttp://linuxwacom.sourceforge.net/wiki/index.php/Xsetwacom20:42
OvenWerkseylul: the very small amount of stuff I read on it suggested that because the event* changes things could not be setup static. but if the is an automatic way that works that is great.20:44
eylulI expect we would not be going through events at all20:45
OvenWerksso the idea is to have a script/device and be able to set that up?20:46
eylulok so there are different levels of how we can handle this.. and I think it will take a while to get all the way through with some 20:46
eylul1) implement basic wacom settings. there is currently no solutions out there that has a GUI, that can set up a wacom tablet. That is: map keys of the tablet to a bunch of buttons, set pressure curve, and map the area of the tablet to an area of the screen. There is a commandline utility: xsetwacom20:48
eylul(there is a couple of GUI solutions but one: doesn't QUITE work and requires building it, other sort of rigs gnome wacom settings back into XFCE at the moment20:48
OvenWerksSo existing solutions are DE dependant?20:50
OvenWerks :P20:50
eylul2) deal with actual button mapping for intuos and cintiq tablets (problem: every single model has different buttons and they are mapped in different ways to the xsetwacom button list. I saw one of the GUI solutions have a database of this, but it deals with it)20:50
eylulyup, and they still aren't really amazing20:50
OvenWerksThe DEs are broken... there are standards.20:51
eylul:D20:51
eylul3) there is currently NO solution, that allows presets that maps settings by software. (this is a feature that exists when you use the drivers on windows and mac, and is pretty much required feature)20:52
* OvenWerks went through too much with DEs and "standard" menu files20:52
eylulso.. long story short: this is complicated20:52
eylul:D20:52
eylulhahah20:52
OvenWerksSo you want to have both a map editor and a map installer utility.20:53
eylulwe should probably look into the 2 gui options that are out there, before starting to code this thing.. but yeah.. I am not entirely sure if we can fork them.. or we are better off starting from scratch20:53
eyluleventually20:53
OvenWerksThe map installer/loader would be the easier part.20:54
eylulyes20:54
OvenWerksudev should handle that behind the scenes20:54
eylulhow so?20:54
OvenWerksyou plug the tablet in, udev sees it and loads the right map...20:55
eylulright20:55
eylulwell it already loads something20:55
eylulbut having it run a custom command would be nice20:55
OvenWerksThat is how pulseaudio does things with new audio devices20:56
OvenWerks(and what we want to do too)20:56
eylul*nods* essentially20:57
OvenWerkseylul: what udev runs right now has to be something that is ok to run before login.20:57
eylulok20:57
* eylul is trying to get to ubuntu docs20:58
OvenWerksWhat we would need to do is to look at what is there at login and run any needed "custom" commands and then get udev to run them for us or at least signal it needs to be done as the user.20:58
* OvenWerks is seeing why you want presets.20:59
eylul:D21:00
eylulI already have a document somewhere in the wiki about this21:00
eylulI am trying to find them21:00
OvenWerksGetting something to run at session start should be quite easy.21:01
OvenWerkslook for file exists in /dev/inputs/by-id to tell if things are plugged in then run the mapping commands.21:02
OvenWerksThe mapping commands would be the high level ones21:03
OvenWerksDo those commands have to be removed when the device disappears?21:03
OvenWerksCan two units run at the smae time?21:03
eylulhttps://wiki.ubuntu.com/UbuntuStudio/FeatureDefinitions/WacomScripts21:04
eylulgood question21:04
eylul*goes to try21:04
OvenWerksCan you choose from between two or more units that are currently plugged in?21:04
eylulactually I don't need to try this21:04
eylulyes21:04
eylulbecause when you send a command to xsetwacom, one of the parameters is the device you are setting21:05
eylulits like having 2 mouses21:05
OvenWerksso using two at the same time could be confusing.21:05
eylulI don't think anybody would do it, (unless they accidentally forgot something plugged in) but theorically it is possible21:05
OvenWerkswhat I am asking is if it would be worthwhile having something that disables one of them, leaving only one active.21:06
eylulI don't think it is a problem we need to urgently deal with, although really, its a question of having a drop down of: choose the device you are setting21:06
eylulI wouldn't bother21:06
OvenWerksOk, as happens it s not too hard :)21:06
eylulI would rather not disable anything21:06
OvenWerksit is just a matter of setting up something that "grabs" the input so that x can't use it.21:07
eylulOvenWerks I really am not sure we are supposed to do that21:08
eylulthere is a wacom driver already. 21:08
eyluland a lot of the low level issues are already handled21:08
eylulwhat we need is a gui to interface with it21:09
eylulso there is something already listening for all tablets, and listing them, and knowing if there is a tablet21:09
OvenWerksa GUI editor that made a script that it then ran would not be too hard. Editing in real time might be harder.21:10
eylulI think a gui editor that under the hood creates a script gets a lot of the work done21:11
eylulafter all those of us who use wacom create a script manually21:11
OvenWerksIt would be nice to have one script and a set of config files.21:12
OvenWerksconfig=map file maybe?21:12
eylulthere is a script with a lot of hardcoding in the page I linked to you21:12
eylul*nods*21:12
eylulthat actually makes sense21:13
eyluleventually we can have preset files21:13

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