- greenwell0912
- Posts: 3
- Joined: Thu Dec 24, 2020 10:32 pm
tkinter マルチディスプレイ HDMIポート指定
マルチディスプレイ環境で、tkinter でGUIアプリを起動すると、HDMI0 で表示されたり、HDMI1で表示されたりします。
必ず HDMI0 で表示するように設定したいのですが、方法はありますか?ご教示いただけると幸いです。
必ず HDMI0 で表示するように設定したいのですが、方法はありますか?ご教示いただけると幸いです。
Re: tkinter マルチディスプレイ HDMIポート指定
環境が分からないので, 一部しか指摘できないが ...
少なくとも X11 らしいけど, GUIアプリの表示位置を決めているのは Window-managerです。例えば GNOME, KDE などの DE(desktop environment: デスクトップ環境) あるいは tvmなどの Window Manager ... そのような処理が管理しています。
Ubuntuを使っているなら最初から入ってるのは GNOME。Debianは (手元では)GUI使ってないので何が使われてるか不明
Ubuntuの場合 この辺りが参考になるかも知れません
(ワークスペースを, どのようにスクリーンに割り当てるか?みたいな)
少なくとも X11 らしいけど, GUIアプリの表示位置を決めているのは Window-managerです。例えば GNOME, KDE などの DE(desktop environment: デスクトップ環境) あるいは tvmなどの Window Manager ... そのような処理が管理しています。
Ubuntuを使っているなら最初から入ってるのは GNOME。Debianは (手元では)GUI使ってないので何が使われてるか不明
Ubuntuの場合 この辺りが参考になるかも知れません
(ワークスペースを, どのようにスクリーンに割り当てるか?みたいな)
- how-can-i-make-gnome-shell-treat-both-monitors-in-the-same-way
- Ubuntu 20.04 LTSをインストールした直後に行う設定 & インストールするソフト
Code: Select all
$ xeyes -geometry +500+200 # X軸 Y軸指定
$ xclock -geometry -100+100 # 右画からの位置指定
$ xcalc -geometry 200x300+200-100 # サイズも指定
Jump to
- Community
- General discussion
- Announcements
- Other languages
- Deutsch
- Español
- Français
- Italiano
- Nederlands
- 日本語
- Polski
- Português
- Русский
- Türkçe
- User groups and events
- Raspberry Pi Official Magazine
- Using the Raspberry Pi
- Beginners
- Troubleshooting
- Advanced users
- Assistive technology and accessibility
- Education
- Picademy
- Teaching and learning resources
- Staffroom, classroom and projects
- Astro Pi
- Mathematica
- High Altitude Balloon
- Weather station
- Programming
- C/C++
- Java
- Python
- Scratch
- Other programming languages
- Windows 10 for IoT
- Wolfram Language
- Bare metal, Assembly language
- Graphics programming
- OpenGLES
- OpenVG
- OpenMAX
- General programming discussion
- Projects
- Networking and servers
- Automation, sensing and robotics
- Graphics, sound and multimedia
- Other projects
- Gaming
- Media centres
- AIY Projects
- Hardware and peripherals
- Camera board
- Compute Module
- Official Display
- HATs and other add-ons
- Device Tree
- Interfacing (DSI, CSI, I2C, etc.)
- Keyboard computers (400, 500, 500+)
- Raspberry Pi Pico
- General
- SDK
- MicroPython
- Other RP2040 boards
- Zephyr
- Rust
- AI Accelerator
- AI Camera - IMX500
- Hailo
- Software
- Raspberry Pi OS
- Raspberry Pi Connect
- Raspberry Pi Desktop for PC and Mac
- Beta testing
- Other
- Android
- Debian
- FreeBSD
- Gentoo
- Linux Kernel
- NetBSD
- openSUSE
- Plan 9
- Puppy
- Arch
- Pidora / Fedora
- RISCOS
- Ubuntu
- Ye Olde Pi Shoppe
- For sale
- Wanted
- Off topic
- Off topic discussion