Re: [ubuntu-uk] Open Terminal Command on Secondary Monitor

2009-02-23 Thread Harry Rickards
Thanks for all the help everyone. The command I'm using now that works is

'xfce4-terminal --geometry 80x25+1280+0 --fullscreen --hide-toolbars  
--hide-borders --hide-menubar &'

which opens up the XFCE terminal on my second monitor (the first one  
has a resolution of 1280x1024). I did have a look at wmctrl and  
devilspie, and they look as though they would work, although  
--geometry doesn't require an extra app so works better for me. Place  
Windows also looks as though it would work, but as I said I don't  
usually run Compiz.

Many thanks
Harry Rickards


Quoting Paul Sladen :

> On Sun, 22 Feb 2009, Paul Sladen wrote:
>> On Sun, 22 Feb 2009, Harry Rickards wrote:
>> > command  to be opened on a secondary monitor from a terminal
>> Sadly, I tested "-geometry" with gnome-terminal and it doesn't understand
>
> However; formatting it as:
>
>   gnome-terminal --geometry=80x25+1024+0
>
> *does* work!
>
>   -Paul
> --
> Why do one side of a triangle when you can do all three.  Somewhere, GB.
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>



-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Open Terminal Command on Secondary Monitor

2009-02-23 Thread Paul Sladen
On Sun, 22 Feb 2009, Paul Sladen wrote:
> On Sun, 22 Feb 2009, Harry Rickards wrote:
> > command  to be opened on a secondary monitor from a terminal
> Sadly, I tested "-geometry" with gnome-terminal and it doesn't understand

However; formatting it as:

  gnome-terminal --geometry=80x25+1024+0

*does* work!

-Paul
-- 
Why do one side of a triangle when you can do all three.  Somewhere, GB.


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Open Terminal Command on Secondary Monitor

2009-02-23 Thread azmodie
try Install either "wmctrl" or "devilspie".

http://burtonini.com/blog/computers/devilspie
http://www.sweb.cz/tripie/utils/wmctrl/

azmodie

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Open Terminal Command on Secondary Monitor

2009-02-23 Thread Harry Rickards
Thanks, I'll try it later as I'm currently on a public computer. I was  
planning to use xfce4-terminal, not gnome-terminal though, does anyone  
know if xfce4-terminal works with the -geometry option.
Quoting Paul Sladen :

> On Sun, 22 Feb 2009, Harry Rickards wrote:
>> command  to be opened on a secondary monitor from a terminal
>
> X applications (all of them) historically supported the "-display" and
> "-geometry" options on the command line:
>
>   xterm -geometry 80x25+1024+0
>
> Which if you secondary monitor is 1024 pixels to the right should place it
> on that monitor.  A '-' instead of the '+' causes right-alignment instead.
> Originally you used to have to run a separate X server for each monitor, and
> that is what '-display :1' is for (you might also come across it for X
> forwarding, or ssh and other special cases), but now there is Xinerama.
>
> Sadly, I tested "-geometry" with gnome-terminal and it doesn't understand
> the traditionally-understood options.  These is probably some way to put
> this options in a Window Manager configuration file too; but my memory blurs
> back to fvwm2 and that's maybe not relevant any more...
>
> Hope that helps,
>
>   -Paul
> --
> Why do one side of a triangle when you can do all three.  Somewhere, GB.
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>



-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Open Terminal Command on Secondary Monitor

2009-02-22 Thread Paul Sladen
On Sun, 22 Feb 2009, Harry Rickards wrote:
> command  to be opened on a secondary monitor from a terminal

X applications (all of them) historically supported the "-display" and
"-geometry" options on the command line:

  xterm -geometry 80x25+1024+0

Which if you secondary monitor is 1024 pixels to the right should place it
on that monitor.  A '-' instead of the '+' causes right-alignment instead.  
Originally you used to have to run a separate X server for each monitor, and
that is what '-display :1' is for (you might also come across it for X
forwarding, or ssh and other special cases), but now there is Xinerama.

Sadly, I tested "-geometry" with gnome-terminal and it doesn't understand
the traditionally-understood options.  These is probably some way to put
this options in a Window Manager configuration file too; but my memory blurs
back to fvwm2 and that's maybe not relevant any more...

Hope that helps,

-Paul
-- 
Why do one side of a triangle when you can do all three.  Somewhere, GB.


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Open Terminal Command on Secondary Monitor

2009-02-22 Thread Harry Rickards
Thanks, I'll take a look at Place Windows. I don't usually have Compiz  
running, but have it installed, so I can run it if necessary. It would  
be good if the command did always run on the second monitor, as I'll  
probably set it to run as a startup script.


Quoting Neil Greenwood :

> 2009/2/22 Harry Rickards :
>> Does anyone know of any tool that allows for a command (I want to use
>> xfce4-terminal with some options) to be opened on a secondary monitor
>> from a terminal on the first?
>>
>
> Do you have Compiz running? Do you always want that command to only
> appear on the secondary monitor?
>
> If so, there's a plugin that will do it, IIRC. I haven't used it,
> since I've only got one screen on my laptop :-( I think it's 'Place
> Windows' under Window Management.
>
> HTH
> Cofion/Regards,
> Neil.
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>



-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Open Terminal Command on Secondary Monitor

2009-02-22 Thread Neil Greenwood
2009/2/22 Harry Rickards :
> Does anyone know of any tool that allows for a command (I want to use
> xfce4-terminal with some options) to be opened on a secondary monitor
> from a terminal on the first?
>

Do you have Compiz running? Do you always want that command to only
appear on the secondary monitor?

If so, there's a plugin that will do it, IIRC. I haven't used it,
since I've only got one screen on my laptop :-( I think it's 'Place
Windows' under Window Management.

HTH
Cofion/Regards,
Neil.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/