/srv/irclogs.ubuntu.com/2018/06/29/#xubuntu.txt

jthello! is anyone on? I am new to xubuntu and have been trying to figure out why my xinitrc file doesnt seem to do anything07:21
pmjdebruijnjt: when you do what?07:24
pmjdebruijnlogin?07:25
pmjdebruijnif you choose a xubuntu session, you get xfce07:25
jtyeah, it starts the environment but nothing i add to the file happens07:25
pmjdebruijnI don't think it's supposed to07:26
jtI am trying to get it to recognize some bitmap fonts then start lemon bar07:26
pmjdebruijnto start app use /etc/xdg/autostart/mycustom.desktop07:26
jtwhere should those commands go then? when I add then to on start they either happen 5 or 6 times or not at all07:26
pmjdebruijnfor system wide07:26
pmjdebruijnfor bitmapped fonts no clue07:26
pmjdebruijnwhat command are you running for that?07:27
pmjdebruijnit would seem odd that you'd need to run a command on every login07:27
jt~/.bar/panel-darkred when started on login happens like 5 times07:27
jtand bit fonts need to be reestablished every login for some reason07:27
jtthe bit font says "# you should do this every time X starts07:28
jt                                  # e.g. put it in your ~/.xinitrcy07:28
pmjdebruijnwhat do you need to do07:28
pmjdebruijnwhat's the command07:28
jtxset +fp ~/siji/tewi-font/out07:29
jtand xset +fp ~/.fonts07:29
jtand then ~/.bar/panel-darkred07:29
pmjdebruijnhttps://github.com/lucy/tewi-font07:30
pmjdebruijnsee the fontconfig part07:30
jtif i do that, the font isnt recognized post logout07:30
pmjdebruijnwhat does find ~/.fonts give?07:32
jta big long list of bitmap fonts07:32
pmjdebruijnno subdirs?07:33
pmjdebruijnanybody I've never seen fontconfig lose fonts post logout07:33
pmjdebruijnanyhow*07:33
pmjdebruijnso i'm a bit at a loss07:33
jtthe fonts dont go away07:33
pmjdebruijnhuh?07:33
jtbut the system doesnt seem to recognize them07:33
pmjdebruijnthat's what i meant07:34
jtuntil after xset is run07:34
pmjdebruijnuhm07:34
pmjdebruijn"the system"07:34
pmjdebruijnwhich applications07:34
pmjdebruijnfontconfig is for any application that vaguely recent07:34
pmjdebruijnxset is for legacy application from the 80' en 90'07:34
jtlemonbar, which seems to be updated07:34
jtbut i ccould be wrong07:34
pmjdebruijnno07:35
pmjdebruijnit's new07:35
pmjdebruijnit's just built asif it were there 80ties07:35
jtgotcha07:35
pmjdebruijnso that's why you need the xset07:35
pmjdebruijnthing is, nobody cares about x11 font handling anymore07:36
pmjdebruijnit's been superceeded by fontconfig for a few decades07:36
pmjdebruijnwhich explains why you're having a bit of trouble07:36
jtyeah, but all other distros ive used have had a setup for autorunning commands in a file, but this one seems to lack that07:36
pmjdebruijnjt: but that's the wrong solution07:36
jtlike an xprofile or xinit07:36
pmjdebruijn"running commands" is rarely a good solution07:36
jtre07:37
jture07:37
jtsure07:37
pmjdebruijnbut you could make do with autostart .desktop files07:37
jtthe issue is those dont seem to run cronologically07:37
pmjdebruijnbut are you even going to use the xubuntu desktop as such?07:37
jthm?07:37
pmjdebruijnlemonbar seems redundant for xfce07:38
pmjdebruijnxfce has bars :)07:38
pmjdebruijnif you're not going to use xfce, you should probably define your own session or something07:38
pmjdebruijnbut again, someone else might be more insightful07:38
jti think i have an idea07:39
jtthank you!07:39
FurretUberHi, 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 windows21:38
SpassFurretUber, you can try this - https://askubuntu.com/a/770290/82786621:58
Spassoh, and hello21:59
SpassI did not test it, but seems very likely that this can be done by some custom entry in the ~/.config/gtk-3.0/gtk.css22:00
Spass(you may need to logout/log in to see the results)22:01
FurretUberOk, thank you. I'll log out to see if it worked22:01
FurretUberSpass: it did not work, unfortunately22:04
Spasstoo bad, I have no other ideas, but it was worth trying22:05
FurretUberWhy GNOME applications don't honor the window manager configuration?22:22
Unit193I'd guess CSDs, but that's just a guess.22:23
FurretUberConsidering which applications do this (gnome-disks, baobab, gedit, tilix) it's possible this is the cause22:26
SpassFurretUber, found it instead od ".window-frame" put "decoration" (without a dot) and "decoration:backdrop"22:27
Spassso " decoration {box-shadow: none;} decoration:backdrop {box-shadow: none;} "22:28
Spassbut it looks ugly, since there's absolutely no border now (window blends), so it need some more tweaking22:28
Spassbut this is a good path I think. just tested it in my VM22:29
FurretUberYes, 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 around22:30
FurretUberBut sometimes it still captures an additional area22:31
SpassFurretUber, ok, found a way to make it look better (1px border added) will send you the code in 1sec22:35
Spasshttps://paste.ubuntu.com/p/YrSfZtqSrD/22:37
Spassyou can change #888888 to any other colour of course22:38
Spassit works on my 18.04 in the VM22:39
FurretUberIt 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 border22:40
Spasshmm, some padding or a margin, give me a sec22:40
FurretUberThis is what is happening now when I capture one of the windows with those problems: https://i.imgur.com/gp9mWO1.png22:42
FurretUberBy "now" I mean with no shadow but the additional border. Before it had shadow too22:43
Spassok, tested, works, I added "margin: 0; padding: 0;" into decoration and decoration:backdrop classes22:44
Spassno margin upon screenshot now22:44
SpassI'll check now if that second decoration:backdrop class is even needed22:45
Spasshmm, I think you should leave it just in case, for compatibility purposes, I guess22:48
FurretUberThank you very much, it's great now22:49
SpassFurretUber, so something like this https://paste.ubuntu.com/p/WqdXJgbmrh/ should work for you, with your border colours of course22:49
Spassok, cool, I've learned something new too22:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!