View previous topic :: View next topic |
Author |
Message |
Beav n00b
Joined: 03 Nov 2012 Posts: 2
|
Posted: Thu Nov 15, 2012 3:54 am Post subject: Loading a Terminal on Second monitor on boot. |
|
|
I ssh into my computer alot from work. I have KDE set to autorun xterm tmux on login, which is great but i use my second monitor solely for a terminal and it loads the xterm on my main display. So what ive been trying to do for about a week now is get that xterm to load on my second monitor vs my main display..
any ideas? help? ive googled all over the place and cant find any refrences to anything that im trying to do -.- any help would be greatly appreciated!
*Edit* Or even a way to keep a xterm hidden in the background that would even be better
*Edit* the usual "xterm tmux > /dev/null &" does what its supposed to but still displays the xterm window instead of fully minimizing it to the background |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Thu Nov 15, 2012 7:52 am Post subject: |
|
|
are you trying to use multiple terminals or multiple monitors?
here's the guide to setting up 2 monitors:
http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors
you can switch the terminal by using <crtl>+<alt>+<F1-7> ( in my case I have f1-6 running regular terminals and f7 running a pseudo-terminal(gui) not sure this is teh general case)
hope I've been helpful |
|
Back to top |
|
|
Beav n00b
Joined: 03 Nov 2012 Posts: 2
|
Posted: Thu Nov 15, 2012 1:58 pm Post subject: |
|
|
blakdeath wrote: | are you trying to use multiple terminals or multiple monitors?
here's the guide to setting up 2 monitors:
http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors
you can switch the terminal by using <crtl>+<alt>+<F1-7> ( in my case I have f1-6 running regular terminals and f7 running a pseudo-terminal(gui) not sure this is teh general case)
hope I've been helpful |
Well I already have my multiple monitors working -.- heres what im trying to do
Code: | #~/test
exec xterm tmux > /dev/null 2>&1 &
echo sleeping
sleep 3
exec wmctrl -k on #Minimizes ALL windows on current display
|
^ works great but....
Although I want that to run on my left of monitor because when something minimizes it doesnt show in the tray so its kind of like its hidden. This way theres always a fresh instance of tmux (screen 0 that i can connect to via ssh or through my regular konsole |
|
Back to top |
|
|
alexcortes Apprentice
Joined: 18 Dec 2011 Posts: 205 Location: Rio de Janeiro, Brazil
|
Posted: Sun Nov 18, 2012 8:59 pm Post subject: |
|
|
If you only use the second monitor for terminal, try to use a independent X setup. Perhaps you will need to login two times but you may run something like fluxbox on terminal only monitor(I like Sakura fullscreen mode). |
|
Back to top |
|
|
|