Software :: Using SCROT To Capture Portion Of Window?

Jan 22, 2010

Scrot supports capturing a portion of the screen by allowing the user to use the -s option. I need to use the command line.

So I installed xdotool to allow me from the command line to move my mouse, click buttons, type text, select my focus, etc...

I also built a bash script that uses scrot and xdotool that allows me to select the window that has a firefox web page displayed. Then I can position the mouse and do a right button click to position to a data entry box on the web page. Then I can use xdotool type "my text" to input the text into the input box. All this works very neatly.

My problem is the following:

The command "xdotool mousemove x y" does not move relative to the top left hand corner of the focused window. The command moves to the absolute x y screen location, not the relative window location.

This happens even though I use the command "xdotool windowfocus windowid" or command "xdotool windowactivate windowid" to specify which window I want to use (want in focus).

Does anybody know how to specify that the "xdotool mousemove x y" is to move relative to the upper left hand corner of the currently in focus window?

By the way, here is my bash script:

#!/bin/bash
# get window id
WIN_ID=`xdotool search --title MyWindow`
# activate window with title MyWindow

[Code]....

View 2 Replies


ADVERTISEMENT

OpenSUSE :: Accidentally Deleted The Window Title Portion Of The Bottom Panel?

Aug 29, 2010

While screwing around with my settings trying to get 11.3 setup the way I wanted it, I accidentally removed the portion of the bottom panel which displayed the titles for all the current open windows....and I can't for the life of me figure out how to get it back.Can anyone tell me how to add it again? I'm sure its something incredible simple, but I haven't been able to find it

View 5 Replies View Related

Ubuntu :: Taking Screenshots With Scrot Every Minute?

Jul 12, 2010

I have an issue with crontab that I can't resolve even though I searched the web like crazy. I tried to create a new cron job for taking a screenshot automatically every minute with scrot using "crontab -e" like so...

Code:
* * * * * /usr/bin/scrot ~/screenshots/screen\%G-\%T.png > ~/log.txt

when I run it in my shell it does work fine and it seems to run with cron also because the log.txt file is modified every minute, however when I run it through cron the screenshots don't appear in the screenshots directory and nowhere else either.

Other jobs in the same crontab run very well. It doesn't seem to be a PATH issue because the paths are complete.

View 7 Replies View Related

General :: Scrot Reveals Hidden Desktop Space...WTF?

Apr 14, 2011

I found this issue after trying to get my Conky up and running in Fedora 14(Xfce). Every time I started Conky, I would get nothing, but the default Conky would appear just fine. Well, I was messing around with scrot and I noticed that the screenshot appears to show other workspaces or somethinghe right of my current desktop. So I figured I'd bring up the default Conky but I changed the orientation to top_right. I then took another screenshot and sure enough, there was the Conky in limbo. Has anyone else experienced this? Is this an issue with Fedora, Xfce or something else?Pictures are said to be worth 1000 words, so hopefully the pictures included will explain this issue better than I.

View 9 Replies View Related

Ubuntu Multimedia :: Analogue Capture Program To Capture Austar?

Aug 13, 2010

What is the best analogue capture program please to capture Austar.

View 1 Replies View Related

Programming :: Extract Portion Of Text - IRC Log

Jul 18, 2011

I have a lot of files containing chat-log (IRC) and would like to extract information out of these files.

File sample

Code:
Session Start: Sat Apr 03 15:06:29 2010
Session Ident: XXX
[15:06] XXX is ~X@host-85-85-85-154.isp.be * XXX
[15:06] XXX on #channel1 #channel2 #channel3

[Code]....

View 2 Replies View Related

General :: Mark A Portion Of The Screen As Unusable

Dec 12, 2010

I have a laptop of which a large part of the screen is broken (shows garbage). Fortunately the broken area is a clean rectangle, the bottom 1/3 of the screen or so.

The laptop is running Ubuntu 8.04, but I plan to reinstall it with 10.10. The graphics are provided by an Intel 915GM or something in that direction.

Knowing this, do you know of a way to tell the system about the broken part of the screen, so it will simply not use it? I don't really care whether it's done at the hardware, X or window manager level, though as low as possible is preferred.

View 1 Replies View Related

Ubuntu :: Copy A Portion Of Previous Log To New Log After Rotate?

Jul 12, 2010

I have installed fail2ban and it is working great. It is monitoring the auth.log and it's own log. Now here is my question... Every week, my log files rotate, which is just fine for the most part. But this also rotates the fail2ban log and removes any chance of catching a repeated IP from Sunday to Monday. Is it possible to copy a portion of the previous log to the new log?Here is my scenario of what I would like to accomplish, but I am a novice here so please be specific..

logrotate does its job as expected... then a script writes a portion of the previous log to the new log then appends a word/number after that portion (we call this log.1)...next time the log rotates (creating log.2), I want to take the portion of log.1 after the word/number and append it to log.2 along with another word/numberThis will always ensure there is at least 1 week backlog in the logs for fail2ban to track. I don't want to just change the frequency of the log-roll because it doesn't solve the issue of tracking across the log roll

View 9 Replies View Related

Ubuntu :: Using Only Portion Of Monitor To Display Desktop?

Sep 13, 2010

I have a Visio TV that I dropped and cracked the LCD display in one corner, for watching TV it's basically useless now. On a whim I plugged it into one of my computers and about 75% of the screen is still usable. Only the bottom right hand corner of the screen is messed up. What I'd like to do if possible is to define an area of the screen. Say for instance the top left hand corner across and down to where the screen starts getting bad.

Like a left click and drag out the good area and then make only that area "the monitor" for the OS to use. I'd then probably build a case or something to house it in and only show the "live" area to clean things up. I'd like to use Ubuntu. But if you know I can't do it in Linux but can in Windows I'd consider that option as well. I just hate to junk the TV if I can use it some how as a monitor.

View 1 Replies View Related

Ubuntu :: Missing All Effects And Portion Of Screen

Nov 22, 2010

I was playing with Compiz on my netbook and installed Fusion. All was well until I rebooted it and now I am missing all effects and a portion of the screen. I am purged compiz and reinstalled it to no avail. I did mess around with the outputs and changed 640x480+0+0 to 1024x600+0+0 but have no changed it back attempting to fix my issue. I have attached an image of the current situation. Basically, I am trying to get my compiz running again with all its sexiness.

View 6 Replies View Related

Ubuntu :: Configure Not To Use A Portion Of A Cracked Lcd Screen?

Feb 25, 2011

I have a laptop with a cracked screen. the crack is not very serious, about an inch and a half on the right. I can still use my laptop but it is hard to see information in the cracked area.

My question is how can i set up ubuntu not to use that portion of the screen, sort of tricking it into thinking that the display is essentially 1.5 inches shorter on the right than it really is.Perhaps setup x11 differently?

View 7 Replies View Related

Debian Installation :: Get Some Testing On The Installer Portion Of Squeeze?

Nov 4, 2010

I am still getting the error that no kernel modules are found when trying to load components from the CD on the multi-arch version of Squeeze. Are these even tested prior to releasing them? I mean I know it's testing but I thought we were reaching a release-date and the installer is 100% broken and has been for months. I have a pile of useless multi-arch CDs for Squeeze that won't install on 64bit or 32bit machines due to not finding the kernel modules. Can we get some testing on the installer portion of Squeeze?

View 3 Replies View Related

Ubuntu :: Testing Scanner Portion Of A Multifunction Printer?

Aug 10, 2010

I recently installed Ubuntu 9.04 (Jaunty Jackalope) which I then promptly upgraded to 10.04 LTS (Lucid Lynx).

I have a canon pixma MX320 multifunction printer. I downloaded the printer/scanner drivers for linux (debian) from [URL]...asp and installed them with no problems.

The printer function works, as I managed to print a test page, but I was wondering if there was a way to test the scanner portion of my multifunction printer to make sure it works?

View 3 Replies View Related

Ubuntu :: Gnome Desktop Resized / Portion Missing

Nov 10, 2010

I was browsing and then a pop up window came up and all my display got resized randomly for a few seconds. Finally,the lower third of my monitor is total black and useless.The taskbar and dock is still visible at the bottom though but above it is total black.All my compiz settings are gone too!I have tried win7 and everything is fine there.I have tried to adjust monitor settings but nothing changes.

View 1 Replies View Related

Ubuntu Security :: Installed Within The Windows Portion As A Virtual System?

Jan 2, 2010

When you have a computer whose hard drive is partitioned with one part Windows and the other Linux, what are the concerns with viruses and transference across the two systems? Can viruses infect the windows side brought over through the Linux side (Firefox) or are the partitions completely separated? In other words, if all of your Internet voyages are through Firefox under Linux, is there any danger of infecting the Windows side of the computer? What about when having Linux installed within the Windows portion as a virtual system?

View 2 Replies View Related

General :: Command Syntax Ignore Remaining Portion After Space?

Jul 14, 2010

I'm currently studying for my Linux+ test and I'm getting conflicting information regarding the rm -rf command. Yes, I know this a dangerous command, but my question is in regard to how the command functions. In one book I'm studying it says that rm -rf / home/myfolder (there's a space in there) will delete the entire root directory because there is a space between the root and home directory. It says that if there is a spacing such as this, it will ignore anything after the space, so in this case, it would delete the root directory and stop, not that there would be anything left anyway. Then in another book I have, it says that if you did a rm -rf folderName / (with the intention of adding the trailing slash to indicate it is a directory and not a folder) it will delete everything in folderName (assuming it's a child directory of your pwd) and then CONTINUE on and delete the root directory. Now, those two statements contradict each other. When you remove a directory, does the command line ignore anything after a space or not?

View 1 Replies View Related

General :: Smaller Resolution Renders Screen Portion Unviewable

Feb 8, 2010

And we are unable to restore the setting because the button to click on to do so is outside of the viewable screen! Also we have lost the start bar/dock at the bottom of the screen and cannot figure out how to get it back.

View 1 Replies View Related

Software :: Span Desktop So That Some Portion Is On Laptop And Some On External Monitor

Jul 7, 2010

I am having a Dell ST2410 LCD and a laptop IBM.I want to span my desktop so that some portion is on laptop and some on external monitor. I tried xdmx but it did not worked.

View 6 Replies View Related

General :: Split Screen Within VIM To Show Common Commands On Bottom Portion?

Jun 12, 2011

I long while ago (when I was in collage) I used VIM a bit. I have not used it since and would like to get back into using it. I remember there being a way to split the screen within VIM to show common commands on the bottom portion of the screen. I've searched a while and cannot find how to set this up.

View 1 Replies View Related

Red Hat / Fedora :: Partition A Portion Of The Drive For XP / Install - Use As A Virtual Desktop Remotely?

Oct 26, 2010

I am an entrepreneur/design engineer so I do a lot modeling, rendering, etc and lot of my programs can only run in Windows. I have a fully licensed version of XP that I want to install on the computer and wondering if it is possible to do the following: Partition a portion of the drive for XP. (VMware isn't the greatest as you lose your 3D acceleration, so I definitely want to do the partition) Install my programs and ensure they run. Use the machine as a virtual desktop remotely?

View 1 Replies View Related

Software :: Karaoke Disc (cdg) - Pykaraoke Can't Read It - How To Play The Video Portion

Jan 18, 2010

I have a karaoke disc with (presumably) 10 cdg files on it. I tried to open it with pykaraoke, but it can't seem to read the disc. I then tried k3b, which was able to rip ten ogg files from it (when I created an iso of the disc, it created ten wav files from it.) I tried opening it with smplayer but no luck. kaffeine opened it as an audio disc. When I tried to mount it with a file-manager, it gave the following results:

Code:

read-only
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try

[code]....

I tried cdgtools from the pykaraoke site [URL], but I've not had success (cdggui.py requested a "TOC" file to open, but it can't find one on the disc). I use Debian Lenny, but if need be, I'm willing to install newer software (from either source or Squeeze), and I'm also willing, if need be, to use windows software with wine.

View 3 Replies View Related

General :: Disallow Closing Last Emacs Window Via Window-Manager Close Button

Jul 8, 2011

I like to start Emacs as part of a login script and leave it running for the duration of my login session (which is typically weeks).

I have scripts to call emacs-client which will allow me to use a file-manager or Windows Explorer to locate files and right-click to edit them in Emacs.

I often end up with a lot of emacs windows (frames) open and I like to just be able to close them by clicking on the MS-Windows or KDE X button at the top-right.

The trouble is, if the window is the last one, this will shut down emacs which will lose all kinds of interesting history information.

As a work-around I use C-x 5 0 which won't let me close the last frame but this is often not as convenient as using the mouse

Does anyone know how to configure Emacs so that it can intercept the Window-Close button of the last frame to either request confirmation or simply disallow it?

On MS-Windows, disallowing closing of the last window may cause logoff to hang if emacs is still running but I'm not too worried about that.

View 2 Replies View Related

Ubuntu :: Can't Use The Effects Like Rain, Fire, Wobbly Window Or Drag Window Into Another One Of Desktop?

Mar 31, 2010

I had a friend load Ubuntu on my PC. Everything work pretty well except i cant use the effects like rain, fire, wobbly window or drag my window into another one of my desktop. My comp has Radeon HD3100 Graphics card in it. Is there any graphics drivers I can dl to make the stuff work.

View 3 Replies View Related

Ubuntu :: Move The Window Control Buttons When The Window Is In Full Screen Mode?

May 3, 2011

How do I move the Window control buttons when the window is in full screen mode? I.e.: I know how to go into gconf-editor:

Code:
gconf-editor --> apps --> metacity --> general --> button layout = ":minimize,maximize,close"
(I've intentionally disabled the menu...)

What I want is my window controls to be on the right side of the window when the window is in full screen mode.

Also I've had an issue with the Unity dockbar glitching out. I can still click on the buttons (i.e. the logout button) but it displays like a nintendo game inserted crooked. Is there a way to 'restart' unity without log out/ log in?

Any one else experienced any glitches with unity auto hiding/showing?

View 4 Replies View Related

Ubuntu Multimedia :: Screen Recorder - Can Select The Window/window Size The Axis

Jul 17, 2011

I have asked for a video capturing software before but recommend a GOOD screen recorder where you can select the window/window size the axis and also a good editing software which will render/export into FULL 720p HD

View 2 Replies View Related

Ubuntu :: Unable To Define A Default Window Size Of A New Terminal Window?

Nov 16, 2010

i'm not sure for using the correct channel here but i hope someone out there can answer my little questions. 1st in older version i was able to change the settings of the terminal look as the font color, background color and so on. I was also able to define a default window size of a new terminal window. But since after upgrading to to the first release this year and a complete new installation of the current release Maverick i do not find this option anymore. Is there a way how to set up the terminal default window size?

View 9 Replies View Related

Ubuntu :: ALT+MiddleClick (resize Window) Doesn't Grab Foreground (top) Window

Jan 16, 2011

If you don't know, users are able to quickly resize windows using the "ALT+MiddleClick" key shortcut/combo. Basically, hold the ALT key, and mouse middle click and hold on a window. Move the mouse around, and it will resize the window for you.

STEPS TO REPRODUCE:

1) Open a single Window.

2) Near the bottom-right-hand corner of the window, ALT+MiddleClick and drag. It should resize. Great. It works.

What Doesn't Work:

Now, the problem arises when you have multiple windows open on the desktop, they are "layered". i.e. you might have several windows open "behind" the one currently "up front". Example:

If I try to ALT+MiddleClick the "foreground window", it rarely actually resizes THAT window, and instead jumps one of the windows from behind to the front, and resizes that one instead!

STEPS TO REPRODUCE:

1) Open 3x gnome-terminal windows and say some nautilus window. Place them overtop one another. (like the above image)

2) Try to ALT+MiddleClick the foreground window.

3) Repeat this always trying to grab the foreground window.

For me, the window manager seems to bring some window from the background to the front! Desktop Recording of the Problem: [URL]

Running:

* Ubuntu 10.10
* compiz window manager (the problem does not occur with metacity)
* ATI Radeon RV770 (HD4870) w/ open source Radeon Driver (same problem w/ fglrx driver)
* Versions: [URL]

View 3 Replies View Related

Red Hat / Fedora :: Command - Take Screen Shot Of Non Focused Window Or Minimized Window?

Oct 30, 2010

Is there any command /utility in linux that would Take screen shot of non focused window or minimized Window?

View 3 Replies View Related

Software :: Clicked The Download Window Box - And Dont Show This Window - How Do Untick It?

Aug 11, 2010

While attempting to download an epub file, I chose "open with the ebook widget" and to run rather than save and then clicked the box which says "always chose to do this and don't show this window again" (or something equivalent). The operation failed to bring up the file in the widget and the window no longer appears so I cannot try something else, e.g. "save".

How do I recover the original setting? (i.e. untick the box on the window that now does not appear).

I am using the latest Mint on a multi-booted DELL Studio 1740 notebook.

View 2 Replies View Related

Software :: When Start Xemacs Is Doesnot Run In An X Window But Runs In A Terminal Window

Feb 7, 2010

Newly installed Debian system from years with Fedora. Ran system update and system got hosed, booted but no Gnome. Got Gnome back after MANY 'aptitude upgrade's. Xemacs disappeared! Along with other things I installed. Tried to install Xemacs but it is broken and will not install, complains about dpkg TOO current(?). So downloaded Xemacs for Xemacs.org and compiled source, installed.

Now when I start Xemacs is does not run in an X window but runs emacs in a terminal window. If I run it from a script, it complains about 'not in tty window'.

My env show:

Code:

The Xemacs install on Debian ( Bug written ) Install and configuration of Xemacs from source. A better understanding of the Debian upgrade process.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved