Help - Search - Members - Calendar
Full Version: Xdsl Tips And Tricks
Scenyx Entertainment Community > Xbox1 Forums > Software Forums > *nix OS on Xbox
stevewal
I've started this thread because xdsl is a super fast distro, and what I personally use the most. But it is also very Quirky , so hopefully this thread can save everyone some time.


Ok so I'll kick off with a couple with a couple of tips.

ctrl,alt.del exit.
use this comand if something has crashed or still running in the background (if you wondered why more memory was being used than it should be) ctrl,alt,del shuts down the session and typing exit gets you back to the desktop.


avoiding the "cloop" (please mount the media containing option directory and try again) problem.

If you get an error message with any of the above in, and find you can't install any uci apps, then you've encoutered the dreaded cloop problem. This has been solved in newer versions of dsl, but not in xdsl 0.5. Now I don't know how to solve this, but to aviod it try not to use uci apps as much as possible. Unmout the uci app before closing down, by double clicking on uci file in /tmp or /home/dsl. If you permenantly mount a uci app, then delete user.tar.gz file in the directory of ur app whithin the /opt directory, before you use it.

OK that will do for now, please add your tips to this thread smile.gif
Master Reefed
tip #1
to get xlink kai running on startup....workes like a charm

this is exactly what I added to the bottom of my /opt/bootlocal.sh /home/dsl/kaid/kaid -c /home/dsl/kaid/kaid.conf start &

and my Kaid directory is obviously /home/dsl/kaid


you can substitute kai for any program here...
/home/dsl/folder of executable/executable -c /home/dsl/kaid/kaid.conf start &

^
-c means it has a .conf file it needs to start, next is path to .conf
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tip#2
if you right click on the desktop /multimedia/graphics/xzoom opens a magnifier that is real handy for reading small blurry text, you can resize,move and lock/unlock it wherever you want on the screen.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


tip#3
yahoo games problem solved this is what worked for me

if ya copy the jre1_5_0_.uci file to the root of E:\ java restores on boot

mydsl(desktop icon) UCI/jre1_5_0_.uci.info/download (to tmp by default, takes ten minutes)
then when thats done your yahoo games will work.
to NOT have to do that (ten minutes is a LooooooonG time!)
after its done downloading, right click on the desktop/apps/tool/emelfm as super user.
then hit the yellow icon in the top left of your left panel to go up a directory, till ya see tmp, go in there and you will see what MYDSL just downloaded, switch to the right panel, click on cdrom (this is your XBOX E:\ drive, then go back to the file jre1_1_5_0.uci, on the other side, highlight it, then select copy to copy it to the root of your E:\ drive...then everytime ya boot XDSL it will restore that TEN MINUTE java download in about 1 second

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tip#4
to creat a desktop icon manually u need a text document and a .gif( or .jpg, .png)
in the hidden folder .xtdesktop

you can have more than one command per icon, to access the first command of the icon just click it (mine is set for double click, you can change that with the desktop tool accessed through right clicking on the desktop) to access the second commands, right click on the icon.

below is the text for my ftp,limewire,and xlink kai icons


table Icon
Type: Program
Caption: axyFTP
Command: axyftp-gtk
Icon: .xtdesktop/Ftp.gif
MenuCommand1: Start FTP server:sudo /usr/sbin/betaftpd
MenuCommand2: Shutdown FTP server:sudo killall -9 betaftpd
X: 174
Y: 139
Status: anchor
end


table Icon
Type: Program
Caption: Limewire
Command: PATH=$PATH:/opt/jre1_5_0/bin limewire
Icon: .xtdesktop/Limewire.png
X: 73
Y: 157
Status: anchor
end

table Icon
Type: Program
Caption: XLINK_KAI
Command: /home/dsl/.gkaiui/gkaiui
Icon: .xtdesktop/orb.png
MenuCommand1: Start Kai endine:sudo /home/dsl/.kaid/kaid -c /home/dsl/.kaid/kaid.conf start
MenuCommand2: SHutdown Kai engine:sudo killall kaid
X: 73
Y: 157
Status: anchor
end



Master Reefed
damn timer wont let me edit any more...soo

For a little better explanation of java look here
http://forums.xbox-scene.com/index.php?showtopic=533701

a walkthrough to get azureu working (by itself, cause running along side any other programs eats too much memory and locks you up)
http://forums.xbox-scene.com/index.php?sho...p;#entry3568205

to get firefox 2.0 working
http://forums.xbox-scene.com/index.php?sho...557908&st=0
Master Reefed
Tutorial - For Using The Xbox As A Server, using xdsl (from the stickies)

http://forums.xbox-scene.com/index.php?showtopic=454803
Master Reefed
Workaround For 1.6 Overscan

http://forums.xbox-scene.com/index.php?showtopic=635670
stevewal
nice tips Master Reefed:- I'm def gona try out the yahoo games one.


Here's another one:-

set xbox time automatically, everytime you start xdsl

this is great. if like me, you keep loosing your xbox time setting through unplugging it etc, and dont want the hassle of manually setting it or loading xboxwatch first.

1. install ntpdate_4.1.0-8_i386.dsl from the mydsl system repositoy
2. add this line to /opt/bootlocal.sh (without the quotation marks):-
"sudo ntpdate pool.ntp.org && sudo /sbin/hwclock --systohc"

Thats it, your done!

If pool.ntp.org is loading the wrong time, you can always replace this for a local time server ip. eg for the U.K use 0.uk.pool.ntp.org . Click Here for a list of local sever addresses.

Cheers,
Steve.
stevewal
how to upgrade to debian etch

QUOTE(aiyyo @ Jan 25 2008, 03:42 PM) *


First I edited /etc/apt/sources.list to sarge instead of stable.
Then run apt-get update command. Next run apt-get -f upgrade.
Then type apt-get -f dist-upgrade.
I edited sources.info to etch.
I repeat these steps.

stevewal
windows and popups come up too big for the srceen


no problem:-

alt, click, drag n drop

then you can resize them or shut them down.
stevewal
Making uci apps permanent


if you don't want to load your uci apps at boot or after boot and want to aviod the cloop error in xdsl0.5, then you can make them permanent:-

first mount your uci app as normal. you will find it in the /opt diectory. make a copy of your app in another directory and unmount the app (same as mounting it). Now go into the app folder of the copy you made and find usr.tar.gz. unpack it (easiest way is to right click on emelfm and start as super user and double click the usr.tar.gz file. now copy the contents of the file to the directories it specifies (usually /tmp and home/dsl/.xdesktop. .xdestop is a hidden folder, so you can find it by clicking the little "H" button in emelfm. Then make sure you delete the usr.tar.gz file and move you're app directory to /opt.

biggrin.gif
FourTwentySmiles
Xdsl doesnt recognize my controller as a mouse. Any Help? I'm trying to get Xmugen running on xbox and the tutorial I read says I have to have Xdsl working to run Xmugen. Thanx
joesnose
this needs stickying
JBmtk
QUOTE(joesnose @ Apr 2 2008, 10:39 AM) *

this needs stickying


Indeed. I ran my xbox on Xdsl last year and it wasn't so easy as a beginner to get things going, but this thread will defiantly help those that are beginners and advanced users. Great idea
stevewal
QUOTE
avoiding the "cloop" (please mount the media containing option directory and try again) problem.


I just thought I'd come back to give the real solution to this for those using xdsl 0.5.

The problem occurs when xdsl thinks there is still something mounted like a uci app or a dvd etc, when infact it's not. This will stop you shutting down correctly as the system is still looking for the mount. The problem lays with the uci unmounting script. But since it does'nt happen that often, the best thing to do is if you can't shut down then press ctrl, alt , delete. Then next time you boot, go to /etc/sysconfig/mydsl and delete all the lines that are not free. This is the file that tells the system what is mounted so you will be able to shutdown without problems now. smile.gif
stevewal
QUOTE(stevewal @ Jul 8 2008, 04:52 PM) *

Hi,
Here's a mini tut on using wine on xdsl 0.6/0.7

1. Dont use Xwine, use wine0.9.22.dsl from the dsl system repository, Xwine has some compatibility issues with newer dsl versions.

2. Download your windows app, after checking WineHQ to see if it works.

3. Go into emelfm and double click the install .exe file of the app to install. Or issue the command wine your_file.exe.

4. Your app will probably install to /home/dsl/.wine/ drive_c/Program Files/ . You will need to click the little H button on the top bar of emelfm to see the hidden directory .wine in /home/dsl. So navigate to the launching .exe file for your program and double click it to run.

5. You can make a desktop icon or menu item as described by master reefed on the tips and tricks thread. An exaple of the launching command for bittornado is:-
CODE
wine /home/dsl/.wine/drive_c/Program_Files/BitTornado/btdownloadgui.exe
You need to rename the directory /program Files to /Program_Files , because linux does not like gaps in the command.

stevewal
Firefox 3

For those that want to get firefox 3 working on xdsl. Jason from the dsl forums has kindly compiled the nessesary tools.

First get firefox 3 here

when it's downloaded untar it (go into emelfm as root and double click it). Transfere the fiefox folder inside to the directory of your choice.

Second, go to the mydsl tool -> testing and install libc62.3.2-22sarge6.dsl and gtk+-2.12.9.uci. You will then need to run the gtk2 script in the mydsl menu. You can set gtk2 as permanent on a loopback/native install by right clicking on the mydsl icon and using the uci tool.

now go into the new firefox folder and run the firefox flie by issuing a command or just double clicking it in emelfm.

You can make a desktop icon as described further up in this thread.

So far I've been testing it out, and it runs pretty well. But unfortunately doesn't run to well with flash 9.0.0.48 which is the fast flash player which can be used with firefox2gtk2. But anyway here's the instrutions for those who want it.
stevewal
digital sound output

QUOTE(bassquake @ Dec 3 2008, 07:04 PM) *

Finally found how to get digital sound out to the optical (or coax if youve done my mod!) for Xdsl 0.6 and later including 0.7.

Heres how:

- Ensure Alsa drivers are installed.
- Run Emelfm as super user.
- Create a new file asound.conf and put it in etc folder
- Paste this in:

CODE
pcm.card0 {
type hw
card 0
}

pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,2"
period_time 0
period_size 2048
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}

pcm.skype {
type asym

playback.pcm "dmixer"
capture.pcm "card0"
}

pcm.!default {
type plug
slave.pcm "skype"
}


Then, in bash, type: alsactl restore to restart the alsa driver.

Start up Firefox and flash etc will play through digital!

For Xmms, you have to goto in Xmms, Preferences->Audio I/O Plugins->Output Plugin by choosing ALSA, then Configure and set Audio device to 'nVidea IEC958 (hw:0,2)'

For Xine, set the Audio output to Alsa, then change "Notify changes to the hardware mixer" under the Audio tab to 2. (You will probably need to change to Advanced under the GUI tab to see the extra settings).

Apologies if its a bit of a hassle, but I dont know how to set alsa to default to digital out. Ive no idea why "skype" is included but no sound would work without it. I took that code from here:

http://ubuntuforums.org/archive/index.php/t-219631.html

I would have thought:

CODE
pcm.!default {
        type hw
        card 0
        device 2
}


Would set it to use digital by default but it didnt work.

Hopefully somebody has a more elegant solution! biggrin.gif

stevewal
Xromwell not booting:-

ie:
The screen shuts down after a few seconds and about 5 seconds later either the fan or drive produces a spinning/whirring sound when I try to run the .xbe. Then it shuts down.

Solution:
The problem lays with a incompatibility with the bios/dashboard and xromwell. Try launching from a diferent dashboard or use a different bios for your chip/tsop.
Vejita
Thanks to stevewal for this tip.

Using Xbox Infra-Red Remote as mouse in XDSL

You will need to have a loopback/native install then upgrade to XFree86 (from the upgrades menu). Then issue the command lircmd . If you want to permanently have this function working than add the command lircmd to /opt/bootlocal.sh.
stevewal
Getting flash player working


QUOTE(stevewal @ Feb 20 2009, 06:27 PM) *

hi,
I've tryed my best to solve this.

Go to the upgrades menu.
Install: firefox gtk2; gtk2; flahsplayer 9; and alsa
When flash 9 is installing, choose flash 9.0.0.48 when prompted. If you've already installed, then click to install again (it won'nt download again, it will just give you the choice between 9.0.0.152 and 9.0.0.48) and choose 9.0.0.48

Flashplayer 9.0.0.48 is the only one that is fast enough for video on the xbox. All the other versions will look slow and choppy. But beware there are some security isues with this version, so it is probably best to use 9.0.0.152 for any app that needs access to your files etc.

flash 10 does not work for xdsl or dsl (or the new tiny core linux). The reason for this is the default glibc version is <2.4. This cannot be easily replaced.

Firefox 3 works in xdsl/dsl up to version 3.0.0.4. However firefox 2 is faster when running flash etc.

Ofcourse, mplayer is faster, which is what xmbc uses to play flash content. You can play youtube vids and vids from a few other sites using mplayer, by installing firefox greasemonkey extension and looking in the greasepot site for a suitable mplayer flash scripts.

can someone please stick this
Thanks,
Steve.

stevewal
xvkbd virtual keyboard on xdsl0.7

Use the focus button to focus on any text box when using jwm (default window manager). Or switch to fluxbox (on the exit menu) and it will work like on xdsl 0.6.
matyus
sopcast on xdsl would be really helpfull!!
iv tried but i dont really know what im doing
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.