[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Linux is faster

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 29
Thread images: 5

File: 1427416644285.jpg (301KB, 1234x1024px) Image search: [Google]
1427416644285.jpg
301KB, 1234x1024px
>Write python program in Linux
>python3 "Filename.py"
>takes 0.9 seconds to run
>do the same in windows
>takes 1.7 seconds
The only reason I still use windows is due to bad support for multiple screens with different resolutions on Linux.
>>
>>62168343
>python
that's the problem
>>
>>62168343
>The only reason I still use windows is due to bad support for multiple screens with different resolutions on Linux.
I do not really have a clue but I also have 3 monitors and one of them has a really low resolution (for terminals and shit yo)
Does linux really not support different resolutions at once? I bet my ass this is bullshit but if that is true then I am fucked. After win7 I really need to switch.
>>
>>62168367
One panel is 4k and the other is 1080p. If I enable hidpi mode then most things scale fine on the 4k panel but are oversized on the 1080p one.
>>
>>62168472
Thanks, I guess I have to check if my shit works as soon as possible. I only have two 1080p and one 800x600 (really cute)
>>
File: 1472952485485.jpg (36KB, 377x421px) Image search: [Google]
1472952485485.jpg
36KB, 377x421px
>>62168343
>python
stopped reading there
>>
>>62168343
You're a big boy, Pepe
>>
>>62168594
>>62168650
Momey said it was a big boy langue
>>
>>62168367
install gentoo
USE="$USE xinerama"
man xrandr
>>
>>62168839
xinerama is deprecated you twat
>>
>>62168343
>bad support for multiple screens
If the gui option doesn't work as you want it, it is so easy to make a script to set it up the way you want it.
>b-but muh normie experience
If you have a non standard screen setup and can program in python, you shouldn't have a problem writing a script telling what should be next to what.
>>
>>62168868
oh sorry
I haven't used gentoo in years
>>
>>62168343
>bad support for multiple screens with different resolutions on Linux.
Learn to use xrandr.
>>
>>62169190
No, I want to point and click!
>>
>>62169450
Then get a decent DE.
>>
Do you write a lot of data to stdout? Windows console I/O is abysmally slow.
>>
>>62168343

>Python for Linux and Python for Windows are exactly the same code compiled with the same flags
>>
>>62168343
Compiler GCC on windows is old shit, Linux use almost most modern version.
>>
>>62169450
try lxrandr or arandr, also learn to read wiki's or somethign i dont care
>>
>>62169755
No support for solos

Disregarded
>>
>>62168839
>>62168868
Additionally, RandR and Xinerama are totally different things. Yet, the xinerama USE flag often implies "multi-monitor features for Xorg", such is the case for feh, which magically works with setting one picture per screen as a wallpaper when USE=xinerama, under a RandR config.
>>
>>62168993
>If the gui option doesn't work as you want it, it is so easy to make a script to set it up the way you want it.
Where can i learn this fuckery, I'm on Debian with nvidia drivers and I can't get it to work right at all with multiple panels of different resolution
>>
>>62169918
https://wiki.archlinux.org/index.php/xrandr
>>
>>62169918
you could use arandr, basically GUI xrandr
>>
File: 1482929245984.jpg (51KB, 720x757px) Image search: [Google]
1482929245984.jpg
51KB, 720x757px
>>62168343
anyone have screenshot of that site that was trolled by /tv/ about this plane?
>>
File: 1479760797086.png (3MB, 1876x1850px) Image search: [Google]
1479760797086.png
3MB, 1876x1850px
>>62170096
This?
>>
File: 1475757623613.jpg (49KB, 794x760px) Image search: [Google]
1475757623613.jpg
49KB, 794x760px
>>62170233
yeah
>>
>>62168343
>The only reason I still use windows is due to bad support for multiple screens with different resolutions on Linux.
?
use Arandr or directly xrandr you fucking faggot
>>
>>62169918
It is very basic really.
You need to know what the screen is called.
I used to have this buggy system where the screen wasn't removed when I disconnected the monitor and it wasn't placed correctly, so I made this script.
I had a udev rule that listens to changes on my vga port and every time it happens, I ran the script.
(the bug is fixed now, so I don't use it anymore, but it might give you an idea of how easy it is to solve any problem you might have)
Here is a simplified version:
#monitor names
prim="LVDS1"
ext="VGA1"

if (xrandr | grep "$ext disconnected"); then
xrandr --output $prim --auto --output $ext --off
else
xrandr --output $prim --auto --output $ext --auto --left-of $prim
fi

I had some extra stuff in there to toggle between different screen setups, but you get the idea.
If you want to force a specific resolution, you can get the options by calling xrandr without any options and you can set the position by giving the pixels rather than directional settings.
You can read more in the manual
Thread posts: 29
Thread images: 5


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.