Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Loading a Terminal on Second monitor on boot.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Beav
n00b
n00b


Joined: 03 Nov 2012
Posts: 2

PostPosted: Thu Nov 15, 2012 3:54 am    Post subject: Loading a Terminal on Second monitor on boot. Reply with quote

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
View user's profile Send private message
blakdeath
Guru
Guru


Joined: 21 Sep 2012
Posts: 464

PostPosted: Thu Nov 15, 2012 7:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Beav
n00b
n00b


Joined: 03 Nov 2012
Posts: 2

PostPosted: Thu Nov 15, 2012 1:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
alexcortes
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2011
Posts: 121
Location: Rio de Janeiro, Brazil

PostPosted: Sun Nov 18, 2012 8:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum