General :: How To Refresh A Graphical Display Through Bash Script?

Jul 25, 2011

I need to display a message graphically using a messagebox or textbox through bash script. However the message should be keep changing every 4 secs . I input the message from a file and use "gxmessage" to display it .

I do not like this solution and it looks ugly too , because it is visible that the message box is getting killed and forked every time..Can't I use the same gxmessage message box for all the messages just by putting new messages and hence refreshing the same box.Any idea , anything other than gxmessage will do , if a solution is somewhere else.

View 1 Replies


ADVERTISEMENT

Debian :: Changing Graphical Login Screen Refresh Rate On Lenny

Jun 26, 2009

Is there any way to change the resolution and refresh rate of the graphical log on screen in Lenny? I have the right resolution and refresh rates set for after I log in but I don't know which file to edit to make Lenny use the right settings for the log on screen.

View 1 Replies View Related

General :: How Would One Display Graphical Images Outside Of X?

Mar 16, 2010

I run X only under duress. For years I have used svgalib clients. I haven't gotten svgalib to work on my new machine (or X, either, a different matter). I have come tantalizingly close.Is there any other non-X image displayer?

View 5 Replies View Related

General :: Graphical Display Appearing Very Blurry

Feb 23, 2011

I have installed fedora 8 on my cPCI based system [URL]. It seems to have 256MB RAM. Once I login as root in text editor mode, I typed init 5. But the graphical display appears very blur. I changed the monitor, but still same result. One more observation I made is, after 10mins it used to enter into screen saver mode (blank screen), but when I pressed some button, the graphical display appeared with full colors. But now even this is not happening. The system just goes into some state after init 5, where my the display goes blank and even the keyboard doesn't work.

View 8 Replies View Related

General :: Bash - Use A Graphical Or Text Based EDITOR On Logging In Locally Or Remotely?

Aug 17, 2010

I can set my EDITOR variable in my .bashrc to e.g. gedit, which is a nice graphical editor on ubuntu. But when I log in over PuTTY that editor will fail.What is the best way to detect if I'm logged in and can run a graphical editor, or not, and set EDITOR appropriately?

View 2 Replies View Related

Ubuntu Multimedia :: Gnome Display Recognize Same Refresh Rate As NVidia Server?

Jan 4, 2010

Is it possible to have gnome's display settings recognise higher refresh rates than 56hz, as my nvidia is set to 85hz, but gnome display still thinks its 56hz, and I believe this is causing many programs I'm using to refresh at 56hz. Compiz works beautifully after overriding the refresh rate inside it, as it too thought I was using 56hz instead of 85 but many games aswell as CairoDock as jerky, which makes me think it is a refresh issue.

How can I make gnome know I'm using 85hz?

View 5 Replies View Related

Programming :: Graphical Dialog From Bash Without Grabbing Focus

Jun 28, 2009

I want to display an un-intrusive graphical dialog to notify the workstation user that a bash script has finished running. It should be "top level", so visible to the user when it appears but should not grab focus, so the user can continue working in the current window and dismiss the notification when convenient. Researching gdialog, xdialog, xmessage and zenity it seems none of them can do this; they all grab focus.

View 3 Replies View Related

General :: Can't Connect To Display After Switching From Bash To Tcsh After Login

Aug 11, 2010

Can't seem to use tcsh as my login shell under CentOS 5 as I used to (if I specify /bin/tcsh as my start-up shell, the windowing system doesn't come up), so am logging in under bash then switching to tcsh on top of that, but it won't allow display access from tcsh for my programs. Gives the "cannot connect to display" error that usually xhost + is the solution for, but xhost doesn't help in this case (won't even run under tcsh, says unable to open display "0.0"). $DISPLAY is set in .cshrc. Must be something simple, but can't seem to find a direction to head?

View 2 Replies View Related

Ubuntu :: Script Display A Nice Little Graphical Thing To Indicate That The Script Has Finished Running?

Sep 9, 2010

I've been starting to have a play with scripting, I'm still learning the basics though.I have one little question that. I want to have the script display a nice little graphical thing to indicate that the script has finished running. preferably some sort of customizable message with an OK button to close it. Even better if it looks proper as though it was always an Ubuntu app.

View 2 Replies View Related

Ubuntu :: Graphical Interface Won't Load / "Failed To Parse Arguments: Cannot Open Display"?

Nov 22, 2010

I have a system with 2 hard drives (Ubuntu 10.10 and Windows XP) on them. Grub allows me to select which system to boot to.

Ubuntu 10.10 has stopped working (not loading gnome graphical interface) for some reason.

I can boot to a command line (after many errors on screen). When I try the command "gnome-terminal" I get: "Failed to Parse Arguments: Cannot open display:"

View 14 Replies View Related

Ubuntu :: Graphical Volume Manager - Finding Graphical Partition Editors That Work With Lvm2

May 9, 2010

I know how to manage them from a commandline but I was wondering if there are any graphical partition editors that understand and work with lvm2?

View 1 Replies View Related

Software :: Bash Script To Find Available Display Sever

Sep 16, 2010

Whenever I login to a server via ssh -X, I want that all 5 minutes a script displays a graph.The script shows the image via display (imagemagick). But what I'm not sure of is how to redirect the display output to my remote screen when this script is executed as a cron job. I can use display -display server but I don't know how to determine server via the script.

View 1 Replies View Related

Programming :: Bash Script: Order And Display On External File

Mar 12, 2010

I'd like to create a script which allows me to order its data (let's say: Name, age, department and work start date) by date. And display the result in another file.

View 1 Replies View Related

Programming :: Use Zenity In A Bash Script To Display A .csv File Using '--list'?

Jul 22, 2010

I'm trying to use zenity in a bash script to display a .csv file using '--list' to allow the user to edit some of the values.I can display it fine but i'm unsure how to edit the data? all i can get is whichever line is highlited when hitting ok on the zenity dialog to print.the data in the csv is arranged:

<prod>,<disc>,<qty>,<type>,<location>

View 1 Replies View Related

General :: Cannot Change The Refresh Rate From 60 Mhz

Aug 9, 2010

First off I am dual booting Windows 7. While in Win7 I have absolutely NO monitor issues. Since installing 10.04 I get a shaky unreadable display. To remedy the situation temporarily I have adjusted the resolution to 1200/800 but this is not a fix just a band aid. I should be able to run 1920/1080. As soon as I do this I get the shaky screen. I cannot change the refresh rate from 60 mhz. Again I am apprehensive by posting this because I have been flamed in other forums simply for being a noob and not knowing what to do but I would love to tap into the resources of you more experienced members.

View 2 Replies View Related

Fedora :: Create A Form In Bash That Would Display Multiple Radio Lists?

Feb 4, 2010

I am attempting to create a form in bash that would display multiple radio lists with an OK and cancel button on the bottom. I tried using the command line tool dialog, which is really nice. But it won't let me do multiple radio lists on the same form.

View 2 Replies View Related

Programming :: Bash Scripting - Display Real Name From Username Logged In + User Processes?

Jan 14, 2011

i am using putty to connect to the linux server and i am using nano as my text editor to write a bash script.

this is my script:

echo "Please enter your Username"
read userName
userName= grep $USER /etc/passwd | cut -d: -f5
echo "Welcome " $userName | cat >> output.txt

the problem i have is that when i enter my username, the output (my real name) does not display in the output.txt. instead it displays in putty. so when i run my script in putty it shows the message to enter username and after i enter my username my real name appears below it. i want it to show in the output.txt

View 1 Replies View Related

General :: How To Refresh Htop After Sorting (via Shift+m)

Jun 22, 2011

I love using htop, but I have noticed that whenever I sort by a parameter (for example, Shift+m for sorting by Memory usage), the htop stats stop dynamically refreshing. Is this intended? I also notice this with top as well.

View 1 Replies View Related

General :: Set Monitor Refresh Rate In Script?

Aug 12, 2010

I'm running the great game "Capitalism Plus" w wine. This is really a Win-95 game but it runs fine under Wine (a big benefit of Linux, you can run those old Windows games again, which is impossible under WinXP...)

Anyway, here's the problem: The game runs only in 640x480. My monitor is a 22" widescreen 1920x1080. When I start Capitalism, the resolution changes to 640x480 which is fine. However, the refresh rate is 75Hz, which minimizes the actual / active screen to a small window in the middle of the monitor. (Not only for the game, but for the kde desktop.) When I set refresh rate to 60Hz (using krandrtray) everything is fine.

So here's the question: Is there any way I can create a bash-script that sets the refreshrate to 60Hz?

I'm running kde3.5, Debian Lenny on a AMD64 with ATI:s fglrx.

View 5 Replies View Related

General :: Tail Command Does Not Refresh All The Time?

Oct 26, 2010

I am running a script with nohup and this generates a lot of logs.

In order to view the log I use tail -f nohup.out

The problem is that the info supplied by this command is not always the latest//sometimes I need to use the command again order to view the latest info added to the nohup.out file.

View 3 Replies View Related

General :: Screen Refresh Rate With Xorg?

Jan 12, 2010

i am still new with linux and debian i have some issues setting up a correct refresh rate on my monitor i want a 75hz or 80hz however i can only get 60hz a also get some weird frequencies like 59 , 61hz on the screen resolution tool via the gnome dockbar here is my xorg.conf

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.

[Code]...

View 18 Replies View Related

General :: Refresh For New Mails From Command Line?

Feb 11, 2011

we are using thunder bird as email client to download all our emails from mail server.We normally use to click get mail tab in thunder bird for new messages.My question is is there a way to check from new emails through command line. is there any specific command to do this.

View 7 Replies View Related

General :: Kickstart With RHEL 6 Beta 2 Refresh?

Jul 22, 2010

Recently RHEL 6 Beta 2 released and I want to install it through kickstart but it stucked at one time while Re-initializing the disk partition. If I manually click on "Re-initialize All" it goes fine but I am in verse to ignore the message box and proceed automatically through kickstart. Anyone who have come across this issue?

View 1 Replies View Related

General :: Slow Refresh Screen For Fedora 14

Dec 22, 2010

I have been using Windows on my laptop, but recently switch to Fedora 14. However, there seems to be a screen refresh rate issue that i didn't encounter when using Windows. The symptom is that when I scroll down through the browser page, the content become gibberish and unreadable. I have to do a refresh to read that content.

I did some searching on the Internet and found that it may be able to fix by updating driver, but i have no idea what and how to do it. can someone suggest a solution? can i use yum?

Code:

View 5 Replies View Related

Debian :: Automatically Start Graphical (SDL) Program As Root On Non-graphical Debian?

Mar 3, 2009

I'm not a Linux noob, but I am far from guru. I'm running a single board computer with a slightly customized Debian Etch (customized by the SBC vendor). No Gnome/KDE/X installed. My application is a control application which uses SDL (Simple DirectMedia Layer) to paint some basic graphics on the VGA. I need to run it as root because the application calls iopl() to access an IO port.If I run my application manually from the command line, life is sweet. From Googling around, I found http://www.debian-administration.org/articles/28, and hence I:1) Created a script in /etc/init.d2) Executed "update-rc.d scriptName defaults" to link the script into the boot sequenceAll very straightforward. My application starts at boot. But when I try to SSH/SFTP into the SBC, I get "Connection refused". So I can't manage the SBC anymore, and this is a big problem. I am not sure if it's relevant, but my application starts before the SSH daemon.My script looked like:

case "$1" in
start)
echo "Starting my application"

[code]...

View 1 Replies View Related

General :: Getting Desired Resolution And Refresh Rate In Ubuntu?

Aug 13, 2010

I cannot get my desired resolution and refresh rate in Ubuntu (10.04, Lucid). I want to run at the best my poor monitor can, which in Windows (XP through 7) is 1152*864 with a refresh rate of 72Hz.

I want these setting in Ubuntu, and many grey hairs have been produced in trying to make it happen. I can get the correct resolution, but not the refresh rate.

I'm using the proprietary Nvidia drivers, which are up to date.

System info:

I have a CRT Monitor connected to a laptop via the VGA connector. The monitor is a 16" AOC brand (this is all I know, and for all my efforts I cannot find the manual for it from just this information). The graphics card is a GeForce 9600M GS

Things I've tried:

Using the regular default drivers Editing Xorg.conf in all manner of ways (seems to always be ignored upon reboot. I don't get that). 3 days of googling Asking at the Ubuntu forums.

How can I do this, if I can?

how all of this works, how xorg.conf and the Nvidia program interact and such.

View 1 Replies View Related

General :: Way To Refresh A Browser After Pushing Ctrl+s - Save - In An IDE ?

Feb 9, 2010

Is there any way to refresh a browser after pushing Ctrl+s (save) in a IDE?

View 2 Replies View Related

General :: Windows - Text / Log Editor With Auto-refresh Support

Feb 8, 2010

I'm looking for a text editor / log manager of some kind that will automatically refresh a file's contents when it changes.

I have a single target log file (e.g. current.log) that is overwritten under certain circumstances and I'd like to be able to leave it displayed and not constantly have to re-open the file to get updates. Much the same as 'tail --follow=name' does in Linux.

I'm using a Windows desktop but it's a remote file so a Linux app would work just as easily.

View 4 Replies View Related

General :: Know Which Display Number For The Variable DISPLAY To Be Exported When Ssh To Server?

Dec 26, 2010

When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only

export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock

[code]....

View 1 Replies View Related

General :: X11 Forwarding - Error: Can't Open Display: <ip Of Display>

Jun 28, 2011

I have the following scenario that doesn't seem to work normally. I have a windows 7 pc from which I am using putty to connect to my other linux servers (all running redhat 5 and 6). So here is the scenario that works and one that does not work. And I'm trying to figure out the one that does not work. Scenario that works:

From windows 7 (putty) I ssh into Linux_Server_1.
echo $DISPLAY
localhost:10.0

I run xclock and I see it pop up on my windows 7 pc. I am using xming on windows 7 to help me populate the display from linux to windows. One that does not work:

From windows 7 (putty) I ssh into Linux_Server_1. Then from Linux_Server_1 I ssh into Linux_Server_2.
echo $DISPLAY
<no output>

I try to setup $DISPLAY with localhost:10.0 or 0.0 or even my windows 7 pc ip address:0.0 ....etc Then when I try to run xclock I doesn't work.

I get these error messages: Error: Can't open display: <ip of display>

Also as a side note all our Linux servers are sitting on one subnet. My pc is sitting on another subnet. I use vpn to connect to the subnet where the servers sit from my pc.

View 4 Replies View Related







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