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