Author Topic: Why doesn\'t the xmms GUI work on Sharp ROM?  (Read 7305 times)

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #15 on: May 05, 2004, 04:45:50 pm »
Qtopia doesn\'t seem to even be aware that xmms is there when it is running, ie. it doesn\'t have an icon in the taskbar nor is it listed in the task list applet.

Assigning a button to it doesn\'t do any good because it will not run without the script you had to make for it.

Can anyone offer any suggestions as to why these things are so?
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #16 on: May 05, 2004, 06:00:30 pm »
Well, disregard my last post I guess.
I reformated my zaurus last night because of some card mounting issues and reinstalled everything from scratch, just finished installing xmms and the icon shows up now.  Everything works like normal with xmms now.  There must have been something messy in my system before that messed it up.  You could have at least told me that yours worked, thanks a lot guys.
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

cmisip

  • Sr. Member
  • ****
  • Posts: 256
    • View Profile
    • http://home.mchsi.com/~cmisip/index.htm
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #17 on: May 05, 2004, 06:32:03 pm »
xmms run the way stated in the tutorial actually reads the xmms.m3u from the /home/root/.xmms directory.  The /home/zaurus/.xmms/xmms.m3u is untouched.  You can probably just create a script to overwrite the /home/root/.xmms/xmms.m3u file with the copy from /home/zaurus/.xmms. each time xmms exits.  

Xmms needs to be run as root and the LOGNAME varilable set to root or else you will not get a gui.  Have you made sure that the email link satisfies this?
Zaurus 5600
Zynergy Rootfs 1.1
Custom zImage

How Do You Do That in Linux

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #18 on: May 05, 2004, 08:25:08 pm »
Ok, will somebody please help me out here, this is driving me insane.

The taskbar icon is now gone again.  It doesn\'t show up at all even though I get an xmms gui.  What could have happened?  It worked when I first installed it, I haven\'t changed anything.

Xmms gives this in the konsole while starting up:
-----------------------OSS INIT
Internal bps 176400
STEP 2048
bs: 3,176400
Allocating memory soon! 529200 bytes
Allocating memory! 529200 bytes
OK! prebuf: 40b6e008 5292
SONGSPLAYED in open = 0
Processing Qtopia gui for XMMS 3.1.2
QPE init started
Opened !
Read
Read
Read
Read
Read
Read
Read
Read
Read
Read
Misc init started
Creating FileBrowser object
QPixmap::convertFromImage: Cannot convert a null image xmms
QPixmap::convertFromImage: Cannot convert a null image xmms
QPixmap::convertFromImage: Cannot convert a null image xmms

Processing MAD MPEG Decoder plugin 0.1.0
Proceddes
Processing MikMod Player 1.2.7
Proceddes
Processing MPlayer plugin1.2.7
Proceddes
Processing Ogg Vorbis Player 1.2.7
Proceddes
Processing Reference FLAC Player v1.1.0
Proceddes
Processing SHN Player 2.2.5
Proceddes
Processing Wave Player 1.2.7
Proceddes
Processing xmms-sid SIDPlay plugin 1.0.0
Proceddes
Plugins ok
Playlist loaded soon
Playlist loaded
Creating timer object
Making connections
Starting timer
Initializing done      


Is this error (the one in bold) something to do with the problem.
What could be causing it not to get a taskbar icon?  Permissions?

Somebody please help.
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

orthogonal

  • Newbie
  • *
  • Posts: 34
    • View Profile
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #19 on: May 05, 2004, 10:03:43 pm »
xamindar,

I had the same problem: the gui appeared but the icon did not.  I\'m not sure why I had the problem, but I have a few suggestions:

1) make sure that xmms is not running by doing a ps -e | grep xmms, and killing the instance with the lowest pid if it exists. Note that running a single instance of xmms will cause six separate processes to be created.

2) xmms creates a \"lock file\" semaphore in /tmp, one for each user\'s instance of xmms. if it sees the lock file, xmms won\'t run (possibly only if allow multiple instances if the config file is false). Delete the semaphore with:
rm /tmp/xmms*

3) or you can do what I did first, and uninstall and re-install xmms

the messages you highlighted appear every time xmms is run, even when run successfully, and so I think have no bearing on the problem.

Finally, while xmms .00005 is somewhat buggy -- my main complaint is that it will hang itself of the system if the network goes down -- .00007 has no apparent additional features; I\'m strongly considering going back to .00005. If there are good reasons to stick with .00007 despite it being a pain, please let me know.
Sharp Zaurus 5600  \"Special ROM\" 1.3   Ambicomm WL1100C CF Wifi  SanDisk 512MB SD

orthogonal

  • Newbie
  • *
  • Posts: 34
    • View Profile
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #20 on: May 05, 2004, 10:05:48 pm »
Quote
xmms run the way stated in the tutorial actually reads the xmms.m3u from the /home/root/.xmms directory.  


Sorry, I\'d symlinked both /home/root/.xmms and /home/zaurus/.xmms to the default /.xmms in /opt.
Sharp Zaurus 5600  \"Special ROM\" 1.3   Ambicomm WL1100C CF Wifi  SanDisk 512MB SD

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #21 on: May 06, 2004, 04:05:38 am »
Thank you orthogonal for your suggestions.  I even reinstalled xmms and then the icon worked a couple of times, I the rebooted and no more task icon.  I don\'t get it.

What\'s the point of the fonts being symlinked to /usr/local/qt-embedded/lib/fonts like it says in the tutorial?  I just removed it for kicks and xmms still starts up and works (still no icon though).
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)

orthogonal

  • Newbie
  • *
  • Posts: 34
    • View Profile
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #22 on: May 06, 2004, 04:35:24 am »
Quote
Thank you orthogonal for your suggestions.  I even reinstalled xmms and then the icon worked a couple of times, I the rebooted and no more task icon.  I don\'t get it.

What\'s the point of the fonts being symlinked to /usr/local/qt-embedded/lib/fonts like it says in the tutorial?  I just removed it for kicks and xmms still starts up and works (still no icon though).


As to the fonts, the xmms config file allows specifying the playlist and the \"currently playing\" font. Presumably it expects to find fonts in the directory cmisip indicated.

As to the icon, I don\'t really have an answer, and intended to revert to xmms .0005. Both versions are very sensitive to the existence of, and file permissions of, files and directories in /tmp, notably qt-embedded and the xmms-username.0 semaphore file.

Also, xmms will attempt to allocate way too much memory (50MB or something) if it can\'t read a user-specific config file, in /home/username/.xmms.

Frankly, and as a programer myself, I don\'t wish to be ungrateful, but xmms-embedded seems not to work well with Qtopia -- although, admittedly, the xmms-embedded web site does make this clear.
Sharp Zaurus 5600  \"Special ROM\" 1.3   Ambicomm WL1100C CF Wifi  SanDisk 512MB SD

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
Why doesn\'t the xmms GUI work on Sharp ROM?
« Reply #23 on: May 17, 2004, 05:15:28 am »
Well I figured out what was making the icon fail to show up on the taskbar.  When I edited the xmms.desktop file to execute the script instead of the xmms binary the icon would then fail to show up in the taskbar.

Simple fix:  have two xmms.desktop files.  I moved the original to my Settings tab where it would be out of the way then put a copy of it in my Applications tab and edited the copy to use the script.  
So I have two xmms.desktop files, one that executes the binary (which doesn\'t work but is needed for the taskbar icon to show) and the other that executes the script like the howto says and starts xmms!  (both do not need to be called xmms.desktop, you can change the file names for example if you want them both in one tab)

What a simple solution to the only reason xmms was not perfect for me, and now it is!  I hope this helps others who have had this problem.  It seems qtopia needs to be able to associate a taskbar item with running programs by using the .desktop file.

Good luck!
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)