You are not logged in.
Hello
this commande work in open console
exec audacious --stop
i would make @ shortcut with this command but it doesn't work
For @ long time i foundet any command like this i don't remember .
Blabla console -- blbla --exec audacious stop .
Any idea for helping
@+
Last edited by loutch (2022-01-12 15:53:57)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online
exec audacious --stop
i would make @ shortcut with this command but it doesn't work
Edit ~/.xbindkeysrc. Add:
# stop audacious playing
"audacious --stop"
Alt + S
if those keys ar available.
Logout/login.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Hello
@ rbh
Thanks for your help, but it's not a keyboard shortcut I'm looking for, but a shortcut in the dashboard that works with the mouse like my old conky-clic
I used to have a shortcut that launched a command through the console without opening it .
Merci pour ton aide , mais ce n'est pas un raccourcis clavier que je cherche mais un raccourcis dans le tableau de bord qui fonctionne avec la souris comme mon ancien conky-clic.
@+
Last edited by loutch (2022-01-12 07:09:16)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online
it's not a keyboard shortcut I'm looking for, but a shortcut in the dashboard that works with the mouse like my old conky-clic
I used to have a shortcut that launched a command through the console without opening it .
BL does not have a dashboard... Maybe a command button in tint2 will do?
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
Okay
I'm using xfce
Tanks
@+
Last edited by loutch (2022-01-12 11:06:29)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online
I use a small script 'aud-mtool' from within my executable path (~/bin) to call the various audacious commands playpause, stop, prev, next, volup, voldown, mute .
(found the original script "audacious_multitool" last month or so here on the bunsenlabs forum, can't remember where though...)
Calling commands like 'aud-mtool playpause' etc directly from tint2 buttons works perfectly. Surely you can make them work from conky-click likewise.
aud-mtool
#!/bin/bash
# Audacious Multi Tool
#
# Can start and control audacious (play/pause, stop, prev, next, volume)
#
# Dependencies: audacious
#
# Author: Michael Koch (Emkay443) (m<DOT>koch<AT>emkay443<DOT>de)
# Version: 2013-08-31
# License: GNU General Public License v3 (http://www.gnu.de/documents/gpl-3.0.en.html)
###################
## CONFIGURATION ##
###################
# Command line option names
option_playpause="playpause"
option_play="play"
option_stop="stop"
option_prev="prev"
option_next="next"
option_volup="volup"
option_voldown="voldown"
option_mute="mute"
# Audacious and audtool commands
audacious_cmd="/usr/bin/audacious"
audtool_cmd="/usr/bin/audtool"
#########################################################################################
# WARNING: You should be careful when changing any code below. Modify at your own risk! #
#########################################################################################
##################
## MAIN PROGRAM ##
##################
# Start audacious with file if there's one provided (second parameter)
if [ ! -z "$2" ]; then
audacious -p "$2" &
else
# If audacious is not running, start it
if [ ! "$(pidof audacious)" ]; then
$audacious_cmd -p &
else
case "$1" in
"$option_playpause")
$audtool_cmd --playback-playpause
;;
"$option_play")
$audtool_cmd --playback-play
;;
"$option_stop")
$audtool_cmd --playback-stop
;;
"$option_prev")
$audtool_cmd --playlist-reverse
;;
"$option_next")
$audtool_cmd --playlist-advance
;;
"$option_voldown")
if [ -e "/tmp/audmultitool_lastvol" ]; then
$audtool_cmd --set-volume $(cat /tmp/audmultitool_lastvol)
rm /tmp/audmultitool_lastvol
else
$audtool_cmd --set-volume $(echo $($audtool_cmd --get-volume)-5 | bc)
fi
;;
"$option_volup")
if [ -e "/tmp/audmultitool_lastvol" ]; then
$audtool_cmd --set-volume $(cat /tmp/audmultitool_lastvol)
rm /tmp/audmultitool_lastvol
else
$audtool_cmd --set-volume $(echo $($audtool_cmd --get-volume)+5 | bc)
fi
;;
"$option_mute")
if [ -e "/tmp/audmultitool_lastvol" ]; then
$audtool_cmd --set-volume $(cat /tmp/audmultitool_lastvol)
rm /tmp/audmultitool_lastvol
else
$audtool_cmd --get-volume > /tmp/audmultitool_lastvol
$audtool_cmd --set-volume 0
fi
;;
*)
echo "Available options are:"
echo "$option_playpause, $option_play, $option_stop, $option_prev, $option_next,"
echo "$option_voldown, $option_volup, $option_mute"
exit 1
;;
esac
fi
fi
exit 0
Last edited by ceeslans (2022-01-12 14:16:34)
Offline
Hello
I have it
Command in launcher
audacious %U --fwd
made the same with play stop rew
Many tanks for helping
@+
Last edited by loutch (2022-01-12 16:23:10)
Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX
Online