Programming :: Prevent People From Exiting The Terminal By Clicking The "X" At The Top Right?

Nov 12, 2010

Currently i'm doing a script for my project and I want to prevent people from exiting the terminal by clicking the "X" at the top right. when I run the script, user cannot exit out of the terminal unless the scipt finish running.

View 5 Replies


ADVERTISEMENT

Programming :: Launching Interactive Gnome-terminal With A Command (and Not Exiting)

Oct 13, 2010

I want to have a script (tcsh/bash/python) that launches a bunch of gnome-terminals (or 1 with multiple tabs). And I want it to execute a command, but keep the shell interactive. Currently, if you type gnome-terminal then it launches a new interactive shell, but if you give it the execute flag, then it executes the command and quits (or stays open, but non-interactive depending on the users gnome-terminal settings).

I have this command which I want to run automatically before I start working. What the command does is dynamic and different for each shell. It takes arguments. So it's not something I can take care of in a .cshrc type file.

View 3 Replies View Related

Fedora :: Prevent People From Changing Their Wallpapers?

Jul 14, 2009

I am facing a really weird kind of issues where my boss has asked me block everybody from changing their wallpapers and put a default one there.

View 11 Replies View Related

Fedora Security :: Prevent People From Unauthorized Access?

Mar 19, 2009

I'm doing a research to protect my pc from physical access. What I'm facing here is that my company created a program for fedora 8 and plans to sell the unit away. We created a function where you can configure the program using any web browser from a network so we do not want anybody to have access to the fedora except for out personnel.

Based on my research, I've found [URL] this guide to protect people from accessing grub and single user. I am currently researching on preventing others to clone the harddisk. I would like to know if there are any other methods to prevent people from unauthorized access to fedora.

View 14 Replies View Related

Ubuntu Networking :: Prevent People From Seeing Shared Printer?

Sep 4, 2010

I know it's very easy to share printers in Ubuntu, just went to System, Administration, Printing, Server Settings, Publish Printers connected to this system. VoiláMy question is:How can I create an access list so only certain IP addresses are allowed to see it?

View 8 Replies View Related

Programming :: Open Gnome Terminal (pass Commands ) On Clicking Glade Button

Dec 18, 2010

I am working on a small project for making a small configuration tool for ubuntu 9.10 for new linux users, that make their system working easily without knowledge of the linux commands.I created a gui in glade and loaded the gui with my python program to show up, now i wish to have some python codes that can launch a gnome terminal (and also pass some linux commands to it) on the click of a button contained in the glade file.

View 1 Replies View Related

General :: Launch A Terminal By Clicking On The Terminal Icon At The Top Of The Screen

Apr 22, 2010

I have a favorite REXX program called fv2. When I was a Windows user I had an icon for fv2 on the Quick Launch bar. Click that icon, and the program ran. Now, as a Linux (Ubuntu) user it is necessary to go through several steps to run fv2.

1) Launch a terminal by clicking on the terminal icon at the top of the screen. What's that area called? The GNOME panel?
2) Enter: ~/Desktop/RexxScripts
3) Enter: regina fv2

I run fv2 several times per day and would really like to have the convenience of a clickable icon.

View 3 Replies View Related

Ubuntu :: Run Command In Gnome-terminal Without It Exiting?

May 4, 2010

I'd like to make a launcher that starts irssi in gnome-terminal with just one click.

I guess something like:

gnome-terminal -execute "irssi"

but without it closing down as soon as irssi is run

View 4 Replies View Related

Programming :: Programmers And People That Understand The OS?

Apr 24, 2011

Well I get my other 2 questions answered , I have one last question that has been buggy me.Anyone know why windows use so many files just to keep the OS going and so bloated? The under line of files of windows is messy and loads self every where and very bloated with windows and windows vista and windows 7 very much so.I'm not sure if Linux /Mac OS X is like this or not .

I know windows needs to support alot more software and hardwar but is that not where drivers come in for the hardware.And programmers need to write the software for windows or Linux / Mac OS X.

View 14 Replies View Related

Ubuntu :: Clicking The Icon The Commands Ran In The Terminal Automatically?

Jan 15, 2010

I had automated some tedious commands in the terminal by writing them in a text file and placing an icon on the panel. By clicking the icon the commands ran in the terminal automatically. I cant for the life of me remember the icon command I used to get this to work.

View 3 Replies View Related

Ubuntu :: Make A Terminal Command Run By Clicking An Icon?

Aug 22, 2010

I have my xbox 360 connected to my laptop running Ubuntu 10.04 using the Ushare program. In order to reset Ushare and have it send any new files I have to the 360, I have to go into the terminal and enter

sudo /etc/init.d/ushare stop
sudo /etc/init.d/ushare start
sudo /etc/init.d/ushare start

Is there a way I can have an icon in my panel/toolbar thing at the top of the screen that will run this command string automatically? I'm getting tired of having to enter the whole thing by hand every time.

View 5 Replies View Related

General :: Run Open Office Doc By Clicking / Terminal Have To Change Permissions To Run

Dec 8, 2010

Im trying hard to get familiar with Linux Ubuntu and Im a bit comfused on one thing. Why can I run an Open Office doc just by clicking and in terminal a have to change the permissions to run it even as a root?I thought that in graphic mode Im the actual root no? And so when I run the terminal I should be still the root no?

View 4 Replies View Related

Ubuntu :: Prevent Application In Terminal From Auto Closing

Jan 15, 2011

I've made custom launchers for programs that can only run in terminal. They open fine within the Terminal window, but it closes right after the program is finished, before I can read the report.

Is there a way to keep the Terminal window open, using launchers? I don't want to manually type the commands after opening a Terminal.

View 2 Replies View Related

Fedora :: Prevent Terminal Escape $ Sign In Auto-complete F15?

Jun 15, 2011

I just installed F15 and although different, I like it a lot. One thing I don't like, however, is the default auto-completion of environment variables in the terminal. In F14 and older, if you type for instance

Code:

ls $HOME and hit TAB, auto-complete will list the contents of $HOME to search deeper, so to say. But in F15, the terminal automatically escapes the $ sign. If you do the same as above, you get

Code:

ls $HOME

instead of

Code:

ls /home/benny/

how to change the auto-complete settings of the terminal so that $'s are not escaped anymore?

View 7 Replies View Related

Programming :: Bash Script With Ftp Session Exiting The Script Early?

Feb 22, 2010

I got this script that backs up a server and then keeps only the last 10 backups and removes the rest.Problem is, the part where it deletes any backups older than the last 10, it never reaches that. I'm guessing it is because the ftp session somehow exits the script entirely, especially if there is a problem with the ftp session. But just to make sure, I'm wondering if you all can look at the code to see if I am making it exit accidentally.Here's the code. I left out data like ip address and directory/file names for my security purposes.

Code:
#ftp in and grab the file
ftp -in xx.xx.xx.xx << EOF

[code]...

View 5 Replies View Related

Programming :: How To Show The Full Resolution Image At Clicking On Thum-nail

Dec 7, 2010

There are 5 copies of the same images are placed in a folder i.e. large(1024*768),medium(500*375),small(240*180),thu mnail(75*75),square(100*50) in size....

The following code upload number of Geocoded images(square size) when the page loads.I want when someone click on the any Geocoded image on the page ,it should show the large image(1024*768) of the same.And further click on the large image it must show again the square size image of the same.

Following is the actual code.It is in .js file.

View 4 Replies View Related

Programming :: Prevent Echo As Return Value?

Jan 25, 2010

I have always encountered this problem in ubuntu bash shell scripts that echo command in a function will be treated as a return value when used in a function. e.g.

[code]...

The output would simply be xyz. Hence the echo seems to function as a "return" command when used in a function with a return value.

View 4 Replies View Related

Programming :: Prevent Sed From Replacing With Newline

Nov 28, 2009

I'm writing a script to replace some text that exists in about 50 .lex, .y, and .cc source code files, sometimes more than once in a file. Sometimes the text is in a multiline C comment, and other times it's within a multiline C string.

I use sed to grab the start and end of each line and wrap the new text in the old whitespace and/or quotes and Problem is, sed is changing the characters into a newline.

Is there a way to tell sed to not process escape sequences? I tried using several variations of

Code:

To no avail. Or could it be bash?

I would give up on the script and do it by hand, but this is something that I must do from time to time.

Here's the function which replaces the first occurrence found:

Code:

When $post is printed by echo, it shows the - but by the time the file is on disk, it becomes a newline. What should I do to ensure that it stays as the characters ?

View 4 Replies View Related

Programming :: Prevent Process Crashing On Thread Crash?

Mar 24, 2011

I want to know, is there any way to prevent the multi-thread process from crashing if some errors (say, segmentation faults) occur in one of its child threads? I've found pthread_sigmask() function, but that does not seem to work:

Code:
#include <stdio.h>
#include <unistd.h>

[code]...

View 3 Replies View Related

Programming :: Expect: Prevent Output From Spawned Process To Appear On Stdout?

Jul 3, 2009

I have this expect process:

Code:
spawn -noecho telnet my.host.com
expect {

[code]...

View 3 Replies View Related

Red Hat :: PeopleSoft People Tools 8.50?

Apr 14, 2010

Does anybody installed PeopleSoft People Tools 8.50 on Red Hat Lunux. If yes can you list challenges you have been faced and any spcific kernel settings you did to make peoplesoft works. We are in the process of installing PeopleTools on LINUX.

View 1 Replies View Related

Programming :: Bash Code To Prevent Redundantly Including Files, Like Php's "include_once"?

Jul 13, 2010

I wrote some bash code to prevent redundantly including files, like php's "include_once". I've simplified it here so don't worry that it appears not to do anything:

Code: alias .='Include'
alias source='Include'
export __INC__functions=1

[code]....

View 1 Replies View Related

Ubuntu :: Send An Email To More People?

Dec 21, 2010

i need to send a list of tasks each morning from a document to my team and i wanna do this from home; the thing is that i can only access my pc via ssh and i have to type the command for each person and takes to damn long. What i want is to send the document to a list of emails using only one command or a script.

View 2 Replies View Related

OpenSUSE Install :: How To Contact People At Bugs.kde.org

Aug 9, 2011

Does anyone know how to contact the people at bugs.kde.org ?I have tried to register but the site is not excepting the @ in my email adress.As a result, I never get the logon info.

View 3 Replies View Related

OpenSUSE Network :: FreeNX For People Upgrading To 11.3?

Jul 18, 2010

Just incase anyone is suffering from the same problem as I was after upgrading to 11.3 that there was no such file or directory in /var/lib/nxserver/db/running/sessionID. I found the answer in another forum and thought i would post it here. Basically there is a change in the openssl library used to calculate the md5sum used by nx which stopped it from connecting.

Putting
COMMAND_MD5SUM="md5sum"
at the end of /etc/nxserver/node.conf fixes the problem.

View 5 Replies View Related

Ubuntu :: Webcam Isn't Liking Showing Me To Other People ?

Mar 7, 2010

I'm using Ubuntu 9.10 (2.6.31-20-generic) and I've installed my camera (Microdia Win2 PC Camera 0c45:613b) and it works fine and everything locally. But as soon as it connects to a contact on MSN or skype and I've tried a web chatroom aswell. and same issue.

Now is it the Camera? 'Coz when I've had the cam installed on Windows XP it wouldn't work on MSN either. But if it the camera then, why does it work locally like it should on the net....

View 2 Replies View Related

Ubuntu :: Share One File With People Without An Account?

Jul 10, 2010

i'm trying to find a convenient way to share files without having to upload to a server via FTP. i suppose ubuntuone might work, but i have no idea whether the files can be made public

View 2 Replies View Related

Ubuntu :: How To Block People From Using My Wireless Network

Jan 1, 2011

I was wondering how can I see who is using my wireless router to connect to my Internet connection, and how can I block them so they can't access it.

View 9 Replies View Related

Software :: What Do People Generally Do With FLAC Files?

Aug 7, 2010

What do people generally do with FLAC files? Do they directly play them either with a stand-alone player or with the computer or, on the contrary, they first create audio CDs with them? Please understand my post is not about not knowing what a FLAC file is. I've used programs that create an audio CD from a FLAC file many times and also, others that haven't been converted, I play them directly.

View 5 Replies View Related

Software :: Upload To People Who Block Downloads?

Nov 15, 2010

I've noticed a lot of this sort of thing in the torrent details.

Code:
d: We'd download from this peer if they'd let us U: Uploading to this peer Is there any way to set it up to ban those kind of people? I have no want to upload to people who block downloads. I can iptables each IP, but that's a hassle.

View 2 Replies View Related







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