General :: Terminal Cannot Be Launched / Sort It?

Feb 1, 2011

I am using Ubuntu 10.10 maverick meekat...suddenly terminal cannot be launched.

View 8 Replies


ADVERTISEMENT

General :: Location Of A Program Running In Terminal - Launched From Panel?

Dec 17, 2010

I am using DreamLinux. I have pinned a program, that runs in terminal, to the launcher in the panel on desktop. The program's executable file (name: feap) is located in /home/User/feap2.2 After I added the launcher to the panel that runs the file in terminal, the program asks for the input file (text file with alot of commands) when run. By default the program accepts the files that are located in the same directory i.e. /feap2.2 , so I placed the input file in the same directory.

However when I run the program from the panel, and give the input file name, it says no such file exists. Then I gave the file name with full path, but problem was not solved. I have tried alot e.g. placed the input file at other locations, but all in vain. I have set all input file permissions to be accessible by User as well. I will be much relieved if someone suggests where to place the input file for the such program running in the terminal launched from panels?

P.S: If I open terminal, go to the directory (/home/User/feap2.2), run the program's exe file, and then give the file name, it accepts the input file and it give results.

View 1 Replies View Related

Ubuntu :: Every Time Terminal Is Launched It Shows Something?

Dec 17, 2010

After applying 200 line kernel patch alternative the terminal gives some unknown output:

Code:
bash: /dev/cgroup/cpu/user/1171/tasks: No such file or directory
bash: /dev/cgroup/cpu/user/1171/notify_on_release: No such file or directory

Yeah i know that this issue doesn't really mean anything but it's kinda annoying

View 5 Replies View Related

Debian :: Creating Terminal Launched Applications (Shortcuts)

Jun 16, 2011

Just got a problem that I've spent a few days trying to get around. Basically, what I am trying to do is create launchers/shortcuts on my desktop that will
a) Launch a terminal with root or sudo access
b) Launch an application.
For example, an application I might ordinarily use as a super user or root user is 'hping3.'

Basically, I want to be able to click on the launcher, and have it open up a terminal with sudo access and launch the hping3 application. I've tried messing around with the 'create launcher' function, and entering in a command to be launched in a terminal window, but to no avail (e.g. something like "sudo hping3" or "su && hping3"). How to write up a simple script to launch a terminal with su access and launch a given application?

View 2 Replies View Related

General :: How To Log All Processes Launched And Arguments

Dec 16, 2010

I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?

View 3 Replies View Related

General :: Get Pid Of Launched Bash File?

Apr 30, 2011

I've created a bash file that calls another bash. And I would like to get the pid from the second file launched, to wait for the file to ends. The second bash file launches processes in background. How can I get the PID from the second bash file?

Here's my code:

Code:

#!/bin/bash
echo "FIRST"
./second.sh
PID=$(echo $!)
wait $PID
echo "CONTINUUING FIRST"

View 3 Replies View Related

Ubuntu :: Keyboard Stops Working In Terminal / Sort It?

Jul 11, 2010

Have strange problem when I get asked for my password in the terminal, the keyboard stops working, below is a sample of the terminal window.peter@peter-desktop:~$ sudo ufw status[sudo] password for peter:When I press the keyboard nothing happens.

View 2 Replies View Related

Ubuntu :: Got Possible Nautilus Error When Opening Gedit From Terminal / Sort It?

Apr 25, 2010

I received this odd error when opening gedit from the terminal . gedit opened, but this error worries me code...

After changing the hostname, you need to reboot your machine. That fixed it

View 3 Replies View Related

General :: Configure A Process To Be Launched In The "n"th Working Day?

Sep 23, 2010

Is there a way to configure a process to be launched in the "n"th working day?
Let's say n=5. In this case, if the 5th of the month is on Saturday, then the 5th working day will be on Monday so I would like to launch the process on the 7th.
The same when the 5th of the month is on Monday, it means that it's only the 3rd working day, so I would need to launch the process on Wednesday - the 7th of the month.

View 2 Replies View Related

Debian :: Iceweasel Hangs When Launched Sometimes?

Jan 11, 2011

I am running Squeeze (Gnome desktop) and I'm experiencing some problems with Iceweasel. My problem is that sometimes Iceweasel just hangs when I launch it. I can see the cursor blinking 2-3 times in the adress bar and then it just locks up. I have tried a few different versions of iceweasel, both from stable (squeeze though), experimental and now a package from http://mozilla.debian.net/packages/ with iceweasel 4 beta.

All of them behaves the same way. They work for a while and then suddenly locks up when launched. The only way to get going again is to kill the process and delete the .mozilla directory. It is possible to launch the --safe-mode though but nothing with this mode lets me change anything to get a normal session going.' Also, it doesn't matter if I have extensions installed or not, it still behaves the same way with zero of them installed. How would I go about to debug this? If I launch iceweasel from the command line I get no output but I'm sure there is a way to get some more info to work with.

View 6 Replies View Related

Fedora :: Music Stops When Skype Is Launched?

Sep 18, 2010

I thought Fedora 13 could mix sound from two output sources..On my asus laptop, when music is playing and I launch skype, music stops.Just like sound stopping if I have a game running in wine.Is there a trick to allow more than one sound source?

View 1 Replies View Related

Fedora :: Make An Application Launched As Root

Oct 28, 2010

I wonder how I can do to make an application launched as root, without having to go to console and run it from there?

View 14 Replies View Related

Ubuntu :: Limiting # Of Threads Launched By A Script

Mar 6, 2011

I have a script that basically takes a list of IP addresses, and pings them to tell me if each device (Access Point) is online or not. The problem with that is, the list contains about a hundred addresses. Making the problem worse is the fact that using a single ICMP packet per device is not an option since, at certain times of the day, the network is too congested to guarantee that a single ICMP packet won't be dropped, despite the device being up and running. That means I need to send multiple pings per device for about a hundred devices. As you can imagine, doing this sequentially takes a while.

What I want to do is make my script open other threads in the background to ping multiple devices in parallel. The problem with that is - if I simply make each ping command run in parallel, soon there are a hundred background tasks, one for each address, and that consumes a lot of CPU (CPU hits 100% and stays there till the script is done). Is there a way I can make about 10 threads run at a time, and any other threads will queue until a spot opens up for them? Kind of like the token bucket, except when there aren't enough tokens, the main script waits until it can launch more background threads that ping the next addresses on the list.

View 3 Replies View Related

Fedora :: Programs Launched With Xinit Give Me No Sound

Dec 12, 2009

As the title says, when I launch programs using the "xinit" command from the command-line they are unable to play any sounds. I am using fedora 11.

View 4 Replies View Related

OpenSUSE :: Applications Launched From Gnome Menu Are Not Always Visible

Mar 26, 2011

I have a clean install of openSUSE 11.4 64 bit using gnome as the desktop manager. When selecting applications from the gnome menu, randomly the application will appear to not launch. However, if I click anywhere in left, upper portion of my desktop it becomes obvious that the application has launched and is not visible. For example, yast will not appear but clicking in that portion of my desktop causes various windows to appear that correspond to the different options in the yast home screen.

View 5 Replies View Related

OpenSUSE Wireless :: Knetwork Manager Launched Every KDE Boot?

Nov 10, 2010

I've just setup my mother's desktop PC (HP P6510F) which has a wired connection to the internet, with 64-bit openSUSE-11.3 KDE-4.4.4 desktop. Her PC also has a wireless device, so I decided to set that up. I have it working with the internet (using knetworkmanager), but I have to launch knetworkmanager from a terminal each boot, as it is not launched every boot by default.

What is the 'proper' way to have knetworkmanager launched every boot in KDE4 ? (I can hack at this, but if there is a preferred/recommended method, I would rather use that). I suspect no more detail is needed, but in case one is curious: Her wireless is:

[Code].....

View 9 Replies View Related

Debian Multimedia :: Password Rejected When App Launched Via Gnome Menu

Jul 26, 2015

I use Debian Jessie with Gnome.

I have installed Timeshift. Administrative password is requested when I click Timeshift icon in Gnome menu. I enter the password (or paste it to be sure) but it always returns with "incorrect password, please try agian" message. I am sure that I type my password correctly.

I looked at the icon's properties. It runs "timeshift-launcher". I changed it as "gksudo timeshift" or "sudo timeshift" or "gksu timeshift", enabled "Launch in terminal", disabled, but nothing changed. Always same password request window appears and it rejects my password.

However when I run "sudo timeshift" or "gksudo timeshift" command in Terminal it accepts my password and runs.

When I run for example Synaptics via Gnome Menu, password request window is with black background and it accepts my password. However when I run Timeshift, password request window is with gray background and it rejects.

Root password was not defined in my system during installation and I am the only user. I run administrative commands via sudo without any problem.

View 3 Replies View Related

Programming :: Perl Behavior When Process Launched In `backticks` Crashes

May 11, 2011

I have a friend (really), who is the author of a Perl application that uses backticks to launch an external application. The process reads a largish set of data files, and printing largish amounts of data which is consumed by Perl. Very rarely, the external application crashes. When it does, the Perl script has been seen to hang, and the host CPU usage goes to 100%. The Perl script can be killed and the host recovers.

The question is whether this is predictable/expected behavior, and if it is, is there anything within Perl which can be used to defend against this behavior. I have already recommended the use of the open() form of reading from a child process, but I'm not sure whether that really accomplishes anything. My theory on the matter is that Perl ends up busy-waiting on the child's output, never receiving any EOF, and consuming all CPU. I cannot see how using open() changes that behavior. I am now interested in this problem so I can avoid causing similar behaviors in the future, and just because 'inquiring minds wish to know'.

EDIT: I suppose I should have added that this is on generic 32-bit Linux hosts; Perl 5.8.X

View 11 Replies View Related

Fedora Installation :: NVidia - Desktop Is Freezing For 10-15 Seconds Before Konsole Is Launched

Dec 25, 2009

configuration: $uname -a
Linux perosoft.home.org 2.6.31.6-166.fc12.i686.PAE #1 SMP Wed Dec 9 11:00:30 EST 2009 i686 i686 i386 GNU/Linux
$/sbin/lspci -nn | grep 'VGA|NV'
01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8400 GS [10de:0422] (rev a1)
$rpm -qa|grep kmod
kmod-nvidia-2.6.31.6-166.fc12.i686.PAE-190.42-1.fc12.8.i686
kmod-nvidia-PAE-190.42-1.fc12.8.i686

i have created a shortcut for konsole on desktop, if i click on icon all desktop is freezing for 10-15 seconds before konsole is launched. if i have the same aplication overlapped in taskbar and i click once same thing is happening, desktop is freezing before select menu is appear.

View 7 Replies View Related

Ubuntu :: Launched Evolution - Get Back Into The Wizard To Add / Correct The Email Password?

Oct 25, 2010

I am new to the community and have just recently loaded Ubuntu 10.04. I think I made an error when I first launched Evolution, how can I get back into the wizard to add/correct the e-mail password?

View 1 Replies View Related

Programming :: Bash Shell Scripting / Using The Sort Command To Sort The Top 5 CPU Processes?

Feb 28, 2010

What options should I use when I'm using the sort command to sort the top 5 CPU processes (ps -eo user,pid,ppid,%cpu,%mem,fname | sort ??? | head -5) showing max to min usage?

View 2 Replies View Related

Programming :: SORT Command Versus Unix SORT

May 4, 2010

We switched from unix to linux and we have an old report that extracted data from a database, output to an ascii file and then sorted the results in the file based on different arguments. The report now blows up when it runs,and I can only guess it is because the options for sort on linux differ slightly from unix.For example, here is one of the commands issued from within the report app that ran on the old unix box:

if sort-sequence = "descending" then
'sort -t~" -f +3.0f -4.0 +5.0r -6.0 -f '
else
'sort -t~" +3.0f -4.0 +1.0f -2.0 -f'

I will eventually rewrite the report to store the data in a local table, but I can simply adjust the options to suit the requirments of linux. Basically, I need to know if this can be a quick fix for the short term.

View 2 Replies View Related

General :: Terminal Emulator For GNOME With Display Features Like Mac OS X Terminal?

Mar 5, 2011

Is there a terminal emulator which works well in an Ubuntu desktop and provides the following features which Mac OS X's Terminal application has? Re-wrapping text when the window is resized.A Clear command which clears scrollback (as the shell clear does not) and does not clear the cursor's line (typically containing a prompt).

View 2 Replies View Related

General :: Make Linux Terminal Transparent With Terminal Command?

May 10, 2010

Is it possible to make terminal (xfce4-terminal) transparent from bash script?

Maybe by enabling compostion?

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

General :: Terminal Proxy Or Screen Without Terminal Emulation?

May 26, 2010

How can I make terminal applications immune to terminal emulator close, but still able to use all virtual terminal features?

egin{UPDATE}I want my terminal application remain alive and accessible if I accidentally close terminal emulator. This functionality is provided by screen and tmux, but they have issues with colors and they flush screen.Yes,I can run the shell inside screen, but I do not want the shell remain alive unless there is some other program running.

end{UPDATE}I see this must be something like screen, but without VT100 terminal emulation, something which will just apply whatever application does with "terminal proxy"'s terminal (like outputting something to stdout/stderr or using stty to set terminal options) to the terminal this proxy runs in.

// I know about screen and altscreen on, but it makes either this (screen with TERM=screen):

or this (screen with TERM=rxvt-unicode):

while I want this (rxvt-unicode without screen):

I have figured out that everything looks fine if I compile rxvt-unicode with USE=-xterm-color (in fact vim looks like on the second picture even without screen if I add this USE flag) and set TERM=screen-256color, but I do not like this workaround because it actually changes colors and I can't be sure that it will always change them only this way:

View 4 Replies View Related

General :: Run Programs From System Terminal Without Blocking Terminal?

Jun 19, 2010

Right now when I start a program from a terminal I can't use that terminal instance again until I close the program.

I am a new user of linux, and I want to know if there is a way to execute a program/application from a terminal without blocking the terminal until the program ends.

View 3 Replies View Related

General :: How To Redirect A Terminal/tty Output To Other Terminal/tty

Dec 14, 2010

hello
I tried to find a good subject but it was the best of mine, anyway I'll explain it here.
some time I do some thing like installing a new application in Linux terminal of my office PC but it take a long time and I have to go home during its installation or configuration process that it is not good to cancel it.My current solution is abandoning the process until next day. I wanted to know is there any way to redirect an input and out put of a terminal to another one, if it works I can continue my abandoned process by ssh to my Linux office PC and redirect that terminal to my new remote sshed terminal from my home.

Thank a lot for any help.

View 4 Replies View Related

General :: Equivalent Of Gnu `sort -R` On OSX?

Sep 11, 2011

The GNU sort text utility features a non-standard -R option to randomize input lines (presumably by sorting on a hash).

OSX sort does not have this extension. Is there similar functionality available in another text filter?

View 1 Replies View Related

General :: Not Able To Come Out Of Expect / Sort It?

Jun 28, 2011

I am using expect command to pass password to my script.

like code...

it will send password properly, but after that it will not come out of expect to bash.

View 4 Replies View Related







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