General :: Make A Launch Command Set Focus To An Already Running App Instance In Ubuntu?

Feb 11, 2010

I'm using a program called easystroke to invoke commands from mouse gestures - typically to launch an application. 'gnome-terminal', for example. If I already have a gnome-terminal window open, and I invoke the gnome-terminal gesture, I'd like to be setting focus to the already running instance, rather than spawn a new instance, which is of course what happens now. (I am actually more interested in this for my gmail chrome app shortcut, and other larger apps.)

I'm very new to ubuntu and linux in general, but I was hoping there might be a nifty command I could wrap around my launch command that would produce this behavior. (I'm imagining some kind of singleton app list keeper program that consumes my command line, checks if it's already in the list, transfers focus to the running process if it is (and if that process is still running), or else spawns a new process and then adds it to its list using the the command line as a key.)

View 2 Replies


ADVERTISEMENT

General :: Way To Get Docky To Launch A New Instance?

Apr 22, 2010

So i'm really loving the whole gnome-do/docky thing. My question is that on other docks, you can hold down a modifier key to launch a new instance rather then switching to an already opened instance of an app. So lets say I have chrome on the win7 dock

first click launches chrome
other clicks will focus the opened window
shift click will open a new instance of chrome
ctrl-shift-click will launch a new instance as admin

Is there anything similar in docky?

View 2 Replies View Related

General :: Activate Skype Already Running In Taskbar Instead Of Opening New Instance?

Jan 19, 2011

I am setting up a laptop for an old person who has trouble locating the skype icon in the notification bar.
I want clicking on the skype desktop icon to open the window of already running instance instead of a new one (like it happens in Window$).I am using Lucid puppy 520.

I want the icon to link to script which checks if skype is already running, and if it is, it de-iconifies the skype window

View 2 Replies View Related

Debian :: Running Same Process Multiple Times(from Another Account) / An Instance Of Newsbeuter Is Already Running Error?

Aug 6, 2010

Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.

View 1 Replies View Related

Software :: Prevent Rsync From Running If Another Instance Is Running?

Mar 29, 2011

On my crontab there is an entry to run a script I wrote that backs up my local files to my remote server. It was working great, running once a day. However, I now want to make the script run every hour.The problem is that if there are too manyfiles to transfer (Example:I ripped a DVD in the last hour) the actual backup may take longer than 60 minutes.So I want to modify the script to check if my backup script, based on rsync, is running. If rsync is still running then do nothing and exit the script. If it is not running, execute the script as normal.

View 5 Replies View Related

General :: Focus On Command Line Machine System, Network Basics, And File Management Knowledge?

Feb 17, 2011

As a strategy for learning linux I have decided to adopt using a lean windows based approach. I want to focus on command line machine system, network basics, and file management knowledge. In other words find out how desktop manager does it's business, so I know how to master my machine, but by and large once I have made my choices, leave it alone to do just that.

I figure I should know how applications are internally configured etc., but I also figure an apps GUI and config choices should take care of installations, and program usage as in M$ windows. Surely taking care of an applications dependencies are the responsibility of the developer, are they not?

I am working my way through "Rute User's Tutorial and Exposition (Version 1.0.0)" right now for an overall viewpoint. Can anyone suggest a specific source for a point by point explanation of the command basis of a generalised "desktop management" application (KDE,LXDE)? Better yet would be if it had some parallel comparison of the varied approaches taken by different distributions of linux.

A secondary question, is that allowed? Up to a certain point in Ms windows, a thorough knowledge of DOS 6.xx would theoreticaly enable one to more or less duplicate the actions of the windows overlay. Is there a basic distribution (or subset in all of them maybe?) of linux that would be consistent with that paradigm? What would be analogous to DOS batch files, or GM-Basic? Oh! that's 3.I am certainly appreciating the depth of this forum, and the breadth of knowledge among you forumite's. Reading it is time well spent.

View 7 Replies View Related

Software :: Getting Error When Running Make Command?

Jan 11, 2011

im trying to compile this file i ran the "cmake .." command and i just ran the "make" command and i got this error at the end

make[2]: *** [CMakeFiles/kmouse.dir/kinect_mouse.c.o] Error 1
make[1]: *** [CMakeFiles/kmouse.dir/all] Error 2
make: *** [all] Error 2

View 2 Replies View Related

Ubuntu :: Make Focus Window-shifter Alt-tab Under Compiz

May 9, 2011

I upgraded to 11.04 and now the mouse focus doesn't change to the newly-selected window when I switch between windows with Alt-tab.

View 2 Replies View Related

Slackware :: Possible To Keep Pan Instance Keep Running Remotely Ssh?

Feb 21, 2011

is it possible to run for instance pan remotely via ssh and make that instance of pan running on server, regardless upon closing it via ssh?for example i would love to do: start pan instance via ssh on the server keep it open while downloading close the ssh session, keep the pan running on the server in background. open ssh session and access the same instance of pan running on the server etc something in that loop.im unable to do that because when i close pan ssh remotely the instance automatically terminates on the server.

View 8 Replies View Related

Ubuntu :: X Apps Via SSH - Displaying Already Running Instance Of A Process

Jan 5, 2010

how to configure X11 forwadring over SSH so, that when I open any app over SSH, I get displayed window of a process that is already running on my server (in case its running ), not a new instance of it.

View 3 Replies View Related

General :: Can't Launch GUI From Command Line

Feb 22, 2010

I typed in sudo apt-get install ubuntu-desktop and it tells me it's already installed. Good. So it should work. I type sudo/etc/init.d/gdm start and the screen goes blank for 8 seconds three times in a row and then back to the command line. I have also tried gdm start without the path before and it says GDM already running. Aborting! I have 8.10 and it's a valid disk (no errors).

View 14 Replies View Related

General :: Can't Launch Command On Fedora

Jun 29, 2011

i should use Fedora and Ubuntu to learn about Linux but how to Launch the both OS in Command line mode to enable me learn some Linux command .

View 7 Replies View Related

Ubuntu :: How To Control Running Instance MPlayer From Bash Script

Nov 23, 2010

I am starting an instance of mplayer from a bash script, opening an audio stream:

Code:
mplayer [URL]

How do I do to control this mplayer instance from another script? I want to control volume and pause it from within the bash script. I know the commands for doing so from terminal, but once mplayer gets started from the script, how do I 'direct' the commands to that specific mplayer instance?

View 9 Replies View Related

Debian Multimedia :: Focus Is Trapped And Left Mouse Click Doesn't Transfer Focus?

Aug 9, 2011

I'm hit with a very annoying bug: mouse clicks do not give focus anymore, focus stays trapped and sometimes right clicking the element that last had focus allows the next left click to move focus. I'm running wheezy with kde. Searching the web it I found no solution but it seems my problem is close to what is reported there:e issue: after alt+tab the window decoration changes as if the focus had moved to the new window but it stays trapped in the previous window. Rebooting does not fix the issue.I have nvidia graphics set up with dual screen through the nvidia drivers but this setup has been working good for several months, so I don't think it's related.

View 4 Replies View Related

General :: Unable To Launch Gcc Through Command Terminal

Feb 7, 2010

I am unable to launch gcc through command terminal.I am using red hat platform.

View 4 Replies View Related

Server :: Using Apache As A Front End To A Running Tomcat Instance?

Jul 20, 2010

I am having a problem.I use Ubuntu 10.04 server edition.Two computers on LAN one with Public Ip A other with local (Class C IP)say it BWith a third computer in same subnet I can access a TomCat application running on B as http://Ip of B:8080/applicationI want to use A as a Reverse Proxy for this application to be reachable from internet.So on Googling I came across some thing known as mod_ajp I enabled that on my Server A asa2enmod proxya2enmod proxy_ajpa2enmod headersbut after that I am not able to understand as how do I define vhost to be able to forward HTTP request which come on A as www.myserver.com/appto B which I can see internally as http://Ip of B:8080/application so Tomcat on B handles this.

View 4 Replies View Related

Ubuntu :: Links From Widgets - Task Bar Shows An Instance Of Konqueror And Another Instance Of Firefox

Feb 15, 2010

I have KDE 4.4 and Firefox 3.6. Whenever I click a link from a plasmoid widget, it tries to open Konqueror and another instance of Firefox. The page actually loads in the opened Firefox window, but the task bar shows an instance of Konqueror and another instance of Firefox, that keeps loading for a while then close. See image below:

I currently have setup the browser default application as "firefox". If I set this option to use the default application, it opens in Konqueror and I don't see additional windows in the task bar. If I change the option to "firefox %u", then it exhibit the same issue, but the process is much faster, so the loading windows don't stay for long in the task bar. Additionally, it opens the link on a new Firefox window and opens the page twice. Although Konqueror is not loaded, the bouncing icon next to the mouse pointer shows up and stay for a while.

View 1 Replies View Related

Debian Installation :: Wheezy- No Running Instance Of Xfce4-panel?

May 15, 2011

I posted this same issue in the Xfce support forums this morning. So far, no replies. This morning, using Synaptic, I finally upgraded my main Wheezy Xfce 4.6 computer to Xfce 4.8. There were 225 upgrades, plus 33 new things to be installed. It has been about 2 weeks since I last fully upgraded that system, so I'm sure that not all of today's upgrades were directly related to Xfce 4.8.

I waited to upgrade as long as I did because Wheezy's been getting a steady stream of Xfce 4.8 upgrades for the past several days -- I wanted to wait until that stream stopped, to reduce the chances that I would run into an upgrade problem that was on the verge of being fixed.

The only issue I had was that, in the middle of the configuration step (for lib6, I think), it asked me to either stop or restart xscreensaver before continuing (so that I wouldn't get locked out of the current session), so I completely stopped xscreensaver.

View 5 Replies View Related

General :: Finding The Command Line To Launch An Application From A Terminal?

Sep 25, 2009

Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.

View 5 Replies View Related

Ubuntu Installation :: Where Is The Skype Icon Of The Running Skype Instance

Apr 30, 2011

Since there is no notification area any more in 11.04, where is the skype icon of the running skype instance?

View 2 Replies View Related

Ubuntu :: How To Make Amarok Launch Faster

Apr 26, 2010

I need a command to tell the alarm to start the playback of amarok on the morning, I also need a way to be able to see lyrics in amarok, and last, any tip on how to make the amarok launch faster? is takes like 5 min!
Amarok ver 2.3.0
Ubuntu karmic koala

View 6 Replies View Related

General :: Error When Running Make For Ns2.30 In Ubuntu 9.10

Mar 9, 2011

I need to use myevlavid2 on ns2 which is only supported for ns2 version up to ns2.30 (is not supported for newer ns2 versions): [URL] The NS installation went through well. After applying all the changes as given in the myevalvid2 installation guide, I ran the 'make' command, this is an extract of what I got:

[Code]....

View 6 Replies View Related

Ubuntu :: Make Skype Launch During The System Startup?

Sep 12, 2010

I know usually, on other systems, skype automatically starts. But not on my Ubuntu. How to make it to start?

View 3 Replies View Related

Ubuntu :: Make Nautilus Always Launch With - No-desktop Option?

Nov 5, 2010

If I am using LXDE or another non-Gnome desktop and want to use Nautilus as the file viewer it needs to be launched with the --no-desktop option (so nautilus does not load it's desktop image under the other DE).

I know there is a way to make it so whenever nautilus is launched it will not load the desktop (even if you do not pass the --no-desktop argument) but I do not recall how I did this last time! I believe it was a gconf value. Anyone know what this setting is/how I can accomplish what I am looking to do?

View 2 Replies View Related

Ubuntu :: Make A Script That Specifies How Much Ram To Launch Minecraft Server

Dec 25, 2010

I want to make a script that specifies how much ram to launch minecraft server with, so far I have:Code:read $ra
java -Xmx$raM -Xms$raM -jar minecraft_server.jar noguibut I knowthat that won't work because there is the M at the end of the variable $ra, is there a way I could make this work? I believe that the M at the end is required to specify the measurement unit.

View 1 Replies View Related

Ubuntu :: Launch A Root Command In The Boot In 11.04?

Jun 20, 2011

In a computer, the brightness can't be changed with the fn key (and the brightness starts at 100%) :S I can set the brightness with this command from a shell: sudo setpci -s 00:02.0 F4.B=25 In Ubuntu 10.04 worked set this command in /etc/rc.local But in Ubuntu 11.04 I did this, but it didn't work. In which file can I set a root command in the boot in Ubuntu 11.04?

View 3 Replies View Related

General :: Does Running Commands Verbosely Make Them Slower

Jul 20, 2011

I've found myself using the -v flag for lots of applications less and less (especially for trivial stuff like tar and cp). However, when I did and I was, say, unzipping a large file, it would take longer than when I didn't use the -v flag.I assume this is because the terminal has to process the text and I'm filling up whatever buffer it might have. But my question is, does this make the application actually run slower or does it complete in the same amount of time and what I'm seeing is the terminal trying to catch up?

View 5 Replies View Related

General :: Using One Command "make UImage" Getting Error 127 Command Not Found?

Feb 23, 2010

I am doing some embeded linux work in ARM 9263.So I need to make a image for that board.But when I using one command "make uImage" I am getting the following error.

make: arm-linux-gcc: Command not found
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
HOSTCC scripts/basic/fixdep
code....

View 4 Replies View Related

Ubuntu :: Launch Software Center From Command Line?

Feb 4, 2010

I'm trying to track down a problem with the Ubuntu Software Centre.How do I launch it from the command line? or is there any command which would list any errors in the software centre package?

View 2 Replies View Related

General :: Make Second Program Running With CPU Time Limit 2 Seconds?

May 16, 2011

Linux bash inline command to execute a program and limit the resource.As I know, to limit the resource I can use ulimit command.But, the problem is when I set the CPU time limit 1 second, and then I want to execute another program with CPU limit 2s, the ulimit command return an error like this: bash: ulimit: CPU time: cannot modify limit: Operation not permitted and absolutely my program killed in 1 second.So, How can I make the second program running with the CPU time limit 2 seconds?

View 3 Replies View Related







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