Making Studio work with more than one DE

Ralf Mardorf ralf.mardorf at alice-dsl.net
Wed May 22 21:42:09 UTC 2013


Ubuntu Studio Precise and Ubuntu Studio Quantal:

[rocketmouse at archlinux ~]$ sudo lmount -w u1.precise
[sudo] password for rocketmouse: 
[rocketmouse at archlinux ~]$ sudo lmount -w qrc
[rocketmouse at archlinux ~]$ cat /mnt/u1.precise/usr/bin/qjackctl
#!/bin/sh

# laucher.sh - Disable PulseAudio before launching a JACKD based program
# Copyright © 2011 Alessio Treglia <alessio at debian.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

PROGRAM="/usr/lib/qjackctl/qjackctl.real"
PASUSPENDER="`whereis -b pasuspender | cut -d ':' -f 2 | tr -d ' '`"

( [ -x "${PASUSPENDER}" ] && ${PASUSPENDER} -- ${PROGRAM} ${@} ) ||
${PROGRAM} ${@}

exit 0
[rocketmouse at archlinux ~]$ cat /mnt/qrc/usr/bin/qjackctl
#!/bin/sh

# laucher.sh - Disable PulseAudio before launching a JACKD based program
# Copyright © 2011 Alessio Treglia <alessio at debian.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

PROGRAM="/usr/lib/qjackctl/qjackctl.real"
PASUSPENDER="`whereis -b pasuspender | cut -d ':' -f 2 | tr -d ' '`"

( [ -x "${PASUSPENDER}" ] && ${PASUSPENDER} -- ${PROGRAM} ${@} ) ||
${PROGRAM} ${@}

exit 0

And FWIW, "lmount" is a command I created, since I removed gvfs from my
Xfce. One of the PITA that ship with Xfce, the USB HDD killer that makes
those external hard disks spin down and up again and again.




More information about the Ubuntu-Studio-devel mailing list