Posts: 22
catch22
Joined: 07 Jul 2013
#1
Starting up mocp
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://moc.daper.net/"
linktext was:"http://moc.daper.net/"
====================================
I get a message:

Code: Select all

FATAL_ERROR: Can't open theme file: No such file or directory
I contacted one of the developers and he says the package 2.5.0-alpha4 is outdated and also there's something wrong with it, namely the theme (orpheus) that is set in the config doesn't exist.

He suggested I ask the package manager at antiX to upgrade MOC to 2.5.0-beta2 (and look into 'orpheus').
I guess this froum is the right place? Thanks
Last edited by catch22 on 28 Feb 2014, 15:31, edited 1 time in total.
Posts: 609
dark-D
Joined: 02 Jun 2008
#2
antiX uses moc from the debian repositories, the version at the time in the repo is the one that you have.
if you want a newer version enable the testing/jessie repos, if they aren't all ready, and run this as root

Code: Select all

apt-get update && apt-get install moc
for the theme, you can find the config file in the home folder under ~/.moc/config search in it for Theme = orpheus
and replace it with another that can be found either in ~/.moc/themes/ or in /usr/share/moc/themes/
as for the latest beta2 it's not in the debian repos, maybe someone will compile it for the antix repos.
Posts: 22
catch22
Joined: 07 Jul 2013
#3
dark-D wrote:...if you want a newer version enable the testing/jessie repos, if they aren't all ready, and run this as root

Code: Select all

apt-get update && apt-get install moc
...as for the latest beta2 it's not in the debian repos, maybe someone will compile it for the antix repos.
Thanks, I'll check the repos and else do the update, when I get back to the place where that laptop is; if you don't hear from me again, it means all went well __{{emoticon}}__
Posts: 609
dark-D
Joined: 02 Jun 2008
#4
the latest beta is in sid/unstable repos. as mentioned before you can enable them, run the command as root and then disable them.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
However, it will upgrade libc libraries and that *might* mean issues installing and compiling other applications eg VirtualBox if you still use Stable repo.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
mocp outdated and broken
I just installed it.

Code: Select all

harry@biker:~$ apt-cache policy moc
moc:
  Installed: 1:2.5.0~beta1+svn20131120-1
  Candidate: 1:2.5.0~beta1+svn20131120-1
  Version table:
 *** 1:2.5.0~beta1+svn20131120-1 0
        500 http://ftp.us.debian.org/debian/ testing/main i386 Packages
        100 /var/lib/dpkg/status
repos

Code: Select all

harry@biker:~$ inxi -r
Repos:     Active apt sources in file: / etc/apt/sources.list
           deb http://liquorix.net/debian/ sid main
           Active apt sources in file: / etc/apt/sources.list.d/antix.list
           deb http://antix.daveserver.info/stable stable main
           Active apt sources in file: / etc/apt/sources.list.d/debian.list
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
Install

Code: Select all

harry@biker:~$ inxi -Fxz
System:    Host: biker Kernel: 3.12-5.dmz.2-liquorix-686 i686 (32 bit, gcc: 4.8.2) 
           Desktop: Fluxbox 1.3.5 Distro: antiX-M11-base- Jayaben Desai 25 April 2011
Machine:   System: GATEWAY product: W3507 version: 500
           Mobo: Intel model: D102GGC2 version: AAD70214-201
           Bios: Intel version: GC11020M.15A.2010.2006.0817.0956 date: 08/17/2006
CPU:       Single core Intel Celeron D CPU (-UP-) cache: 512 KB flags: (lm nx pae sse sse2 sse3) bmips: 6399.97 clocked at 3199.988 MHz 
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RC410 [Radeon Xpress 200/1100] bus-ID: 01:05.0 
           X.Org: 1.14.5 driver: radeon Resolution: 1280x1024@60.0hz 
           GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
Audio:     Card: Advanced Micro Devices [AMD/ATI] IXP SB4x0 High Definition Audio Controller 
           driver: snd_hda_intel bus-ID: 00:14.2 
           Sound: Advanced Linux Sound Architecture ver: k3.12-5.dmz.2-liquorix-686
Network:   Card: Realtek RTL-8139/8139C/8139C+ driver: 8139too ver: 0.9.28 port: 1000 bus-ID: 02:02.0
           IF: eth0 state: unknown speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 444.0GB (9.6% used) 1: id: /dev/sda model: ST3120213A size: 120.0GB 
           2: id: /dev/sdb model: Maxtor_5A320J0 size: 323.9GB 
Partition: ID: / size: 109G used: 36G (35%) fs: ext3 ID: swap-1 size: 2.17GB used: 0.00GB (0%) fs: swap 
Sensors:   System Temperatures: cpu: 41.7C mobo: 41.8C 
           Fan Speeds (in rpm): cpu: 2285 fan-2: 1108 fan-4: 0 
Info:      Processes: 92 Uptime: 28 min Memory: 317.8/878.3MB Runlevel: 5 
           Gcc sys: 4.8.2 Client: Shell (bash 4.2.45) inxi: 1.9.18 
Image

I use cmus also. So if wanting how my conkyrc is set up. Go to the conky thread post33335.html#p33335
Posts: 22
catch22
Joined: 07 Jul 2013
#7
rokytnji wrote:...
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
testing main contrib non-free
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/"
linktext was:"http://security.debian.org/"
====================================
testing/updates main contrib non-free
...
I use cmus also. So if wanting how my conkyrc is set up. Go to the conky thread post33335.html#p33335
I had no sources.list yet, so I made one and added the 2 mentioned sources, updated, installed the MOC-beta and then uncommented the sources.
All went well; nothing broke as far as I can tell __{{emoticon}}__
I'll check out the conky later too, thanks for the help and advise in all the comments above!
EDIT: I tried to get the conky right, but it doesn't work.

Code: Select all

$ apt-cache policy python
python:
  Installed: 2.7.3-4+deb7u1
  Candidate: 2.7.3-4+deb7u1
  Version table:
 *** 2.7.3-4+deb7u1 0
        500 http://ftp.us.debian.org/debian/ wheezy/main i386 Packages
        100 /var/lib/dpkg/status
added this in conkyrc

Code: Select all

${exec echo $(cmus-remote -Q | grep -m 1 artist | cut -d"" -f 3-)}
${exec echo $(cmus-remote -Q | grep title | cut -d"" -f 3-)}
${execpi 10 python /home/ludo/.mocpdata.py}
At first I put only the 3rd line, but since it didn't work I added also the cmus-lines.
I guess I need to install cmus also to get this right?
Posts: 22
catch22
Joined: 07 Jul 2013
#8
catch22 wrote:...I tried to get the conky right, but it doesn't work...
At home I compared to the conkyrc I have for LinuxMint. It is simply

Code: Select all

${exec mocp -Q %artist}${exec mocp -Q %song}
so I'll try that next time I'm at the antiX-laptop.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#9
Yep. I had to install cmus when moc broke for me earlier last fall. That was why I reinstalled it later on after reading this thread.
It might be a good idea to install curl also. I use it for my weather script in conky and well as perl.