Ranger
遊俠什麼程序正在打開文件?
我正在使用遊俠,當我導航到包含音頻文件的文件夾並按 Enter 時,它會在終端中播放 mp3 文件。
終端音頻程序不是我的預設設置,因為當我從 GUI 點兩下打開一個不同的程序時。
我想弄清楚 Ranger 正在使用什麼程序,以便我可以嘗試手動將它用於未在 Ranger 中打開的波形文件。
關於找出正在使用的程序有什麼建議嗎?
遊俠使用的應用程序在步槍.conf 中定義。
這些是 Fedora 下與音頻相關的預設設置:
#-------------------------------------------- # Audio without X #------------------------------------------- mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@" mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@" mime ^audio|ogg$, terminal, has mpv = mpv -- "$@" ext midi?, terminal, has wildmidi = wildmidi -- "$@" #-------------------------------------------- # Video/Audio with a GUI #------------------------------------------- mime ^video|audio, has gmplayer, X, flag f = gmplayer -- "$@" mime ^video|audio, has smplayer, X, flag f = smplayer "$@" mime ^video, has mpv, X, flag f = mpv -- "$@" mime ^video, has mpv, X, flag f = mpv --fs -- "$@" mime ^video, has mplayer2, X, flag f = mplayer2 -- "$@" mime ^video, has mplayer2, X, flag f = mplayer2 -fs -- "$@" mime ^video, has mplayer, X, flag f = mplayer -- "$@" mime ^video, has mplayer, X, flag f = mplayer -fs -- "$@" mime ^video|audio, has vlc, X, flag f = vlc -- "$@" mime ^video|audio, has totem, X, flag f = totem -- "$@" mime ^video|audio, has totem, X, flag f = totem --fullscreen -- "$@"
找到您的遊俠配置文件夾(通常是*$HOME/.config/ranger*),打開步槍.conf 文件並蒐索這些行。