You are not logged in.

#1 2017-10-01 06:30:07

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Custom pekwm theme only loads after starting pekwm with another theme

I have a really weird problem that I'm not sure how to fix. When trying to load up pekwm, I am presented with just a black screen with no cursor (I tried right clicking to see if anything would come up, and it doesn't). However, when I load up awesome it works just fine. It was working just fine for me before with pekwm but now it won't work at all.

If it helps, I'm running on base xorg drivers because when I use the intel drivers x won't start at all (I have an ultrabook with the haswell chip).

I'm making a custom pekwm theme and it only loads (from the menu) after starting up with another theme (like the default theme).

Here's the theme file. I'm thinking that there's some sort of syntax error in there.

# custom pekwm theme
# License: GPL
# Author: Kevin Mason
# Email: ---------
# Homepage: http://go2-11.com

$FONT = "Titillium Web SemiBold-9Left#XFT"
$FONT_TITLE = "Titillium Web SemiBold-13Left#XFT"

Require {
  Templates = "True"
}

Define = "BaseDecor" {
  Height = "28"

  # Increase first number to bring title text downwards
  Pad = "0 5 5 0"

  Focused = "Solid #000000"
  Unfocused = "Solid #000000"

  Tab {
    Focused = "Image focus.png"
    FocusedSelected = "Image focus.png"
    Unfocused = "Solid #000000"
    UnfocusedSelected = "Image unfocus.png"
  }
  Separator {
    Focused = "Image tab-separator.png"
    Unfocused = "Image tab-separator.png"
  }
  Font {
    Focused = "$FONT_TITLE"
  }
  FontColor {
    Focused = "#ffffff"
    FocusedSelected = "#ffffff"
    Unfocused = "#000000"
    UnfocusedSelected = "#000000"
  }
  Border {
    Focused {
      TopLeft = "Solid #000000 2x2"
      Top = "Solid #000000 2x2"
      TopRight = "Solid #000000 2x2"
      Left =  "Solid #000000 2x2"
      Right = "Solid #000000 2x2"
      BottomLeft = "Solid #000000 2x2"
      Bottom = "Solid #000000 2x2"
      BottomRight = "Solid #000000 2x2"
    }
    Unfocused {
      TopLeft = "Solid #000000 2x2"
      Top = "Solid #000000 2x2"
      TopRight = "Solid #000000 2x2"
      Left =  "Solid #000000 2x2"
      Right = "Solid #000000 2x2"
      BottomLeft = "Solid #000000 2x2"
      Bottom = "Solid #000000 2x2"
      BottomRight = "Solid #000000 2x2"
    }
  }
}

Define = "BaseButtons" {
  Buttons {
    Right = "Close" {
      Focused = "Image close.png"
      Unfocused = "Image button_unfocus.png"
      Hoover = "Image close_hover.png"
      Pressed = "Image close_press.png"
      Button = "1" { Actions = "Close" }
      Button = "3" { Actions = "Kill" }
    }

    Right = "Maximize" {
      Focused = "Image max.png"
      Unfocused = "Image button_unfocus.png"
      Hoover = "Image max_hover.png"
      Pressed = "Image max_press.png"
      Button = "1" { Actions = "Toggle Maximized 1 1" }
    }

    Right = "Iconify" {
      Focused = "Image min.png"
      Unfocused = "Image button_unfocus.png"
      Hoover = "Image min_hover.png"
      Pressed = "Image min_press.png"
      Button = "1" { Actions = "Set Iconified" }
    }
      
    Left = "Shade" {
        Focused = "Image min.png"
        Unfocused = "Image button_unfocus.png"
        Hoover = "Image min_hover.png"
        Pressed = "Image min_press.png"
        Button = "1" { Actions = "Toggle Shaded" }
    }
  }
}

PDecor {
  Decor = "Default" {
    Title {
      @BaseDecor
      @BaseButtons
    }
  }

  Decor = "Menu" {
    Title {
      @EmptyDecor
    }
  }

  Decor = "Titlebarless" {
    Title {
      @EmptyDecor
    }
  }

  Decor = "Statuswindow" {
    Title {
      @EmptyDecor
    }
  }
}

Harbour {
  Texture = "Image tray.png"
}

Menu {
  Pad = "2 0 2 2" 

  Focused {
    Font = "$FONT"
    Background = "Solid #ffffff"
    Item = "Empty"
    Text = "#000" 
    Separator = "Image menu-line.png#Scaled"
    Arrow = "Image arrow.png"
  }
  Unfocused {
    Font = "$FONT"
    Background = "Solid #ffffff"
    Item = "Empty"
    Text = "#000"
    Separator = "Image menu-line.png#Scaled"
    Arrow = "Image arrow_unfocus.png"
  }
  Selected {
    Font = "$FONT"
    Background = "Image menu_focus.png#Scaled"
    Item = "Image menu_focus.png"
    Text = "#000"
    Arrow = "Image arrow_focus.png"
  }
}

CmdDialog {
  Font = "$FONT"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "3 0 1 10"
}

Status {
  Font = "$FONT"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "2 2 10 10"
}

Last edited by kmason (2017-10-01 22:50:07)

Offline

#2 2017-10-01 06:35:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Custom pekwm theme only loads after starting pekwm with another theme

Config files (xinitrc and Xorg, if any) plus an Xorg log for a failed session would be the bare minimum to assist here...
You can probably also get pekwm to redirect output to a file.


Moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-10-01 06:45:34

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: Custom pekwm theme only loads after starting pekwm with another theme

I'm running on default configs for Xorg (so, no config files present).

.xinitrc is this:

exec pekwm

I don't think it's an Xorg issue anymore though because after switching themes in the config file for pekwm it loads up just fine. Curiously enough though it doesn't crash when I load the offending theme after starting pekwm.

Here's the Xorg logs anyways though

[   100.789] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[   100.789] X Protocol Version 11, Revision 0
[   100.789] Build Operating System: Linux 4.12.5-1-ARCH x86_64 
[   100.789] Current Operating System: Linux feedbacker 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017 x86_64
[   100.789] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=497d7482-b094-4f7b-90a8-b00a71a9fa17 rw quiet
[   100.790] Build Date: 13 August 2017  09:37:50PM
[   100.790]  
[   100.790] Current version of pixman: 0.34.0
[   100.790] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   100.790] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   100.790] (==) Log file: "/home/kmason/.local/share/xorg/Xorg.0.log", Time: Sat Sep 30 23:16:52 2017
[   100.791] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   100.793] (==) No Layout section.  Using the first Screen section.
[   100.793] (==) No screen section available. Using defaults.
[   100.793] (**) |-->Screen "Default Screen Section" (0)
[   100.793] (**) |   |-->Monitor "<default monitor>"
[   100.793] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   100.794] (==) Automatically adding devices
[   100.794] (==) Automatically enabling devices
[   100.794] (==) Automatically adding GPU devices
[   100.794] (==) Automatically binding GPU devices
[   100.794] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   100.796] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   100.796] 	Entry deleted from font path.
[   100.796] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   100.796] 	Entry deleted from font path.
[   100.796] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   100.797] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   100.797] 	Entry deleted from font path.
[   100.797] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   100.797] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[   100.797] (==) ModulePath set to "/usr/lib/xorg/modules"
[   100.797] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   100.797] (II) Loader magic: 0x5624f35abd40
[   100.797] (II) Module ABI versions:
[   100.797] 	X.Org ANSI C Emulation: 0.4
[   100.797] 	X.Org Video Driver: 23.0
[   100.797] 	X.Org XInput driver : 24.1
[   100.797] 	X.Org Server Extension : 10.0
[   100.798] (++) using VT number 1

[   100.798] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   100.799] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   100.800] (II) xfree86: Adding drm device (/dev/dri/card0)
[   100.800] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   100.802] (--) PCI:*(0:0:2:0) 8086:0a16:1028:0674 rev 9, Mem @ 0xb0000000/4194304, 0xa0000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[   100.802] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   100.802] (II) LoadModule: "glx"
[   100.803] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   100.817] (II) Module glx: vendor="X.Org Foundation"
[   100.817] 	compiled for 1.19.3, module version = 1.0.0
[   100.817] 	ABI class: X.Org Server Extension, version 10.0
[   100.817] (==) Matched intel as autoconfigured driver 0
[   100.817] (==) Matched intel as autoconfigured driver 1
[   100.817] (==) Matched modesetting as autoconfigured driver 2
[   100.817] (==) Matched fbdev as autoconfigured driver 3
[   100.817] (==) Matched vesa as autoconfigured driver 4
[   100.817] (==) Assigned the driver to the xf86ConfigLayout
[   100.817] (II) LoadModule: "intel"
[   100.817] (WW) Warning, couldn't open module intel
[   100.817] (II) UnloadModule: "intel"
[   100.817] (II) Unloading intel
[   100.817] (EE) Failed to load module "intel" (module does not exist, 0)
[   100.817] (II) LoadModule: "modesetting"
[   100.817] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   100.818] (II) Module modesetting: vendor="X.Org Foundation"
[   100.818] 	compiled for 1.19.3, module version = 1.19.3
[   100.818] 	Module class: X.Org Video Driver
[   100.818] 	ABI class: X.Org Video Driver, version 23.0
[   100.818] (II) LoadModule: "fbdev"
[   100.818] (WW) Warning, couldn't open module fbdev
[   100.818] (II) UnloadModule: "fbdev"
[   100.818] (II) Unloading fbdev
[   100.818] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   100.818] (II) LoadModule: "vesa"
[   100.819] (WW) Warning, couldn't open module vesa
[   100.819] (II) UnloadModule: "vesa"
[   100.819] (II) Unloading vesa
[   100.819] (EE) Failed to load module "vesa" (module does not exist, 0)
[   100.819] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   100.819] (II) modeset(0): using drv /dev/dri/card0
[   100.819] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   100.819] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   100.819] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   100.819] (==) modeset(0): RGB weight 888
[   100.819] (==) modeset(0): Default visual is TrueColor
[   100.819] (II) Loading sub module "glamoregl"
[   100.819] (II) LoadModule: "glamoregl"
[   100.819] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   100.828] (II) Module glamoregl: vendor="X.Org Foundation"
[   100.828] 	compiled for 1.19.3, module version = 1.0.0
[   100.828] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   100.828] (II) glamor: OpenGL accelerated X.org driver based.
[   100.887] (II) glamor: EGL version 1.4 (DRI2):
[   100.906] (II) modeset(0): glamor initialized
[   100.908] (II) modeset(0): Output eDP-1 has no monitor section
[   100.915] (II) modeset(0): Output HDMI-1 has no monitor section
[   100.916] (II) modeset(0): EDID for output eDP-1
[   100.916] (II) modeset(0): Manufacturer: LGD  Model: 464  Serial#: 0
[   100.916] (II) modeset(0): Year: 2014  Week: 0
[   100.916] (II) modeset(0): EDID Version: 1.4
[   100.916] (II) modeset(0): Digital Display Input
[   100.916] (II) modeset(0): 6 bits per channel
[   100.916] (II) modeset(0): Digital interface is DisplayPort
[   100.916] (II) modeset(0): Max Image Size [cm]: horiz.: 29  vert.: 16
[   100.916] (II) modeset(0): Gamma: 2.20
[   100.916] (II) modeset(0): No DPMS capabilities specified
[   100.916] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   100.916] (II) modeset(0): First detailed timing is preferred mode
[   100.916] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[   100.916] (II) modeset(0): redX: 0.580 redY: 0.348   greenX: 0.341 greenY: 0.570
[   100.916] (II) modeset(0): blueX: 0.157 blueY: 0.124   whiteX: 0.313 whiteY: 0.329
[   100.916] (II) modeset(0): Manufacturer's mask: 0
[   100.916] (II) modeset(0): Supported detailed timing:
[   100.917] (II) modeset(0): clock: 76.3 MHz   Image Size:  293 x 165 mm
[   100.917] (II) modeset(0): h_active: 1366  h_sync: 1414  h_sync_end 1446 h_blank_end 1608 h_border: 0
[   100.917] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 776 v_blanking: 790 v_border: 0
[   100.917] (II) modeset(0): Supported detailed timing:
[   100.917] (II) modeset(0): clock: 61.0 MHz   Image Size:  293 x 165 mm
[   100.917] (II) modeset(0): h_active: 1366  h_sync: 1414  h_sync_end 1446 h_blank_end 1608 h_border: 0
[   100.917] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 776 v_blanking: 790 v_border: 0
[   100.917] (II) modeset(0):  W6TN0€133WH2
[   100.917] (II) modeset(0): Unknown vendor-specific block 0
[   100.917] (II) modeset(0): EDID (in hex):
[   100.917] (II) modeset(0): 	00ffffffffffff0030e4640400000000
[   100.917] (II) modeset(0): 	00180104951d10780a84759459579228
[   100.917] (II) modeset(0): 	1f505400000001010101010101010101
[   100.917] (II) modeset(0): 	010101010101ce1d56f2500016303020
[   100.917] (II) modeset(0): 	350025a510000019d81756f250001630
[   100.917] (II) modeset(0): 	3020350025a510000019000000fe0057
[   100.917] (II) modeset(0): 	36544e30803133335748320a00000000
[   100.917] (II) modeset(0): 	00004131990410000009010a20200017
[   100.917] (II) modeset(0): Printing probed modes for output eDP-1
[   100.917] (II) modeset(0): Modeline "1366x768"x60.1   76.30  1366 1414 1446 1608  768 771 776 790 -hsync -vsync (47.5 kHz eP)
[   100.917] (II) modeset(0): Modeline "1366x768"x48.1   61.04  1366 1414 1446 1608  768 771 776 790 -hsync -vsync (38.0 kHz e)
[   100.917] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   100.917] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   100.917] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   100.917] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   100.917] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   100.917] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   100.917] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   100.917] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   100.917] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   100.917] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   100.917] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   100.917] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   100.917] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   100.917] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   100.917] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   100.917] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   100.926] (II) modeset(0): EDID for output HDMI-1
[   100.926] (II) modeset(0): Output eDP-1 connected
[   100.926] (II) modeset(0): Output HDMI-1 disconnected
[   100.926] (II) modeset(0): Using exact sizes for initial modes
[   100.926] (II) modeset(0): Output eDP-1 using initial mode 1366x768 +0+0
[   100.926] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   100.926] (==) modeset(0): DPI set to (96, 96)
[   100.926] (II) Loading sub module "fb"
[   100.926] (II) LoadModule: "fb"
[   100.926] (II) Loading /usr/lib/xorg/modules/libfb.so
[   100.928] (II) Module fb: vendor="X.Org Foundation"
[   100.928] 	compiled for 1.19.3, module version = 1.0.0
[   100.928] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   100.928] (==) Depth 24 pixmap format is 32 bpp
[   101.040] (==) modeset(0): Backing store enabled
[   101.040] (==) modeset(0): Silken mouse enabled
[   101.041] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   101.103] (==) modeset(0): DPMS enabled
[   101.103] (II) modeset(0): [DRI2] Setup complete
[   101.103] (II) modeset(0): [DRI2]   DRI driver: i965
[   101.103] (II) modeset(0): [DRI2]   VDPAU driver: i965
[   101.103] (--) RandR disabled
[   101.116] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   101.116] (II) AIGLX: enabled GLX_ARB_create_context
[   101.116] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   101.116] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[   101.116] (II) AIGLX: enabled GLX_INTEL_swap_event
[   101.116] (II) AIGLX: enabled GLX_SGI_swap_control
[   101.116] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   101.116] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   101.116] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[   101.116] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   101.116] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   101.116] (II) AIGLX: Loaded and initialized i965
[   101.116] (II) GLX: Initialized DRI2 GL provider for screen 0
[   101.120] (II) modeset(0): Damage tracking initialized
[   101.120] (II) modeset(0): Setting screen physical size to 361 x 203
[   101.182] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[   101.182] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   101.182] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   101.182] (II) LoadModule: "libinput"
[   101.182] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   101.189] (II) Module libinput: vendor="X.Org Foundation"
[   101.189] 	compiled for 1.19.3, module version = 0.26.0
[   101.189] 	Module class: X.Org XInput Driver
[   101.189] 	ABI class: X.Org XInput driver, version 24.1
[   101.189] (II) Using input driver 'libinput' for 'Power Button'
[   101.190] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 20 paused 0
[   101.190] (**) Power Button: always reports core events
[   101.190] (**) Option "Device" "/dev/input/event4"
[   101.190] (**) Option "_source" "server/udev"
[   101.191] (II) event4  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   101.191] (II) event4  - (II) Power Button: (II) device is a keyboard
[   101.191] (II) event4  - (II) Power Button: (II) device removed
[   101.191] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event4"
[   101.191] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   101.191] (II) event4  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   101.191] (II) event4  - (II) Power Button: (II) device is a keyboard
[   101.191] (II) config/udev: Adding input device Video Bus (/dev/input/event14)
[   101.191] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   101.192] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   101.192] (II) Using input driver 'libinput' for 'Video Bus'
[   101.192] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 23 paused 0
[   101.192] (**) Video Bus: always reports core events
[   101.192] (**) Option "Device" "/dev/input/event14"
[   101.192] (**) Option "_source" "server/udev"
[   101.193] (II) event14 - (II) Video Bus: (II) is tagged by udev as: Keyboard
[   101.193] (II) event14 - (II) Video Bus: (II) device is a keyboard
[   101.193] (II) event14 - (II) Video Bus: (II) device removed
[   101.193] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input24/event14"
[   101.193] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   101.193] (II) event14 - (II) Video Bus: (II) is tagged by udev as: Keyboard
[   101.193] (II) event14 - (II) Video Bus: (II) device is a keyboard
[   101.194] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   101.194] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   101.194] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   101.194] (II) Using input driver 'libinput' for 'Power Button'
[   101.194] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 24 paused 0
[   101.194] (**) Power Button: always reports core events
[   101.194] (**) Option "Device" "/dev/input/event1"
[   101.194] (**) Option "_source" "server/udev"
[   101.195] (II) event1  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   101.195] (II) event1  - (II) Power Button: (II) device is a keyboard
[   101.195] (II) event1  - (II) Power Button: (II) device removed
[   101.195] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event1"
[   101.195] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   101.195] (II) event1  - (II) Power Button: (II) is tagged by udev as: Keyboard
[   101.195] (II) event1  - (II) Power Button: (II) device is a keyboard
[   101.195] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
[   101.195] (II) No input driver specified, ignoring this device.
[   101.195] (II) This device may have been added with another device file.
[   101.196] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   101.196] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   101.196] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   101.196] (II) Using input driver 'libinput' for 'Sleep Button'
[   101.196] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 25 paused 0
[   101.196] (**) Sleep Button: always reports core events
[   101.196] (**) Option "Device" "/dev/input/event2"
[   101.196] (**) Option "_source" "server/udev"
[   101.197] (II) event2  - (II) Sleep Button: (II) is tagged by udev as: Keyboard
[   101.197] (II) event2  - (II) Sleep Button: (II) device is a keyboard
[   101.197] (II) event2  - (II) Sleep Button: (II) device removed
[   101.197] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event2"
[   101.197] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[   101.198] (II) event2  - (II) Sleep Button: (II) is tagged by udev as: Keyboard
[   101.198] (II) event2  - (II) Sleep Button: (II) device is a keyboard
[   101.198] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event15)
[   101.198] (II) No input driver specified, ignoring this device.
[   101.198] (II) This device may have been added with another device file.
[   101.199] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event16)
[   101.199] (II) No input driver specified, ignoring this device.
[   101.199] (II) This device may have been added with another device file.
[   101.199] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event17)
[   101.199] (II) No input driver specified, ignoring this device.
[   101.199] (II) This device may have been added with another device file.
[   101.199] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=9 (/dev/input/event18)
[   101.199] (II) No input driver specified, ignoring this device.
[   101.199] (II) This device may have been added with another device file.
[   101.200] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=10 (/dev/input/event19)
[   101.200] (II) No input driver specified, ignoring this device.
[   101.200] (II) This device may have been added with another device file.
[   101.200] (II) config/udev: Adding input device Integrated_Webcam_HD: Integrate (/dev/input/event20)
[   101.200] (**) Integrated_Webcam_HD: Integrate: Applying InputClass "evdev keyboard catchall"
[   101.200] (**) Integrated_Webcam_HD: Integrate: Applying InputClass "libinput keyboard catchall"
[   101.200] (II) Using input driver 'libinput' for 'Integrated_Webcam_HD: Integrate'
[   101.201] (II) systemd-logind: got fd for /dev/input/event20 13:84 fd 26 paused 0
[   101.201] (**) Integrated_Webcam_HD: Integrate: always reports core events
[   101.201] (**) Option "Device" "/dev/input/event20"
[   101.201] (**) Option "_source" "server/udev"
[   101.201] (II) event20 - (II) Integrated_Webcam_HD: Integrate: (II) is tagged by udev as: Keyboard
[   101.202] (II) event20 - (II) Integrated_Webcam_HD: Integrate: (II) device is a keyboard
[   101.202] (II) event20 - (II) Integrated_Webcam_HD: Integrate: (II) device removed
[   101.202] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/input/input30/event20"
[   101.202] (II) XINPUT: Adding extended input device "Integrated_Webcam_HD: Integrate" (type: KEYBOARD, id 10)
[   101.202] (II) event20 - (II) Integrated_Webcam_HD: Integrate: (II) is tagged by udev as: Keyboard
[   101.202] (II) event20 - (II) Integrated_Webcam_HD: Integrate: (II) device is a keyboard
[   101.203] (II) config/udev: Adding input device ELAN Touchscreen Pen (/dev/input/event8)
[   101.203] (**) ELAN Touchscreen Pen: Applying InputClass "evdev tablet catchall"
[   101.203] (**) ELAN Touchscreen Pen: Applying InputClass "libinput tablet catchall"
[   101.203] (II) Using input driver 'libinput' for 'ELAN Touchscreen Pen'
[   101.204] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 27 paused 0
[   101.204] (**) ELAN Touchscreen Pen: always reports core events
[   101.204] (**) Option "Device" "/dev/input/event8"
[   101.204] (**) Option "_source" "server/udev"
[   101.204] (II) event8  - (II) ELAN Touchscreen Pen: (II) is tagged by udev as: Tablet
[   101.247] (II) event8  - (II) ELAN Touchscreen Pen: (II) tablet 'ELAN Touchscreen Pen' unknown to libwacom
[   101.247] (II) event8  - (II) ELAN Touchscreen Pen: (II) device is a tablet
[   101.247] (II) event8  - (II) ELAN Touchscreen Pen: (II) device removed
[   101.247] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.0/0003:04F3:0406.0002/input/input11/event8"
[   101.247] (II) XINPUT: Adding extended input device "ELAN Touchscreen Pen" (type: TABLET, id 11)
[   101.247] (II) event8  - (II) ELAN Touchscreen Pen: (II) is tagged by udev as: Tablet
[   101.256] (II) event8  - (II) ELAN Touchscreen Pen: (II) tablet 'ELAN Touchscreen Pen' unknown to libwacom
[   101.256] (II) event8  - (II) ELAN Touchscreen Pen: (II) device is a tablet
[   101.257] (II) config/udev: Adding input device ELAN Touchscreen Pen (/dev/input/mouse0)
[   101.257] (II) No input driver specified, ignoring this device.
[   101.257] (II) This device may have been added with another device file.
[   101.258] (II) config/udev: Adding input device ELAN Touchscreen (/dev/input/event9)
[   101.258] (**) ELAN Touchscreen: Applying InputClass "evdev touchscreen catchall"
[   101.258] (**) ELAN Touchscreen: Applying InputClass "libinput touchscreen catchall"
[   101.258] (II) Using input driver 'libinput' for 'ELAN Touchscreen'
[   101.258] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 29 paused 0
[   101.259] (**) ELAN Touchscreen: always reports core events
[   101.259] (**) Option "Device" "/dev/input/event9"
[   101.259] (**) Option "_source" "server/udev"
[   101.259] (II) event9  - (II) ELAN Touchscreen: (II) is tagged by udev as: Touchscreen
[   101.259] (II) event9  - (II) ELAN Touchscreen: (II) device is a touch device
[   101.259] (II) event9  - (II) ELAN Touchscreen: (II) device removed
[   101.259] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.0/0003:04F3:0406.0002/input/input12/event9"
[   101.259] (II) XINPUT: Adding extended input device "ELAN Touchscreen" (type: TOUCHSCREEN, id 12)
[   101.259] (**) Option "AccelerationScheme" "none"
[   101.259] (**) ELAN Touchscreen: (accel) selected scheme none/0
[   101.259] (**) ELAN Touchscreen: (accel) acceleration factor: 2.000
[   101.259] (**) ELAN Touchscreen: (accel) acceleration threshold: 4
[   101.260] (II) event9  - (II) ELAN Touchscreen: (II) is tagged by udev as: Touchscreen
[   101.260] (II) event9  - (II) ELAN Touchscreen: (II) device is a touch device
[   101.260] (II) config/udev: Adding input device ELAN Touchscreen (/dev/input/mouse1)
[   101.260] (II) No input driver specified, ignoring this device.
[   101.260] (II) This device may have been added with another device file.
[   101.260] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event11)
[   101.260] (II) No input driver specified, ignoring this device.
[   101.260] (II) This device may have been added with another device file.
[   101.261] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event10)
[   101.261] (II) No input driver specified, ignoring this device.
[   101.261] (II) This device may have been added with another device file.
[   101.261] (II) config/udev: Adding input device Intel Virtual Button driver (/dev/input/event6)
[   101.261] (**) Intel Virtual Button driver: Applying InputClass "evdev keyboard catchall"
[   101.261] (**) Intel Virtual Button driver: Applying InputClass "libinput keyboard catchall"
[   101.261] (II) Using input driver 'libinput' for 'Intel Virtual Button driver'
[   101.262] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 30 paused 0
[   101.262] (**) Intel Virtual Button driver: always reports core events
[   101.262] (**) Option "Device" "/dev/input/event6"
[   101.262] (**) Option "_source" "server/udev"
[   101.262] (II) event6  - (II) Intel Virtual Button driver: (II) is tagged by udev as: Keyboard
[   101.262] (II) event6  - (II) Intel Virtual Button driver: (II) device is a keyboard
[   101.262] (II) event6  - (II) Intel Virtual Button driver: (II) device removed
[   101.262] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/INT33D6:00/input/input7/event6"
[   101.262] (II) XINPUT: Adding extended input device "Intel Virtual Button driver" (type: KEYBOARD, id 13)
[   101.263] (II) event6  - (II) Intel Virtual Button driver: (II) is tagged by udev as: Keyboard
[   101.263] (II) event6  - (II) Intel Virtual Button driver: (II) device is a keyboard
[   101.263] (II) config/udev: Adding input device DLL0674:00 06CB:75DB Touchpad (/dev/input/event12)
[   101.263] (**) DLL0674:00 06CB:75DB Touchpad: Applying InputClass "evdev touchpad catchall"
[   101.263] (**) DLL0674:00 06CB:75DB Touchpad: Applying InputClass "libinput touchpad catchall"
[   101.263] (II) Using input driver 'libinput' for 'DLL0674:00 06CB:75DB Touchpad'
[   101.280] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 31 paused 0
[   101.280] (**) DLL0674:00 06CB:75DB Touchpad: always reports core events
[   101.280] (**) Option "Device" "/dev/input/event12"
[   101.280] (**) Option "_source" "server/udev"
[   101.281] (II) event12 - (II) DLL0674:00 06CB:75DB Touchpad: (II) is tagged by udev as: Touchpad
[   101.281] (II) event12 - (II) DLL0674:00 06CB:75DB Touchpad: (II) device is a touchpad
[   101.281] (II) event12 - (II) DLL0674:00 06CB:75DB Touchpad: (II) device removed
[   101.281] (**) Option "config_info" "udev:/sys/devices/pci0000:00/INT33C3:00/i2c-0/i2c-DLL0674:00/0018:06CB:75DB.0003/input/input18/event12"
[   101.281] (II) XINPUT: Adding extended input device "DLL0674:00 06CB:75DB Touchpad" (type: TOUCHPAD, id 14)
[   101.281] (**) Option "AccelerationScheme" "none"
[   101.281] (**) DLL0674:00 06CB:75DB Touchpad: (accel) selected scheme none/0
[   101.281] (**) DLL0674:00 06CB:75DB Touchpad: (accel) acceleration factor: 2.000
[   101.281] (**) DLL0674:00 06CB:75DB Touchpad: (accel) acceleration threshold: 4
[   101.282] (II) event12 - (II) DLL0674:00 06CB:75DB Touchpad: (II) is tagged by udev as: Touchpad
[   101.282] (II) event12 - (II) DLL0674:00 06CB:75DB Touchpad: (II) device is a touchpad
[   101.282] (II) config/udev: Adding input device DLL0674:00 06CB:75DB Touchpad (/dev/input/mouse2)
[   101.283] (II) No input driver specified, ignoring this device.
[   101.283] (II) This device may have been added with another device file.
[   101.283] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event13)
[   101.283] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[   101.283] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   101.283] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[   101.284] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 32 paused 0
[   101.284] (**) Dell WMI hotkeys: always reports core events
[   101.284] (**) Option "Device" "/dev/input/event13"
[   101.284] (**) Option "_source" "server/udev"
[   101.285] (II) event13 - (II) Dell WMI hotkeys: (II) is tagged by udev as: Keyboard
[   101.285] (II) event13 - (II) Dell WMI hotkeys: (II) device is a keyboard
[   101.285] (II) event13 - (II) Dell WMI hotkeys: (II) device removed
[   101.285] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:00/wmi_bus/wmi_bus-PNP0C14:00/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input23/event13"
[   101.285] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 15)
[   101.286] (II) event13 - (II) Dell WMI hotkeys: (II) is tagged by udev as: Keyboard
[   101.286] (II) event13 - (II) Dell WMI hotkeys: (II) device is a keyboard
[   101.286] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[   101.286] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   101.286] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   101.286] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   101.287] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 33 paused 0
[   101.287] (**) AT Translated Set 2 keyboard: always reports core events
[   101.287] (**) Option "Device" "/dev/input/event0"
[   101.287] (**) Option "_source" "server/udev"
[   101.288] (II) event0  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[   101.288] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[   101.288] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device removed
[   101.288] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[   101.288] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 16)
[   101.289] (II) event0  - (II) AT Translated Set 2 keyboard: (II) is tagged by udev as: Keyboard
[   101.289] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device is a keyboard
[   101.289] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[   101.289] (II) No input driver specified, ignoring this device.
[   101.289] (II) This device may have been added with another device file.
[   101.290] (II) config/udev: Adding input device DELL Wireless hotkeys (/dev/input/event5)
[   101.290] (**) DELL Wireless hotkeys: Applying InputClass "evdev keyboard catchall"
[   101.290] (**) DELL Wireless hotkeys: Applying InputClass "libinput keyboard catchall"
[   101.290] (II) Using input driver 'libinput' for 'DELL Wireless hotkeys'
[   101.291] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 34 paused 0
[   101.291] (**) DELL Wireless hotkeys: always reports core events
[   101.291] (**) Option "Device" "/dev/input/event5"
[   101.291] (**) Option "_source" "server/udev"
[   101.291] (II) event5  - (II) DELL Wireless hotkeys: (II) is tagged by udev as: Keyboard
[   101.291] (II) event5  - (II) DELL Wireless hotkeys: (II) device is a keyboard
[   101.291] (II) event5  - (II) DELL Wireless hotkeys: (II) device removed
[   101.291] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event5"
[   101.291] (II) XINPUT: Adding extended input device "DELL Wireless hotkeys" (type: KEYBOARD, id 17)
[   101.292] (II) event5  - (II) DELL Wireless hotkeys: (II) is tagged by udev as: Keyboard
[   101.292] (II) event5  - (II) DELL Wireless hotkeys: (II) device is a keyboard
[   101.387] (II) modeset(0): EDID vendor "LGD", prod id 1124
[   101.387] (II) modeset(0): Printing DDC gathered Modelines:
[   101.387] (II) modeset(0): Modeline "1366x768"x0.0   76.30  1366 1414 1446 1608  768 771 776 790 -hsync -vsync (47.5 kHz eP)
[   101.387] (II) modeset(0): Modeline "1366x768"x0.0   61.04  1366 1414 1446 1608  768 771 776 790 -hsync -vsync (38.0 kHz e)
[   119.084] (**) Option "fd" "20"
[   119.084] (II) event4  - (II) Power Button: (II) device removed
[   119.085] (**) Option "fd" "23"
[   119.085] (II) event14 - (II) Video Bus: (II) device removed
[   119.085] (**) Option "fd" "24"
[   119.085] (II) event1  - (II) Power Button: (II) device removed
[   119.085] (**) Option "fd" "25"
[   119.085] (II) event2  - (II) Sleep Button: (II) device removed
[   119.085] (**) Option "fd" "26"
[   119.085] (II) event20 - (II) Integrated_Webcam_HD: Integrate: (II) device removed
[   119.085] (**) Option "fd" "27"
[   119.085] (II) event8  - (II) ELAN Touchscreen Pen: (II) device removed
[   119.085] (**) Option "fd" "29"
[   119.085] (II) event9  - (II) ELAN Touchscreen: (II) device removed
[   119.086] (**) Option "fd" "30"
[   119.086] (II) event6  - (II) Intel Virtual Button driver: (II) device removed
[   119.086] (**) Option "fd" "31"
[   119.086] (II) event12 - (II) DLL0674:00 06CB:75DB Touchpad: (II) device removed
[   119.086] (**) Option "fd" "32"
[   119.086] (II) event13 - (II) Dell WMI hotkeys: (II) device removed
[   119.086] (**) Option "fd" "33"
[   119.086] (II) event0  - (II) AT Translated Set 2 keyboard: (II) device removed
[   119.086] (**) Option "fd" "34"
[   119.086] (II) event5  - (II) DELL Wireless hotkeys: (II) device removed
[   119.086] (II) AIGLX: Suspending AIGLX clients for VT switch
[   119.140] (II) systemd-logind: got pause for 13:64
[   119.140] (II) systemd-logind: got pause for 13:77
[   119.140] (II) systemd-logind: got pause for 13:73
[   119.140] (II) systemd-logind: got pause for 13:65
[   119.140] (II) systemd-logind: got pause for 13:84
[   119.140] (II) systemd-logind: got pause for 13:69
[   119.140] (II) systemd-logind: got pause for 13:72
[   119.141] (II) systemd-logind: got pause for 13:70
[   119.141] (II) systemd-logind: got pause for 13:78
[   119.141] (II) systemd-logind: got pause for 226:0
[   119.141] (II) systemd-logind: got pause for 13:66
[   119.141] (II) systemd-logind: got pause for 13:68
[   119.141] (II) systemd-logind: got pause for 13:76

Offline

#4 2017-10-01 06:55:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Custom pekwm theme only loads after starting pekwm with another theme

There is a reason that the wiki is explicit about copying the xinitrc template from /etc/X11/xinit/xinitrc: if you read it, you will see why yours is broken. You need to source those files.

No idea about themes.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2017-10-01 07:01:34

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: Custom pekwm theme only loads after starting pekwm with another theme

I changed .xinitrc to:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec pekwm

Still no dice.

Offline

#6 2017-10-01 07:10:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Custom pekwm theme only loads after starting pekwm with another theme

Well, presumably it is something to do with your pekwm config...

Have you launched it with a vanilla one? Bisected yours to see what the problematic entry is?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2017-10-01 08:16:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,876

Re: Custom pekwm theme only loads after starting pekwm with another theme

checked "xrandr -q"? (from ssh or VT1, don't forget to export DISPLAY=:0)

Online

#8 2017-10-01 22:26:30

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: Custom pekwm theme only loads after starting pekwm with another theme

jasonwryan wrote:

Well, presumably it is something to do with your pekwm config...

Have you launched it with a vanilla one? Bisected yours to see what the problematic entry is?

It loads when I change the config to use the default theme, but it lets me load the theme I wanted it to load after that (once pekwm is already started). It's a custom theme that I'm making, so I'm sure that the problem might be some sort of syntax error.

Here's the theme file in case anyone who knows a bit more about pekwm theme syntax comes along.

# custom pekwm theme
# License: GPL
# Author: Kevin Mason
# Email: --------------
# Homepage: http://go2-11.com

$FONT = "Titillium Web SemiBold-9Left#XFT"
$FONT_TITLE = "Titillium Web SemiBold-13Left#XFT"

Require {
  Templates = "True"
}

Define = "BaseDecor" {
  Height = "28"

  # Increase first number to bring title text downwards
  Pad = "0 5 5 0"

  Focused = "Solid #000000"
  Unfocused = "Solid #000000"

  Tab {
    Focused = "Image focus.png"
    FocusedSelected = "Image focus.png"
    Unfocused = "Solid #000000"
    UnfocusedSelected = "Image unfocus.png"
  }
  Separator {
    Focused = "Image tab-separator.png"
    Unfocused = "Image tab-separator.png"
  }
  Font {
    Focused = "$FONT_TITLE"
  }
  FontColor {
    Focused = "#ffffff"
    FocusedSelected = "#ffffff"
    Unfocused = "#000000"
    UnfocusedSelected = "#000000"
  }
  Border {
    Focused {
      TopLeft = "Solid #000000 2x2"
      Top = "Solid #000000 2x2"
      TopRight = "Solid #000000 2x2"
      Left =  "Solid #000000 2x2"
      Right = "Solid #000000 2x2"
      BottomLeft = "Solid #000000 2x2"
      Bottom = "Solid #000000 2x2"
      BottomRight = "Solid #000000 2x2"
    }
    Unfocused {
      TopLeft = "Solid #000000 2x2"
      Top = "Solid #000000 2x2"
      TopRight = "Solid #000000 2x2"
      Left =  "Solid #000000 2x2"
      Right = "Solid #000000 2x2"
      BottomLeft = "Solid #000000 2x2"
      Bottom = "Solid #000000 2x2"
      BottomRight = "Solid #000000 2x2"
    }
  }
}

Define = "BaseButtons" {
  Buttons {
    Right = "Close" {
      Focused = "Image close.png"
      Unfocused = "Image button_unfocus.png"
      Hoover = "Image close_hover.png"
      Pressed = "Image close_press.png"
      Button = "1" { Actions = "Close" }
      Button = "3" { Actions = "Kill" }
    }

    Right = "Maximize" {
      Focused = "Image max.png"
      Unfocused = "Image button_unfocus.png"
      Hoover = "Image max_hover.png"
      Pressed = "Image max_press.png"
      Button = "1" { Actions = "Toggle Maximized 1 1" }
    }

    Right = "Iconify" {
      Focused = "Image min.png"
      Unfocused = "Image button_unfocus.png"
      Hoover = "Image min_hover.png"
      Pressed = "Image min_press.png"
      Button = "1" { Actions = "Set Iconified" }
    }
      
    Left = "Shade" {
        Focused = "Image min.png"
        Unfocused = "Image button_unfocus.png"
        Hoover = "Image min_hover.png"
        Pressed = "Image min_press.png"
        Button = "1" { Actions = "Toggle Shaded" }
    }
  }
}

PDecor {
  Decor = "Default" {
    Title {
      @BaseDecor
      @BaseButtons
    }
  }

  Decor = "Menu" {
    Title {
      @EmptyDecor
    }
  }

  Decor = "Titlebarless" {
    Title {
      @EmptyDecor
    }
  }

  Decor = "Statuswindow" {
    Title {
      @EmptyDecor
    }
  }
}

Harbour {
  Texture = "Image tray.png"
}

Menu {
  Pad = "2 0 2 2" 

  Focused {
    Font = "$FONT"
    Background = "Solid #ffffff"
    Item = "Empty"
    Text = "#000" 
    Separator = "Image menu-line.png#Scaled"
    Arrow = "Image arrow.png"
  }
  Unfocused {
    Font = "$FONT"
    Background = "Solid #ffffff"
    Item = "Empty"
    Text = "#000"
    Separator = "Image menu-line.png#Scaled"
    Arrow = "Image arrow_unfocus.png"
  }
  Selected {
    Font = "$FONT"
    Background = "Image menu_focus.png#Scaled"
    Item = "Image menu_focus.png"
    Text = "#000"
    Arrow = "Image arrow_focus.png"
  }
}

CmdDialog {
  Font = "$FONT"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "3 0 1 10"
}

Status {
  Font = "$FONT"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "2 2 10 10"
}
seth wrote:

checked "xrandr -q"? (from ssh or VT1, don't forget to export DISPLAY=:0)

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm
   1366x768      60.06*+  48.05  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   800x600       60.00    60.32    56.25  
   700x525       59.98  
   640x512       60.02  
   640x480       60.00    59.94  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
HDMI-1 disconnected (normal left inverted right x axis y axis)

Offline

#9 2017-10-01 22:30:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,545
Website

Re: Custom pekwm theme only loads after starting pekwm with another theme

Please edit your first post to give this thread an accurate title.  The problem is not with "certainly window managers" it is with one specific one, and even that only when using your own custom theme.

You need help fixing your own pekwm theme, not help figuring out a problem with various window managers.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2017-10-01 22:50:43

kmason
Member
From: Tempe, Arizona, USA
Registered: 2010-03-23
Posts: 256
Website

Re: Custom pekwm theme only loads after starting pekwm with another theme

Alright, sorry about that. I fixed the title and OP to be more accurate.

Offline

Board footer

Powered by FluxBB