Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running GNU Emacs 24.2.1 on a Windows7 computer with three screens. How can I tell emacs the screen I'd like it to start in? Dragging my Emacs window across screens is exhausting. ;)

share|improve this question
    
maybe better superuser? As it isn't directly related to programming, perhaps asking as general how to I make a program start on a specific screen? (sorry can't help you, no windows here) –  Doon May 9 '13 at 15:24
    
+1 for making your motivation clear –  TooTone May 9 '13 at 15:33
    
@Doon - I asked here, because Emacs tends to have many obscure, special-purpose variables and functions, and it also has some special coommand-line arguments. However, I have to admit, I'm not too familiar with SuperUser, and which questions are better posed there. –  kc2001 May 9 '13 at 15:48
add comment

migrated from stackoverflow.com May 9 '13 at 16:15

This question came from our site for professional and enthusiast programmers.

1 Answer

on windows xp just now I tried using the -geometry command-line option. I found that increasing the x-offset was sufficient to determine which monitor emacs appeared on. As explained here, you can simply edit the properties of your windows shortcut to add the extra argument.

1st monitor

C:\emacs-24.2\bin\runemacs.exe -geometry +100

2nd monitor

C:\emacs-24.2\bin\runemacs.exe -geometry +1400

This worked on xp for me; hopefully will work on win7 for you.

share|improve this answer
    
+1 I'm hoping for an answer that lets me explicitly specify a screen. However, I consider this to be a clever hack, and I hadn't thought of specifying a large x-offset to force the emacs window over to the next screen. Cheers! –  kc2001 May 9 '13 at 15:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.