You are not logged in.

#1 2020-05-23 08:34:38

amghwk
Member
Registered: 2020-05-23
Posts: 2

[SOLVED] Starting MUNT (MT-32 ) as a service automatically at startup.

Greetings, my first post here.

I'm totally new to Arch and up until now, I have managed to solve the problems by reading online help.

The only problem I can't solve at this stage is trying to run the MUNT service automatically at startup (executable is the "mt32emu-qt" in /usr/bin. (Obtained the package via YAY/AUR Repo).

I have also installed TiMidity++ package and followed the wiki to start the service automatically, which works as it should.

"/etc/systemd/user/timidity.service"

[Unit]
Description=TiMidity++ Daemon
After=sound.target

[Service]
ExecStart=/usr/bin/timidity -iA -Os

[Install]
WantedBy=default.target

I tried copying the above for munt :


"/etc/systemd/user/mt32.service"

[Unit]
Description=MUNT MT32 Emulator
After=sound.target

[Service]
ExecStart=/usr/bin/mt32emu-qt

[Install]
WantedBy=default.target

I have enabled the service and I can start it normally.

But I couldn't seem to start it automatically after rebooting. Can still start the service manually at the terminal.

There's no wiki available for autostart for munt, and I have tried reading the systemd wiki and FAQ and all and even outside wiki help on autostart, but I still can't seem to start it automatically at startup/logon. Checking with aplaymidi -l doesn't list munt as a midi port either (which is created when I start manually).

Any help would be appreciated.

Yes, I have read the wiki. And it doesn't seem to work.

Thanks.

Edit: Used Code tag

Last edited by amghwk (2020-05-23 13:34:30)

Offline

#2 2020-05-23 09:21:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 9,710

Re: [SOLVED] Starting MUNT (MT-32 ) as a service automatically at startup.

https://wiki.archlinux.org/index.php/Sy … XAUTHORITY

Please use [ code ] tags for pasting command output/config files. How do you log in/start your xorg?  Also if autostarting fails you should have a journal message/systemctl status to check that will tell you more what does it tell you? It might generally be better to issue that as a normal autostart application via whatever means you use in xorg, see
https://wiki.archlinux.org/index.php/XDG_Autostart or more generally: https://wiki.archlinux.org/index.php/Au … rg_startup

Offline

#3 2020-05-23 13:30:46

amghwk
Member
Registered: 2020-05-23
Posts: 2

Re: [SOLVED] Starting MUNT (MT-32 ) as a service automatically at startup.

V1del wrote:

https://wiki.archlinux.org/index.php/Sy … XAUTHORITY

Please use [ code ] tags for pasting command output/config files. How do you log in/start your xorg?  Also if autostarting fails you should have a journal message/systemctl status to check that will tell you more what does it tell you? It might generally be better to issue that as a normal autostart application via whatever means you use in xorg, see
https://wiki.archlinux.org/index.php/XDG_Autostart or more generally: https://wiki.archlinux.org/index.php/Au … rg_startup

Thank you, I got the hint from your question about 'how I start my xorg'.

I'm using MATE DE with lightdm + lightdm greeter. I went to control centre and added the "systemctl --user start mt32.service" there directly in the Startup Applications setting.

Thank you again.

Offline

Board footer

Powered by FluxBB