Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: ◄ moc a terminal music player ►

  1. #11
    Join Date
    Sep 2006
    Beans
    3,713

    Re: ◄ moc a terminal music player ►

    I use the moc global hotkeys with my windows environment, Openbox:

    ~/.config/openbox/rc.xml:
    Code:
    <keybind key="W-space">
      <action name="Execute">
        <execute>mocp -G</execute>
      </action>
    </keybind>
    Also for controlling system audio with the keyboard (much faster for me than a point-and-click volume control):
    Code:
    <keybind key="W-1">
      <action name="Execute">
        <execute>amixer -q set Master 1+ unmute</execute>
      </action>
    </keybind>
    <keybind key="W-2">
      <action name="Execute">
        <execute>amixer -q set Master 1- unmute</execute>
      </action>
    </keybind>
    The "W" is the Windoughs key.

  2. #12
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: ◄ moc a terminal music player ►

    thanx for that FakeOM




    another area with moc is color and customization and gathering info from here and there it becomes quite easy to do




    Code:
    shift+T
    shows all the themes available pick one and enter




    they are situated in /usr/share/moc/themes/ and can therefore be easily edited with say


    Code:
    sudo gedit /usr/share/moc/themes/nameofthemeyouwanttotweak


    personally wanted bold writing and different colours on the transparent theme so did this ...
    added bleu blanc rouge on the time monitors to make it look like a French flag ::}}




    Code:
    # Transparent background theme tweaked by Shan
    
    
    background         = default        default 
    frame                 = cyan           default  bold
    window_title       = cyan           default  bold
    directory        = white              default     bold
    selected_directory    = cyan        blue     bold
    playlist        = cyan        cyan     bold
    selected_playlist    = cyan        blue    
    file            = cyan        default  bold
    selected_file        = cyan        cyan     bold
    marked_file        = cyan        default     bold
    marked_selected_file    = cyan        blue     bold
    info            = blue        default    
    status            = cyan        default 
    title            = cyan        default    
    state            = cyan        default    
    current_time        = blue         default    bold
    time_left        = white        default    bold
    total_time        = red        default    bold
    time_total_frames    = cyan        default 
    sound_parameters    = cyan        default    bold
    legend            = cyan        default 
    disabled        = blue        default    
    enabled            = cyan        default    
    empty_mixer_bar        = cyan        default 
    filled_mixer_bar    = black        cyan     
    empty_time_bar        = cyan        default 
    filled_time_bar        = black        cyan    
    entry            = cyan        default 
    entry_title        = black        cyan     
    error            = red        default    
    message            = cyan        default    
    plist_time        = cyan        default



    and got






    then to make it permanent once you have the design YOU wish for


    1. create a config file in .moc folder


    Code:
    gedit .moc/config
    and enter Theme = /usr/share/moc/themes/nameofthethemeyouwantasdefaultwhenstartingprogram then save




    Now you have your own design change colours and bold

    choices are


    Black
    Red
    Green
    Yellow
    Blue
    Magenta
    White
    Cyan


    you can also use "bold" and "reverse" and modify the look that way too


    Finding the reverse option allowed for a nifty Italian Tricolour





    which i got this way


    # Transparent background theme tweaked by Shan [Italian flag]

    background = default default
    frame = white default bold
    window_title = white default bold
    directory = green default bold
    selected_directory = white green bold
    playlist = white white bold
    selected_playlist = white white
    file = white default bold
    selected_file = green green bold
    marked_file = white default bold
    marked_selected_file = white green bold
    info = cyan default
    status = white default
    title = white default
    state = white default
    current_time = green default reverse
    time_left = white default reverse
    total_time = red default reverse
    time_total_frames = white default
    sound_parameters = white default bold
    legend = white default
    disabled = green default
    enabled = white default
    empty_mixer_bar = white default
    filled_mixer_bar = black white
    empty_time_bar = white default
    filled_time_bar = black blue
    entry = white default
    entry_title = black white
    error = red default
    message = white default
    plist_time = white default


    2 great forum pages from Crunchbang guys with options discussed

    1 2












    Good additional info


    http://v1.corenominal.org/howto-setu...ic-on-console/


    ================


    PS also add line

    Code:
     Allow24bitOutput = yes
    to the config file if you wish for 24-bit to play as 24-bit ... default plays at 16-bit

    also useful

    Code:
    SavePlaylist = yes
    ShowFormat = yes
    Repeat =yes
    ShowHiddenFiles =yes
    if any of you know of further useful tweakings to the config please say. thanx
    Last edited by shantiq; November 26th, 2013 at 11:42 AM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •