I'm using cmus to listen to music now.One problem is that I couldn't close the interface while listening, i.e. keep it running background.The raw '&' doesn't work.I know moc(p) has the function,just pressing 'q', is there a similar way for cmus?
Asked
Active
Viewed 5,568 times
2 Answers
9
I've written a guide explaining how to use a bash script combined with a rebinding of the q key to have very comfortable detaching/reattaching with cmus, see https://github.com/cmus/cmus/wiki/detachable-cmus
Please tell me if this is good enough, since implementing this in cmus would be a lot of work :-).
Note: For the above solution to work the screen command must be installed: sudo apt-get install screen
-
Thanks a lot and I feel so happy that the daemon mode has been in the to-do list:) – Hongxu Chen Dec 15 '11 at 16:17
-
The mentioned guide also has snippets for `tmux` :D – Enrico Jul 29 '16 at 11:34
1
This is how I work with cmus :
I run cmus manually on tty1 (Ctrl+Alt+F1) every time I login to my computer.
I control cmus from my gnome terminal using cmus-remote commands (look at manpage of cmus-remote.
That way you can exit the terminal any time you want and still have cmus running in tty1.
Kevin Bowen
- 19,395
- 55
- 76
- 81
gourgi
- 5,058
- 3
- 16
- 11
-
2ill just add that this could be possibly done with screen too, just run cmus in screen, detach and work with cmus-remote – Denwerko Jul 23 '11 at 14:03
-
Thanks.However I really would like cmus to have this feature anyway. – Hongxu Chen Jul 24 '11 at 00:40