]> danix's work - danix.xyz-2.git/commitdiff
translate: fixed translation for "xrandr-e-dual-head-su-slackware-12-2-e-intel"
authorDanilo M. <redacted>
Thu, 30 Apr 2026 10:47:07 +0000 (12:47 +0200)
committerDanilo M. <redacted>
Thu, 30 Apr 2026 10:47:07 +0000 (12:47 +0200)
content/en/articles/xrandr-e-dual-head-su-slackware-12-2-e-intel/index.md
content/it/articles/xrandr-e-dual-head-su-slackware-12-2-e-intel/index.md

index 228999f14b843200da72c777ad444f632ae35ccf..48bd96d0ab7c903ccc604dd4c30e393dee9bd8d3 100644 (file)
@@ -1,11 +1,48 @@
 +++
-title = "xrandr and Dual Head on Slackware 12.2 and Intel"
-date = "2009-06-29T17:05:13+00:00"
-draft = true
+title = "xrandr and dual-head setup on Slackware 12.2 with Intel graphics."
+author = "Danilo M."
 type = "tech"
+date = "2009-06-29T17:05:13+00:00"
+excerpt = "'In this short article, I will explain how to set up an ultra-wide desktop that spans across two monitors. You will need: a graphics card with two outputs and a text editor...'"
+categories = [ "Code", "DIY"]
 tags = ["dual head", "extended desktop", "monitor setup", "slackware", "xorg", "xrandr"]
-categories = ["Code", "DIY"]
-author = "Danilo M."
+draft = true
 +++
 
-TODO: Translate this article from Italian to English.
+Today, I came across a 17" monitor, and I was curious to try connecting it to the external VGA output of my laptop. So, I did some research online to see if I could set up a dual-head system where the two screens would form a single, larger desktop.
+
+<!--more-->
+
+After a few attempts, I found the almost perfect solution, which is a total screen resolution of 2560x1024. To achieve this, I simply added this line to my xorg.conf:
+
+`Virtual   2560 1024`
+
+within the "Display" SubSection in the "Screen" section. This line simply instructs X on the overall dimensions of the virtual desktop; the two values are obtained by adding the resolution of the first screen, which in my case is 1280x1024, to the resolution of the second screen, which in my case is the laptop screen, i.e., 1280x800. The total width is therefore 2560, while for the height, I had to use the value of the larger screen, i.e., the external one, which is 1024.
+
+Obviously, doing this gives me a desktop area that is about 120% of the actual area of the two monitors, but X takes this problem into account. In fact, if I maximize a window on the large screen, it adapts to the larger size; if I maximize it on the laptop screen, it adapts to the wide size and doesn't give me any scrolling problems. The only annoyance is that I can't see the end of the lxde bar if I leave it positioned at the bottom, but this is also easily solved by placing it at the top...
+
+At this point, whenever I want to activate the dual desktop, I just need to launch this script that I created; I called it **dualhead.sh**:
+
+```bash
+#! /bin/bash
+
+case $1 in
+  start ) xrandr --output LVDS --mode 1280x800 \
+          --output VGA --mode 1280x1024 --left-of LVDS
+        ;;
+  stop  ) xrandr --output VGA --off
+        ;;
+  *     ) echo "USAGE: `basename $0` start | stop"
+          exit 1
+        ;;
+esac
+exit
+```
+
+launching it with the "start" flag will activate the dual head, while launching the script with "stop" will return the entire desktop to the laptop screen, as xrandr will turn off the external VGA output.
+
+Now you can enjoy your beautiful extended desktop, maybe using one of the ultra-wide wallpapers available on [compiz-themes.org][1]. I'm using a beautiful photo of Melbourne Bay, and the nice thing is that it starts on one screen and ends on the other, but if you don't try it, you won't understand... ;)
+
+Have fun...
+
+[1]: http://www.compiz-themes.org/index.php?xcontentmode=6110&PHPSESSID=593590581b90557a2f710adca3e82d40 "skydomes on compiz-themes.org"
\ No newline at end of file
index c750a32dc2691c3eedd7a40b910e22e39624141b..db1d32e6023d7b1b91bb8d1095abc628ac5685e7 100644 (file)
@@ -7,21 +7,22 @@ excerpt = "'In questo breve articolo vi spiegherò come ottenere un desktop ultr
 categories = [ "Code", "DIY"]
 tags = [ "dual head", "extended desktop", "monitor setup", "slackware", "xorg", "xrandr"]
 draft = true
+
 +++
 
-Oggi mi è capitato sottomano un monitor 17&#8243; e mi è venuta la curiosità di provare a collegarlo all&#8217;uscita vga esterna del mio laptop. Detto fatto ho provato a fare qualche ricerca su internet per vedere se riuscivo a tirare su un sistema dual head in cui i 2 schermi formassero un unico desktop più grande.
+Oggi mi è capitato sottomano un monitor 17" e mi è venuta la curiosità di provare a collegarlo all'uscita vga esterna del mio laptop. Detto fatto ho provato a fare qualche ricerca su internet per vedere se riuscivo a tirare su un sistema dual head in cui i 2 schermi formassero un unico desktop più grande.
 
 <!--more-->
 
-Dopo qualche tentativo ho trovato la soluzione quasi perfetta, cioè uno schermo complessivo di 2560&#215;1024. Per ottenerlo è bastato mettere questa semplice riga nel mio xorg.conf:
+Dopo qualche tentativo ho trovato la soluzione quasi perfetta, cioè uno schermo complessivo di 2560x1024. Per ottenerlo è bastato mettere questa semplice riga nel mio xorg.conf:
 
 `Virtual   2560 1024`
 
-all&#8217;interno della SubSection &#8220;Display&#8221; nella sezione &#8220;Screen&#8221;. Quella riga non fa altro che istruire X sulle dimensioni complessive del desktop virtuale, i 2 valori si ottengono sommando la risoluzione del primo schermo, che nel mio caso era di 1280&#215;1024, alla risoluzione del secondo schermo, che è nel mio caso quello del laptop e cioè 1280&#215;800. La larghezza totale è quindi diventata 2560 mentre per l&#8217;altezza ho dovuto prendere quella dello schermo più grande, cioè quello esterno e quindi 1024.
+all'interno della SubSection "Display" nella sezione "Screen". Quella riga non fa altro che istruire X sulle dimensioni complessive del desktop virtuale, i 2 valori si ottengono sommando la risoluzione del primo schermo, che nel mio caso era di 1280x1024, alla risoluzione del secondo schermo, che è nel mio caso quello del laptop e cioè 1280x800. La larghezza totale è quindi diventata 2560 mentre per l'altezza ho dovuto prendere quella dello schermo più grande, cioè quello esterno e quindi 1024.
 
-Ovviamente facendo in questo modo ho una superficie del desktop di circa il 120% rispetto a quella effettiva dei 2 monitor, però X tiene conto di questo problemino, infatti se io massimizzo una finestra nello schermo grande, questa si adatta alla dimensione maggiore, se la massimizzo nello schermo del laptop si adatta alla dimensione wide e non mi da problemi di scrolling. L&#8217;unico fastidio è che non arrivo a vedere la fine della barra di lxde se la lascio posizionata in basso, ma anche questo si risolve facilmente mettendola in alto&#8230;
+Ovviamente facendo in questo modo ho una superficie del desktop di circa il 120% rispetto a quella effettiva dei 2 monitor, però X tiene conto di questo problemino, infatti se io massimizzo una finestra nello schermo grande, questa si adatta alla dimensione maggiore, se la massimizzo nello schermo del laptop si adatta alla dimensione wide e non mi da problemi di scrolling. L'unico fastidio è che non arrivo a vedere la fine della barra di lxde se la lascio posizionata in basso, ma anche questo si risolve facilmente mettendola in alto...
 
-A questo punto, ogni qualvolta io voglia attivare il doppio desktop, mi basterà lanciare questo script che mi sono creato, l&#8217;ho chiamato **dualhead.sh**:
+A questo punto, ogni qualvolta io voglia attivare il doppio desktop, mi basterà lanciare questo script che mi sono creato, l'ho chiamato **dualhead.sh**:
 
 ```bash
 #! /bin/bash
@@ -39,10 +40,10 @@ esac
 exit
 ```
 
-lanciandolo con flag &#8220;start&#8221; avvierà il dualhead mentre lanciando lo script con &#8220;stop&#8221; tutto il desktop ritornerà sul solo schermo del laptop in quanto xrandr spegnerà l&#8217;uscita vga esterna.
+lanciandolo con flag "start" avvierà il dualhead mentre lanciando lo script con "stop" tutto il desktop ritornerà sul solo schermo del laptop in quanto xrandr spegnerà l'uscita vga esterna.
 
-Adesso potete godervi il vostro splendido desktop esteso, magari usando uno degli sfondi ultra wide presenti su [compiz-themes.org][1], io sto usando una splendida foto della baia di Melbourne, il bello è che comincia su uno schermo e finisce sull&#8217;altro, ma se non provate non potete capire&#8230; ;)
+Adesso potete godervi il vostro splendido desktop esteso, magari usando uno degli sfondi ultra wide presenti su [compiz-themes.org][1], io sto usando una splendida foto della baia di Melbourne, il bello è che comincia su uno schermo e finisce sull'altro, ma se non provate non potete capire... ;)
 
-Buon divertimento&#8230;
+Buon divertimento...
 
- [1]: http://www.compiz-themes.org/index.php?xcontentmode=6110&PHPSESSID=593590581b90557a2f710adca3e82d40 "skydomes su compiz-themes.org"
\ No newline at end of file
+[1]: http://www.compiz-themes.org/index.php?xcontentmode=6110&PHPSESSID=593590581b90557a2f710adca3e82d40 "skydomes su compiz-themes.org"
\ No newline at end of file