[ubuntu-studio-devel] -controls

Len Ovens len at ovenwerks.net
Wed Dec 7 00:09:39 UTC 2016


On Wed, 7 Dec 2016, eylul wrote:

> Here is a (very) rough draft of what I was trying to describe in the
> meeting. The idea is that the modification to the system profiles (or
> templates) would happen via a pop-up or something similar. Not sure how
> feasible this is through. :)

The presets should be no problem... really the GUI comes last.

Really there is no reason to take the user out of the audio group or to 
add remove RT abilities once they are added, so I would not add those to 
the preset. We normally ship with both on by default and the only time we 
have trouble with it is when some one installs Studio metas over another 
flavour, or otherwise installs jack incorrectly and gets sent to our irc 
by whoever.

I am thinking something like this:

|V||||||||||||window decoration|||||||||||||||||||_|o|X|
|                                                      |
|       Name of Preset in use                          |
|       settings the preset has                        |
|       preset chooser dropdown                        |
|       Use settings as new preset button              |
|______________________________________________________|
|/System Boot options \_System_tweaks_\_Audio_Setup____| <-tabs
|                                                      |
| lines for user to audio group setup                  |
|                                                      |
| [v] Enable Real Time for jackd and other software    |
| [v] Goto Performance at boot                         |
| [v] Turn Intel Boost on at boot                      |
|______________________________________________________|
|      |                      |        |               |
| Help |                      | Cancel | Save and Quit |
|______|______________________|________|_______________|


System tweaks would be things that can be changed on the fly:
 	current CPU governor
 	current Boost state
 	Current hyperthreading state (on or off) (could then add a line to set
 		this at boot
 	current writing tablet setup. (add an option to boot this way)

Audio setup:
 	Master audio interface
 	Second choice master (disable unless master is USB)
 	sample rate (default to 48000)
 	On USB Audio plugin set USB AI to jack master enable
 	Choose if other audio IFs should autorun zita-ajbridge
 	Jack runs at boot enable (this should be default for Studio)

Notes:
 	presets:
 		we would ship some and make one default
 		The save as a preset would be disabled unless the user
 			changed something.
 		The default name for a new preset could just be "user"
 	Help should display something useful for whichever tab is active
 	Program size will be much bigger than now :)

Directories:
 	/usr/share/ubuntustudio-controls/ is already there default presets
 		can go there.
 	$(XDG_CONFIG_HOME)/ubuntustudio-controls/ would be a good place to
 		store user presets (user.preset)
 	/etc/defaults/ubuntustudio-controls would be the right file to
 		put boot defaults in a PARAMETER_NAME=value form
 	/etc/init.d/ubuntustudio-controls would be the actual file that
 		set system things during boot
 	/etc/xdg/autostart/ would be the place to indicate to the
 		system userspace things should be started at login.
 		This would include running jack, a2jmidid, zita-ajbridge

I don't know how to start stuff or set up for an input tablet

(in case you don't already know, $(XDG_CONFIG_HOME)/ is normally 
~/.config/ )


--
Len Ovens
www.ovenwerks.net




More information about the ubuntu-studio-devel mailing list