Ubuntu :: Launching A Program From Terminal To A Specific Viewport (Compiz)?

Mar 18, 2011

Anyone know how to launch a program from CLI (command line) to a specific viewport? I start programs all the time from the CLI and there are times when I'm in "typing demon" mode and don't want to touch the mouse. Being able to launch a program to a certain viewport (Compiz, w. effects) would be really helpful at times.

I'm familiar with wmctrl and i can use the -a and -c options to switch to and close windows fine. I only have 1 desktop (9 viewports, though), and wmctrl's support for viewport seems limited at best. Ideally, I'd like to launch a program to a specific viewport, but just being able to move an existing one to a specific viewport would work, too.

Please note: I'm talking about moving apps to viewports AD HOC or DYNAMICALLY, not in a fixed way like I believe devilspie and such (and Compiz' Place plugin). Depending on my task, I need to quickly launch several apps to different viewports, and this VARIES for me a lot. ubuntu 10.04 lts / gnome / compiz w. full effects

View 2 Replies


ADVERTISEMENT

Ubuntu :: Compiz Place Windows To Viewport AND Switch To Viewport

May 2, 2011

I wondered whether there is a way in Compiz (or some other way) of not just assigning particular applications to default workspaces, but also, when an application is opened, to switch to the designated workspace automatically.

(That is, "follow" the active application) So suppose: Firefox is assigned to workspace 2. I am currently in workspace 1, where I launch Firefox. Firefox opens in workspace 2, but I myself am still in workspace 1.What I wonder then is: Is there a way of following Firefox, so to speak? That is, in my example, that I switch automatically to workspace 2

View 1 Replies View Related

General :: Xvnc Sessions Do Not Allow Program Or Terminal Launching?

Feb 12, 2010

I just added 8 additional vncserver sessions(Xvnc) (using a well-documented procedure my predecessor used) to my RH Enterprise 2.4.21-4 (OK it went by fast) server. This brings the number of session listed in my /etc/sysconfig/vncservers file to ~32. Applications and terminals now seem to choose if they will open or not in the Xvnc session and not all sessions start at boot. I can start them manually, and they will work, but then they stop working properly. You can open a session, view the active desktop, click on menus and associated drop-down items to try and open apps, but the apps/terminals just won't open. Is there a limit to the number Xvnc Sessions that can be managed? If so, what is it? This happens whether I try to connect from a Winddows box or another Linux box.

View 3 Replies View Related

Ubuntu :: Workspaces - Program Go To A Specific Workspace Using Compiz?

Sep 13, 2010

I'm trying to make every workspace its own workspace basically including the bottom panels and their windows, e.g firefox, gimp etc... I want every workspace to to truly be its own workspace. If I open a window in work space 2, it should stay only appear in workspace 2. 1.How would I do that using compiz? I'd love to be able to have my virtualbox windows, go specifically to workspace 3. 2.Whats the best way to have a program go to a specific workspace using compiz?

View 4 Replies View Related

Ubuntu :: Run Program In Terminal With A Terminal Specific Profile From GUI

Dec 12, 2010

I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:

Code:

gksu chkrootkit

with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:

Code:

gnome-terminal --profile=<profile_name>

how do I incorporate this within the Command entry line of the launcher?

View 1 Replies View Related

Ubuntu :: Compiz Cube, Applications From Last Viewport On All Sides?

Apr 19, 2010

I have managed to get Compiz Desktop Cube working with 4 viewports. Everything is great but I have noticed the that cube will show the running applications in the bottom panel, from the previously active viewport, on all sides of the cube.

Anyone know how to set it so that the bottom panel on each side of the cube displays only the applications that are running in the currently visible viewport? I hope that's clear because I'm not 100% sure of the terminology.er to determine the viewport you are looking for.

View 3 Replies View Related

Ubuntu :: Compiz Cube Disables Vertical Viewport Switching

May 13, 2010

I have sixteen workspacess arranged in a 4x4 square. When the Compiz desktop cube is enabled, I can only switch between four of them on a row. All keys that would otherwise allow me to switch up and down between rows are disabled, even the ones I set outside of Compiz.

What is worst is that even the Window switchers are unable to change the current row I am on. If I use the Ring, Shift or Static switchers' "All Workspaces" modes, I can see the windows on all sixteen workspaces - but trying to switch to a window that is above or below the row I am currently on will only rotate around to the correct workspace's column, but not actually bring up the workspace the window is on. To navigate between all workspaces, I have to use the "Expose" feature.

Is there any way I can have a cube for horizontal navigation, but keep ordinary vertical navigation?

View 1 Replies View Related

Ubuntu :: Lock A Program To A Viewport?

Nov 22, 2010

I was wondering, is there any way I can put a program on a certain workspace so that whenever I login, the program will start at the spot I want?

Because I tend to have:

Chromium - 1st viewport
Gwibber and empathy - 2nd viewport
Rhythmbox - 3rd viewport
Everything else - 4th viewport

I'm running Pinguy OS, if that changes anything.

View 2 Replies View Related

Programming :: Bash Script For Automatic Viewport Changing And Other WM Stuff (works With Compiz)?

Oct 18, 2010

I had to make for work a collectd based network monitoring system which displays data for each server in a fullscreen conky on different compiz viewports. I have to switch viewports automatically when the machine isn't operated (sorta screensaver) and also if i had to call attention in the case something bad happens, autoswitching should stop and the relevant viewport be showed up.This requires an interface to talk dynamically to the WM, which i've implemented in bash with support of the widely available "wmctrl" program.

Code:
http://paste2.org/p/1177045
Code:

[code]...

View 8 Replies View Related

Ubuntu :: Disable Compiz When Launching Game In Unity-3d (otherwise GL Games Are Unplayable)?

Apr 28, 2011

How do I temporally disable compiz when in unity-3d so that I can play a game at the correct speed (with compiz enabled I get about 20% of the speed I get with compiz disabled) I have tried a script with

metacity --replace &
./game
compiz --replace &
But this makes an unusable desktop.

I know I can use unity-2d but that seems to be worse in terms of usability.. I also know I can use gnome2 but whats the point when that will be missing in the next release . Is there anyway of doing this in unity-3d? Are there any plans (possibly from compiz) to ever do this automatically ?

One thing that worries me is that a new user will try a opengl game and think that Linux is far slower than Windows at games (which if you have a nvidia card with the binary driver is not true)

View 9 Replies View Related

Ubuntu :: Command Not Found After Launching Terminal?

Jan 26, 2011

As soon as I launch terminal I get the following:

[...]: command not found
[...]: command not found

And it then goes to a $~ prompt as usual. How do I make it so the two commands it is trying to launch don't run upon launching terminal?

View 5 Replies View Related

Ubuntu Servers :: Launching A Gui Program On A Remote Computer?

Aug 14, 2010

Is it possible to use ssh to launch a program and it's gui on a remote computer? I've tried connecting with ssh -X computer@ipaddress but when I launch gedit it loads on the local computer

View 9 Replies View Related

Ubuntu :: Launching Program From Main Menu Fails?

Oct 8, 2010

I'm running GuitarPro6 on my EeePC, and it will only start correctly if I start it from a terminal, in the install directory (/opt/GuitarPro6)

If I attempt to start it from somewhere else, like ~/, I get a library error. GP appears to want to look for this library in the working directory, and will only find it and start if I CD to /opt/GuitarPro6 first.

For this reason, I believe, when I click on the shortcut I made in Main Menu, nothing happens.

Is there any way to define the working directory for a shortcut in Main Menu?

View 2 Replies View Related

Debian :: Terminal In GUI Environment Not Launching

Aug 26, 2015

I got a problem with the terminal in GUI Environment after i upgraded it From debian 7 to 8 "it's not launching" ....

Root Terminal is Working....

View 3 Replies View Related

Ubuntu :: Launching Terminal Apps In URXVT Automatically

May 12, 2011

Problem with use of -hold|+hold on rxvt-unicode (urxvt) v9.09 on ubuntu server. On startup, I'm trying to launch terminal apps in urxvt automatically. E.g:
Code:
"urxvt -e /usr/bin/weechat-curses +hold"
or
Code:
"urxvt -hold -e mutt"

However, -|+hold does not seem to hold the terminal open. There is a flicker of a new window opening & then it's gone. I'm trying to invoke this from .xinitrc (startx-->.xinitrc) and also tried commands from inside awesome wm rc.lua (awful.util.spawn_with_shell("urxvt -hold -e mutt") seem to get same flicker result but closes immediately. I see this error in .xsession-errors, which might be relevant (do I perhaps need to specify the display??).

Code:
[1461:1634:41805904:ERROR:all_status.cc(117)]
Unrecognized Syncer Event: 7
E: awesome: a_xcb_io_cb:230: X server connection broke
urxvt: X connection to ':0' broken, unable to recover, exiting.

Code:
rxvt-unicode (urxvt) v9.09 - released: 2010-11-13
options: perl,xft,styles,combining,blink,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,afterimage,XIM,frills,selectionscrolling,wheel,slipwheel,smart-resize,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
Usage: urxvt [-help] [--help]
...
[-n string] [-sl number] [-embed windowid] [-depth number]
[-/+override-redirect] [-pty-fd fileno] [-/+hold] [-w number] [-b number]
[-/+bl] [-lsp number] [-letsp number] [-/+sbg] [-mod modifier] [-/+ssc]
[-/+ssr] [-pe string] [-blt string] [-e command arg ...]

Code:
~$ awesome -k
✔ Configuration file syntax OK.
link to urxvt man: [URL]

View 7 Replies View Related

Ubuntu :: Stop User - From Launching A Browser From Terminal

Jun 30, 2011

How do I stop a user, from gaining access to the internet(port) via a restricted browser? In other words, I want a general user to only to have access to Firefox and no other browsers.

My first approach so far, has been to write a bash shell script. It terminates a program based on keywords from known browsers (opera, asus, ect).

View 9 Replies View Related

Fedora :: Run Graphical Apps As Su Without Launching From The Terminal?

Jan 8, 2010

Is there a way to run graphical apps as su without launching from the terminal? For example is there a way to open File Browser as su? And if the only way is via the terminal, then how can I find out the names of apps like the File Browser so I can launch them?

View 8 Replies View Related

General :: Launching TMUX Using Gnome Terminal

Oct 18, 2010

I'm a little confuse regarding how one launches tmux. When I launch my terminal (current gnome-terminal), I would like to have tmux up and running. I'm currently doing this by calling "tmux" in my .zshenv (kind of like .bashrc in bash). This does in fact launch tmux, but has some annoying side effects. First, hitting Ctrl-D to exit the shell, only kills tmux, and leaves the tmux-less gnome-terminal still running. An additional Ctrl-D will kill that as well. Second, when ssh into a box with this setup, I get a second, nested instance of tmux. I don't want tmux to launch again when I ssh. Is this the right approach, how should tmux be launched usually?

View 2 Replies View Related

Programming :: Launching A Terminal Command With A Qt Button?

Feb 9, 2010

I've created a QT interface with some buttons and labels, and i want to launch a terminal command with one of these buttons,but the command maust starts with "sudo",unfortunately it didn't work because it wants root password and i can't enter it even in the Button cammand....

View 6 Replies View Related

Software :: X-server Segmentation Fault On Program Launching?

Apr 14, 2010

Having upgraded Debian Linux i386 squeeze release from kernel 2.6.30 to 2.6.32 everything works except X-server segmentation fault on launching a graphic program (CHIMERA, [URL]... I have successfully recompiled CHIMERA on the updated Linux, to no avail.

Below - between *** - the final part of "Xorg.0.log" reporting troubles. Before that, the log is identical to when X-server is working properly (reported in full between ).

[Code]...

View 5 Replies View Related

Fedora :: Launching GUI From Terminal - VNC Closes And Won't Show A GUI Login Page

Aug 20, 2009

Having logged in (to Fedora 11) with a terminal session, what command do I give to spawn the Gnome GUI desktop environment? Background: I'm running two Fedora boxes: one local, and one at the other end of my building (on fast LAN). I have full control/ownership of both boxes.

On the local box, I log-in to my vanilla F11 build, and I get the Gnome GUI automatically. Then I can open a terminal window, 'ssh -X -l myself remotebox; cinelerra' to run Cinelerra nicely in local desktop windows.

But sometimes I want to see my typical user desktop for the remote box. Now, IF the remote box is ALREADY running Gnome, I can VNC to it, etc. But, once having logged-out of the remote box, VNC closes and won't show me a GUI login page. (BTW: The remote box usually has no monitor, as well as being out of reach. So schlepping over to logon to it is a real pain.) So, here's the thing: I can login (to terminal session) and can bring up programs in local windows. But WHAT program do I launch in order to bring up Gnome??

View 3 Replies View Related

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

General :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

Ubuntu :: Terminal Commands / Getting Into Usb Pen Drive From The Terminal To Run A Program?

Feb 10, 2011

i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused

This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.

so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.

Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.

View 5 Replies View Related

Ubuntu :: Run Program From Terminal And Then Close The Terminal?

Mar 30, 2010

i have a seemingly simple desire but i cant get it right. my .xinitrc is as follows

openbox
sleep 5
xfce4-panel

since that only starts openbox

i would like to know how to get it to also start the xfce panel

also how can i run say firefox from a term and be able to close that term window without killig FF?

View 2 Replies View Related

General :: Launching A Task From Cli And Divorcing It From Terminal Task?

Feb 10, 2011

How do you launch a task from a terminal command line interface and it not be kill'ed if you close the terminal window. Like if I run jedit I type jedit & which launches jedit as a backgorund task. But, if I close terminal window, jedit dies to. How do I laucnch jedit and completely divorce it from the terminal task?

View 6 Replies View Related

Ubuntu :: Use A Processor For A Specific Program?

Aug 27, 2010

Can I set up my system to use a specific processor to do one task, and another processor for normal applications.

Say for example, I'm using a program that relies heavily on your processor, I have a dual core, so I can use one core for that, and another for normal applications.

View 1 Replies View Related

Ubuntu Installation :: Translations Of A Specific Program?

Jan 30, 2010

I installed ubuntu 9.10 in english on a desktop pc. other users of that machine need to use it in other languages, and I was wondering if it is possible to install translations of specific programs like banshee, digikam, etc. and how to do it.

View 1 Replies View Related

Ubuntu :: Program To Specific Network Interface?

Mar 23, 2010

Is there a way to make a program use a specific network interface ? When using my laptop at work i may be physicaly connected to multiple networks. i was wondering if i can make sure that certain applications use a specific network interface. I would google around for the answer but i cant figure out how to phrase it correctly for a search.

View 2 Replies View Related

Ubuntu :: Compiz Drag Program To Next Workspace?

Apr 27, 2010

Just installed most recent 64-bit Lucid RC last night and after fiddling around through Compiz, I cannot figure out how to drag an open program over to the next desktop workspace.
I use 4-workspaces (4x1) and while running 9.10, I could grab the title bar of an open program and drag it from workspace 1 to 2 or 3.
Now I can right click the title bar then move to another workspace or drag the program halfway into the next work space '2', then click over to workspace '2' and complete the move. But I would like to be able to completely drag it over again.
How is this accomplished?

View 5 Replies View Related







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