are 2 custom commands possible, instead of one?

Asked by clueless

I use the custom command "mocp -p" (mocp is Music On Console Player), but sometimes forget to check the volume before I go to sleep - resulting in not hearing the alarm.
I would like to change the command so the volume is always at 100%.

I tried stuff like this: "amixer sset 'Master' 100% && mocp -p"
but it doesn't work.
Any suggestions? Thanks.

Question information

Language:
English Edit question
Status:
Expired
For:
Alarm Clock Applet Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Johannes H. Jensen (joh) said :
#2

Hi, sorry for the late reply. You can try putting your commands inside a
shell script and then have alarm clock run the shell script.

Johannes

On Sat, Nov 26, 2016 at 12:53 PM, clueless <
<email address hidden>> wrote:

> New question #404406 on Alarm Clock:
> https://answers.launchpad.net/alarm-clock/+question/404406
>
> I use the custom command "mocp -p" (mocp is Music On Console Player), but
> sometimes forget to check the volume before I go to sleep - resulting in
> not hearing the alarm.
> I would like to change the command so the volume is always at 100%.
>
> I tried stuff like this: "amixer sset 'Master' 100% && mocp -p"
> but it doesn't work.
> Any suggestions? Thanks.
>
>
> --
> You received this question notification because you are an answer
> contact for Alarm Clock.
>