Ubuntu :: Create A 1x1 Pixel Jpg File?
Jan 20, 2011How do you create a 1x1 pixel jpg file in ubuntu?
View 1 RepliesHow do you create a 1x1 pixel jpg file in ubuntu?
View 1 RepliesI thought it was just a normal stuck pixel the first day I saw it, but then I noticed if I move opera around the screen they stay with opera. It doesn't occur with any other programs, only opera. These pixels also show up when I take a screenshot. Is there a way to get rid of these pixels (or whatever they are)?
View 2 Replies View RelatedDoes anyone know the pixel dimensions for the panels.I want to design a panel background image in gimp for the entire panel but I don't know how many pixels they are from left to right. I know (or I think) that they are 24 pixels from top to bottom but how many across?
I have designed images to use as panel backgrounds but they tile so it's like one consistent thing as I don't know the dimensions for the length of panels, only the 24 pixel height. I've attached a couple so try them out, they're pretty cool.
I've just installed Ubuntu 9.10 on my wife's old notebook, a Sony Vaio PCG-FX705, by wiping the HDD (i.e. no more Windows ). The problem is that there's some weird display error that reminds of a TFT with pixel errors, although that's no the cause. I got a screenshot of it here (made with a digicam), and here is a close-up of it.
One thing I've noticed is that this error starts at the mouse pointer's tip and goes right when the computer is booted. Also, when using Blank Screen as screensaver, the error disappears once the screen went blank until I press a key or move the mouse, at which point the error will re-appear at the mouse pointer's current location. The only way I found so far to temporarily fix this problem is to change display resolution. It doesn't matter which resolution I use, all that matters is that I change it.
Did anyone else notice in the 10.04 RC that it is very difficult to expand a window from the left or right side? The threshold is one pixel long before the arrow disappears.
View 2 Replies View RelatedI've upgraded (though at this point it doesn't quite seem like an upgrade ) to the Natty and have had a pretty good load of issues*.
I've gotten the system to a working state, and things seem ok, aside from this:
Screenshot.png
I've got a few applications (Skype, etc, etc) that are now squished into a single pixel in the notification area. I can right click on it and get the context menus from them, but that isn't exactly the greatest solution.
*I've had to switch over to the classic view, roll back my nvidia video drivers, and reinstall mozilla shredder/sunbird.
Where can i get linux drivers for my QHM 500 LM CAMERA (6 lights & microphone 500 K pixel).
View 3 Replies View RelatedWhere can i get linux drivers for my QHM 500 LM CAMERA (with 6 lights & microphone 500 K pixel). i had been using windows for 12 years.
The full details of my webcam are on this link [url]
I could not find the linux drivers on this link [url]
How to determine the best sub pixel order of the screen?
View 2 Replies View RelatedThis is the first time I have pixel errors when using my setup in linux, have resently installed the debian squeeze rlz, with rglrx drivers from the debian wiki how to.
Now I have pixelerrors in pictures and they are static for the pictures aka, the pixels are static in the picture even if I move a webpage for instance.
Any buggreport on this? Or how to fix it, its hard to make a screendump but I could take a picture of the screen with a cam if someone like to see it
In win7 or ubuntu there is no indications of this problem.
I want to make my photo less than 40 kb. My photo on scanning is 313 kb also I want to decrease pixel size to 110*140. How is it possible?
View 3 Replies View RelatedI am trying to stream from a webcam to mp4 file with avconv/ffmpeg with the GRBG pixel format. I can find a lot of ffmpeg commands and other stuff on google about a webcam stream to file with ffmpeg, but none of them use GRBG pixel format and are working for me ...
I have never tried something like this before
Output of v4l2-ctl --list-formats-ext:
Code: Select allioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'GRBG'
Name : GRBG
Size: Discrete 162x120
Size: Discrete 324x240
How to get this working?
the tv card =37 pll=11 tunner=5 is recognised but not woking in fedora13dmesg gives
bttv0: unloading
Linux video capture interface: v2.00
bttv: driver version 0.9.18 loaded
[code]...
I would like to get the pixel color from screen at (320,240) and if the color = 0xFFFFFFFF , i would like to execute a command.
View 3 Replies View RelatedI was wondering if theres a commandline prog that could give me an 'X' (like xprop does) so that I can point to a particular pixel and it give me the X and Y cordinates of that pixel?
View 2 Replies View RelatedI am trying to scroll text from a text file across a wx.panel. This is the code so far:
Code:
def scrolling(self, text, rate):
def scroll(): charList = []
dc = wx.ClientDC(self.panel_1)
open_text = open(text, "rb")
my_text = open_text.read()
charList.append(my_text) open_text.close()
x,y = self.panel_1.GetClientSizeTuple()
while 1: for z in charList: for r in range(2000):
dc.DrawText(z,x-r,0) time.sleep(rate) dc.Clear()
net3 = threading.Thread(target=scroll)
net3.setDaemon(1) net3.start()
It scrolls but I am guessing where the range is (2000). I need to be able to determine the total number of pixels that the text in the file is. Is there a python way to determine this?
I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message
Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system
So when I click on delete I get another error message:
Error while deleting.
There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system
At this point I can only click on Skip, Skip All, or Cancel.
I have not changed anything on the stick recently so I dont know what is causing the problem.
Is there any program/script that can create a torrent file for each file in a directory? I have been looking all over but can't seem to find anything of the sort. I have 700+ files I REALLY don't want to make my self.
View 1 Replies View RelatedI want to create a logon script (or somesuch) that creates a file (if it doesn't already exist) and checks the file for some info otherwise. If it finds a given trigger in that file, it logs into a local database and does some operations.
Now my problem isn't with creating that file or even getting it to function as a logon script -- it's with permissions. After the logon script creates the file, I want that user to have read access on it ONLY. Further, I don't want to give the user any kind of root access so that they could do the database operations in question or chown/chmod the file.
What's the best practice here? I'm noticing that whenever the script runs (in .bashrc right now) the script runs with the current user's permissions. Ideally, I'd like to make it so the login script can run at a higher level of permissions, (higher than the user has). Is this even possible? What's the best way to do this?
I have iMac 2.4GHz with rEFIT installed. I installed Unity on one of the partition. Kernel is still 2.6.38.8. I am getting error message when I run the command
sudo gedit /etc/x11/xorg.conf
The error message is
(gedit:2139): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.AC7YXV': No such file or directory
(gedit:2139): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
I have been happily running Wheezy on the Chromebook Pixel with little or not issues. Recently I needed to re-install and decided to try Jessie. Again I was following the excellent instructions at [URL] .... except with the Jessie image.
However everytime I went to install it (after adding in the mem=4G line) it just rebooted and brought me back to the same install screen again. I just downloaded the Wheezy image again and it is installing now perfectly.
I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.
But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??
I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.
I do not want to reformat it from what it is, apparemtly NTFS.
Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.
All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.
View 14 Replies View RelatedI am testing my ftp server configuration.Anonymous download works , however anonymous upload does not.I am getting the following error message from both Windows and Linux 5.4clients : 553 cannot create the file.And i am running Fedore 12.
View 3 Replies View RelatedEverything in Linux is a file, right? And everything can be represented by a file? Is there some way I could create a block device file that represents (i.e., provides an interface to) this image file? If so, then I could use fdisk on the device file to split it into partitions, format the partitions, and then mount them as directories. I could create a file system within a file system, which would be fun.
View 2 Replies View RelatedWhat I plan to do is, create a duplicate file of a text file, and then append some text into the new text file.
View 1 Replies View RelatedRecently, I loaded the new Ubuntu 10.10 - the Maverick Meerkat
Like many others, I'm sure, I run my mouse with the speed of light. So, I often zip my pointer up to the top right corner, hitting the virtual "wall" and landing on the very top right pixel, and click - expecting that the window will close. In the new 10.10, the top right pixel is not included in the mighty "X" button in any theme I have tried. So, now I have to exercise some precision and move a little down/left to click my close button. It is an annoyance that I'm simply not willing to accept any longer.
For the life of me, even though I am a 4-year Ubuntu user, I have never had much reason to play with the themes or make a change like this, and I can't seem to figure out how to fix it.
how to adjust the theme / border / title bar such that the close-window "X" includes the top right pixel?
I'm using a logitech quickcam pro 3000 on Ubuntu 10.04.
When I run a simple program with OpenCV to display the output from a camera I get the following output:
Code:
A window still opens with the output from the camera, but it seems very low quality and has far less pixels then it should. The camera built into my computer runs the same program with no problems.
My code for the program is simply:
Code:
One further note to make is that I still have the bad quality and low number of pixels with the logitech even when using webcam program. I can seem to find any drivers to update or anything though.
So in older versions (even in 9.x) of Ubuntu, file-roller offered a "create archive" option when right clicking on a file. Now, in 10.10, that option seems to be gone.I mean, it was never a great option to begin with since it only appeared when selecting multiple files (not with a single file)... but this is much worse. I need a quick and efficient way to create a .rar or .zip file. Right now I have to open file-roller, drag the files in, and then create the archive.
View 2 Replies View Related