SliTaz SliTaz Forum

You are not logged in.

#1 2012-06-25 01:37:35

arandr
Member
Registered: 2012-06-25
Posts: 6

Arandr Multi Screen Tool

Hello,

How can i install arandr in slitaz?

I need this tool to configure the display and for multi screen/desktop support in slitaz.

It is really related to lxrandr which is already included in slitaz but is not enought to properly manage the multi screen/desktop.

I used tazpkg to convert the debian package, but not good result, is installed i got the icon but the tool does not start.

I beg anyone is able to install arandr in slitaz to help! Thanks

Offline

#2 2012-06-25 05:44:14

arandr
Member
Registered: 2012-06-25
Posts: 6

Re: Arandr Multi Screen Tool

I found the solution by myself !

I did not know that is possible to write a simple script to change resolution of many screens, but is possible and i did it.

If this can help someone else.. just paste into a new file with leafpad and save it with .desktop extension (for example save as 1024x600.desktop) than just click it to change resolution or device on fly.

1) Single screen 1024x600

[Desktop Entry]

Type=Application

Icon=display

Name=1024x600

Comment=1024x600

Exec=xrandr --output VGA1 --off --output LVDS1 --mode 1024x600 --rate 60.0

2) Single screen 1440x900 external

[Desktop Entry]

Type=Application

Icon=display

Name=1440x900

Comment=Start xrandr with settings done in LXRandR

Exec=xrandr --output VGA1 --mode 1440x900 --rate 60.0 --output LVDS1 --off

OnlyShowIn=LXDE

3)And now the best i did.. Dual display with extended desktop! First display below (netbook) and second display (external) on top so i can move windows, browser or file manager up or down the screens

[Desktop Entry]

Type=Application

Name=Dual

Icon=display

Comment=Start xrandr with settings done in LXRandR

Exec=xrandr --output LVDS1 --mode 1024x600 --pos 0x900 --rotate normal --output VGA1 --mode 1440x900 --pos 0x0 --rotate normal

OnlyShowIn=LXDE

That's all, this is just an example because is what i need but you can change the resolution the rate or the screen position if you need different settings.

The only thing i need to fix is the desktop wallpaper (that is still not stretched correctly) and icons behaviour, maybe because openbox consider the desktop smaller than what really is.

I fixed the desktop wallpaper problem by using a bigger wallpaper and by changing the desktop wallpaper settings, this is a nice trick and work but is not the correct solution.

If someone knows how to solve the desktop and icons behaviour i appreciate it.

Offline

#3 2012-06-25 07:21:49

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Arandr Multi Screen Tool

Well done!

I want to collect same tricks and add them to TazPanel.

This is very first time I see multi screen desktop in my SliTaz, and its worked! At left side my netbook's screen 1024×600, at right side — 17" monitor 1024×768, and my code is:

xrandr --output LVDS1 --mode 1024x600 --pos 0x0 --rotate normal --output VGA1 --mode 1024x768 --pos 1024x0 --rotate normal

We have PCManFM managed desktop wallpaper & icons, and there is no solution for icons placing (always in top left corner on top left monitor), and only your tricky solution for wallpaper — using large picture and select "Mode: Tile the image to fill the entire screen".

Offline

#4 2012-06-26 02:25:14

arandr
Member
Registered: 2012-06-25
Posts: 6

Re: Arandr Multi Screen Tool

I am very happy to share Aleksej and happy that is worked for you too.

Now we have to hope that someone can help us to fix the desktop and icons placing by suggesting a solution, but so far is ok we have multi screen in slitaz.

Would be nice if arandr be ported to slitaz package list too, to make multiscreen easy for everybody.

If somebody experienced problem with the panels it can be fixed with easy steps..

Just by using primary (or secondary) screen pixels dimension in panel settings, assuming that your screen is 1024 pixel large and located to the left, you can set the panel dimension to 1024 pixel to have the panel only shown in one screen alligned to the left for example or you can change it the way you like just take care of position to keep it visible!

It's nice to have multiscreen in slitaz !

Offline

#5 2013-09-16 16:52:39

arodulfo
Member
Registered: 2012-11-03
Posts: 71

Re: Arandr Multi Screen Tool

@ arandr: You're the greatest in the world!!!!

I have just made a search for this topic (multi-screen in slitaz) and your post came first.

I immediately went to our system and reconfigured it for good!

I just have to discover how those changes are made permanent, surviving power-cycling the system, apart from editing [c].profile[/c]...

Thank you so much!

Antonio

Offline

#6 2014-10-06 08:45:26

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Arandr Multi Screen Tool

Hi there two years later! smile

Now I confirm that old trick no more works for me.

On the external monitor I see a copy of my desktop, stretched or cropped depending of SliTaz version — tried my current upgraded SliTaz with many packages installed, and frugal installation of SliTaz Rolling @ 210914.

«Monitor Settings» from Applications menu shows only one monitor.

And here terminal output of xrandr:

[c]tux@slitaz:~$ xrandr --output VGA1 --mode 1360x768 --pos 0x0 --rotate normal --o
utput LVDS1 --mode 1024x600 --pos 1360x0 --rotate normal
xrandr: Failed to get size of gamma for output default
warning: output VGA1 not found; ignoring
warning: output LVDS1 not found; ignoring

tux@slitaz:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1024 x 600, current 1024 x 600, maximum 1024 x 600
default connected 1024x600+0+0 0mm x 0mm
   1024x600        0.0*
tux@slitaz:~$[/c]
Now I used external TV/Monitor with resolution 1360×768 and my old netbook with 1024×600.

——

Seems like it old bug somewhere in the X.Org packages. If memory serves it was in the SliTaz 4.0 too, but later it was fixed.

Multi-monitor configuration... Mmm... Xinerama extensions?..

Offline

#7 2014-11-13 02:26:22

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: Arandr Multi Screen Tool

I've had a lot of occasions where a working external screen resolution would have come in handy.

is there any solution or workaround for this?

Offline

#8 2014-11-13 03:59:28

nitrogen_widget
Member
Registered: 2011-06-02
Posts: 52

Re: Arandr Multi Screen Tool

I've used this to get slitaz to output to two monitors successfully.

http://christian.amsuess.com/tools/arandr/

You have to install it yourself though.

Offline

#9 2014-11-13 16:57:56

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: Arandr Multi Screen Tool

@nitrogen_widget: on desktop, when i plug in my external screen i get a copy of my laptop screen.

with arandr from the site i can only detect my default laptop screen. very similar to slitaz's monitor settings tool.

does it have something to do with running a frugal install?

Offline

#10 2014-11-14 19:23:34

nitrogen_widget
Member
Registered: 2011-06-02
Posts: 52

Re: Arandr Multi Screen Tool

It probably has something to do with your video chipset & the driver you have installed.

I was using older hardware with an older agp card with the opensource drivers.

Offline

#11 2014-11-19 15:26:27

K3nn3th
Member
Registered: 2014-09-13
Posts: 194

Re: Arandr Multi Screen Tool

@nitrogen_widget: i have the same problem on two different laptops.

my main one has an intel onboard graphics chip.

which slitaz version are you using?

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]