Questions tagged [modeline]
9 questions
43
votes
10 answers
modeline does not work in vim
I have a file called .aliases for bash and zsh, I put this line
# vim: set filetype=bash:
but if I make
: echo &ft
I get conf
juanpablo
- 7,424
5
votes
1 answer
Writing Xorg custom modeline for 1366x768 with nvidia driver
I've recently bought a Dell e1914h monitor 18.5" and supports 1366x768@60Hz display. The problem with proprietary nvidia driver is 1366x768 resolution is not supported by default due to some nvidia specific thing(resolution not dividable by 8). So,…
Number79
- 91
5
votes
1 answer
Vim: is it possible to add a modeline for :syntax sync fromstart in a file?
I'm writing a really long page to document a compiler and I was thinking that it would be nice if the doxygen highlighting would stick around. Only if I do a search to further down the file, it loses track since the number of line in that one…
Alexis Wilke
- 1,806
1
vote
1 answer
Can I create a custom resolution (modeline) using restricted nvidia graphics driver?
I'd like to create a custom modeline/resolution for the DVI output of my 8400GS card in my Ubuntu 9.04 system, using the nvidia restricted driver.
Is this possible?
If so, how do I do it? xorg.conf? Or some secret nvidia database?
I ask…
Fred Hamilton
- 2,280
1
vote
2 answers
X-Window Modeline for high resolution modes on NEC LCD 22WV monitor
What should look like X Window System (X.Org) modeline to be put in xorg.conf, for high resolution (incuding recommended 1680x1050 @ 50Hz resolution) for 22" NEC LCD 22WV monitor? X.Org autodetect correctly only 800x600 and lower resolution SVGA…
Jakub Narębski
- 613
0
votes
1 answer
How do I get let &showbreak=' ' (two spaces between ticks) to work on modeline?
I've tried every which way to sunday to make this work but nothing I do seems to work.
I know I can't use let on modeline. This is what I'm currently using without showbreak in my modeline to wrap the text and indent it.
/* vim: set breakindent…
Danathar
- 11
0
votes
0 answers
How to set the kernel modesetting console modeline and vga polarity?
This question is an extension of this one.
My problem is my Aspeed video card (not a gpu) ends up dectecting and using the wrong video polarity that results in an a off bound video output along a resolution the screen doesn’t recognizes.
This…
user2284570
- 2,020
0
votes
1 answer
How to calculate modeline using cvt for 75hz without multiples of 60hz
I'm trying to see if my LG 32UL500-W monitor will overclock beyond 60hz. It looks like DisplayPort 1.2 handles 4k at 75hz.
When I run xrandr --verbose, it shows me the default VESA mode for 4k 60hz:
3840x2160 (0x5a) 533.250MHz +HSync -VSync
…
dwightjl
- 111
0
votes
1 answer
An attempt to switch to a doublescan X11 modeline fails with "Configure crtc 0 failed"
I have a modern 1920x1200 LED display, capable of up to 96 kHz HorizSync, up to 76 Hz VertRefresh, and up to 205 MHz pixel clock.
Apart from its native resolution, the display can also run in 1600x1200 (4:3) resolution at 75 Hz:
1600x1200 (0xa1)…
Bass
- 693