LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2018, 07:53 AM   #1
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Rep: Reputation: 10
Question Help with GUI Custom Command


I hope the title makes sense. I am playing around with the quick launcher in Mint 18.3 Cinnamon and running custom commands.

Code:
waterfox --new-window https://youtube.com
This got me the desired effect of opening up a new browser window and pointing it to a website, regardless of how many windows and tabs I have running. Is there a flag I can add to that to make it open on a certain monitor?

Also- where is a list of command options for creating these types of commands? I was searching DDG but didn't find said gold mine.

Thanks guys!

~T
 
Old 06-18-2018, 08:29 AM   #2
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
I was able to get this-
Code:
mint18@Mint18 ~ $ waterfox --display="DP-1" http://google.com
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Broadway display type not supported: DP-1
Error: cannot open display: DP-1
I am kind of shooting in the dark but getting closer (I think)
 
Old 06-18-2018, 09:02 AM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,632

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
you should search --display and how to use it. keywords, --display x11 linux

https://stackoverflow.com/questions/...cify-a-display
 
Old 06-18-2018, 09:40 AM   #4
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by BW-userx View Post
you should search --display and how to use it. keywords, --display x11 linux

https://stackoverflow.com/questions/...cify-a-display
Awesome!! Thank you! I should of known to add the keyword X11 when searching...

I appreciate the help with that!

~T
 
Old 06-19-2018, 09:26 AM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
I think the --display=:0, or so.
 
Old 06-20-2018, 03:20 PM   #6
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by AwesomeMachine View Post
I think the --display=:0, or so.
You are correct about that- the weird thing is with my setup both monitors are display 0. How do I specify which monitor on display 0?

Thanks!

~T
 
Old 06-20-2018, 08:24 PM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware FreeBSD Win10 MX
Posts: 9,632

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
this might help, looks like you got configure your monitors.

https://www.gamingonlinux.com/articl...s.10352/page=4
 
Old 06-20-2018, 08:45 PM   #8
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by BW-userx View Post
this might help, looks like you got configure your monitors.

https://www.gamingonlinux.com/articl...s.10352/page=4
Hey thanks BW! This will be my project for tonight! I will have the coffee pot going for sure. I have never run a dual monitor setup before this one and I guess I felt like everything was "all good" just because they both displayed different parts of the environment. Turns out, I need to still set them up correctly

I will post back up any problems or tips once completed.

Thanks!

~T
 
Old 06-20-2018, 09:02 PM   #9
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,511

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
With a dual monitor setup both monitors are on the same xserver display. I'm not sure if it's possible to to have 2 xserver displays on 2 different monitors and the mouse and keyboard for both of them.
 
Old 06-20-2018, 09:15 PM   #10
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by AwesomeMachine View Post
With a dual monitor setup both monitors are on the same xserver display. I'm not sure if it's possible to to have 2 xserver displays on 2 different monitors and the mouse and keyboard for both of them.
Ya, I don't think you can. I am just wanting to choose where certain programs open and run. It would be neat to have the second monitor environment "turn off" when it's not powered on to save on processes.

Turns out, I have my primary monitor already defined...

~T
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
boot to custom GUI scinerd Linux - Software 3 03-30-2013 02:31 PM
How to create a custom GUI environments manio11 Red Hat 6 08-16-2012 04:25 AM
GUI - Custom Polygon Window action_owl Programming 2 06-12-2009 10:34 AM
Custom GUI? redfedora88 Linux - General 8 04-18-2005 03:58 PM
Custom GUI snoodles Fedora 3 03-26-2005 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration