[07:21] hello! is anyone on? I am new to xubuntu and have been trying to figure out why my xinitrc file doesnt seem to do anything [07:24] jt: when you do what? [07:25] login? [07:25] if you choose a xubuntu session, you get xfce [07:25] yeah, it starts the environment but nothing i add to the file happens [07:26] I don't think it's supposed to [07:26] I am trying to get it to recognize some bitmap fonts then start lemon bar [07:26] to start app use /etc/xdg/autostart/mycustom.desktop [07:26] where should those commands go then? when I add then to on start they either happen 5 or 6 times or not at all [07:26] for system wide [07:26] for bitmapped fonts no clue [07:27] what command are you running for that? [07:27] it would seem odd that you'd need to run a command on every login [07:27] ~/.bar/panel-darkred when started on login happens like 5 times [07:27] and bit fonts need to be reestablished every login for some reason [07:28] the bit font says "# you should do this every time X starts [07:28] # e.g. put it in your ~/.xinitrcy [07:28] what do you need to do [07:28] what's the command [07:29] xset +fp ~/siji/tewi-font/out [07:29] and xset +fp ~/.fonts [07:29] and then ~/.bar/panel-darkred [07:30] https://github.com/lucy/tewi-font [07:30] see the fontconfig part [07:30] if i do that, the font isnt recognized post logout [07:32] what does find ~/.fonts give? [07:32] a big long list of bitmap fonts [07:33] no subdirs? [07:33] anybody I've never seen fontconfig lose fonts post logout [07:33] anyhow* [07:33] so i'm a bit at a loss [07:33] the fonts dont go away [07:33] huh? [07:33] but the system doesnt seem to recognize them [07:34] that's what i meant [07:34] until after xset is run [07:34] uhm [07:34] "the system" [07:34] which applications [07:34] fontconfig is for any application that vaguely recent [07:34] xset is for legacy application from the 80' en 90' [07:34] lemonbar, which seems to be updated [07:34] but i ccould be wrong [07:35] no [07:35] it's new [07:35] it's just built asif it were there 80ties [07:35] gotcha [07:35] so that's why you need the xset [07:36] thing is, nobody cares about x11 font handling anymore [07:36] it's been superceeded by fontconfig for a few decades [07:36] which explains why you're having a bit of trouble [07:36] yeah, but all other distros ive used have had a setup for autorunning commands in a file, but this one seems to lack that [07:36] jt: but that's the wrong solution [07:36] like an xprofile or xinit [07:36] "running commands" is rarely a good solution [07:37] re [07:37] ure [07:37] sure [07:37] but you could make do with autostart .desktop files [07:37] the issue is those dont seem to run cronologically [07:37] but are you even going to use the xubuntu desktop as such? [07:37] hm? [07:38] lemonbar seems redundant for xfce [07:38] xfce has bars :) [07:38] if you're not going to use xfce, you should probably define your own session or something [07:38] but again, someone else might be more insightful [07:39] i think i have an idea [07:39] thank you! [21:38] Hi, how do I disable all shadows using xfwm4? I would like to keep the compositor on but disable the shadows, but GNOME applications (gnome-disks, baobab, gedit, etc) are ignoring xfwm4 settings and create shadows around the windows [21:58] FurretUber, you can try this - https://askubuntu.com/a/770290/827866 [21:59] oh, and hello [22:00] I did not test it, but seems very likely that this can be done by some custom entry in the ~/.config/gtk-3.0/gtk.css [22:01] (you may need to logout/log in to see the results) [22:01] Ok, thank you. I'll log out to see if it worked [22:04] Spass: it did not work, unfortunately [22:05] too bad, I have no other ideas, but it was worth trying [22:22] Why GNOME applications don't honor the window manager configuration? [22:23] I'd guess CSDs, but that's just a guess. [22:26] Considering which applications do this (gnome-disks, baobab, gedit, tilix) it's possible this is the cause [22:27] FurretUber, found it instead od ".window-frame" put "decoration" (without a dot) and "decoration:backdrop" [22:28] so " decoration {box-shadow: none;} decoration:backdrop {box-shadow: none;} " [22:28] but it looks ugly, since there's absolutely no border now (window blends), so it need some more tweaking [22:29] but this is a good path I think. just tested it in my VM [22:30] Yes, it worked and it really looks a bit strange. Thank you, at least now the screenshots of the windows capture the window only, instead of the window plus a large border around [22:31] But sometimes it still captures an additional area [22:35] FurretUber, ok, found a way to make it look better (1px border added) will send you the code in 1sec [22:37] https://paste.ubuntu.com/p/YrSfZtqSrD/ [22:38] you can change #888888 to any other colour of course [22:39] it works on my 18.04 in the VM [22:40] It worked to me too, I've adjusted the color so it is more consistent. The remaining issue is that xfce4-screenshooter captures those windows with the additional border [22:40] hmm, some padding or a margin, give me a sec [22:42] This is what is happening now when I capture one of the windows with those problems: https://i.imgur.com/gp9mWO1.png [22:43] By "now" I mean with no shadow but the additional border. Before it had shadow too [22:44] ok, tested, works, I added "margin: 0; padding: 0;" into decoration and decoration:backdrop classes [22:44] no margin upon screenshot now [22:45] I'll check now if that second decoration:backdrop class is even needed [22:48] hmm, I think you should leave it just in case, for compatibility purposes, I guess [22:49] Thank you very much, it's great now [22:49] FurretUber, so something like this https://paste.ubuntu.com/p/WqdXJgbmrh/ should work for you, with your border colours of course [22:49] ok, cool, I've learned something new too