xcopy xmove

xcopy xmove

Post by insane » Sat, 25 Nov 2006 14:42:27


anyone have any experience using xcopy and/or xmove for X? or have any
clue where i can download these? ive heard of these apps which are used
to move windows from one display to another.. but google is having a
hard time telling me about them.. im currently on fedora (planning a
move to ubuntu soon) thanks in advance


www.insaner.com
 
 
 

xcopy xmove

Post by jcb » Sat, 25 Nov 2006 19:07:00

In article <ek5vsu$jcs$ XXXX@XXXXX.COM >,


Asking Google for xmove works fine for me. In what way are you having a
hard time?

 
 
 

xcopy xmove

Post by Chris F.A. » Sun, 26 Nov 2006 05:26:34


The results I get from Google are for moving files from one
directory to another, not windows to another display (or desktop).
Do you have a link to window-moving commands?

--
Chris F.A. Johnson, author | < http://www.yqcomputer.com/ >
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
 
 
 

xcopy xmove

Post by J.O. Ah » Sun, 26 Nov 2006 06:54:16


Think I got a debian xmove as the third result when searching for xmove and
thats for moving X Windows system applications between different X windows
Servers.


//Aho
 
 
 

xcopy xmove

Post by Michael He » Sun, 26 Nov 2006 07:46:43

In alt.os.linux J.O. Aho < XXXX@XXXXX.COM >:







It seems I get a good hit on the first try right on the box I am
typing:

$ rpm -qf `which xmove`
xmove-2.0beta2-9

Iirc tested out a few things with it, but first results weren't
that great and it was a rather low priority task anyway, so I
didn't took the time to look deeper. Likely I have converted it
with alien from a debian package, indeed:

(Converted from a deb package by alien version 8.44.)

Strange enough I get as first hit from google the URL to the
debian package...;-)

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo XXXX@XXXXX.COM | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 33: piezo-electric interference
 
 
 

xcopy xmove

Post by Chris F.A. » Sun, 26 Nov 2006 08:21:23


My mistake was searching for both xcopy and xmove.

--
Chris F.A. Johnson, author | < http://www.yqcomputer.com/ >
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
 
 
 

xcopy xmove

Post by insane » Tue, 28 Nov 2006 16:45:40


sorry about not being clear, but what i meant to say is that since i am
running fedora (mentioned in original post) i cant find a way to get it
onto my system.. ive been looking at xdmcp.. (just now.. havent read the
whole thing) does anyone have any experience messing around with it to
tell me if it will solve my problem? (moving an app from display :0 to
dispaly :1 and so forth.. )


heres what im trying to do.. i have my computer running.. it has a
display :0.. i then ssh from another computer, and i would like to, say,
chat using gaim (over this ssh connection) which is already open and
running on my computer... and then "sending it back" to my computer (or
if the ssh connection dies, that theres no problem.. such as gaim
crashing or dying)

so, anyone know of any solutions?

-

www.insaner.com
 
 
 

xcopy xmove

Post by Sybren Stu » Tue, 28 Nov 2006 18:00:32

["Followup-To:" header set to alt.os.linux.]
insaner enlightened us with:

I don't think that's possible. Use Xinerama instead - then you'll have
one two-screen :0 display and you can move windows from one screen to
the other.


AFAIK that's impossible too. It'll be much easier to simply run a VNC
server like x11vnc over the SSH tunnel. Of course, I may be wrong - if
so, please correct me.

Sybren
--
Sybren Stvel
Stvel IT - http://www.yqcomputer.com/
 
 
 

xcopy xmove

Post by insane » Sun, 10 Dec 2006 04:07:27


ok, i downloaded the deb, (several actually) then i tried to use alien..
but holey *** if it isnt the most frustrating thing to get to run
properly.. i spent 3 hours trying to get this thing correctly installed
in fedora.. (no packages for it off the bat..) went to some obscure
websites.. downloaded their (trustworthy? i hope) packages and installed
those.. and STILL nothing.. rpmbuild gave a bunch of errors.. and at
last effort, i just extracted the xmove and copied the files manually..
not pleasant... so, question is..

how did YOU get it to work/???
 
 
 

xcopy xmove

Post by Michael He » Sun, 10 Dec 2006 06:20:56

In alt.os.linux insaner < XXXX@XXXXX.COM >:

[ using alien ]


I am really unsure what you were doing? It should be obvious* how
to use alien from the delivered documentation 'man alien'. The
chapter "EXAMPLES" should remove any reaming questions.

Don't know what you want to built? Alien is used to convert
binary packages. Things should just work if you have the
required libs installed.

*OK, it isn't really obvious if you aren't used to reading man
pages, though this problem can be easily overcome. ;-)

Good luck

BTW
It is easier if you simply copy and paste commands and what
output you got instead of "...gave a bunch of errors...".

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo XXXX@XXXXX.COM | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 231: We had to turn off that service to comply
with the CDA Bill.
 
 
 

xcopy xmove

Post by insane » Sun, 10 Dec 2006 11:04:48

ichael Heiming wrote:

ok sorry i wasnt more explicit, since i gave up i didnt think it would
make a difference.. for the curious, here is roughly what went down.. (i
deleted a few "cd " lines)

ps, rpmu is just an alias to rpm -Uvh

-------------------------------------
[root@localhost debs]# alien -r xmove_2.0beta2-8_i386.deb
-- Examining xmove_2.0beta2-8_i386.deb
tar: control: Not found in archive
tar: Error exit delayed from previous errors
-- Unpacking xmove_2.0beta2-8_i386.deb
-- Automatic spec file generation
-- Building the package --2.i386.rpm
-bb: unknown option
alien: Error putting together the RPM package.
[root@localhost debs]# ls
- xmove_2.0beta2-7_i386.deb xmove_2.0beta2-8_i386.deb
[root@localhost debs]# ls -/
--2.spec usr/
[root@localhost debs]# ls -/usr/
bin/ lib/ share/
[root@localhost debs]# rm -rf -
[root@localhost debs]# alien -r xmove_2.0beta2-7_i386.deb
-- Examining xmove_2.0beta2-7_i386.deb
tar: control: Not found in archive
tar: Error exit delayed from previous errors
-- Unpacking xmove_2.0beta2-7_i386.deb
-- Automatic spec file generation
-- Building the package --2.i386.rpm
-bb: unknown option
alien: Error putting together the RPM package.

[root@localhost debs]# alien --version
Alien version 6.53

[root@localhost linux]# rpmu alien/alien-8.37-1.rhfc1.ccrma.noarch.rpm
Preparing... ###########################################
[100%]
1:alien ###########################################
[100%]

[root@localhost debs]# alien -r xmove_2.0beta2-7_i386.deb
Can't locate Alien/Package/Deb.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/5.8.6
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/5.8.5
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/5.8.4
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/5.8.3
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/5.8.6
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/5.8.5
/usr/lib/perl5/site_perl/5.8.6/5.8.4
/usr/lib/perl5/site_perl/5.8.6/5.8.3 /usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/5.8.6 .) at /usr/bin/alien line 289.
BEGIN failed--compilation aborted at /usr/bin/alien line 289.

[root@localhost debs]# rpmu ../alien/alien-8.46-2.1.i586.rpm
rpmdb: Program version 4.3 doesn't match environment vers
 
 
 

xcopy xmove

Post by J.O. Ah » Sun, 10 Dec 2006 15:41:51


A spec file, hmmm... just download the source, place it in the
/usr/src/redhat/SOURCE and extract the specfile to /usr/src/redhat/SPECS and
then run "rpmbuild -ba /usr/src/redhat/SPECS/xmove_2.0beta2-7.spec" and you
will end up with a RPM (if all the headers are there, you may have to edit the
spec file to get a clean build) in /usr/src/redhat/RPMS/i386
 
 
 

xcopy xmove

Post by Michael He » Sun, 10 Dec 2006 17:40:10

In alt.os.linux J.O. Aho < XXXX@XXXXX.COM >:




Better get your hands on a working alien version to ease up
things:

# alien -r xmove_2.0beta2-8_i386.deb
xmove-2.0beta2-9.i386.rpm generated

Simply works for me. You don't need to run alien as root, though
it might mess up file owner ship if not.

$ alien --version
alien version 8.44

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo XXXX@XXXXX.COM | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 169: broadcast packets on wrong frequency
 
 
 

xcopy xmove

Post by insane » Sun, 10 Dec 2006 23:47:51


but where did you download that version of alien?? what distro are you
running???

--
insaner
www.insaner.com
 
 
 

xcopy xmove

Post by Michael He » Sun, 10 Dec 2006 23:57:39

In alt.os.linux insaner < XXXX@XXXXX.COM >:






Unsure, might be found on www.rpmseek.com, though it seems an
older version, install date was "Sun Jun 20 20:44:08 2004" it
seems to be originally made for PLD. Though alien is just a perl
script so it shouldn't matter at all, as long as you have the
perl modules required to run it installed in @INC.

$ lsb_release -d
Description: CentOS release 3.8 (Final)

Which is a RHEL clone, though it is heavily modified, kernel 2.6
and alike, but this shouldn't make any difference.

Simply get your hands on the latest alien version from the
maintainer and stick it to /usr/local if there is no package for
your distro available, I doubt it isn't but leave it to you
searching for one.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo XXXX@XXXXX.COM | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 17: fat electrons in the lines