Leave message History
Article Discussion Edit

Talk:XCoLinux

From coLinux

Jump to: navigation, search

[edit] Xming config file

I've put the following file in my init.d:

#! /bin/sh
export USER="root"
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/local/sbin:/usr/sbin:/sbin"
NAME=exportkicker
start()
{
	su - $USER -c"/etc/init.d/$NAME doit"
}
case "$1" in
doit)
	export DISPLAY=192.168.0.1:0.0
	swapon /swapfile
	mount -t cofs cofs0 ~/Desktop/D
	kicker
	;;
start)
	start
	;;
stop)
	;;
restart)
	;;
****)
	exit 1
	;;
esac
exit 0

I've configured the panel in such a way that it stays in the top left corner of the screen, and now my coLinux system is actually almost usable! I've also put a system shutdown link in the menu.

You'll note that the script doesn't properly clean up after itself (ideally stop should kill kicker) but that doesn't matter much, since all applications get killed on system shutdown.

Now all I'm looking for is a way to make it easier for Windows and coLinux to talk to each other. I would especially appreciate the ability to execute software. For instance, Since I've shared my documents, it makes sense that I would want to be able to open a document in a GNU/Linux app from Explorer, through a file association. Conversely, I could want to open a document in a Windows app from Konqueror.

I'm also wondering if there's a way to make DCOP and COM work together, for example being able to call COM methods to automate for example the Windows shell from KDCOP, or call DCOP methods to automate Konqueror from Visual Basic. 82.139.85.83 09:55, 18 March 2007 (UTC)

Got it working using Putty. I've also written a little wrapper daemon that transparently starts coLinux when it's not already loaded. It also fixes some cosmetical points of the kicker window (remove the ugly sizing border, set title to "KDE", give it an icon).

So now I can open a file in the Windows explorer. If coLinux is not already started, it starts. Then the file opens in coLinux. Same goes for my internet favourites.

It prevents accidentally starting coLinux twice, even if you try to open a file while coLinux is still loading. It will just wait until it's ready.

Is anyone interested in the Visual Basic source code? 82.139.85.83 04:38, 23 March 2007 (UTC)

Hubs Highlights International Sites Wikia messages
Entertainment
Gaming
Cartoons & Comics
Science Fiction
Hobbies
Sports
See all...
Grand Theft Auto
Pixar
Legend of Zelda Wiki
Terminator Wiki
Everquest II Wiki
Flash Gordon
German
Spanish
Chinese
Japanese
More...
Wikia is hiring for several open positions
Send this article to a friend
"XCoLinux"
 
 
Hi!

I thought you'd like this page from Wikia!

http://colinux.wikia.com

Come check it out!
Send confirmation


.