Can I launch game from steam at fullscreen on external monitor on laptop?

113

Solution 1

I was able to get it working in Ubuntu 14.04 under the display settings under "Launcher Placement" selecting the monitor I wanted my apps to launch on. Hope this helps! Now Dota 2 launches on my primary full screen! WEWT

Solution 2

I had this problem, still have it I guess. The only way I was able to fix it was to make the monitor I wanted the game on to start at pixel 0,0. My 19" 4:3 was on the left and my 22" 16:9 was on the right and Dota 2 was forever launching on the left monitor no matter where I put the launcher.

I swapped the monitors (logically, mind you), so that the 22" 16:9 was on the left beginning at 0,0 and Dota2 launched on the widescreen properly.

Share:
113

Related videos on Youtube

kristyna
Author by

kristyna

Updated on September 18, 2022

Comments

  • kristyna
    kristyna over 1 year

    I tryed to create two dependent spinners. I know there is more than enough of this type of question, but nothing fixed my problem. It seems onItemSelected does not fire at all. I want the second (townships_spinner) change when first spinner (divisions_spinner) is selected or changed. Let's say I have states and cities, when I select the state a want to display only cities from given state. Spinners are created dynamicaly.

    That's my code:

    public class RegistrationActivity extends Activity implements AdapterView.OnItemSelectedListener {
      protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ...
        createLayout();
      }
    
      public void createLayout(){
        division_spinner = new Spinner(this);
    
        ArrayAdapter division_adapter = new ArrayAdapter(this,R.layout.spinner,divisions.getList());
        divisions_id = viewer.getValueByKey(viewer_form.getViewers_form_viewers_inputname());
        division_spinner.setAdapter(division_adapter);
        division_spinner.setSelection(divisions.getIndex(divisions_id));
        division_spinner.setOnItemSelectedListener(this);
    
        township_spinner = new Spinner(this);
        ArrayAdapter township_adapter = new ArrayAdapter(this,R.layout.spinner,townships_map.get(divisions_id));
        if (divisions_id == null) {
          township_spinner.setEnabled(false);
        }
        String value = viewer.getValueByKey(viewer_form.getViewers_form_viewers_inputname());
        township_spinner.setSelection(townships.getIndex(value, divisions_id));
      }
    
      public void onItemSelected(AdapterView<?> arg0, View arg1, int arg2,long arg3) {
    
        Toast.makeText(RegistrationActivity.this, "Yes",Toast.LENGTH_LONG);
        if(arg0.equals(division_spinner)) {
            Toast.makeText(RegistrationActivity.this, "Yes - You got it!",Toast.LENGTH_LONG);
    
            township_spinner.setEnabled(true);
            ArrayAdapter township_adapter = new ArrayAdapter(this, R.layout.spinner, townships_map.get(((Division)division_spinner.getSelectedItem()).getDivisions_id().toString()));
            township_spinner.setAdapter(township_adapter);
        }
      }
    
      public void onNothingSelected(AdapterView<?> arg0) {
    
      }
    }
    

    But "Yes" even "Yes - you got it!" toast does not appear.

    I guess I miss something stupid, but I cant find it.

  • Patryk
    Patryk almost 11 years
    I am doing the same thing as you. Hopefully someone with a solution answer this question :(
  • Patryk
    Patryk almost 10 years
    Can't test it now but I'll try it for sure:)
  • kristyna
    kristyna over 8 years
    Thanks for answer, but my code works as well. I miss something really stupid... Toast.makeText( ).SHOW() ... my fault, I'm so sorry... +1 for the .show()
  • Garrett
    Garrett almost 5 years
    This worked for me with Dota 2 on Ubuntu 18.04 (with Unity). (go to gear icon in top right -> System Settings -> Display)