# Fullscreen only appear at the bottom on dual monitor setup

**URL:** https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797
**Category:** Laptops
**Created:** [November 9, 2024, 11:14am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797 "2024-11-09T11:14:18Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Pascal](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/pascal/32/3482_2.png) [@Pascal](https://forum.maboxlinux.org/u/Pascal)
#### Post date: [November 9, 2024, 11:14am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/1 "2024-11-09T11:14:18Z")

</div>

I was trying to do fullscreen on my second monitor but it’s always stick to 10% of my monitor.

After Fullscreen

 ![image](https://forum.maboxlinux.org/uploads/default/original/2X/8/82e6facbbf1ac23382b808e24abfa08eb957de98.jpeg)

---

<div class="post-metadata">

### Author: ![M0nst3r](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/m0nst3r/32/1669_2.png) [@M0nst3r](https://forum.maboxlinux.org/u/M0nst3r)
#### Post date: [November 9, 2024, 2:47pm UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/2 "2024-11-09T14:47:54Z")

</div>

Hi @Pascal and welcome.

Still can’t grasp the problem from that picture. Resolution wise it _looks_ fine. Could you please be more specific about the 10% problem?.  
Say, it’s the tint2 panel? Wallpaper distribution?

Regards.

---

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [November 9, 2024, 6:42pm UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/3 "2024-11-09T18:42:20Z")

</div>

Welcome @Pascal to the forum,

> [@M0nst3r](#):
>
> Could you please be more specific about the 10% problem?

- Can you show the scrot from both display’s at the same time.

```auto
$ scrot -m screenshot.png

```

- How do you take the screenshot?

🐦

---

<div class="post-metadata">

### Author: ![Pascal](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/pascal/32/3482_2.png) [@Pascal](https://forum.maboxlinux.org/u/Pascal)
#### Post date: [November 10, 2024, 6:51am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/4 "2024-11-10T06:51:16Z")

</div>

it only shows up on 10% of my second screen when i click on the fullscreen button on my second monitor, but it works just fine on my primary screen screen

Here is the screenshot i took from scrot

 ![screenshot](https://forum.maboxlinux.org/uploads/default/original/2X/f/f841da1b426c5cd6204f5aa406196202790c1029.jpeg)

[here is youtube video from irl POV](https://youtu.be/Woe8HuVoQv4?si=_1ZLNNJVRQBP71KX)

---

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [November 10, 2024, 10:56am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/5 "2024-11-10T10:56:40Z")

</div>

### After seeing the video.

> Sorry, you mean when a window is full screen on HDMI-1,  
> the window shows half on one display and one half on the other display.

I cannot reproduce your situation as i have just one display at the moment.

Are the dimentions of HDMI-1 right.

_please show output of…_

```auto
$ xrandr

```

_It looks like, both display’s are set as one display._

🐦

---

<div class="post-metadata">

### Author: ![Pascal](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/pascal/32/3482_2.png) [@Pascal](https://forum.maboxlinux.org/u/Pascal)
#### Post date: [November 10, 2024, 11:13am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/6 "2024-11-10T11:13:23Z")

</div>

Here is the output

 ![image](https://forum.maboxlinux.org/uploads/default/original/2X/a/a81b5388d53bc82906191c0deb6a089f64777944.png)  
 ![image](https://forum.maboxlinux.org/uploads/default/original/2X/e/e3635f941f0bb1f57191636f864cf51d8cb49fb1.png)

---

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [November 10, 2024, 11:15am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/7 "2024-11-10T11:15:15Z")

</div>

![Mabox_20241110-12-16-19](https://forum.maboxlinux.org/uploads/default/original/2X/6/64ffe0281c29172eabf412b6dacbefa5f3626d62.png)

```auto
Output

```

🐦

---

<div class="post-metadata">

### Author: ![Pascal](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/pascal/32/3482_2.png) [@Pascal](https://forum.maboxlinux.org/u/Pascal)
#### Post date: [November 10, 2024, 11:21am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/8 "2024-11-10T11:21:55Z")

</div>

I’m sorry, here is the output.

```Screen
eDP-1 connected primary 1366x768+0+1080 (normal left inverted right x axis y axis) 309mm x 173mm
   1366x768 60.06*+ 40.04  
   1280x720 60.00 59.99 60.06 59.86 59.74  
   1024x768 60.04 60.06 60.00  
   960x720 60.00  
   928x696 60.05  
   896x672 60.01  
   1024x576 59.95 59.96 59.90 59.82  
   960x600 59.93 60.00  
   960x540 59.96 59.99 59.63 59.82  
   800x600 60.00 60.06 60.32 56.25  
   840x525 60.01 59.88  
   864x486 59.92 59.57  
   700x525 59.98  
   800x450 59.95 59.82  
   640x512 60.02  
   700x450 59.96 59.88  
   640x480 60.06 60.00 59.94  
   720x405 59.51 58.99  
   684x384 59.88 59.85  
   640x400 59.88 59.98  
   640x360 59.86 59.83 59.84 59.32  
   512x384 60.00  
   512x288 60.00 59.92  
   480x270 59.63 59.82  
   400x300 60.32 56.34  
   432x243 59.92 59.57  
   320x240 60.05  
   360x202 59.51 59.13  
   320x180 59.84 59.32  
HDMI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1060mm x 626mm
   1920x1080 60.00*+ 59.96 50.00 59.94 59.93 30.00 25.00 24.00 29.97 23.98  
   1680x1050 59.95 59.88  
   1400x1050 74.76 59.98  
   1600x900 59.94 59.95 60.00 59.82  
   1280x1024 75.02 60.02  
   1440x900 59.90  
   1400x900 59.96 59.88  
   1280x960 60.00  
   1440x810 60.00 59.97  
   1368x768 59.88 59.85  
   1366x768 59.79  
   1280x800 59.99 59.97 59.81 59.91  
   1152x864 75.00  
   1280x720 60.00 59.99 59.86 60.00 50.00 59.94 59.74  
   1024x768 75.05 60.04 75.03 70.07 60.00  
   960x720 75.00 60.00  
   928x696 75.00 60.05  
   896x672 75.05 60.01  
   1024x576 59.95 59.96 59.90 59.82  
   960x600 59.93 60.00  
   832x624 74.55  
   960x540 59.96 59.99 59.63 59.82  
   800x600 75.00 70.00 65.00 60.00 72.19 75.00 60.32 56.25  
   840x525 60.01 59.88  
   864x486 59.92 59.57  
   720x576 50.00  
   700x525 74.76 59.98  
   800x450 59.95 59.82  
   720x480 60.00 59.94  
   640x512 75.02 60.02  
   700x450 59.96 59.88  
   640x480 60.00 75.00 72.81 75.00 66.67 60.00 59.94  
   720x405 59.51 58.99  
   720x400 70.08  
   684x384 59.88 59.85  
   640x400 59.88 59.98  
   576x432 75.00  
   640x360 59.86 59.83 59.84 59.32  
   512x384 75.03 70.07 60.00  
   512x288 60.00 59.92  
   416x312 74.66  
   480x270 59.63 59.82  
   400x300 72.19 75.12 60.32 56.34  
   432x243 59.92 59.57  
   320x240 72.81 75.00 60.05  
   360x202 59.51 59.13  
   320x180 59.84 59.32  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)

```

---

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [November 10, 2024, 11:25am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/9 "2024-11-10T11:25:03Z")

</div>

What happens when you use this. Copy paste in terminal.

```auto
xrandr --output eDP-1 --primary --mode 1366x768 --pos 0x1080 --output HDMI-1 --mode 1920x1080 --pos 0x0

```

🐦

---

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [November 10, 2024, 11:43am UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/10 "2024-11-10T11:43:48Z")

</div>

### Another way…

Guessing eDp-1 is your primary.

If this works. Let it start at startup. `~/.config/openbox/autostart`

example autostart : `script_display.sh &`

```auto
#!/bin/bash

# eDP-1 is primary
xrandr --output eDP-1 --auto --primary 
xrandr --output HDMI-1 --auto --above eDP-1

```

```auto
$ xrandr --help
--left-of <output>
--right-of <output>
--above <output>
--below <output>

```

🐦

---

<div class="post-metadata">

### Author: ![Pascal](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/pascal/32/3482_2.png) [@Pascal](https://forum.maboxlinux.org/u/Pascal)
#### Post date: [November 10, 2024, 12:49pm UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/11 "2024-11-10T12:49:07Z")

</div>

When i tried it, this is the output

```xrandr
/home/pascal/.gtkrc-2.0:4: Unable to find include file: "~/.gtkrc-2.0.mine"

(nitrogen:126657): Gtk-WARNING **: 19:45:55.381: Unable to locate theme engine in module_path: "clearlooks",

(nitrogen:126657): Gtk-WARNING **: 19:45:55.381: Unable to locate theme engine in module_path: "clearlooks",
/home/pascal/.gtkrc-2.0:4: Unable to find include file: "~/.gtkrc-2.0.mine"

(nitrogen:126657): Gtk-WARNING **: 19:45:55.485: Unable to locate theme engine in module_path: "clearlooks",

(nitrogen:126657): Gtk-WARNING **: 19:45:55.485: Unable to locate theme engine in module_path: "clearlooks",

(nitrogen:126657): GLib-GObject-CRITICAL **: 19:45:55.490: Attempting to freeze the notification queue for object GtkSettings[0x55eb25f476d0]; Property notification does not work during instance finalization.

(nitrogen:126657): GLib-GObject-CRITICAL **: 19:45:55.490: Attempting to thaw the notification queue for object GtkSettings[0x55eb25f476d0]; Property notification does not work during instance finalization.
1056
1057
1058
1081

```

also should i put the !/bin/bash inside the autostart file

---

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [November 10, 2024, 1:21pm UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/12 "2024-11-10T13:21:17Z")

</div>

## What to do.

Create script named let say : `display_set.sh` with the following. (complete code)

```auto
#!/bin/bash

# eDP-1 is primary
xrandr --output eDP-1 --auto --primary 
xrandr --output HDMI-1 --auto --above eDP-1

```

Make executable

```auto
$ chmod +x display_set.sh

```

Run script like.

```auto
$ ./display_set.sh

```

(first test if this script is working before putting in the autostart)

_Info:_  
`#!/bin/bash` or can look like `#!/bin/env bash` or etc…  
_This is how a bash script begins and make scripts executable with `chmod +x`._

🐦

---

<div class="post-metadata">

### Author: ![muzqs](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/muzqs/32/3702_2.png) [@muzqs](https://forum.maboxlinux.org/u/muzqs)
#### Post date: [November 10, 2024, 2:11pm UTC](https://forum.maboxlinux.org/t/fullscreen-only-appear-at-the-bottom-on-dual-monitor-setup/1797/14 "2024-11-10T14:11:19Z")

</div>

[EDITS many]

### ::XTRA:: This script is for setting wallpaper for 2 or 1 monitor.

### Updated script. Less complicated.

#### For each desk another wallpaper.

It uses your mbwallpaper\_dir.

```auto
#!/bin/bash

CONFIG_DIR="$HOME/.config/mbwallpaper"
CONF_FILE="$CONFIG_DIR/mbwallpaper.conf"

# Source the configuration file to load variables like wallpaper_dir
source "$CONF_FILE"

# Get a random image from the wallpaper directory
NEW_WP_FILE=$(find "$wallpaper_dir" -type f | shuf -n 1)
echo "Selected wallpaper: $NEW_WP_FILE"

# Get a random image from the wallpaper directory 2
NEW_WP_FILE2=$(find "$wallpaper_dir" -type f | shuf -n 1)
echo "Selected wallpaper: $NEW_WP_FILE2"

# Set wallpaper for all connected monitors
echo "Setting wallpaper for all monitors."
nitrogen --head=0 --set-scaled --save "$NEW_WP_FILE"
nitrogen --head=1 --set-scaled --save "$NEW_WP_FILE2"

```

Make executable

```auto
chmod +x script

```

Run like

```auto
./script

```

#### What if you want the same wallpaper on each desk. Do…

> Change :  
> –Head=1 --set-scaled --save “$NEW\_WP\_FILE2”  
> to  
> –Head=1 --set-scaled --save “$NEW\_WP\_FILE”

If this works for you, it can be placed let say as button/click for tint2 panel.

_comment: Mabox is focussed on one monitor. A bit of self exploration is needed._

🐦
