=== genii is now known as genii-core === Diego is now known as Guest1598 [00:22] Hi, I am tryng to install xplane in xubuntu [00:24] but when I runĀ  ldd Intaller_Linux, the terminal says:it is not a dynamic executable [00:24] can you help me? I think becuase it is an installer for 32bits distros [01:11] hi Guest1598 [01:11] Xubuntu and Ubuntu generally don't provide for 32bits anymore [01:12] where did you get your xplane from? [01:12] why do you run "ldd Installer_Linux" ? [01:13] whatever [01:55] thanks for answer [01:55] I downloaded from https://ia804505.us.archive.org/13/items/x-plane-9/XPLANE9%20%28Disc%201%29.iso [01:56] I use ldd to know the required libraries! [06:18] Is there any way to use a different icon image in whiskermenu when its in a depressed state (also preferably another icon for hover state)? [06:19] Which is to say, I want to use an icon that appears depressed when its clicked etc [06:59] pikapika: yes, there is. all you have to do is create an icon and include it in gtk.css [06:59] pikapika: i did something like that: https://forum.xfce.org/viewtopic.php?id=15374 [07:02] KBar, can you show me a small gif showing the whiskermenu hover and click thing [07:02] as its working on your system. You can pm if you prefer [07:02] What happens in the default whiskermenu is that the icon does not change only background colors are changed on hover and click [07:03] I would like to make the icon itself change to a depressed look [07:04] yes, it's very much possible. i'll try taking two screenshots if you're okay waiting [07:04] https://forum.xfce.org/viewtopic.php?pid=64946#p64946 [07:04] This one right? [07:05] pikapika: it has changed quite a lot since then. it doesn't show the glow on being pressed [07:05] i improved it. [07:05] I'd like to see the screenshots/gif yes [07:05] Did you just use full icons or does the system only permit adding another background icon behind the normal icon? [07:05] pikapika: this is its default state: https://imgur.com/1zalH7K.png [07:06] this is on hover: https://imgur.com/e07Ucki.png [07:06] In that case, it will be some more work for me. But since in the design I want to make, depressed/normal state changes only occur at the border of the pixmap [07:06] so it can work out [07:06] KBar, so the arrow is the background image right? [07:06] pikapika: and this is on depressed: https://imgur.com/UH2TvBn.png [07:07] The hover and depressed states also look like things that could be implemented purely as background icons [07:07] Is that what you did? [07:07] Or does whiskermenu allow you to change the icon wholesale on hover/press? [07:07] pikapika: the xubuntu logo is set inside Whiskermenu properties. The borders, colors and arrows I copied from Unity design and created separate png files with gimp [07:07] and used them inside css [07:08] button:hover, button:checked, etc [07:08] KBar, so basically only the mouse icon is the real icon [07:08] The rest are implemented as background images? [07:08] yes [07:08] Can I see the png sources to confirm? [07:11] sure. hold on [07:18] pikapika: turns out, the latest version, i just use the stock arrows from unity and layer them on top [07:19] This means I can implement win2k start menu easily [07:19] but win 7 would be tough [07:19] My goal was win2k style primarily so that should be ok [07:20] pikapika: here's an excerpt from my gtk.css: https://paste.debian.net/1232083/ [07:21] pikapika: resources are here: https://git.launchpad.net/ubuntu/+source/unity/tree/resources [07:23] yeah so basically we can't replace the icon only add another background image to it [07:24] should be possible to do for the win2k start menu then, by including the common region inside as the icon, and making the border the background image [07:24] pikapika: which icon do you mean? the whiskermenu icon? [07:24] you can replace it [07:24] and put anything you want [07:24] KBar, we can't dynamically replace it [07:24] so we will have to use the background image trick to create the depressed look [07:25] for that the actual icon would be the common region between all icon states [07:25] well, you can modify the code and recompile [07:25] and the background image the varying region [07:25] Yeah, that is one possibility too [07:25] I hope its not too complex [07:25] to make it change dynamically, but css is quite powerful and is all you need imo [07:25] there is also sass, which is a preprocessor to css, but i haven't looked into that route [07:27] pikapika: you can also add animations to transitions [07:28] I don't need animations [07:37] KBar, CSS is very subtle and difficult [07:37] I'll see what I can do of course [07:38] pikapika: where do you find it difficult? Let's see if I can help you [07:39] I'll ask when I actually get around to doing it thanks [07:39] KBar, it just is very complex and hard to understand [07:39] no problem. xfce forums are a great source of information. there are two very good guides explaining GTK's css implementation [07:40] btw, its documentation is available at https://docs.gtk.org/gtk3/ [07:40] Thanks [07:41] yw. it basically boils down to 1) which element you want to select 2) which property you want to modify 3) what is that new value [07:43] 1) is done with selectors (eg, .toolbar or #XfcePanelWindow) 2) after that declarations are made inside braces and properties are in it: { background-color: or font-size: } 3) their new values are put after the colon eg background-color: white; font-size: 15px etc [08:27] KBar, where did you learn CSS from? [08:37] pikapika: 1) Xfce Forum; 2) gtk.org 3) mdn (mozilla developers networks) 4) w3.org 5) installed themes [08:37] Its a very complex topic for sure [08:37] its a lot more complex yes, but gtk's implementation is pretty straightforward and "dumbed down" [08:38] becomes easy once you get a hang of it. GtkInspector is the the tool that will help you tremendously [08:38] it is a necessity, i'd say [08:40] now, id say that it takes a lot more time to draw or edit images in gimp than it does for me to write a couple of rulesets in gtk.css [08:43] KBar, do you know about 'antialiasing'? [08:43] I would like to experiment with implementing antialiasing in my programs one of these days [08:43] pikapika: unfortunately, not enough to give you an opinion or a comprehensive answer [08:44] Ok [08:44] such discussion wouldn't fit this channel anyway, im afraid [08:44] Ok === genii-core is now known as genii === orqcxha is now known as naiveknife === xu-help38w is now known as chaslinux [21:40] Was refurbishing a machine with Xubuntu earlier and found an issue where VLC crashes when you insert an encrypted DVD (movie). Libdvd-pkg was installed and dpkg-reconfigure libdvd-pkg was run to install libdvdcss2. I ran vlc from the terminal and noticed it seems to be related to the 256MB AMD-based onboard video for this particular HP desktop [21:40] (P7-1010): https://support.hp.com/ca-en/document/c02856262. To "solve" the problem I added a video card (which did resolve the issue). I would have submitted a bug report, but I haven't used my Ubuntu One account in ages (and the forgot password doesn't seem to like me - check spam, nothing). Not sure it's worth fixing, but since it's an OEM [21:40] machine with an older 4 core AMD processor it might be worth a stab at fixing). === genii is now known as genii-core