Re: [arch-general] How to safe configs to another path than ~
On 25/07/13 20:35, Ralf Mardorf wrote: Hi, how can I safe configurations to another path, instead of using ~? I need this for audio applications, to restore different audio sessions and to get different profiles for some applications. If I run HOME=/home/rocketmouse/alt_profiles/1 xfce4-terminal --maximize by xfce4-terminal the path gets completely ignored, all settings still are stored to /home/rocketmouse and not to the path /home/rocketmouse/alt_profiles/1. If I run HOME=/home/rocketmouse/alt_profiles/1 xfce4-terminal --maximize by the Xfce panel launcher I get Failed to execute child process HOME=/home/rocketmouse/alt_profiles/1 (No such file or directory). If I run HOME=/home/rocketmouse/alt_profiles/1 gedit something is saved to /home/rocketmouse/alt_profiles/1, but it doesn't effect gedit. If I change settings, the settings are only used if I run gedit if I run HOME=/home/rocketmouse/alt_profiles/1 gedit gedit starts using it's defaults. The only good, t doesn't use the settings saved to /home/rocketmouse , as it does if I launch it by gedit. Unless I have missed something I think one of the audio session-managers should help you on the audio side, not so sure about other apps though. Jack-session and ladish work well for me unless I have misunderstood. Non-session is also popular although I have not tried that myself yet.
Re: [arch-general] How to safe configs to another path than ~
On Thu, Jul 25, 2013 at 10:35 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: A very old script I'm using for a very long time: xhost + gksudo -u chuser $* xhost - exit A way to get configs to /music/production_0001, /music/production_0002 ... /music/production_ is what I need. I'm wondering what apps specifically do you use? I think we can help you better if we know what those are.
Re: [arch-general] How to safe configs to another path than ~
On Fri, 2013-07-26 at 18:08 +1200, Ross Hamblin wrote: Unless I have missed something I think one of the audio session-managers should help you on the audio side, not so sure about other apps though. Jack-session and ladish work well for me unless I have misunderstood. Non-session is also popular although I have not tried that myself yet. Hi, I've doubts that session managers are that comfortable as a script is. I might be mistaken. I'm starting sessions by a script. I don't like to use jack dbus. Do those session managers really take care about the configurations in ~? AFAIK they automatically add changes I make during a session, even if I make those changes only temporarily or by mistake. When I tested ladish I was to stupid to use it without a learning curve and I don't want to add something complicated to my sessions, I also won't something to add that does need resources, CPU and/or RAM. Following the Linux audio users mailing list I read a lot of whining about unsupported applications, somebody lost a production, because he used jack-session in a wrong way. So IIUC session managers aren't neither safe to use, nor able to handle all applications. I don't want additional GUI stuff on the Desktop, I already avoid to use even qjackctl and for sure I won't be forced to use patchage or something similar confusingly. There should be as less Windows as possible. Several apps should be automatically startet in a terminal emulation, a script can do this, are session managers able to do this too? This unfortunately is important, since I never run an audio session were there wasn't the need to troubleshoot. Some audio apps are able to take care about the configurations (the user can save and restore them giving a path), others e.g. Qtractor don't and for some apps it's even hard to find the configuration files in ~. I don't need something to start the applications, a script can do this very good, I also don't need something to load songs, samples etc., this also can be done by a script, I just miss a way to find all hidden config files in ~ and to safe them to a path were I store the productions. My workaround is to save and restore ~ nearly completely, sure, without touching e.g. emails. It also would be nice, even if it's not that important, if I could use another configuration profile even for e.g. xfce4-terminal for audio sessions. Regards, Ralf
Re: [arch-general] How to safe configs to another path than ~
On Fri, 2013-07-26 at 03:28 -0600, Chris Moline wrote: A way to get configs to /music/production_0001, /music/production_0002 ... /music/production_ is what I need. I'm wondering what apps specifically do you use? I think we can help you better if we know what those are. For example Qtractor, but I don't have a list of apps I'm using, I want be able to handle the app that will be written tomorrow too. For Qtractor it's easy to find the configuration in /home/rocketmouse/.config/rncbc.org/, so I could copy and restore it, but I hope there's a better way, than to do it like this. HOME=/path/foo app might work for some apps.
Re: [arch-general] What dirs are good to put in a tmpfs?
On Thu, Jul 25, 2013 at 5:39 PM, Gaetan Bisson bis...@archlinux.org wrote: [2013-07-25 12:28:59 -0600] Chris Moline: very slow network connection when I'm running deluged Look up qos (quality of service): Linux can be configured to prioritize sending small packets over larger ones. Small packets correspond almost exclusively to interactive connections... -- Gaetan I have transmission set to use `tcp_lp` as `peer-congestion-algorithm` in the configuration file and it works quite well.
Re: [arch-general] How to safe configs to another path than ~
If your apps all follow XDG specifications you could set $XDG_CONFIG_HOME to cause them to put their configuration elsewhere. Regards, ~Celti On Fri, Jul 26, 2013 at 3:03 AM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Fri, 2013-07-26 at 03:28 -0600, Chris Moline wrote: A way to get configs to /music/production_0001, /music/production_0002 ... /music/production_ is what I need. I'm wondering what apps specifically do you use? I think we can help you better if we know what those are. For example Qtractor, but I don't have a list of apps I'm using, I want be able to handle the app that will be written tomorrow too. For Qtractor it's easy to find the configuration in /home/rocketmouse/.config/rncbc.org/, so I could copy and restore it, but I hope there's a better way, than to do it like this. HOME=/path/foo app might work for some apps.
Re: [arch-general] How to safe configs to another path than ~
On Fri, Jul 26, 2013 at 7:40 AM, Chris Moline blackredt...@gmail.com wrote: On Fri, Jul 26, 2013 at 4:03 AM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Fri, 2013-07-26 at 03:28 -0600, Chris Moline wrote: A way to get configs to /music/production_0001, /music/production_0002 ... /music/production_ is what I need. I know you didn't like the sudo idea but I thought I'd ask anyway. Are you limited in the number of users you can create? What if you had two users, one for normal usage, browsing and such, another for audio work. If you take care to use your audio apps as the audio user it should be easy to find the configs. Even if you end up going back to just one user account this will help you to locate where the configs are. How about chroot? Make a profile directory and then symlink to your directories. It'd be a pain in the ass to setup the first time but after that it's make a new profile dir and copy the chroot stuff over.
Re: [arch-general] How to safe configs to another path than ~
On Fri, Jul 26, 2013 at 4:03 AM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote: On Fri, 2013-07-26 at 03:28 -0600, Chris Moline wrote: A way to get configs to /music/production_0001, /music/production_0002 ... /music/production_ is what I need. I know you didn't like the sudo idea but I thought I'd ask anyway. Are you limited in the number of users you can create? What if you had two users, one for normal usage, browsing and such, another for audio work. If you take care to use your audio apps as the audio user it should be easy to find the configs. Even if you end up going back to just one user account this will help you to locate where the configs are.
Re: [arch-general] How to safe configs to another path than ~
Op 26 jul. 2013 13:22 schreef Ralf Mardorf ralf.mard...@alice-dsl.net het volgende: On Fri, 2013-07-26 at 03:28 -0600, Chris Moline wrote: A way to get configs to /music/production_0001, /music/production_0002 ... /music/production_ is what I need. I'm wondering what apps specifically do you use? I think we can help you better if we know what those are. For example Qtractor, but I don't have a list of apps I'm using, I want be able to handle the app that will be written tomorrow too. For Qtractor it's easy to find the configuration in /home/rocketmouse/.config/rncbc.org/, so I could copy and restore it, but I hope there's a better way, than to do it like this. HOME=/path/foo app might work for some apps. I think someone else said the same, but i really think you should consider a version system like git. A real configuration system like cfengine could also work, but might be a bit overkill for this situation. The cleanest would be if the apps run under a dedicated user account, so that you can clear everything without worrying about losing stuff. When this is setup, all you have to do is create the necessary configurations and add (and tag) those to your repository. Then, for every new production, clear the homedir, checkout the right config-set and do your thing. If necessary, you could do this on an application-by-application base, though that could get messy soon... Hope that helps. Mvg, Guus
Re: [arch-general] How to safe configs to another path than ~
On Fri, 2013-07-26 at 18:08 +1200, Ross Hamblin wrote: session-managers Just for the record. No, session managers don't care about the config files. I ask at LAU: http://lists.linuxaudio.org/pipermail/linux-audio-user/2013-July/093769.html Regarding to the audio production apps I use, I'm using nearly all popular apps available for Linux and perhaps some less known apps, such as ardour 2, audacity, guitarix, harmonyseq, hexter, hydrogen, jack-rack, jackeq, jamin, jsynth, muse, qsampler, qsynth, qtractor, rakarrack, etc. pp.. Regards, Ralf
Re: [arch-general] What dirs are good to put in a tmpfs?
On Fri, Jul 26, 2013 at 8:35 AM, Daniel Micay danielmi...@gmail.com wrote: On Thu, Jul 25, 2013 at 5:39 PM, Gaetan Bisson bis...@archlinux.org wrote: [2013-07-25 12:28:59 -0600] Chris Moline: very slow network connection when I'm running deluged Look up qos (quality of service): Linux can be configured to prioritize sending small packets over larger ones. Small packets correspond almost exclusively to interactive connections... -- Gaetan I have transmission set to use `tcp_lp` as `peer-congestion-algorithm` in the configuration file and it works quite well. Deluged doesn't seem to have a similar option. But I'm going with Gaetan's suggestion to use traffic shaping. It's a bit of reading since I haven't done much with iptables and tc but I will get there.