don't know if it made it through the storm...
2011/1/3 Pierre Massat pimassat@gmail.com
Hi all!
Happy new year first of all!
Is there a way i can write a script that would start Jack and Pd in the proper order by clicking on a single file? And is there a way i can start both as root? (I need to use HID) I'm assuming this would be quite a big breach though. Also, I never bothered to ask, but is there a way i can tell Ubuntu to start Pd when i double-click on a .pd file? It always opens it with gedit.
And now, totally off topic, are we allowed to start conversations about topics that aren't in any way related to Pd at all? You 're about the only group of highly computer-literate people that i know, and there 's always a question or two that i'd like to ask about the directions the digital world is aiming at.
Pierre
Hi,
On 07.01.2011 20:49, Pierre Massat wrote:
don't know if it made it through the storm...
2011/1/3 Pierre Massat pimassat@gmail.com
Hi all!
Happy new year first of all!
Is there a way i can write a script that would start Jack and Pd in the proper order by clicking on a single file?
I have made two simple scripts for that, one that starts jack, qjackctl and programs, that are in a text file with each program in a seperate line, and another script to stop all started programs. To use them for puredata only, rewrite the "while["$1"]; do done" portions to start only Pd.
The textfiles look like that:
pdextended -rt -jack -alsamidi -inchannels 2 -outchannels 8 ardour2
And is there a way i can start both as root? (I need to use HID) I'm assuming this would be quite a big breach though.
To start programs with root provileges, use gksu or gksudo for X11 programs.
"[D]ie Kunst flieht, wenn ihr eure Thaten sofort mit dem historischen Zeltdach überspannt." (Friedrich Nietzsche - Vom Nutzen und Nachtheil der Historie für das Leben) http://www.residuum.org/
I use the script
#!/bin/bash
qjackctl -s & sleep 5 & pdextended
As I've noticed, it works either if jack is already on or not. Same goes
to other applications that need jack, like ardour.
Ah, no root access there. Wouldn't it be better to search for another of
getting permissions, instead of running programs as root?
João
Hi,
On 07.01.2011 20:49, Pierre Massat wrote:
don't know if it made it through the storm...
2011/1/3 Pierre Massat pimassat@gmail.com
Hi all!
Happy new year first of all!
Is there a way i can write a script that would start Jack and Pd in the proper order by clicking on a single file?
I have made two simple scripts for that, one that starts jack, qjackctl and programs, that are in a text file with each program in a seperate line, and another script to stop all started programs. To use them for puredata only, rewrite the "while["$1"]; do done" portions to start only
Pd.The textfiles look like that:
pdextended -rt -jack -alsamidi -inchannels 2 -outchannels 8 ardour2
And is there a way i can start both as root? (I need to use HID) I'm assuming this would be quite a big breach though.
To start programs with root provileges, use gksu or gksudo for X11
programs.cu Thomas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 01/07/2011 08:49 PM, Pierre Massat wrote:
Is there a way i can write a script that would start Jack and Pd in the proper order by clicking on a single file?
Pd>=0.43 should automatically start jack if needed. afair, the relevant code is also in PdX
And is there a way i can start both as root? (I need to use HID) I'm
why do you need to be root to use HID? i suggest reading the documentation on unix groups and udev. btw, this is a recurring topic on this list, so you might have luck using the mail-archives.
assuming this would be quite a big breach though.
security wise: yes. script wise, it would be rather simple.
And now, totally off topic, are we allowed to start conversations about topics that aren't in any way related to Pd at all? You 're about the only group of highly computer-literate people that i know, and there 's always a question or two that i'd like to ask about the directions the digital world is aiming at.
well, there is the pd-ot list, which is meant for this kind of talk. otoh, there are not so many pd-ot subscribers as there are pd-list subscribers.
however, you should follow the netiquette and not mix unrelated questions ;-)
fgmasdr IOhannes
Thank you all for your help. I made a simple script than i launch via a GNOME (or whatever, i'm in ubuntu) launcher and it works just fine. That's the kind of very simple tricks that make life easier. That made my day.
@IOhannes : yes, i know that there should be a way of using HID without being root, i need to take some time to figure it out. What's pd-ot? "Off-topic"?
Pierre
2011/1/8 IOhannes m zmölnig zmoelnig@iem.at
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 01/07/2011 08:49 PM, Pierre Massat wrote:
Is there a way i can write a script that would start Jack and Pd in the proper order by clicking on a single file?
Pd>=0.43 should automatically start jack if needed. afair, the relevant code is also in PdX
And is there a way i can start both as root? (I need to use HID) I'm
why do you need to be root to use HID? i suggest reading the documentation on unix groups and udev. btw, this is a recurring topic on this list, so you might have luck using the mail-archives.
assuming this would be quite a big breach though.
security wise: yes. script wise, it would be rather simple.
And now, totally off topic, are we allowed to start conversations about topics that aren't in any way related to Pd at all? You 're about the
only
group of highly computer-literate people that i know, and there 's
always a
question or two that i'd like to ask about the directions the digital
world
is aiming at.
well, there is the pd-ot list, which is meant for this kind of talk. otoh, there are not so many pd-ot subscribers as there are pd-list subscribers.
however, you should follow the netiquette and not mix unrelated questions ;-)
fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0oeJQACgkQkX2Xpv6ydvTbUwCfaIdS59VaFprxO+RHvl2YIkYx WrMAoIDoLjF5ThwPN3kxojx5tqC5rv1p =y0H4 -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-01-17 09:19, Pierre Massat wrote:
@IOhannes : yes, i know that there should be a way of using HID without being root, i need to take some time to figure it out.
it's a good investment, and you should do it.
What's pd-ot? "Off-topic"?
yes. according to http://lists.puredata.info/listinfo, it is "off topic discussions for the pd-community"
fgamsdr IOhannes
Hi Pierre,
would it be possible to see your script?
J
2011/1/17 Pierre Massat pimassat@gmail.com
Thank you all for your help. I made a simple script than i launch via a GNOME (or whatever, i'm in ubuntu) launcher and it works just fine. That's the kind of very simple tricks that make life easier. That made my day.
@IOhannes : yes, i know that there should be a way of using HID without being root, i need to take some time to figure it out. What's pd-ot? "Off-topic"?
Pierre
2011/1/8 IOhannes m zmölnig zmoelnig@iem.at
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/07/2011 08:49 PM, Pierre Massat wrote:
Is there a way i can write a script that would start Jack and Pd in the proper order by clicking on a single file?
Pd>=0.43 should automatically start jack if needed. afair, the relevant code is also in PdX
And is there a way i can start both as root? (I need to use HID) I'm
why do you need to be root to use HID? i suggest reading the documentation on unix groups and udev. btw, this is a recurring topic on this list, so you might have luck using the mail-archives.
assuming this would be quite a big breach though.
security wise: yes. script wise, it would be rather simple.
And now, totally off topic, are we allowed to start conversations about topics that aren't in any way related to Pd at all? You 're about the
only
group of highly computer-literate people that i know, and there 's
always a
question or two that i'd like to ask about the directions the digital
world
is aiming at.
well, there is the pd-ot list, which is meant for this kind of talk. otoh, there are not so many pd-ot subscribers as there are pd-list subscribers.
however, you should follow the netiquette and not mix unrelated questions ;-)
fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0oeJQACgkQkX2Xpv6ydvTbUwCfaIdS59VaFprxO+RHvl2YIkYx WrMAoIDoLjF5ThwPN3kxojx5tqC5rv1p =y0H4 -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I used the one published by Joao Pais, that is:
#!/bin/bash
qjackctl -s & sleep 5 & pdextended
I'd be grateful if someone could tell me what "-s" means, by the way.
Pierre
2011/1/17 Jaime Oliver jaime.oliver2@gmail.com
Hi Pierre,
would it be possible to see your script?
J
2011/1/17 Pierre Massat pimassat@gmail.com
Thank you all for your help. I made a simple script than i launch via a
GNOME (or whatever, i'm in ubuntu) launcher and it works just fine. That's the kind of very simple tricks that make life easier. That made my day.
@IOhannes : yes, i know that there should be a way of using HID without being root, i need to take some time to figure it out. What's pd-ot? "Off-topic"?
Pierre
2011/1/8 IOhannes m zmölnig zmoelnig@iem.at
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/07/2011 08:49 PM, Pierre Massat wrote:
Is there a way i can write a script that would start Jack and Pd in
the
proper order by clicking on a single file?
Pd>=0.43 should automatically start jack if needed. afair, the relevant code is also in PdX
And is there a way i can start both as root? (I need to use HID) I'm
why do you need to be root to use HID? i suggest reading the documentation on unix groups and udev. btw, this is a recurring topic on this list, so you might have luck using the mail-archives.
assuming this would be quite a big breach though.
security wise: yes. script wise, it would be rather simple.
And now, totally off topic, are we allowed to start conversations
about
topics that aren't in any way related to Pd at all? You 're about the
only
group of highly computer-literate people that i know, and there 's
always a
question or two that i'd like to ask about the directions the digital
world
is aiming at.
well, there is the pd-ot list, which is meant for this kind of talk. otoh, there are not so many pd-ot subscribers as there are pd-list subscribers.
however, you should follow the netiquette and not mix unrelated questions ;-)
fgmasdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0oeJQACgkQkX2Xpv6ydvTbUwCfaIdS59VaFprxO+RHvl2YIkYx WrMAoIDoLjF5ThwPN3kxojx5tqC5rv1p =y0H4 -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Jaime E Oliver LR
www.jaimeoliver.pe
858 750 0924 (cel) 858 202 1522 (home)
On Mon, Jan 17, 2011 at 03:03:34PM +0100, Pierre Massat wrote:
I used the one published by Joao Pais, that is:
#!/bin/bash
qjackctl -s & sleep 5 & pdextended
I'd be grateful if someone could tell me what "-s" means, by the way.
$ man qjackctl [...] -s, --start Start JACK audio server immediately [...]
Frank Barknecht Do You RjDj.me? _ ______footils.org__