Quand je connecte mon module bluetooth, je dois systématiquement changer manuellement la sortie de mes hauts parleurs pour passer sur le module. Y a t'il une ligne de commande que je puisse intégrer dans mon script afin de passer par défaut le module bluetooth sans me le taper à la main (via pavucontrol en graphique)?
En général ,ce genre de script peuvent se mettre dans /etc/rc.local .C'est réservé au configurations locales ,mais je ne garanti rien....Au pire ,il ne se passe rien. Edit: il y a une commande pacmd qui gère pulseaudio en Cli
man pacmd pacmd(1) General Commands Manual pacmd(1)
NAME pacmd - Reconfigure a PulseAudio sound server during runtime
SYNOPSIS pacmd
pacmd --help
pacmd --version
DESCRIPTION This tool can be used to introspect or reconfigure a running PulseAudio sound server during runtime. It connects to the sound server and offers a simple live shell that can be used to enter the commands also understood in the default.pa configuration scripts.
To exit the live shell, use ctrl+d. Note that the 'exit' command inside the shell will tell the PulseAudio daemon itself to shut‐ down!
If any arguments are passed on the command line, they will be passed into the live shell which will process the command and exit.
OPTIONS -h | --help Show help.
--version Show version information.
AUTHORS The PulseAudio Developers <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>; PulseAudio is available from http://pulseau‐ dio.org/
SEE ALSO pulse-cli-syntax(5), pulseaudio(1), pactl(1), default.pa(5)
Manuals User pacmd(1) Manual page pacmd(1) line 1/41 (END) (press h for help or q to quit)
Je te laisse découvrir
Noyau récent MANJARO x86_64 bits: 64 Xfce 4.16
ASUSTeK model: PRIME B350M-A v: Rev X.0x
6-Core: AMD Ryzen 5 2600X
AMD Baffin [Radeon RX 460/560D / Pro
driver: amdgpu v: kernel
Display: x11 server: X.Org driver: amdgpu,ati unloaded: modesetting
OpenGL: renderer: Radeon RX 560 Series
Arch en Dual. Aucun lien publicitaire ne saurait être toléré dans la signature!
Est ce que quelqu'un sait si avec le SDK Apple on peut faire des applis en mode ligne de commande qui tourneraient dans MobileTerminal et donc sans interface CocoaTouch ?