You are not logged in.

#1 2024-04-11 18:14:56

outofstep58
Member
Registered: 2024-04-11
Posts: 6

[RESOLVED] Desktop resize in VM

Host OS: Windows 11
Guest OS: bunsenlabs v12 (boron)
VirtualBox: 7.0

Hi Everyone,

I am a first time user of bunsen labs and I really appreciate all the efforts the developers have put into it!

I have installed bunsen labs in a virtualbox VM on my windows machine. When I start up the vm, the desktop looks as expected. When I maximize the virtualbox window, the resulting desktop then gets sectioned off into quarters instead of resizing to produce a single desktop wallpaper image. Any thoughts on how I might go about fixing this? I have taken some screenshots to illustrate the before and after, but am unclear on how to produce them into this post (apologies for that).

Thank you in advance for your help!

Last edited by outofstep58 (2024-04-15 16:45:00)

Offline

#2 2024-04-11 20:13:16

el_koraco
Member
Registered: 2016-02-08
Posts: 307

Re: [RESOLVED] Desktop resize in VM

Have you installed the guest additions?

Offline

#3 2024-04-11 20:15:06

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,138
Website

Re: [RESOLVED] Desktop resize in VM

Thanks for registering on our forums. Brand new forum members can't post image links, sorry.

https://forums.virtualbox.org/viewtopic.php?t=106945

As it says there, you have to have VirtualBox Guest Additions installed...

https://docs.oracle.com/cd/E36500_01/E3 … tions.html


I don't care what you do at home. Would you care to explain?

Offline

#4 2024-04-11 20:48:07

Robi
Member
Registered: 2024-01-30
Posts: 43

Re: [RESOLVED] Desktop resize in VM

Hi @outofstep58,

arandr

should be run. Set the resolution. Commit with tick and
Save as into ~/.screenlayout/monitor.sh

chmod +x ~/.screenlayout/monitor.sh

and insert a line like this into ~/.config/bunsen/autostart

$HOME/.screenlayout/monitor.sh &

wallpaper / nitroren
also need to be checked (Scaled , Full Screen)


...Welcome to the family...

Offline

#5 2024-04-11 21:07:01

outofstep58
Member
Registered: 2024-04-11
Posts: 6

Re: [RESOLVED] Desktop resize in VM

Many thanks everyone!

I did fail to mention that upon writing the initial post, I had installed VBoxGuestAdditions (following a post I found on here).

@Robi, I followed your suggestions and that fixed the desktop resize issue. Many thanks!

one last thing and I'll mark this as solved. Are there changes that need to be made to conky (which I believe is the system resource and keyboard shortcut block displayed on the desktop but please correct me if I'm wrong) such that it resizes and relocates to the edge of the screen when the screen is maximized?

Last edited by outofstep58 (2024-04-11 21:07:53)

Offline

#6 2024-04-11 21:20:28

Robi
Member
Registered: 2024-01-30
Posts: 43

Re: [RESOLVED] Desktop resize in VM

I'm not sure I fully understand your question.
At final size apply Conky Mover from (jg)menu
Edit:
Insert these lines into ~/.xbindkeysrc

# Conky toggle
"conky_toggle"
    Mod4 + c

Here is a faulty script based on that of Mabox
to toggle conky
Put it to /usr/bin/toggle_conky

#!/bin/bash

if pgrep -u $USER -f "conky -c"; then
  pkill -u $USER conky
  exit 0
else
SESSIONFILE=$HOME/.config/conky/conky-sessionfile
while read -r line; do
    if [[ $line == *conky* ]]; then
    THIS_CONKY=$(echo "${line##+([ ])}" | awk '{print $1}')
    CONKYRC=${THIS_CONKY//\'/}
 
    if ! pgrep -u $USER -f "${CONKYRC//\~/}"
    then
         conky -c "$HOME/$CONKYRC" & sleep .5
    fi
    fi
done < $SESSIONFILE
 fi
exit 0

Conky Manager is used to select conkies. Re Question below.

Last edited by Robi (2024-04-12 13:16:56)


...Welcome to the family...

Offline

#7 2024-04-11 21:47:02

outofstep58
Member
Registered: 2024-04-11
Posts: 6

Re: [RESOLVED] Desktop resize in VM

@Robi, I believe I've messed something up.

The window I'm referring to can be seen on the first screenshot shown on the bunsen labs homepage. It is the window on the right of the screen that has the system ram and cpu usage, "Shortcut Keys", and "Windows" sections displayed. I seem to have either moved that window off screen or disabled it from being shown. Do you know how I enable that window again?

Offline

#8 2024-04-12 01:14:34

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,138
Website

Re: [RESOLVED] Desktop resize in VM

Conky gets autostarted when you login. Log out and back in. If it doesn't appear, run

conky

from a terminal (Ctrl+t) and see what error messages appear. Hard to say if that's a glitch from resizing the VM or something in the conky config. You can always see system resources by running htop (Ctrl+h) and keyboard shortcuts by looking at ~/.xbindkeysrc

https://github.com/BunsenLabs/bunsen-co … bindkeysrc


I don't care what you do at home. Would you care to explain?

Offline

#9 2024-04-12 03:16:05

or1o9
Member
Registered: 2017-11-15
Posts: 246

Re: [RESOLVED] Desktop resize in VM

Welcome to the forums outofstep58. I think @hhh had a little glitch in his matrix in his post above here. It is "Super+t" for terminal, and "Super+h" for htop. And so there is no misunderstanding, "Super" is the Windows key.

Offline

#10 2024-04-12 05:56:05

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,138
Website

Re: [RESOLVED] Desktop resize in VM

^ Right... super, not control. I was distracted by the woman in the red dress, and that telephone has not stopped ringing.


I don't care what you do at home. Would you care to explain?

Offline

#11 2024-04-14 15:54:30

WolfeN
Member
Registered: 2021-04-10
Posts: 33

Re: [RESOLVED] Desktop resize in VM

I'm often switching from 1 monitor to 2 and back again, so I just created a simple script called "refresh.sh". In there is the following, then when I make a change to the desktop size, I run this script from the terminal ("bash refresh.sh") and it fixes the wallpaper and restarts conky.

nitrogen --restore
killall -SIGUSR1 conky

Hope this helps.

Offline

#12 2024-04-15 15:34:00

outofstep58
Member
Registered: 2024-04-11
Posts: 6

Re: [RESOLVED] Desktop resize in VM

Hi Everyone,

Apologies for the delay. I'm not sure what I ended up doing, but I was able to get that window back and use Conky Mover to position it correctly. I didn't see any errors when running:

conky

so I think we're all good. Thank you again for all your help!

Offline

#13 2024-04-15 15:45:40

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [RESOLVED] Desktop resize in VM

That s some great news @outofstep58 , please mark it as solved.


My Linux installs are as in my music; it s on Metal

Offline

#14 2024-04-15 16:03:31

outofstep58
Member
Registered: 2024-04-11
Posts: 6

Re: [RESOLVED] Desktop resize in VM

@altman, happy to. How do I mark this post as solved?

Offline

#15 2024-04-15 16:08:53

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [RESOLVED] Desktop resize in VM

Oh, just edit you thread title with those markings up front of it;

[SOLVED]

Edit; Maybe another member will explain it better than I am, I m not very good at explaining things...lol

Last edited by altman (2024-04-15 16:18:51)


My Linux installs are as in my music; it s on Metal

Offline

#16 2024-04-15 16:43:56

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,138
Website

Re: [RESOLVED] Desktop resize in VM

I marked it [RESOLVED] since OP did not know what they did to fix it.


I don't care what you do at home. Would you care to explain?

Offline

#17 2024-04-15 16:45:36

outofstep58
Member
Registered: 2024-04-11
Posts: 6

Re: [RESOLVED] Desktop resize in VM

@altman, @hhh:

Marked as [RESOLVED]. Thanks again!!

Offline

#18 2024-04-15 21:43:39

altman
Member
From: Canada
Registered: 2015-10-24
Posts: 619

Re: [RESOLVED] Desktop resize in VM

outofstep58 wrote:

@altman, @hhh:

Marked as [RESOLVED]. Thanks again!!

A good thing @outofstep58, props to @hhh


My Linux installs are as in my music; it s on Metal

Offline

Board footer

Powered by FluxBB