Sponsored Content
Full Discussion: Screen fading out and in.
Operating Systems Linux Ubuntu Screen fading out and in. Post 303003450 by kkeevv on Thursday 14th of September 2017 08:55:50 AM
Old 09-14-2017
Quote:
Originally Posted by Corona688
Are you in the physical terminal when this happens? (i.e. ctrl-alt-f1 -- ctrl-alt-f7 ) Terminal blanking there is a kernel option, I think.
No. It is happening at the GUI while doing simple things ie playing mine sweep, or using firefox. It even occurs if nothing is loaded. It is random, but i have noticed it happens more, the longer the computer is powered up. When I reboot the problem goes away. Sometimes I can spend hours on line with no problem. I let the PC set a few hours and come back and the problem starts or doesn't.

I have since removed Ubuntu from 1st ("dual boot") PC in order to test Solaris 11.

---------- Post updated 09-14-17 at 07:55 AM ---------- Previous update was 09-13-17 at 11:38 PM ----------

Quote:
Originally Posted by Corona688
There may also be options for controlling this hidden in /proc/acpi or /sys/, I've seen some laptop hardware do that.
That sounds reasonable to me, but what do I know.

There is one file in /proc/acpi named wakeup. I don't understand it's contents...

Device S-state Status Sysfs node
VBTN S4 *enabled platform:PNP0C0C:00
PCI0 S5 *disabled no-busSmilieci0000:00
PCI4 S5 *disabled pci:0000:00:1e.0
PCI2 S5 *disabled pci:0000:00:1c.0
PCI3 S5 *disabled
PCI1 S5 *disabled pci:0000:00:01.0
PCI5 S5 *disabled
PCI6 S5 *disabled
MOU S3 *disabled
USB0 S3 *enabled pci:0000:00:1d.0
USB1 S3 *enabled pci:0000:00:1d.1
USB2 S3 *enabled pci:0000:00:1d.2
USB3 S3 *enabled pci:0000:00:1d.3

/sys has numerous items.

I disabled suspend and haven't experienced the problem. I'm not saying that is the cause.

I installed Solaris on the other PC that had same problem with Ubuntu and it doesn't have that issue any longer.

Thank you folks for your feed back. When I get WIFI working on Solaris, I think I'll 86 Ubuntu. I prefer Solaris's layout.
 

10 More Discussions You Might Find Interesting

1. Programming

How to clear screen

I searched the post and someone said to clear the screen in C, use printf("\033[2J"); ?? However, this doesn't work...typo or no. What is an equivalent command to 'CLS' in DOS/'clear' in UNIX to clear the screen and go to top of screen?? Thank you. (2 Replies)
Discussion started by: giannicello
2 Replies

2. UNIX for Advanced & Expert Users

printing to the screen

HPUX 11.0.X / Korn Shell Hope this makes sense. I have a little function to place things on the screen using the column and row parameters. Question is, how can I be sure of where the current cursor postion is so that if I print something to the upper right hand corner of the screen, I can... (2 Replies)
Discussion started by: google
2 Replies

3. UNIX for Dummies Questions & Answers

reading from a screen

Hi There is a program running which displays output on the screen I have to grep a particular string from that screen how do i do this My problem is i'm running this program from a script which executes after every fifteen mins but sometimes it's happen that there is an error in the program... (4 Replies)
Discussion started by: satyanarayang
4 Replies

4. UNIX for Dummies Questions & Answers

no screen output

I'm a newbie. I'm having a problem at work with a script. What i'm trying to do is connect to a cisco switch from a sun station. After i run the script and telnet into the switch i don't get any output on the "xterm window" and all my commands from the script don't show up on the screen or on... (0 Replies)
Discussion started by: wisher115
0 Replies

5. UNIX for Dummies Questions & Answers

Double screen

Hi Guys, I'm using a double screen machine with linux Red Hat. The problem is that I see the same image in both screens... Can anybody tell me how to solve this problem? Thanks a lot, Pablo. (0 Replies)
Discussion started by: cordobapablo
0 Replies

6. UNIX for Dummies Questions & Answers

Help with screen

Hello everyone! I'm trying to figure out how to send commands from one screen to another. For example i wish to send a simple "ls -all" from screen #1 to screen #2, can it be done, and how? :confused: Thank you! (12 Replies)
Discussion started by: Gurth
12 Replies

7. OS X (Apple)

Virtual screen accessed by Screen Sharing

Hi, I'm trying to create a virtual screen, (maybe xvfb? or any other virtual screen buffer) and be able to use Screen Sharing to connect to it. The setup is that I have a Mac Mini connected to the TV. But when my girlfriend is using Front Row, I can't use Screen Sharing at the same time from... (0 Replies)
Discussion started by: linge
0 Replies

8. Red Hat

command line tool to disable screen lock and/or screen saver

Hi, I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies

9. UNIX for Dummies Questions & Answers

Accidentally made a screen within a screen - how to move it up one level?

I made a screen within a screen. Is there a way to move the inner screen up one level so that it is at the same level as the first screen running from the shell? (2 Replies)
Discussion started by: phpchick
2 Replies

10. Shell Programming and Scripting

O/P same as on screen

#Random Scripts 4 #Desc: clear echo "1. To see all processes currently running on the system" echo "2. To kill any given process" echo "Choose between the two" read x case $x in "1")print `ps aux`;; "2") echo "Choose a process to be killed" read y check=`ps ax | grep... (1 Reply)
Discussion started by: targetshell
1 Replies
ICONV_MIME_DECODE_HEADERS(3)						 1					      ICONV_MIME_DECODE_HEADERS(3)

iconv_mime_decode_headers - Decodes multiple MIMEheader fields at once

SYNOPSIS
array iconv_mime_decode_headers (string $encoded_headers, [int $mode], [string $charset = ini_get("iconv.internal_encoding")]) DESCRIPTION
Decodes multiple MIME header fields at once. PARAMETERS
o $encoded_headers - The encoded headers, as a string. o $mode -$mode determines the behaviour in the event iconv_mime_decode_headers(3) encounters a malformed MIME header field. You can spec- ify any combination of the following bitmasks. Bitmasks acceptable to iconv_mime_decode_headers(3) +------+--------------------------------------+---+ |Value | | | | | | | | | Constant | | | | | | | | Description | | | | | | +------+--------------------------------------+---+ | 1 | | | | | | | | | ICONV_MIME_DECODE_STRICT | | | | | | | | If set, the given header is decoded | | | | in full conformance with the stan- | | | | dards defined in RFC2047. This | | | | option is disabled by default | | | | because there are a lot of broken | | | | mail user agents that don't follow | | | | the specification and don't produce | | | | correct MIME headers. | | | | | | | 2 | | | | | | | | | ICONV_MIME_DECODE_CONTINUE_ON_ERROR | | | | | | | | If set, iconv_mime_decode_head- | | | | ers(3) attempts to ignore any gram- | | | | matical errors and continue to | | | | process a given header. | | | | | | +------+--------------------------------------+---+ o $charset - The optional $charset parameter specifies the character set to represent the result by. If omitted, iconv.internal_encoding will be used. RETURN VALUES
Returns an associative array that holds a whole set of MIME header fields specified by $encoded_headers on success, or FALSE if an error occurs during the decoding. Each key of the return value represents an individual field name and the corresponding element represents a field value. If more than one field of the same name are present, iconv_mime_decode_headers(3) automatically incorporates them into a numerically indexed array in the order of occurrence. EXAMPLES
Example #1 iconv_mime_decode_headers(3) example <?php $headers_string = <<<EOF Subject: =?UTF-8?B?UHLDvGZ1bmcgUHLDvGZ1bmc=?= To: example@example.com Date: Thu, 1 Jan 1970 00:00:00 +0000 Message-Id: <example@example.com> Received: from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com) Received: (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000 EOF; $headers = iconv_mime_decode_headers($headers_string, 0, "ISO-8859-1"); print_r($headers); ?> The above example will output: Array ( [Subject] => Prufung Prufung [To] => example@example.com [Date] => Thu, 1 Jan 1970 00:00:00 +0000 [Message-Id] => <example@example.com> [Received] => Array ( [0] => from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com>; Thu, 1 Jan 1970 00:00:00 +0000 (UTC) (envelope-from example-return-0000-example=example.com@example.com) [1] => (qmail 0 invoked by uid 65534); 1 Thu 2003 00:00:00 +0000 ) ) SEE ALSO
iconv_mime_decode(3), mb_decode_mimeheader(3), imap_mime_header_decode(3), imap_base64(3), imap_qprint(3). PHP Documentation Group ICONV_MIME_DECODE_HEADERS(3)
All times are GMT -4. The time now is 07:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy