General :: How To Move Windows In Batch From One Display To Another
Sep 26, 2010
I have several program windows open on my main display (showing on my physical screen).I've created a second display for VNC connections (using vncserver :14).Is there a way I can move all open windows from the default display to the VNC display?
I have a bunch of photos with varying names. I want to give each photo a random name(*), how do I do that? (*)I'm going to put them on a digital photo-frame that can't shuffle
I'm trying to move from Windows to Linux, and one of the main things I need is working television. I'd like to ask: Is it possible? If so, what kinds of Linux can deal best with this? What exactly should I do? Should a newbie like me try this at all? I don't know if it helps, but my TV card is KWorld Global TV Terminator PVR-7131RF and the program I used to use for this on Windows was PVR Plus
I need to write a windows batch file to run unix commands by logging onto a telnet unix server. For example , I might want the batch file to log onto the unix sever, run the ls command, collect the output in a file and ftp it back to my windows desktop
I have a logon script set in the startup folder "All Users > Startup > logon.bat" and it nicely mounts network drives from a Windows Server 2003 computer. The script is as follows:
<logon.txt (.bat) attachment>
Very simple. Now what I need to know:
- What is a batch equivalent and what commands will I need?
- Where is/how do I use the equivalent to Startup folder
- Can I get it to mount in the Computer folder or will it be mounted through root ("/") or can I have it easily accessible (maybe the Desktop)?
- Is there a way I can get the equivalent to the Windows password vault (remember passwords for certain addresses) and;
- If not, can I get the script to request Username and Password from the user for the mapping?
- Can I write to the folders if the user has permissions to write (had trouble with smbmount doing this)
This is Kishore and i am new to Ubuntu and SVN and please some one help me in creating a cron job for my svn backup every day at 10:30 pm I already created a cron job which looks like 30 10 * * * svnadmin dump /home/administrator/svnrepository >svn1 when i run command directly i am getting whole backup and it's size is 3.6 gb but when i run through cron job the backup size is only 9 mb. So finally my requests are 1. cron job for taking complete svn backup at 10:30 pm daily and 2. cron job to copy the SVN backup in to my windows system in d drive and this must be run every day at 11:30 pm.
I have four computers hooked up via a KVM. On all of them except the computer in question the video is displayed properly. They all are Nvidia cards. I ran SaX2 but it doesn't have any way of tweaking the video over that I can see. I haven't installed the nvidia package yet but it doesn't have it either. Hitting the auto adjustment on the monitor every time I select this machine on the KVM isn't the answer. How do I get to the old video adjustment screen?
I need to move the 'notifications' that are displayed to the bottom right corner and also reduce its display timeCan't find where they are controlled from and they are pretty annoying (most of the time)
Notifications that popup in Ubuntu (e.g., for downloading items in firefox or Network configuration stuff) display a rectangular black box in the upper right corner of my Desktop. It often covers up items I need to access like logout items or links to my Account etc in a webpage I'm in. I often find myself having to wait for the Ubuntu dialog box to disappear before I can access whatever it is covering up.Is there a way to make these dialog boxes appear in the LOWER right corner instead? Also is there a way to shorten the amount of time that these notifications display before disappearing?
I need to write a batch file for windows that automatically starts the cygwin tool in windows and executes the unix scripts.Previously we had these scripts in unix server.Now we need to migrate them to Windows server.For this reason we are using cygwin tool that allows the scripts to be executed on Windows server.We had written a batch file that starts the cygwin tool,but we were not able to execute the unix scripts.How can we write a batch file such that it executes all the unix scripts in cygwin.
I must display two different windows (different application) on a single X display/screen., with a small sticky window that display buttons to switch from one (virtual) screen to the other.
Although I thought this would be an easy task for a simple window manager like fvwm, I didn't get it to work.
I've tried fvwm in combination with the FvwmPager, but I keep getting problems to place the different windows in the different virtual desk or page (automatically).
e.g. if you do: xterm -title "Hello" and xterm -title "There", I want Hello to go to virtual screen 1 and There to go to virtual screen 2.
I've also tried using metacity and switching between workspaces.
Is there an example configuration available? I'm not fixed on a specific window manager.
Does a KVM software solution exist that will allow you to utilize two monitors on multiple systems? I'd like to hook up my MBP to my displays, but have the flexibility to switch back to Windows/Linux on a whim.
I have two monitors. I would like the ability to use these monitors from all of my computers using a software-based KVM switch. The alternative is stopping my workflow and manually hooking up the monitors, which is the process I currently use and the process that I'm trying to automate. I'm wondering if such a product exists.
Is it possible to get WGET to only show download progress e.g. download bar, opposed to all of the connection info, as it does look a little ugly on the client side, is this possible to do?
I tried troubleshooting this on the Ubuntu forums, but my thread went nowhere, so here I am! I'm REALLY hoping someone can help, because this is immensely frustrating.I just moved to a new house, with a new ISP. All of a sudden, all the machines running Ubuntu (there are 4 of them on my network) are having trouble rendering websites properly. Some websites are perfectly fine; some render with things missing (e.g., no photos or no CSS); some render as text-only; and some won't display at all - I get a "server not found" error.If I boot into Windows on any of these machines, there's no problem.To complicate matters more: Sometimes the "server not found" sites will decide to connect, then they'll fail again. This has been changing day to day (sometimes even hour to hour). Anything within the google.com domain is a good example of this.Two of the affected machines are desktops (one running headless as a server), and two are laptops. All four are running Ubuntu, but they're all running different kernels. The ONLY things these machines have in common is that they're running Ubuntu, and they're all connecting to the internet wirelessly.
Because things work properly in Windows without exception, and because (at least on the laptops) things work fine in Ubuntu on any other internet connection, I can rule out wireless network adapters. I have tried using two different wireless routers - no change. I have tried using 4 different web browsers - no change. I have tried plugging a laptop directly into the incoming connection, bypassing the router entirely - no change. I have tried purging and reinstalling Flash on one of the laptops - no change. I have tried to connect to affected websites using their IP addresses to rule out DNS issues - no change.This one has me completely stumped. The only thing I can think is that this is something to do with my ISP, but I can't imagine what it would be. I called the guy who runs the ISP (it's a local outfit run by one or two guys, as I'm living in the middle of nowhere), and he said there's nothing he's aware of at the ISP level that would be causing a problem like this.
The full screen console is brought up by ctrl+alt+F1. How do you get back to the windows display manager? Is it necessary to reboot?I am running Ubuntu 9.10 with Gnome.
I would like to split my display in two, so they would behave like two physical monitors, i.e. it would be for example like to connecting two 960x1080 monitors through physical ports. Is something like this possible? The problem is i would like to run two fullscreen applications on second monitor. Is that even possible? I prefer Windows 7/vista but I welcome Linux solution as well
we have moved to linux platforms now. can i move my windows file server to linux server,main work on this windows server is sharing folders which having secure permissions to respective groups & users.i knew we can share folder on linux. before formatting my windows server i want to know can we create new users to access particular folder?. users will not have any other kind of access except accessing there data folder. currently we have below scenario :users named a,b,c,d & e. all users having their folders to access. a & c are in the same group & they have common access to other common folder. please help me to change my server in ubuntu, i have planned to migrate in ubuntu server 10.04 (64 bit).
I am logging the output of: top -b -n1 -c so I can keep track of which processes are using how much memory and CPU each minute. When top shows the full command line (-c), the command line text gets truncated at the edge of the screen. This is perfect when running and displaying in a terminal. However, I am sending STDOUT to a file for parsing later and want the full command name logged. Is there a way I can tell top to use a specific screen width? (I know it maxes at 512, that would be fine)
Is there a better way to achieve a similar goal: get periodic stats about which processes are running and how many resources they are consuming?
I run a script which generated about 10k files in a directory. I just discovered that there is a bug in the script which causes some filenames to have a carriage return (presumably a '' character).
I want to run a sed command to remove the carriage return from the filenames.
Anyone knows which params to pass to sed to clean up the filenames in the manner described?
I am running on Linux (Ubuntu)
The character causing the filename to 'break up' accross multiple lines appear to be a CR (carriage return) instead of ' '. The filename is being diaplayed in thetitle of a text editor with %0D in the positions of where the file name breaks up. So I need to remove the CR chars from my filenames.
I just learnt to convert a video file into mp4 format so I can watch it on my PS3. However, I have dozens of video files from my video cam, and want to convert them all. They are all in the same folder. Please can someone explain how I might be able to adapt the code below so I can convert all my files in a batch. Perhaps keeping their same name or giving them some other name, I don't mind.
I've created a .bat file with this line: start C:USERSPuttyputty.exe -ssh user@server.com -pw password
That opens a putty session and logged in it with the user and password i've already specified. But now, I want to enter a simple command like "ls -l" for example.. How can I do that?
I've also tried plink...The line in that case is this one:
and in that file "UNIX_commands.txt" I've added the following lines:
cd /projects/test ls -l
all works fine (the commands are executed) but i can't see the putty session... all i can see is the verbose in my DOS windows of the last line "ls -l"...
The putty session vanishes away. How can I have the session opened and list the mentioned directory.
Is there a way to do a batch renames of files that will keep each individual filename, but change it in the way I want?
The specific issue is this. I have a harddrive with something like 1300 movies on it. They're all organized alphabetically, but there are like 200 movies that begin with 'The'. I want to rename all of these movies that begin with The so that the The at the beginning is dropped and added at the end (for example, turn "The Shawshank Redemption" into "Shawshank Redemption, The"). I'd like to do this with a simple command if its possible.
I am pretty new at this topic but I would like to learn it from example. The first thing I am working on is to modify the command date to be shown as DD/MM/YY only using regular expression but I dont know how to combine what there is in the regexp tutorials online and the syntax for batch scripting. Any help?
Here is what I what. run a file test: ~# ./test Where file test is: #!/bin/bash # DATE=$( date )
[Code]..
Also if you can point me to good regexp tutorials (directed towards batch scripting), that will be great.
I have many video files that I'm trying to convert from *** to .mp4..Currently I'm using Handbrake which does a good job but getting it started is very tedious. In Handbrake I need to confirm and add to queue all of the files. When there are over 200 files at a time it takes way too long. If there is a way to not confirm all of the files please let me know.What program can I use to just add a folder and have it automatically add all of the files to my queue?
I currently have two computers at my desk, 1 is Fedora 12 and the other is Windows Vista. I am using the synergy client to share mouse/keyboard but I would like to run Xming which is a Xserver for windows to display on my Windows machine. I have 3 monitors 1 is connected to the Linux machine and then I have 2 connected to the windows vista and I want to share 1 one using a windows Xserver. I have the server installed and setup on my windows machine and I just curios on how to configure my Xorg.conf file to use my Xming Xserver as a seccond monitor.
I have a web app that has a bunch of symbolic links in subdirectories throughout it.I need to move the app to another directory structure, and I need to update all the symlinks to point to the new path.The problem is that there's a lot of these scattered throughout various directories.How can I recursively search from the root and recreate all symlinks pointing to /dev/ with /qa/?
I need a way to batch convert 720p video files from avc1 to xvid in Ubuntu 10.04. I'm not terribly concerned about file size, but I do wish to retain the picture quality as much as possible. I believe the audio is encoded as aac, which is fine for my purposes.
What would be the best and easiest way to do this? I've tried using Handbrake. During my first attempt, I had it using ffmpeg to convert to MPEG-4, but that just gave me a super-low quality video at twice the file size. Trying h.264 now, so we'll see how that works out. But just in case it doesn't pan out so well, what other ways do you recommend?
I was thinking I'd write a bash script to reencode the files one by one, but the problem is that I have very little knowledge about codecs and containers and whatnot - so I wouldn't know what parameters I would pass ffmpeg/mencoder.