You are not logged in.

#1 2016-11-07 12:52:34

sunnyday
Member
Registered: 2016-09-11
Posts: 16

Startup and shutdown sound

[Solved ]hi im using arch xfce and how can i enable or setup startup and shutdown sound in my pc?

Last edited by sunnyday (2016-12-18 06:30:58)

Offline

#2 2016-11-07 18:47:27

sunnyday
Member
Registered: 2016-09-11
Posts: 16

Re: Startup and shutdown sound

? should I repost this?

Offline

#3 2016-11-07 18:50:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,524

Re: Startup and shutdown sound

sunnyday wrote:

? should I repost this?

No.  If you want it moved, please use the report link and leave a note for the moderators.

I don't use Xfce4 or system sounds, so I've no clue how to help.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2016-11-07 19:02:04

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 2,524

Re: Startup and shutdown sound

Did you try a web search for "xfce startup sound"? You might also check the Xfce forum, or post your question there: https://forum.xfce.org/index.php

Online

#5 2016-12-18 06:30:38

sunnyday
Member
Registered: 2016-09-11
Posts: 16

Re: Startup and shutdown sound

This post is solved i can now make my own scripts for running them at startup or shutdown

Offline

#6 2016-12-18 08:04:55

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,158

Re: Startup and shutdown sound

You can post your script too, so other fellows with similar issue can get help from it or someone may help refine the scripts.


Arch is home!
sway rofi qutebrowser vifm vim mutt lizzy pass

Offline

#7 2017-01-16 05:50:58

sunnyday
Member
Registered: 2016-09-11
Posts: 16

Re: Startup and shutdown sound

Docbroke wrote:

You can post your script too, so other fellows with similar issue can get help from it or someone may help refine the scripts.

install mplayer (you can use any commandline player)

put a sound in safe location like /usr/share/sounds then

create a script in /usr/bin as startupsound


### script playing the sound
#!/usr/bin/bash

mplayer /usr/share/sounds/startupsound.(m4a/ogg/mp3 anyformat)

then save and enable permissions

later create a service in /etc/system/systemd as startupsound.service

####service
[Unit]
Description=startup sound

[Service]
ExecStart=/usr/bin/startupsound

[Install]
WantedBy=multi-user.target

then save it and enable the service
for running a shutdown script add Type, RemainAfterExit and ExecStop  to shutdown service

Last edited by sunnyday (2017-01-16 06:09:15)

Offline

#8 2017-01-16 05:58:32

sunnyday
Member
Registered: 2016-09-11
Posts: 16

Re: Startup and shutdown sound

sunnyday wrote:
Docbroke wrote:

You can post your script too, so other fellows with similar issue can get help from it or someone may help refine the scripts.

install mplayer(you can use any commandline player)

put a sound in safe location like /usr/share/sounds then

create a script in /usr/bin as startupsound


### script playing the sound
#!/usr/bin/bash

mplayer /usr/share/sounds/startupsound.(m4a/ogg/mp3 anyformat)

then save and enable permissions

later create a service in /etc/system/systemd as startupsound.service

####service
[Unit]
Description=startup sound

[Service]
ExecStart=/usr/bin/startupsound

[Install]
WantedBy=multi-user.target

then save it and enable the service
for running a shutdown script add Type, RemainAfterExit and ExecStop  to shutdown service

Last edited by sunnyday (2017-01-16 06:04:30)

Offline

Board footer

Powered by FluxBB