GHC , haskell-x11, xmonad etc issues.
Hi,
I upgraded ghc yesterday (or the day before, not sure) and when rebuilding xmonad I have some issues.
When upgrading ghc I had this message:
Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [##############################################] 100%
==> Unregistering cabalized packages...
==> Done.
(1/1) upgrading ghc [##############################################] 100%
==> All cabalized and yaourt-installed packages need to be reinstalled now.
==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
I assume reinstalling them using pacman/yaourt is sufficient. When installing haskell-x11 for instance I have these messages:
Targets (1): haskell-x11-1.4.5-1
Total Download Size: 0.00 MB
Total Installed Size: 3.96 MB
Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [##############################################] 100%
ghc-pkg: cannot find package X11-1.4.5
error: scriptlet failed to execute correctly
(1/1) upgrading haskell-x11 [##############################################] 100%
Reading package info from stdin ... done.
X11-1.4.5: dependency base-3.0.3.0 doesn't exist (use --force to override)
error: scriptlet failed to execute correctly
If you like this package, please install aurvote
and vote for its inclusion/keeping in [community]
As a consequence haskell-x11 is not available when recompiling xmonad. I have similar messages for xmonad:
Targets (1): xmonad-0.8.1-1
Total Download Size: 0.00 MB
Total Installed Size: 2.93 MB
Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [##############################################] 100%
ghc-pkg: cannot find package xmonad-0.8.1
error: scriptlet failed to execute correctly
(1/1) upgrading xmonad [##############################################] 100%
Reading package info from stdin ... done.
xmonad-0.8.1: dependency X11-1.4.5 doesn't exist (use --force to override)
xmonad-0.8.1: dependency base-3.0.3.0 doesn't exist (use --force to override)
xmonad-0.8.1: dependency containers-0.2.0.0 doesn't exist (use --force to override)
xmonad-0.8.1: dependency directory-1.0.0.2 doesn't exist (use --force to override)
xmonad-0.8.1: dependency process-1.0.1.0 doesn't exist (use --force to override)
xmonad-0.8.1: dependency unix-2.3.1.0 doesn't exist (use --force to override)
error: scriptlet failed to execute correctly
If you like this package, please install aurvote
and vote for its inclusion/keeping in [community]
When I downgrade to ghc in extra and reinstall these packages they work fine, and don't have the above dependency error messages. The only error message I keep having is:
error: scriptlet failed to execute correctly
But this might have been there before. I have no experience in actually using ghc, so maybe I'm missing something?
It's the right idea, but technically not feasible currently. [community] is maintained by a different set of people than [core], [extra] and [testing] (not only that, they are technically implemented differently at the moment, but devs are working on that about now). So only packages from [core] and [extra] can go through [testing] at present. Hence there is always only one version of a package in [community], and naturally it needs to be in sync with [core/extra], not [testing]. So currently it's assumed that people that use testing are technically skilled enough to know (and know how) to rebuild some community packages that need it.
Similar Messages
-
I've tried to build Xmonad 0.4.1, but it fails with the following output:
XMonad.hs:42:17:
Could not find module `Data.Set':
it is a member of package containers-0.1.0.0, which is hidden
After a bit of research I discovered that it has something to do with Cabal, but I can't understand how to fix it? Anyone else encountered this and anyone with a possible solution?ashren: using your suggestion, I made a patch and modified the AUR PKGBUILD:
PKGBUILD:
pkgname=xmonad
pkgver=0.4.1
pkgrel=2
pkgdesc="A lightweight X11 tiled window manager written in Haskell"
arch=(i686 x86_64)
url="http://xmonad.org/"
license=('custom:BSD3')
depends=('gmp' 'libxext' 'dmenu')
makedepends=('ghc' 'haskell-x11>=1.3.0')
source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz xmonad-0.4.1-containers-fix.diff)
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p1 < ../xmonad-0.4.1-containers-fix.diff
runhaskell Setup.lhs configure --ghc --prefix=/usr || return 1
# configuration handling stuff
if [ -f ../../Config.hs ]; then
msg "Custom configuration detected"
msg2 "copying config.h to build directory"
cp ../../Config.hs Config.hs
fi
# Maybe move this to function ?
msg "Do you want to change configuration before compilation ? [y/N] "
read answerpkgname=xmonad
pkgver=0.4.1
pkgrel=2
pkgdesc="A lightweight X11 tiled window manager written in Haskell"
arch=(i686 x86_64)
url="http://xmonad.org/"
license=('custom:BSD3')
depends=('gmp' 'libxext' 'dmenu')
makedepends=('ghc' 'haskell-x11>=1.3.0')
source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz xmonad-0.4.1-containers-fix.diff)
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p1 < ../xmonad-0.4.1-containers-fix.diff
runhaskell Setup.lhs configure --ghc --prefix=/usr || return 1
# configuration handling stuff
if [ -f ../../Config.hs ]; then
msg "Custom configuration detected"
msg2 "copying config.h to build directory"
cp ../../Config.hs Config.hs
fi
# Maybe move this to function ?
msg "Do you want to change configuration before compilation ? [y/N] "
read answer
answer=$(echo $answer | tr [:upper:] [:lower:])
if [ $answer = "y" -o $answer = "yes" ]; then
# maybe user prefer something other than vim ?
if [ x"$EDITOR" != x"" ]; then
$EDITOR Config.hs
else
vi Config.hs
fi
# save modified config for future builds
cp -f Config.hs ../../Config.hs
fi
runhaskell Setup.lhs build || return 1
runhaskell Setup.lhs copy --destdir=$startdir/pkg
runhaskell util/GenerateManpage.hs
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/BSD3
install -D -m644 man/xmonad.1 $startdir/pkg/usr/man/man1/xmonad.1
answer=$(echo $answer | tr [:upper:] [:lower:])
if [ $answer = "y" -o $answer = "yes" ]; then
# maybe user prefer something other than vim ?
if [ x"$EDITOR" != x"" ]; then
$EDITOR Config.hs
else
vi Config.hs
fi
# save modified config for future builds
cp -f Config.hs ../../Config.hs
fi
runhaskell Setup.lhs build || return 1
runhaskell Setup.lhs copy --destdir=$startdir/pkg
runhaskell util/GenerateManpage.hs
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/BSD3
install -D -m644 man/xmonad.1 $startdir/pkg/usr/man/man1/xmonad.1
And you also need this file: xmonad-0.4.1--containers-fix.diff
Only in xmonad-0.4.1-new: dist
Common subdirectories: xmonad-0.4.1/man and xmonad-0.4.1-new/man
Common subdirectories: xmonad-0.4.1/tests and xmonad-0.4.1-new/tests
Common subdirectories: xmonad-0.4.1/util and xmonad-0.4.1-new/util
diff -up xmonad-0.4.1/xmonad.cabal xmonad-0.4.1-new/xmonad.cabal
--- xmonad-0.4.1/xmonad.cabal 2007-11-02 17:31:08.000000000 -0500
+++ xmonad-0.4.1-new/xmonad.cabal 2007-11-15 13:00:28.041790818 -0600
@@ -17,7 +17,7 @@ license: BSD3
license-file: LICENSE
author: Spencer Janssen
maintainer: [email protected]
-build-depends: base>=2.0, mtl>=1.0, unix>=1.0, X11==1.3.0
+build-depends: base>=2.0, mtl>=1.0, unix>=1.0, X11==1.3.0, containers
extra-source-files: README TODO tests/loc.hs tests/Properties.hs man/xmonad.1.in
Config.hs-boot util/GenerateManpage.hs man/xmonad.1 man/xmonad.html -
Xmonad-darcs issue with pacman, yaourt and manually aur/abs [SOLVED]
Hello,
I'm having the craziest hard time trying to install xmonad-darcs. I can pacman -S xmonad xmonad-contrib fine, but when I copy some nice configs that I see a lot of modules cannot be found after starting x.
This is the error I am getting when trying to install from aur via abs:
$ makepkg -s
==> Determining latest darcs revision...
-> Version found: 20100418
==> Making package: xmonad-darcs 20100418-1 i686 (Sun Apr 18 23:09:26 EDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Retrieving complete sources
darcs failed: Not a repository: http://code.haskell.org/xmonad (Failed to download URL http://code.haskell.org/xmonad/_darcs/inventory: Couldn't connect to server)
/home/woonasty/abs/xmonad-darcs/PKGBUILD: line 32: cd: /home/woonasty/abs/xmonad-darcs/src/xmonad: No such file or directory
<command line>:
Could not find module `Setup':
Use -v to see a list of the files searched for.
==> ERROR: Build Failed.
Aborting...
Is this package out of date because the repo dir is wrong?
vim PKGBUILD yields this:
1 # Contributor: adam vogt <vogt.adam<<at>>gmail.com>
2 # Package generated by cabal2arch 0.6
3 pkgname=xmonad-darcs
4 pkgrel=1
5 pkgver=20100418
6 pkgdesc="A tiling window manager"
7 url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xmonad"
8 license=('custom:BSD3')
9 arch=('i686' 'x86_64')
10 conflicts=('xmonad')
11 depends=('gmp' 'libxinerama' 'ghc' 'haskell-x11>=1.5.0.0' 'haskell-mtl')
12 makedepends=('darcs')
13 options=('strip')
14 source=()
15 install=xmonad.install
16 md5sums=()
17 _darcstrunk="http://code.haskell.org"
18 _darcsmod="xmonad"
If someone can point me in the right direction I'd love to contribute and fix this package and re-upload, I am a new Arch user and would like to get more involved........right after I get xmonad working lol.
thank you in advance,
sleeepysleepy wrote:nvm , mod please close thread i guess the site was temp down.
Sure thing. -
[Solved] Haskell/Xmonad Upgrade Issues
It seems that the testing version of haskell-x11-xft requires the non-testing version of haskell-x11.
Further, installing xmonad-contrib from testing seems to want to install the non-testing version of xmonad and haskell-x11-xft.
It seems to be one very large circle which I can't resolve.
So a pacman -Syu gives me:
warning: cannot resolve "haskell-x11=1.6.0.2-2", a dependency of "haskell-x11-xft"
warning: cannot resolve "haskell-x11=1.6.0.2-2", a dependency of "xmonad"
:: The following packages cannot be upgraded due to unresolvable dependencies:
haskell-x11-xft xmonad
Do you want to skip the above packages for this upgrade? [y/N] u
error: failed to prepare transaction (could not satisfy dependencies)
:: haskell-x11-xft: requires haskell-x11=1.6.0.2-2
:: xmonad: requires haskell-x11=1.6.0.2-2
Not sure if I've done something wrong or I'm being stupid.
Last edited by Nabobalis (2013-03-14 10:22:56)You can upgrade haskell-x11-xft and xmonad with;
# pacman -Syud --ignore haskell-x11
I too encountered what seemed to be a dependency loop, so used -d --nodeps option to skip the version check. Checking the Package repo shows that haskell-x11 is also flagged out of date, until things have been updated in the repo's you will see an error during update unless you
--ignore haskell-x11 -
Haskell-x11-extras conflicts with a required package?
I've been using Xmonad for a little while now, and have recently aquired a second monitor, so I read up on how to configure dual head setup. It seems I need to install haskell-x11-extras before reinstalling xmonad. I use yaourt to do this, and it builds OK with the exception of a few warnings about depricated use of defaultUserHooks (safe to ignore this?). When it starts to install an error states that this package conflicts with haskell-x11. So I remove haskell-x11 and try to install haskel-x11-extras again from the .pkg.tar.gz but then I get an error informing me that it requires haskell-x11 !
So I'm stuck in an infinate loop and may have inadvertantly broken time & space. Sorry about that
Anyone know how I can fix this? My goal is to use xmonad in dual head setup so if there is another way that avoids the extras package altogether, then I'd like to hear it please. So far, my mouse pointer can traverse to the second screen and back again but I can't send any apps over to it.
i'm at work at the moment using an inferior operating system, so the above was from memory but if anyone needs me to post the exact ouputs I'll do it when I get home in a few hours.
ThanksI can confirm the conflict between gnutls and autogen. Got the same error on "-Syu". My workaround for right now is to wait for either a new gnutls or autogen.
Edit: I'm x86_64 if that makes any difference.
Last edited by headkase (2012-02-20 09:20:35) -
Ssh: /etc/issue display between login and password prompts
Hi All,
I currently have ssh installed on one a Solaris 10 (non-global) zone. I have configured the sshd_config to run on protocol 2 and unhashed the 'Banner /etc/issue' parameter.
When I attempt to log into this zone via ssh I get (in this order)...
1. A login prompt
2. The message I have put in /etc/issue
3. A password prompt.
Is there some further configuration I need to consider here?
Any help would be great.
Thanks.Sorry, it's probably worth mentioning that what i would ultimately like to do is have the message in /etc/issue display itself prior to asking for a login, not after as it currently is.
Thanks. -
Hi. Can someone paste the content of /etc/issue file please? I've replaced the content by ASCII picture now i want to go back to default configuration - when login and logout screen is cleared each time. THNX
ABSROOT=. abs core/filesystem
wget -nv --content-disposition "http://repos.archlinux.org/wsvn/packages/filesystem/trunk/issue?op=dl&rev=0"
[some funky svn line I'm too lazy to figure out] -
Hi,
long time i had no problems using xmonad + xmonad-contrib + xmobar-darcs .
Since ghc and xmobar-darcs have been updated, I cannot recompile it including the mail module. It never comiles, it gives me an error that hinotify is not available. But i installed it. Now I cannot use the mail function of xmobar, which makes it quite interesting for me.
Unfortunatelly I don't have a *pkg.tar.gz of a former version :-(
Does someone have an idea why I do have this issue and how it can be solved?
thx for advice!!
greetings,
Linux-kaHi, well when installing via yourt I receive while compiling the following error:
[10 of 29] Compiling Plugins.Mail ( Plugins/Mail.hs, dist/build/xmobar/xmobar-tmp/Plugins/Mail.o )
Plugins/Mail.hs:18:0:
Warning: The import of `System.IO' is redundant
except perhaps to import instances from `System.IO'
To import instances alone, use: import System.IO()
After installing I cannot use my old config for showing incoming mails, it simply does not work.
When compiling manually via ghc (which is actually not my aim) I receive an error about missing hinoitfy (which is definitely installed). -
Panel template, polymorphism, fitting etc. issues
Having written quite a few LabView applications, I wonder if anyone
(including, maybe, LV development team) can answer the following questions:
1. I have two programs with the same number (and matching type) of controls
on the front panel and slightly different diagrams. The _layout_ of the
controls on one panel is different from the layout on the other one (i.e.,
size, position, shown/hidden etc). I need to change the look of one control
panel as a whole to the look of the other one. How can I do that without the
tedious work of saving individual controls from one panel and applying them
to the other one, then repositioning etc.? Can a whole front panel be saved
as a single control with a possibility to apply it later to different VI's?
2. Is it possible to create a VI with polymorphism inputs/outputs? Why not?
When it will be (if it will)?
3. The nonlinear (Levenberg-Marquardt) fitting algorithm supplied with LV5.x
is based on the formula processing and looks nicer than the (unfortunate)
similar creation put in the previous versions. Nevertheless, it works at
least 10 times slower than the formula-node based predecessor. This is a
huge difference as far as any serious fitting is concerned. Just wondering -
is NI going to do anything about it?
4. How about 2-d nonlinear fitting algorithm (for the functions of more than
one variable)? Any plans to include it in the (pricey) advanced analysis
package?
4. Why low-levels read/write VI's for other than I16 and single precision
data types are not included? While using the I16 (or even the self-made
modified version I32) to read data, I always have some kind of aliasing
effect: few bits spikes in unpredictable locations. How come? IDL / Matlab
reads same data just fine.
5. Running a Save Characters to File VI in a loop with sequential saving of
data (adding characters to an external file) works well only if this VI
execution takes most of the loop time (i.e., LV is sitting on it and waiting
for completion). If data acquisition or some other processes are running in
the loop too (Win9x), the results of this data saving are generally
unpredictable. How do you go about that?
I looked through the postings, but did not find the answers. Maybe, someone
could help?
MichaelMy responses are marked with ***s.
> Having written quite a few LabView applications, I wonder if anyone
> (including, maybe, LV development team) can answer the following questions:
>
> 1. I have two programs with the same number (and matching type) of controls
> on the front panel and slightly different diagrams. The _layout_ of the
> controls on one panel is different from the layout on the other one (i.e.,
> size, position, shown/hidden etc). I need to change the look of one control
> panel as a whole to the look of the other one. How can I do that without the
> tedious work of saving individual controls from one panel and applying them
> to the other one, then repositioning etc.? Can a whole front panel be saved
> as a single control with a possibility to apply it later to different VI's?
*** You can't save VIs as controls, and LV doesn't yet support nested panels.
What you can do for appearance cases, like what you describe is to use strict
typedef controls. Any change to the control definition will propagate to
all uses of the control, like the two panels that you mention.
>
> 2. Is it possible to create a VI with polymorphism inputs/outputs? Why not?
> When it will be (if it will)?
*** LV is a compiled language, and thus the datatypes must be known and cannot
change once the VI is compiled. It is possible to use generic datatypes
like strings, which most other datatypes can be converted to, and then the
VI can retrieve the information from the string. This isn't polymorphism,
but it does allow for similar affects. Despite what I said earlier,
polymorphism isn't impossible in LV or in compiled languages. Up till now
we haven't figured out how we wanted to support it without making the diagram
really complicated. Perhaps it will show up pretty soon?
>
> 3. The nonlinear (Levenberg-Marquardt) fitting algorithm supplied with LV5.x
> is based on the formula processing and looks nicer than the (unfortunate)
> similar creation put in the previous versions. Nevertheless, it works at
> least 10 times slower than the formula-node based predecessor. This is a
> huge difference as far as any serious fitting is concerned. Just wondering -
> is NI going to do anything about it?
>
> 4. How about 2-d nonlinear fitting algorithm (for the functions of more than
> one variable)? Any plans to include it in the (pricey) advanced analysis
> package?
>
*** I'd suggest that you contact technical support about these issues.
This is
over my head.
> 4. Why low-levels read/write VI's for other than I16 and single precision
> data types are not included? While using the I16 (or even the self-made
> modified version I32) to read data, I always have some kind of aliasing
> effect: few bits spikes in unpredictable locations. How come? IDL / Matlab
> reads same data just fine.
*** The functions for I16, Dbl, and strings are included as high level
functions, and only support a fraction of the file I/O functionality.
If you opent the Advanced folder in the lower right of the File I/O
palette, you will find a general File Read that can be used to read
any sort of file along with seeks, flushes, etc. As to the problem you
are having with a particular file, you don't give much information to
go on. I'd suggest providing the data file and VIs to tech support
and let them help you with it. Many people use LV to read and write
files, and it does work if used in the correct manner.
>
> 5. Running a Save Characters to File VI in a loop with sequential saving of
> data (adding characters to an external file) works well only if this VI
> execution takes most of the loop time (i.e., LV is sitting on it and waiting
> for completion). If data acquisition or some other processes are running in
> the loop too (Win9x), the results of this data saving are generally
> unpredictable. How do you go about that?
>
*** Again, there isn't much to go on here. If you are using globals or
locals, there can be race conditions in the diagram that can cause all
sorts of problems that change as you try to debug them. If this sounds
familiar, the first thing to do is to try writing the diagram with fewer
locals/globals, and bone up on what race conditions are. Again, the high
level VIs aren't as efficient, they open and close the file each time.
You can get much faster results using the Advanced functions. If you
are having problems, contact support and provide them with VIs.
Greg McKaskle -
Separate section for installation/activation/etc. issues
I'd suggest to add a separate section (subforum) for each (or most of) the software products, dealing exclusively with issues pertaining to installation/deinstallation/activation/deactivation/installing 64bit version on.../using product with ... graphics card/etc.etc...
For example, since the launch of Photoshop CS4, the main Photoshop forum section has been cluttered with installation/activation issues to a point, where other issues go unnoticed and people lose interest in the forum. During the last days, I've read at least 2 comments in the Photoshop section, that they have decided to stop using the forum for exactly this reason.
I'd have to look, but I can surely retrieve these comments, if need be ...
kind regards.such a nonsense!
There is a huge difference in
USING the program vs. installing/deinstalling (etc.) it. Don't say most of the people here are dumb!
If Joe and Jane sixpack wouldn't know that it's an installation issue, how come that they are capable of saying so in the thread title ??
And just look at today's Photoshop thread titles (all on the first page):
Installing Photoshop CS4 on a 64 bit Laptop. Tick Box?
Adobe Photoshop CS4 says license expired on first day of usage.
CS4 will not deactivate (Updated)
I can't install adobe cs4 photoshop, windows?
CS3 Extended activation error 194:8
Photoshop CS4 require system
Unable to get Photoshop CS2 to work
Increased RAM stopped my loading of Photoshop...why?
no "help/updates" on new install on vista
Cannot get download manager to work
BUG: Toggling interface on/off causes missing menu toolbar items and icons in Photoshop CS4!
Photoshop CS4 Multiple issues
Strange problem in PS CS4 32-bit only
Crashes when loading photo
CS2 Photoshop 'Adobe Help Center ' will not open (Updated) -
Deleting the screensharing program (in my case iscreen, guess airdisplay, etc are the same) did solve all my issues -- as mentioned before drag and drop did not work, white screen in several programs, not menu bar in full screen, etc.
Lion is now running smoothly - so everybody having the same issue just delete airdisplay and co :-))))))I would:
a) check on the email provider's website to check if it had copied there, and deal with it. Your mention of bandwidth implies this is an IMAP-connected account.
b) close Thunderbird, open its [https://support.mozilla.org/en-US/kb/profiles-tb?esab=a&s=profiles&r=1&as=s profile] and delete the offending folder there. You need to browse your profile for a while to understand its structure before doing anything rash.
On the whole, I discourage users from dragging folders about as you have done. By all means drag the ''contents'' (better yet, use multi-select, then right-click and "copy to" or "move to") but moving ''folders'' is IMHO an undefined operation with unpredictable outcomes. I've heard of users moving a folder from one account to another and finding that it still associates with (i.e. "belongs to") the original account. -
[solved]X11: MGA driver issues: video playback (mplayer) and 3D
Hello,
I am new to Arch, but I am not new to Linux. I installed Arch yesterday, before I was experimenting with it in VirtualBox and -to test the compatibility with my real hardware- I also tried the "Archie" live CD.
But there was one thing that the combination of VirtualBox and Archie could not test: the X Window System itself, because in Archie there was an older and VESA-only version and you could not upgrade it and VirtualBox was, well, virtual.
I have a Matrox card G550, so I installed the xf86-video-mga package. At first it did not work at all (blank screen), but when I switched the console from framebuffer to "normal" text mode it started working, but...
1) the 3D performance (glxgears) is about half of the FPS I got on my previous Linux system
2) when I tried to play video with mplayer, xine or vlc, there was blue screen instead of the picture. - I can send you a screenshot, but it's just a blue box where the picture should be
I discovered, that this bluescreen thing is "solved" with some arcane xorg.conf option I discovered with "man mga" - in fact, I tried each of the options in hope for this to fix:
Option "ShadowFB" "on"
but this thing slows the 3D performance even more, so the OpenGL version of Doom is not playable any more :(
Also the mplayer itself behaves differently than on my old Linux: When I resize the window or go fullscreen, on the old system it resized or fullscreened the entire picture and now just the window is bigger and the picture remains the same. I solved this with -vo sdl, but it seems the picture has poorer quality in this case
at all, I think something is missing in the xorg configuration, because the mplayer and 3D behavior suggest so.
here is my config:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/artwiz-fonts/"
EndSection
Section "Module"
Load "xtrap"
Load "dbe"
Load "GLcore"
Load "extmod"
Load "record"
Load "dri"
Load "glx"
#Load "freetype"
#Load "type1"
#Load "v4l"
#Load "drm"
#Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "us,cz_qwerty"
Option "XkbModel" "pc104"
Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
DisplaySize 380 300 # mm
Identifier "Monitor0"
VendorName "BNQ"
ModelName "BenQ FP91G+"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 30.0 - 83.0
VertRefresh 43.0 - 76.0
Option "DPMS"
UseModes "Modes[0]"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "HWcursor" # [<bool>]
#Option "PciRetry" # [<bool>]
#Option "SyncOnGreen" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "Overlay" # [<str>]
#Option "MGASDRAM" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "ColorKey" # <i>
#Option "SetMclk" # <freq>
#Option "OverclockMem" # [<bool>]
#Option "VideoKey" # <i>
#Option "TexturedVideo" # [<bool>]
#Option "Int10" # [<bool>]
#Option "AGPMode" # <i>
#Option "AGPSize" # <i>
#Option "DRI" # [<bool>]
#Option "OldDmaInit" # [<bool>]
#Option "ForcePciDma" # [<bool>]
#Option "AccelMethod" # [<str>]
Identifier "Card0"
Driver "mga"
VendorName "Matrox Graphics, Inc."
BoardName "MGA G550 AGP"
BusID "PCI:1:0:0"
Option "HwCursor" "off" #protoze jinak tam neni
Option "DRI" "on"
Option "ShadowFB" "on" #jo ale pomalejsi 3D
#Option "OldDMAInit" "on"
Option "AGPMode" "4"
#Option "TexturedVideo" "on" #nefunguje
Option "AccelMethod" "EXA"
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
Section "Modes"
Identifier "Modes[0]"
Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync
-vsync
ModeLine "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
I use 16bpp because 24bpp is slower...
thank you in advance,
Daniel
Last edited by danielsoft (2008-03-04 16:21:17)the solution was to downgrade the x server and matrox drivers
(I found the old packages at http://mir2.archlinuxfr.org/archlinux/c … i686.old/)
the following packages were downgraded:
xf86-input-keyboard-1.1.1-1.pkg.tar.gz
xf86-input-mouse-1.2.1-1.pkg.tar.gz
xf86-video-mga-1.4.6.1-1.pkg.tar.gz
xorg-server-1.2.0-5.pkg.tar.gz
xorg-xkb-utils-1.0.2-2.pkg.tar.gz -
I have an app running using X11 that insists on starting up completely spread across both of my monitors, without the ability to resize. I would really like to limit this app to one monitor, or preferably to have the ability to resize. If I click the green resize button on the title bar, the portion of the app that is on the 2nd monitor gets cut off and I'm stuck.
Any thoughts? Are there config settings or flags I can use to help this?
ThanksAdd the following option to the X11 application command line arguments.
-geometry ${w}x${h}+${x}+${y}
Replace ${w} with the X11 window width
Replace ${h} with the X11 window height
Replace ${x} with the X11 window x coordinate position in pixels from the left
Replace ${y} with the X11 window y coordinate position in pixels from the top
For example, if your first monitor is 1280 pixels wide, then x=1280 will start at the beginning of the 2nd monitor. Generally you need to specify y=20 or greater to be below the menu bar.
Experiment with the width and height until you get what you want. -
Syncing contacts,calander etc issues...
So yesterday while trying to sync my iPhone 3g the sync process seemed to be stuck in an infinite loop of "syncing contacts" (I actually left it for 10min). I proceeded to cancel the sync and then my iTunes froze, I exited and downloaded the new iTunes hoping this would fix it.
Now whenever I sync it takes about 10min to sync contact and 10min to sync calander even though there is nothing new. It's only this "info" section that seems to have messed up.
Any help would be appreciated.
-ImageHello, Welcome to Apple Discussions.
You may wish to check out the following article below. Post back if you need further assistance.
Troubleshooting iPhone and iPod touch contact and calendar syncing via USB on Windows
http://support.apple.com/kb/HT1692 -
Audio Console, etc issue solut
I searched high and low for a reason as to why I couldn't use the Audio Console (device not present or supported errors) and my card not being recognized by windows. I found out that you must have COM+Event System and DCOM Server Process services running (on Automatic) for these to work. Hope this helps a few people because it was driving me crazy for quite a few hours.
Maybe you are looking for
-
Apple AL wireless keyboard error when pairing
All was well with this keyboard until just recently. I've tried to pair this keyboard with 4 different Macs of mine (all 10.5.4/5) and get the same error over and over: The pairing attempt was unsuccessful. Make sure your keyboard is in range of this
-
I have a disk inserted into my MacBook Pro that is not showing up in the Finder side bar. How can I get it "ejected?" (I've checked in system preferences under CDs & DVDs and did not find a solution.)
-
Office 2010 Custom Template - folder icon
Hi, I made a XML custom templates files with many templates for word. I also made a registry patch to make word parsing this xml. Everything works, but I would like to change the categroy folder icon. Is there a way to do so ? BR, SL
-
I am running Lion on my MacBook Pro and it locks up several times a day. I purchased Lion from the App Store. Can I download Lion again and reinstall without having to reload all of my apps?
-
i updated my iphone 4s to ios 7.0.4. But now the battery is using 100% power each day? Why? When i connect my iphone to charge the battery the iphone after a few minutes feels very warm. When the iphone is 100% charged in the morning, in de evening t