From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Nikolaev Subject: Re: Set screen resolution in X. Date: Tue, 18 Aug 2015 11:26:38 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0158bfce47eb21051d91ad41 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRcEE-0002br-HA for guix-devel@gnu.org; Tue, 18 Aug 2015 04:26:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRcEC-000169-EP for guix-devel@gnu.org; Tue, 18 Aug 2015 04:26:42 -0400 Received: from mail-lb0-x235.google.com ([2a00:1450:4010:c04::235]:35186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRcEC-000160-1x for guix-devel@gnu.org; Tue, 18 Aug 2015 04:26:40 -0400 Received: by lbcbn3 with SMTP id bn3so97609012lbc.2 for ; Tue, 18 Aug 2015 01:26:38 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel --089e0158bfce47eb21051d91ad41 Content-Type: text/plain; charset=UTF-8 On 14 August 2015 at 12:27, Camel wrote: > > I've tried reinstalling GuixSD from zero with config.scm mentioning > slim-service and #:resolutions. Didn't help either. Same error again. What > should I do now? Should I post my full config.scm? Should I ask you to try > slim-service configuration with #:resolutions ? > I've tried everything. Please help me. I want to help Guix, write new packages and patches, but I can't. My eyes hurts because of wrong resolution. Here is my full config.scm: (use-modules (gnu) (gnu system nss) (gnu services xorg)) (use-modules (guix)) (use-service-modules desktop) (use-package-modules xfce ratpoison wicd avahi xorg certs) (define (my-slim-service) (mlet %store-monad ((config (xorg-configuration-file #:resolutions '((1366 768))))) (slim-service #:startx (xorg-start-command #:configuration-file config)))) (operating-system (host-name "camelot") (timezone "Europe/Moscow") (locale "en_US.UTF-8") ;; Assuming /dev/sdX is the target hard disk, and "root" is ;; the label of the target root file system. (bootloader (grub-configuration (device "/dev/sda"))) (file-systems (cons (file-system (device "/dev/sda1") (title 'guix) (mount-point "/") (type "ext4")) %base-file-systems)) (users (list (user-account (name "camel") (comment "Camel") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/camel")))) ;; Add Xfce and Ratpoison; that allows us to choose ;; sessions using either of these at the log-in screen. (packages (cons* xfce ratpoison ;desktop environments xterm wicd avahi ;useful tools nss-certs ;for HTTPS access %base-packages)) ;; Use the "desktop" services, which include the X11 ;; log-in service, networking with Wicd, and more. (services (cons* (my-slim-service) ;;%desktop-services %base-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss)) Have I configured slim-service properly? Do I need to use some modules I haven't mentioned? Dmitry --089e0158bfce47eb21051d91ad41 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 PGRpdiBkaXI9Imx0ciI+PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPjxkaXYgY2xhc3M9ImdtYWls X3F1b3RlIj5PbiAxNCBBdWd1c3QgMjAxNSBhdCAxMjoyNywgQ2FtZWwgPHNwYW4gZGlyPSJsdHIi PiZsdDs8YSBocmVmPSJtYWlsdG86Y2FtZWx0aGVtYW5AZ21haWwuY29tIiB0YXJnZXQ9Il9ibGFu ayI+Y2FtZWx0aGVtYW5AZ21haWwuY29tPC9hPiZndDs8L3NwYW4+IHdyb3RlOjxicj48YmxvY2tx dW90ZSBjbGFzcz0iZ21haWxfcXVvdGUiIHN0eWxlPSJtYXJnaW46MCAwIDAgLjhleDtib3JkZXIt bGVmdDoxcHggI2NjYyBzb2xpZDtwYWRkaW5nLWxlZnQ6MWV4Ij48ZGl2IGRpcj0ibHRyIj48c3Bh biBjbGFzcz0iIj48ZGl2IGNsY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