Re: [gentoo-user] systemd unit executing but not persistent later in boot

2024-04-06 Thread Andrew Udvare
On Sat, 6 Apr 2024 at 21:32, Daniel Frey  wrote:
> What's even stranger is if I manually start it and restart lircd it works!

Have you tried adding Before=lircd.service in the [Unit] section?



[gentoo-user] Problem when going to install refind and using musl/llvm profile

2024-04-04 Thread Andrew Lowe

Hi all,
	I'm attempting to set up a new machine. I want to try out the musl/llvm 
combo, profile 70, but am having troubles with the refind boot manager.


When I attempt to emerge refind, I get, during the "pretend phase":


* ERROR: sys-boot/refind-0.14.0.2-r1::gentoo failed (pretend phase):
 *   objcopy (objcopy) does not support EFI target


and a bit further down:


* The specific snippet of code:
 *  LANG=C LC_ALL=C "${OBJCOPY}" --help | grep -q '\|| die "${OBJCOPY} (objcopy) does not support EFI target"



Has anyone gone down the road of musl/llvm/refind and seen this? I don't 
see anything under bugs.gentoo.org.


Any thoughts on how to fix this would be appreciated,

Andrew







[gentoo-user] New build, openrc, llvm, musl etc

2024-01-07 Thread Andrew Lowe

Dear all,
	It's been a while since I built a Gentoo machine from scratch so need a 
bit of guidance.


	I want to build a machine, amd64, that uses OpenRC, LLVM & Musl. 
Looking on the Downloads page and in turn the "Advanced choices", there 
is two separate Stage 3 archives, "llvm/OpenRC" & "Musl/OpenRC".


	I understand why I should have Musl as the default install. I'm 
assuming that I should just use the OpenRC/Musl Stage 3 and then just 
install LLVM as per normal, "emerge llvm" and things would end up being 
what I want - am I right? Or is there something special in the 
"llvm/OpenRC" archive that I also need to do?


Any thoughts are greatly appreciated.

Regards,
Andrew





Re: [gentoo-user] KWallet refuses to auto open at login

2023-06-10 Thread Andrew Udvare
Does a new user account work the way it is supposed to?

On Sat, 10 Jun 2023, 07:33 Victor Ivanov,  wrote:

> Hello fellow penguins,
>
> I have to admit I'm at my wits' end with KWallet. This thing has been
> driving me insane for the last couple of weeks, roughly since the
> upgrade to Plasma 5.27 or shortly after.
>
> Every time I log in, it refuses to automatically open and prompts for
> a password whenever an application wants to read secrets. Admittedly,
> this is under Wayland which, following from recent news re this being
> the Gentoo preference, I decided to give a try. But this also happens
> under X11, so I doubt it's got anything to do with Wayland.
>
> I've tried everything I can think of:
> - I've double checked the auto unlock guide in the Gentoo Wiki, made
> sure PAM rules are in place and kwallet-pam is installed. Which should
> be all good regardless, as it used to work just fine;
> - I've also oneshot all of: kde-plasma/ , kde-frameworks/ , kde-apps/
> , and anything returned by "eix -I# pam", "eix -I# xdg", and "eix -I#
> dbus"
> - when the above failed to yield any meaningful resolution, I repeated
> the one-shot step this time with "--noconfmem" and re-reviewed any
> changes from the default configs;
> - finally, I nuked all of my $HOME settings under ~/.config, ~/.cache,
> and ~/.local and started from scratch;
> - and yes, the KWallet was set up and re-setup (plenty of times) with
> Blowfish with the same password as my login;
>
> The irony is, I have an equivalent Gentoo setup on a separate machine,
> also moved to Wayland at the same time as I keep them both up to date
> at the same intervals, and it works flawlessly. I've recursively
> diff'd all config files under /etc between the two hosts and, other
> than some minor, unrelated host-specific differences, everything is
> identical, including configs under /etc/pam.d.
>
> I can get it to kind of work with a blank password, but that's not the
> point and is not a viable "solution". Even then, it still doesn't auto
> open, but at least it doesn't produce annoying prompts to open.
>
> I've always despised KWallet for its flaky behaviour but for the last
> few years it hadn't given me any issues up until now.
>
> I'm truly bewildered. Is there anything I am missing?
>
> Best Regards,
> Victor
>
>


Re: [gentoo-user] InfluxDB python library?

2023-05-10 Thread Andrew Udvare
On Wed, 10 May 2023, 03:51 J. Roeleveld,  wrote:

> Hi all,
>
> I've been using a python script for the past 4 years to read out my solar
> panels and write the data into InfluxDB to get nice graphs in Grafana.
>
> Unfortunately, the library I use to write to InfluxDB has a dead upstream
> and
> doesn't work with Python 3.11 anymore.
> Does anyone know of a different way to load the data into InfluxDB using
> Python
> that is likely to be supported for the foreseeable future?
>

The line protocol is pretty simple. It is trivial to write a serialiser for
it.

https://docs.influxdata.com/influxdb/v2.7/write-data/developer-tools/api/

If you can't get a good nanosecond timestamp you can reduce it to second
precision.


Re: [gentoo-user] glabel - compatible thermal label printer

2022-07-27 Thread Andrew Udvare

On 26/07/2022 16:06, the...@sys-concept.com wrote:

Is anybody using "glabel"?
I'm looking for compatible thermal label printer that will works on 
Linux; and easy to install printer driver.






My overlay provides the latest Qt version. 
https://github.com/Tatsh/tatsh-overlay/tree/master/app-office/glabels


This really depends on what you want to do. Most templates in gLabels 
are for printing on 8.5x11 or A4, but there are a number of Dymo 
templates as well. Dymo does officially support Linux and Gentoo has 
net-print/dymo-cups-drivers.


OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] Lost keyboard shortcut to KDE button

2022-04-28 Thread Andrew Lowe

On 28/4/22 11:11 pm, Peter Humphrey wrote:

Hello list,

While playing with task bars etc. I've managed to lose the Left Windows key
shortcut to open the task manager.

How can I get it back?

I asked this on the KDE User list eight days ago, but no reply.



	The thingy between "Ctrl" and "Alt", looks like the "Win 98" logo? 
"Task Manager" - the thing that has all of the programmes, "log out", 
"Shut down" etc? If you use the mouse off the task bar it's called the 
"Application launcher"? Still there for me.


	Display the task bar via moving the mouse to the appropriate posi, I 
have the task bar across the top of the screen so I move the mouse to 
the top and then the left hand corner where the little 9 dot icon is. 
Select that and the launcher drops down. Next to the Search box is the 
little two slider looking icon, "Configure Application Launcher". Select 
that then "Keyboard Shortcuts". Select the key you want. Although I've 
just noticed, that even though I changed this, to now be be "F12", which 
works, the Windows icon still works.


	Or are you referring to the thing accessed via "Ctrl" + "Esc""? Don't 
know about that one.


Or maybe Ive still got it wrong...

Andrew



Re: [gentoo-user] Dolphin and missing paste file option in right click menu.

2022-04-28 Thread Andrew Lowe

On 28/4/22 9:55 pm, Dale wrote:

Neil Bothwick wrote:

On Wed, 27 Apr 2022 14:37:12 -0500, Dale wrote:


I did my weekly updates this past Sunday.  I noticed one change I like.

[snip]


[snip]



That works here too.  As you point out, it doesn't work elsewhere like
it used to tho.  Odd.  I suspect it will be fixed with the next version.

I tried to go back to a older version but it wants older versions of
other KDE packages too.  I was wanting to see how it worked in the old
version again, compare things.  Oh well.  At least you got me a way to
make it work until they give it a proper fix.

Thanks much.

Dale

:-)  :-)



	Broken for me as well. I did a big update a few days ago and had 
noticed the same problem. I was about to  post the same as Dales 
original post when Dales popped up. I agree with Neil, about being near 
a file and clicking on the LHS.


	If I remember correctly, and I'm quite prepared to be corrected here, 
in the earlier versions the "highlight bar" only covered the file/dir 
name, not right across the whole window, Size, Modified, Type etc. Now 
it does, from the vertical line that indicates the dir tree right across 
to the RHS of the window. It does not extend right to the edge of the 
LHS of the window from the vertical line and that's the part that Neil 
identified. I'm guessing that dolphin somehow uses the highlight colour, 
the "highlight bar", to indicate location within the window and in turn 
as to whether things can be pasted there or not.


	If I didn't have, literally, three solid days of 1st year engineering 
students submissions to mark, I would have a quick squizz at the dolphin 
code, but it's out of the question at the moment. There is nothing on 
the Gentoo bugs thingy regarding Dolphin. I think I'll be waiting until 
the next update


Andrew



[gentoo-user] Graphics problem, especially when running Firefox - kde environment

2022-03-13 Thread Andrew Lowe

Dear all,
	Back story, I'm in Perth Australia, hence summer has just finished. 
Summer here means long runs of about 40ºC during the day and nights of 
about 35ºC at midnight.


12 months ago, I started getting a dialogue popup that said:



KWin Window Manager
Desktop effects were restarted due to a graphics reset



This would pop up, particularly when doing "deep research" with Firefox 
on Youtube. Firefox would freeze for a few seconds, but the audio would 
continue, the screen would do a refresh/flash sort of thing and on goes 
the "research". As the day would progress, and the home office would 
heat up, 35ºC during the day, these popups would pop up more and more 
and the machine would nearly become unusable.


It was also accompanied by the following in dmesg:


...
...
[ 1473.478242] NVRM: GPU at PCI::0a:00: 
GPU-810c3175-ac6b-0de3-ff85-dce410a501dc
[ 1473.478246] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 1473.478530] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 1480.030284] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 1480.030618] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 2093.087760] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 2093.088145] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004
[ 2126.588242] NVRM: Xid (PCI::0a:00): 32, pid=3087, Channel ID 
0020 intr0 0004

...
...



This started last summer and then as things cooled down, occurred less 
and eventually disappeared, winter time. This summer it's back and even 
worse so I upgraded from an nVidia 1060 to a 3050 - the thinking being 
the card was over heating. As you guessed the problem is still here.


	I've found the xid errors page on nVidia's site but was wondering if 
anyone else had come across this error and has any advice?


Thanks in advance for any thoughts,

Andrew






Re: [gentoo-user] Contribution: Python C Code builder, Simple Build

2022-01-20 Thread Andrew Lowe

On 21/1/22 10:32 am, Matt Connell wrote:

On Thu, 2022-01-20 at 17:12 +0100, Attila Boczkó wrote:

I would like to send a little python program that runs GCC to compile
the C code. The C Code can put multiple sub directories in the main
SRC directory. The python code uses os.walk method to find all C Code
files and pass it to GCC.


So, you've reinvented makefiles?




	There have been a few "weird" posts lately, authors "Attilla" & "xbx", 
and subjects, amongst others, "Technical Docum". Is this someone 
trying to contribute or a spam/spear phishing attack?


Andrew




Re: [gentoo-user] Kernel config thingy, "make menuconfig"

2022-01-15 Thread Andrew Lowe

On 15/1/22 10:47 pm, tastytea wrote:

On 2022-01-15 22:38+0800 Andrew Lowe  wrote:


Dear all,
I'm in the process of fiddling around with the config of my
kernel. This means using the "menu config thingy" that "make
menuconfig" builds. It is very frustrating. Does anyone know why
stuff is not in alphabetical order? It's a pain in the clacka trying
to find some of the entries. For example "Device Drivers -> Android".
You would expect it to be near the top of the device drivers, but no,
it's near the bottom.

No, I'm not expecting anyone to "fix" it, just basically a
whinge.

Andrew



Yeah, someone should clean that thing up… But I guess a lot of people
would complain because they are used to the current structure. 😄

Did you know you can search with / and then jump to the results with
the number keys?



"number keys" - No, something to now investigate.

Thanks,
Andrew



[gentoo-user] Kernel config thingy, "make menuconfig"

2022-01-15 Thread Andrew Lowe

Dear all,
	I'm in the process of fiddling around with the config of my kernel. 
This means using the "menu config thingy" that "make menuconfig" 
builds. It is very frustrating. Does anyone know why stuff is not in 
alphabetical order? It's a pain in the clacka trying to find some of the 
entries. For example "Device Drivers -> Android". You would expect it to 
be near the top of the device drivers, but no, it's near the bottom.


No, I'm not expecting anyone to "fix" it, just basically a whinge.

Andrew



Re: [gentoo-user] mediatek mt7921: no AP?

2022-01-02 Thread Andrew Udvare
I'm pretty sure none of these built-in wi-fis like that will support AP
mode. They would much rather charge more for that feature.
https://www.524wifi.com/index.php/network-modules-adapters/wifi-6-11-ax-modules/wle3000h2-11ax-4x4-mu-mimo-2-4ghz-qcn-9024-wifi-6-802-11ax-2-4-ghz-single-band-mini-pcie-module-compex.html

https://forum.openwrt.org/t/802-11ax-wifi-ap-mpci-e-cards/63577/2

I own a similar motherboard but I don't use the wi-fi.

On Sun, Jan 2, 2022, 16:25 Jorge Almeida  wrote:

> I just mounted a box with a  ROG STRIX X570-E GAMING WIFI II
> motherboard. I'm not a gamer; one of the reasons I chose this was the
> build-in WiFi. Bad idea! The thing does not support AP mode, which I
> need. Nothing in the mo manual suggests such a limitation.
> Here are the details, in case someone with the same hw has  a better
> experience and would share it. Otherwise, it may be useful as a
> warning. I know I will not purchase ASUS and/or Mediatek again.
>
> Jorge Almeida
>
> $ lshw
> *-network
>   description: Wireless interface
>   product: MEDIATEK Corp.
>   vendor: MEDIATEK Corp.
>   physical id: 0
>   bus info: pci@:03:00.0
>   logical name: wnet2
>   version: 00
>   serial: b4:b5:b6:93:8d:7f
>   width: 64 bits
>   clock: 33MHz
>   capabilities: pciexpress msi pm bus_master
> cap_list ethernet physical wireless
>   configuration: broadcast=yes driver=mt7921e
> driverversion=5.15.12 firmware=01-20211014150922
> ip=192.168.2.131 latency=0 link=no multicast=yes wireless=IEEE 802.11
>   resources: irq:99 memory:e030-e03f
> memory:e040-e0403fff memory:e0404000-e0404fff
>
> $ lsmod
> xt_MASQUERADE  12288  1
> iptable_nat12288  1
> nf_nat 36864  2 iptable_nat,xt_MASQUERADE
> xt_connmark12288  4
> xt_helper  12288  110
> xt_limit   12288  26
> mt7921e77824  0
> mt76_connac_lib28672  1 mt7921e
> mt76   53248  2 mt7921e,mt76_connac_lib
> mac80211  503808  3 mt76,mt7921e,mt76_connac_lib
> cfg80211  372736  4 mt76,mt7921e,mac80211,mt76_connac_lib
> igb   196608  0
> rfkill 24576  1 cfg80211
> i2c_piix4  20480  0
>
> $ iw dev
> phy#0
> Interface wnet2
> ifindex 6
> wdev 0x1
> addr b4:b5:b6:93:8d:7f
> type managed
> txpower 3.00 dBm
> multicast TXQ:
> qsz-byt qsz-pkt flows   drops   marks
> overlmt hashcol tx-bytes tx-packets
> 0   0   0   0   0   0
>  0   0   0
>
> $ iw list | grep "Supported interface modes" -A 8
> Supported interface modes:
>  * managed
>  * monitor
> Band 1:
> Capabilities: 0x9ff
> RX LDPC
> HT20/HT40
> SM Power Save disabled
> RX Greenfield
>
>


Re: [gentoo-user] Movie editing softeware

2021-12-19 Thread Andrew Lowe

On 20/12/21 11:17 am, William Kenworthy wrote:
Hi, what is a usable piece of software in portage to do a quick edit of 
a movie? (cut start/end and maybe splice a bit in/out of the middle?)


BillK





How easy should it be? Won't ffmpeg allow you to do this type of thing 
but you need to do a bit of work to get what you need - no nice GUI?


    Andrew



Re: [gentoo-user] motherboard compatibility...

2021-11-16 Thread Andrew Udvare

On 16/11/2021 17:32, Jorge Almeida wrote:

ROG Strix X570-E Gaming


The name is in the model. X570


OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] Re: setcap fails: (Operation not supported)

2021-09-30 Thread Andrew Udvare

On 30/09/2021 13:58, Grant Edwards wrote:

On 2021-09-30, Grant Edwards  wrote:

On 2021-09-30, Grant Edwards  wrote:


I'm trying to add NET_ADMIN capability to an executable that needs to
create a tun inteface. AFACIT, this is the command to do that:

$ sudo setcap cap_net_admin+ep example_app
Failed to set capabilities on file `example_app' (Operation not supported)

The only possible cause for that message Google has been able fo find
is that the FS doesn't have xattr support.


Is Posix ACL support required for setcap?

I can't find any documentation of such a requirement, but it's the
only other thing I can think of...


That's not it. I rebuilt my kernel with POSIX ACL support enabled for
ext4, rebooted, and verified that ACLs now work.

Still can't figure out how to get setcap to work

 # file example_app
 example_app: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), 
dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 
3.2.0, with debug_info, not stripped

 #  setcap cap_net_admin,cap_net_raw+eip example_app
 Failed to set capabilities on file `example_app' (Operation not supported)

--
Grant



Not sure if this is it, but do you have CONFIG_EXT4_FS_SECURITY enabled?



OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] time to build a new machine ?

2021-09-24 Thread Andrew Udvare

On 24/09/2021 06:48, Philip Webb wrote:

210924 Andrew Udvare wrote:

On 2021-09-24, at 05:58, Philip Webb  wrote:

While I was asleep yesterday, my machine reported on all  3  Konsoles :
Message from syslogd@  at Thu Sep 23 19:38:11 2021 ...
: mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 4: 9d0b4c16001d011b
Message from syslogd@  at Thu Sep 23 19:38:11 2021 ...
: mce: [Hardware Error]: TSC 0 ADDR 19e617980 MISC c01a0100
Message from syslogd@  at Thu Sep 23 19:38:11 2021 ...
: mce: [Hardware Error]: PROCESSOR 2:600f20 TIME 1632440315 SOCKET 0 APIC 0 
microcode 6000822
-- end of report --

 From the manpage:


Which man page is that ?


man mcelog



OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] time to build a new machine ?

2021-09-24 Thread Andrew Udvare



> On 2021-09-24, at 05:58, Philip Webb  wrote:
> 
> While I was asleep yesterday, my machine reported on all  3  Konsoles :
> 
> Message from syslogd@  at Thu Sep 23 19:38:11 2021 ...
> : mce: [Hardware Error]: CPU 0: Machine Check: 0 Bank 4: 9d0b4c16001d011b
> 
> Message from syslogd@  at Thu Sep 23 19:38:11 2021 ...
> : mce: [Hardware Error]: TSC 0 ADDR 19e617980 MISC c01a0100 
> 
> Message from syslogd@  at Thu Sep 23 19:38:11 2021 ...
> : mce: [Hardware Error]: PROCESSOR 2:600f20 TIME 1632440315 SOCKET 0 APIC 0 
> microcode 6000822
> 
> -- end of report --
> 
> I don't remember seeing this before : how concerned should I be ?

From the manpage:

   Most  errors  can be corrected by the CPU by internal error correction 
mechanisms. Uncorrected
   errors cause machine check exceptions which may kill processes or panic 
the machine.  A  small
   number  of  corrected errors is usually not a cause for worry, but a 
large number can indicate
   future failure.

   When an uncorrected machine check error happens that the kernel cannot 
recover  from  then  it
   will  usually  panic  the  system.   In  this case when there was a warm 
reset after the panic
   mcelog should pick up the machine check errors after reboot.  This is  
not  possible  after  a
   cold reset.

If you are overclocking, try disabling it.




Re: [gentoo-user] Video plays past end of time it shows

2021-08-25 Thread Andrew Lowe

On 26/8/21 1:45 am, Dale wrote:

Hi,

I have a video that does something weird.  The video plays about 6
minutes or so past the length it should.  During that extended time, you
can't fast forward, pause or anything either.  I've ran into this a
couple times with my deer camera and thought it odd but didn't worry
about it.  My question is, can this be fixed somehow?  Can I get mplayer
or something to process the file and adjust the time it thinks the video
is to what it actually is?

Bonus, how in the world did it get that way?

Thanks.

Dale

:-)  :-)

	Seen the same sort of behaviour in vid's "liberated" from youtube using 
youtube-dl. I can't remember if I found the problem. What format are you 
using? For example mkv has mkvalidator which will check the integrity 
and I thing mkvclean to fix errors etc.


Andrew



Re: [gentoo-user] Video plays past end of time it shows

2021-08-25 Thread Andrew Udvare
On Wed, Aug 25, 2021, 13:44 Dale  wrote:

> Hi,
>
> I have a video that does something weird.  The video plays about 6
> minutes or so past the length it should.  During that extended time, you
> can't fast forward, pause or anything either.  I've ran into this a
> couple times with my deer camera and thought it odd but didn't worry
> about it.  My question is, can this be fixed somehow?  Can I get mplayer
> or something to process the file and adjust the time it thinks the video
> is to what it actually is?
>

You can try to re-encode or maybe remux with ffmpeg.


> Bonus, how in the world did it get that way?
>

More than likely the metadata in the file is off.

This playback issue can happen with VBR MP3s and also Oggs as the length of
the file can be spoofed in the header.


>


Re: [gentoo-user] Vanishing tab bar in Firefox

2021-08-24 Thread Andrew Lowe

On 24/8/21 10:59 pm, Peter Humphrey wrote:

On Friday, 20 August 2021 17:26:15 BST Peter Humphrey wrote:

On Saturday, 7 August 2021 10:45:26 BST Peter Humphrey wrote:

Hello list,



[snip]



Spoke too soon. It's back again, and it's more stubborn this time. I really
don't want to keep zapping my Firefox directory and setting it up all over
again, especially as I don't understand what's going wrong. Any crumbs of
advice or experience, anyone?



	As the Firefox dir is all text files, I think, when you blow it away 
and rebuild and get the correct behaviour, grab a copy. When the dodgy 
behaviour returns diff the copy, with the good behaviour, against the 
current dir, with the dodgy behaviour, and see what's changed. That may 
lead to an indication of what's being naughty.


I have a recollection of doing this in the past to track down a problem.

Andrew



Re: [gentoo-user] Windows 10 Pro 64bit in Virtualbox

2021-05-22 Thread Andrew Udvare
I use with a highly customised image made with NTLite where nearly
everything is removed, especially things like the antimalware, Cortana, etc.

This gives marginal gain in terms of boot up time, and general speed of the
UI (even with all animations disabled). It does however reduce the memory
requirement to about 1-1.5 GiB, which is nicer than average. However, that
barely fits a browser like Chrome or Edge.

I've been trying to perfect a minimal image setup for VirtualBox for a
while. It's taking a long time to test it.

On Sat, May 22, 2021, 17:02  wrote:

> Is anybody running Windows 10 Pro 64bit in Virtualbox?
> Is it stable?
> Is it easy to resize?
>
> Currently I'm still using Windows 7 Pro and it starts much faster then
> Windows 10 pro 32bit
> But Windows 7 is no longer supported and eventually I'll have to select
> Windows 10 Pro 32bit or 64bit to run my programs.
>
>
>


Re: [gentoo-user] I've got a pod of dolphins after start-up

2021-05-01 Thread Andrew Lowe

On 1/5/21 3:04 pm, Neil Bothwick wrote:

On Sat, 1 May 2021 01:24:23 +0200, Frank Steinmetzger wrote:


I also have experienced something like it. In my case it was Wireshark
coming up after I only launched it once. It is probably KDE’s session
management getting into your way. Unfortunately I haven’t found a place
where to configure the session. There’s probably a file in ~/.config or
~/.local about that. As a quick remedy I switched to empty session on
startup (open system settings and look for session).


Did you try adding Wireshark to the Don't restore these applications list
in System Settings->Startup and Shutdown->Desktop Session?




Ha, the problem is back, dolphins everywhere. The problem seems to be, 
for me at least, that when I close Dolphin after doing a bit of 
file/folder stuff that the GUI shuts down but some zombie part remains. 
Just now, when I fired the machine up, I had three instances of Dolphin 
running. I closed all three, little red button top right hand corner and 
did a:


ps -A | grep dolphin | wc -l

Sure enough 3 zombies. Open Dolphin, do some "stuff", close Dolphin, do 
the "ps" command above and I' ve now got 4 zombies. Do this a couple of 
more times and I now have 8 - 9 zombies.


	Clean out ~/.config/session, ie it's now empty, and shut the machine 
down. Restart machine and hey presto, 8 - 9 Dolphins up and running and 
~/.config/session contains 8 - 9 Dolphin "restart config", or whatever 
they are called, files.


I think it is time to head over to some KDE forum and ask questions 
there.

Andrew




[FIXED] Re: [gentoo-user] Multiple instances of Dolphin automagically appear upon login

2021-04-28 Thread Andrew Lowe

On 25/4/21 11:34 pm, Mark Knecht wrote:

On Sun, Apr 25, 2021 at 7:12 AM Andrew Lowe  wrote:


Hi all,
 A reworking of the subject line from my earlier post regarding

pods of

Dolphins...


[snip]
...
...
[snip]



To me it's suggestive of something messed up in a config file.

What does your .config/dolphinrc file look like?

At the level of KDE in general I have no idea what config file/files it
looks at when configuring the complete desktop environment but that would
be the next thing I'd go looking for.

I'm assuming (bad idea) that you've done a very simple experiment like
closing all the dolphin windows and immediately logging out of KDE?

- Mark


Mark,
	Thanks for the suggestion. It wasn't actually dolphinrc but the 
~/.config/session dir that contained the problem. It appears that just 
during my normal day to day usage of the machine, I would open Dolphin, 
use it, then close it, rinse, repeat. The GUI would close down but some 
part of Dolphin would remain running. This resulted in, the time I 
finally spotted this, 28 instances of this "zombie" running.


	When the machine was shutdown at the end of the day, these 20 odd 
zombies would write a file into "session" for start up next time - which 
they in turn did the next time the machine started up, but this time as 
the full GUI + zombie.


Cleaning out session and killing all of the zombies fixed the problem.

Regards,
Andrew



Re: [gentoo-user] Rusty problems

2021-04-28 Thread Andrew Lowe

On 28/4/21 3:04 pm, J. Roeleveld wrote:

On Tuesday, April 27, 2021 10:53:11 PM CEST Alan Mackenzie wrote:

Hello, Gentoo.

I'm having problems building rust.

[snip]
...
...
[snip]


Hope this helps,

Joost





	I fall into the same camp as Matt. My machine uses Rust only for the 
Mozilla family of stuff so the "-bin" is fine for me. A 30 sec. download 
Vs many hours compiling feels about right to me. Obviously, if you are 
actually doing development using Rust you may want to tweak things so a 
compile might be the way to go there.


Andrew



[gentoo-user] Multiple instances of Dolphin automagically appear upon login

2021-04-25 Thread Andrew Lowe

Hi all,
	A reworking of the subject line from my earlier post regarding pods of 
Dolphins...


	I've just started up and then logged into my up to date KDE machine. 
Once the machine is logged in and ready to go, I have, on the boot/login 
just now, 20 instances of Dolphin running. This is straight after login, 
I have done nothing to the machine after hitting "enter" when entering 
my login password.  This number also appears to be increasing each time 
I log in.


	Has anyone come across this "feature"? I use ~x86 and everything is up 
to date.


Any thoughts greatly appreciated,

Andrew



[gentoo-user] I've got a pod of dolphins after start-up

2021-04-24 Thread Andrew Lowe

Hi all,
	My desktop machine is up to date ~amd64 along with KDE. A few days ago 
I think I had, amongst others,  a Dolphin update. Now when I turn on the 
machine and log into KDE, I find that I have, for example the login I 
did to write this email, 15 instances, hence the pod pun, of Dolphin 
running. I have not tried to "customise" Dolphin or set anything to 
autostart in the last couple of days.


	Has any one got any ideas as to why this would be happening? I've done 
some Googling and will do some more but I can't find anything.


Thanks in advance for any thoughts,

    Andrew



Re: [gentoo-user] Why do we add the local host name to the 127.0.0.1 / ::1 entry in the /etc/hosts file?

2021-02-21 Thread Andrew Udvare


> On 2021-02-21, at 17:23, Grant Taylor  
> wrote:
> 
> Hi,
> 
> I'm reading Kerberos - The Definitive Guide[1] and it makes the following 
> comment:
> 
>> And to make matters worse, some Unix systems map their own hostname to 
>> 127.0.0.1 (the loopback IP address).
> 
> This makes me think that the local host name /shouldn't/ be included in the 
> 127.0.0.1 (or ::1) entry in the /etc/hosts file.
> 
> However, according to the Gentoo AMD64 Handbook[2], we are supposed to add 
> the local host name to the 127.0.0.1 (and ::1) entry in the /etc/hosts file.
> 
> Will someone please explain why the Gentoo AMD64 Handbook ~> Gentoo (at 
> large) says to add the local host name to the 127.0.0.1 (or ::1) entry in the 
> /etc/hosts file?  What was the thought process behind that?

The thought process is the same as the guide you are reading. 
https://www.oreilly.com/library/view/kerberos-the-definitive/0596004036/ch04s03.html

It says in the last paragraph on this page that the /etc/hosts file should have 
the '127.0.0.1 localhost ' (last part is definitely optional) and 
then that the next entry should have the outer IP address mapped to the FQDN.

-- 
Andrew


Re: [gentoo-user] Gentoo on rpi

2021-02-09 Thread Andrew Lowe

On 9/2/21 8:29 pm, Wols Lists wrote:

On 09/02/21 11:29, Andrew Lowe wrote:

On 8/2/21 11:36 pm, Peter Humphrey wrote:

Hello list,

I have a Pi 400, on which I'd like to install Gentoo if I can. I've
tried a
few approaches so far, but each one has fallen foul of some obstacle. For
instance, today I tried installing a small Gentoo system into a
chroot, to do
the compiling there. It seemed to be going well until time came to
upgrade
openssl. It stopped when it couldn't cope with the ARM platform. Zlib
also
failed, needing static compilation, I think.

I see references to using crossdev, wine and taking a prebuilt system
from
various sources, but I haven't found a way through yet.

What setup do people use for compiling for Raspberry Pi?



I'm about to try this:

https://github.com/sakaki-/gentoo-on-rpi-64bit

for a couple of 3's and then some 4's when they turn up. Have you tried
it and it fails?


Bear in mind apparently a normal pi boot setup doesn't work on the 400.
Don't know anything about it except apparently if you stick a card for
the pi 3 or 4 in a 400, it won't boot. It needs to be optimised for the 400.

Cheers,
Wol


Sorry, forgot about those thingies... Took the "400" to be a typo of 
"4", ie just the board


Andrew



Re: [gentoo-user] Gentoo on rpi

2021-02-09 Thread Andrew Lowe

On 8/2/21 11:36 pm, Peter Humphrey wrote:

Hello list,

I have a Pi 400, on which I'd like to install Gentoo if I can. I've tried a
few approaches so far, but each one has fallen foul of some obstacle. For
instance, today I tried installing a small Gentoo system into a chroot, to do
the compiling there. It seemed to be going well until time came to upgrade
openssl. It stopped when it couldn't cope with the ARM platform. Zlib also
failed, needing static compilation, I think.

I see references to using crossdev, wine and taking a prebuilt system from
various sources, but I haven't found a way through yet.

What setup do people use for compiling for Raspberry Pi?



I'm about to try this:

https://github.com/sakaki-/gentoo-on-rpi-64bit

for a couple of 3's and then some 4's when they turn up. Have you tried 
it and it fails?


Andrew



Re: [gentoo-user] No news on kernel upgrade?

2021-02-09 Thread Andrew Udvare


> On 2021-02-09, at 03:43, n952162  wrote:
> 
> If an update requires additional steps, shouldn't that have appeared in the 
> news?

No because how it's done is totally dependent on your needs. There's no one 
correct way to do it. Even in common cases, some may choose to use certain 
kinds of file systems or other things that cannot be covered. Gentoo is all 
about customisability.

Shameless plug: use upgrade-kernel from my upkeep package[1] (which is on 
tatsh-overlay)[2] . It supports updating/rebuilding the kernel plus 
MBR|UEFI/GRUB/Dracut and systemd-boot+UEFI/Dracut/kernel signing (latest HEAD 
only).

1. https://github.com/Tatsh/upkeep#automatic-kernel-update-process
2. https://github.com/Tatsh/tatsh-overlay#installation


Re: [gentoo-user] HOWTO: Freezing/unfreezing (groups of) processes

2021-02-05 Thread Andrew Udvare


> On 2021-02-05, at 02:45, Walter Dnes  wrote:
> 
> done < /dev/shm/temp.txt

You don't need to write a temporary file. You can pipe this directly into the 
while loop:

while read
do
...
done < <(ps -ef | grep ${1} | grep -v "grep ${1}" | grep -v pstop)

Also to avoid the second grep in Bash at least:

grep "[${1:0:1}]${1:1}"

 $ ps -ef | grep '[l]vmetad'
root 965   1  0 Jan31 ?    00:00:00 /sbin/lvmetad -f

^ No grep in output.

--
Andrew


Re: [gentoo-user] Nodejs overlay

2021-02-01 Thread Andrew Udvare
 Node-based (or Yarn-based) project. I 
also don't consider it too much of a burden to add ~/.node/bin to PATH.

I am on a single user PC, but those with a server shared between users may want 
to have a truly global Node setup without using npm -g alongside Portage. This 
hypothetical user base is probably way too small to support right now. The 
convenience is high (one package manager to rule them all) but the cost is much 
higher.

One could argue for something like 'create-react-app' having an ebuild, but if 
all its dependencies also had ebuilds, it would be the one of the largest dep 
trees if not the largest, just for one package. Nightmarish to maintain because 
the next update will probably update a significant number of those deps too. 
Things like ESLint and Webpack would be a nightmare too, especially once their 
plugins get involved. Again the question here is whether Portage would even 
scale well with this many packages brought in from Node, treated the way we 
treat Python packages or Perl modules.

Java is in a similar boat to something like Node. Anything that we want written 
in Java on Gentoo generally just gets added as a -bin ebuild. Even if this 
wasn't the case, it would be easier to maintain all-in-one ebuilds that grab 
all deps and build with Maven (which too is a bin only in Portage) as opposed 
to the separate deps.

--
Andrew


Re: [gentoo-user] Nodejs overlay

2021-01-31 Thread Andrew Udvare


> On 2021-01-31, at 18:17, Aisha Tammy  wrote:
> 
> On 1/31/21 8:49 AM, Alessandro Barbieri wrote:
>> I'm trying to package nodejs software and I made an overlay for it here
>> https://github.com/Alessandro-Barbieri/node-overlay 
>> 
>> Could you try it and send feedback?
> 
> 
> I have to confess, I don't like nodejs a lot.
> But don't node packages have a very strict version dependency?
> Does this handle version conflicts?
> 
> X needs >=A-1.2 and <=A-1.3
> Y needs >=A-1.5
> 
> How would this be solved here? Isn't it for this reason that
> package installs are to a local folder for each application?

It can't be done in a sane way. Nodejs, because of their unwillingness to solve 
dependency issues and allowing insane amounts of tiny packages to exist (blame 
the community), allow insane dependency trees that make it impossible to put it 
on top of a normal package manager.

Even if we did find packages that don't have these conflicts, having Portage 
manage thousands of packages just for a single thing like eslint seems like a 
very bad idea.

Our best option is to treat Nodejs stuff the way we treat Rust and Go packages. 
Pretend Nodejs 'binaries' are 'built' statically and therefore, grab all the 
dependencies in the main package ebuild. One example is this overlay's vscode 
ebuild: 
https://data.gpo.zugaina.org/pf4public/app-editors/vscode/vscode-1.52.1.ebuild

The process of generating the SRC_URI can be automated. Eclasses could be 
written for to help with the phases, especially src_unpack and src_prepare.


[gentoo-user] emerge world, Python, 3.7, 3.8, 3.9

2020-12-10 Thread Andrew Lowe

Hi all,
	Quick question - an "emerge world" produces heaps of work due to Python 
3.7 -> 3.8. Is 3.8 around for a while or are we kicking over to 3.9 in 
the next week or so? In other words, is it worth doing the 3.8 upgrade 
or waiting for 3.9?


Thoughts greatly appreciated,

        Andrew



Re: [gentoo-user] Gentoo on Raspberry Pi 400?

2020-12-07 Thread Andrew Lowe

On 8/12/20 8:34 am, Neil Bothwick wrote:

On Tue, 8 Dec 2020 00:30:12 +0100, Teru Yuu wrote:


As long as you boot into any system, you will be able to install gentoo.
For rpi4 I used alpine linux (mainly because it already had write-up
on wiki for headless boot with sshd enabled)


You can do that with Raspbian too. Mount the boot partition of the SD
card on your computer and create a file called ssh. Then Raspbian will
boot with SSH enabled.



There is always this option:

https://github.com/sakaki-/gentoo-on-rpi-64bit

Andrew




Re: [gentoo-user] Browser have problems with illegal characters

2020-11-25 Thread Andrew Udvare

On 25/11/2020 07:24, Helmut Jarausch wrote:

Hi,

if I try to save a web page containing an illegal character (like 
hookrace.net/blog/introduction-to-metaprogramming-in-nim/)
several browser show an error (attached image) and cannot recover from 
it. I have no chance to change the filename.

I have to 'xkill' it

What can I do about this?

(My locale is en_US.iso88591)

Many thanks for a hint,
Helmut


This may be your window manager.



OpenPGP_signature
Description: OpenPGP digital signature


Re: [gentoo-user] Updating LibreOffice and EPYTHON

2020-10-28 Thread Andrew Lowe

On 28/10/20 9:18 pm, Adam Carter wrote:
On Tue, Oct 27, 2020 at 1:23 AM Andrew Lowe <mailto:a...@wht.com.au>> wrote:


Evening all,
         I'm in the middle of doing an "-NuD world" and my 
Libreoffice build

has failed right at the finish line. I get:


* ERROR: app-office/libreoffice-6.4.7.2::gentoo failed (install phase):
   *   No Python implementation set (EPYTHON is null).
   *
   * Call stack:
   *     ebuild.sh, line  125:  Called src_install
   *   environment, line 5615:  Called python_optimize

'/var/tmp/portage/app-office/libreoffice-6.4.7.2/image/usr/lib64/libreoffice/program'
   *   environment, line 5287:  Called die
   * The specific snippet of code:
   *       [[ -n ${EPYTHON} ]] || die 'No Python implementation set
(EPYTHON is null).';
   *


Stab in the dark - what does 'eselect python list' say?

bluey /home/agl # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.9
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)

	But it has all become a moot point. In the process of trying to track 
this down, I saw stuff in the bugs list where people were talking about 
7.* release. I've decided to not waste my time on the 6 series and just 
wait until 7 arrives in Portage then go from there.


    Thanks for the suggestion anyway,

Andrew



Re: [gentoo-user] A How-to to keep Python on top of its game?

2020-10-26 Thread Andrew Lowe

Should have gone to the list, went to Dale directly

On 19/10/20 11:20 pm, Dale wrote:

Andrew Lowe wrote:

Hi all, I've just run emerge --pretend --depclean and it wants to
remove Python 3.6 - all good. But in turn it is leaving 2.7, 3.7,
3.8, 3.9.


[snip]


Given some more time, I think 3.6 may go away at some point in the
not so distant future.  There may even be a somewhat firm target date
for it.  I think either the date was on -dev or a link to it one.

May have to give it more time yet.

Dale





Apologies for not replying sooner. I had a sneaking suspicion this would 
be the case. Well, I'll just have to put up with it until "the day" when 
the higher ups get things sorts.


Thanks,
Andrew



[gentoo-user] Updating LibreOffice and EPYTHON

2020-10-26 Thread Andrew Lowe

Evening all,
	I'm in the middle of doing an "-NuD world" and my  Libreoffice build 
has failed right at the finish line. I get:



* ERROR: app-office/libreoffice-6.4.7.2::gentoo failed (install phase):
 *   No Python implementation set (EPYTHON is null).
 *
 * Call stack:
 * ebuild.sh, line  125:  Called src_install
 *   environment, line 5615:  Called python_optimize 
'/var/tmp/portage/app-office/libreoffice-6.4.7.2/image/usr/lib64/libreoffice/program'

 *   environment, line 5287:  Called die
 * The specific snippet of code:
 *   [[ -n ${EPYTHON} ]] || die 'No Python implementation set 
(EPYTHON is null).';

 *


I have no idea as to what this means - besides the obvious that EPYTHON 
isn't set. Libreoffice was about the 15th item to build in pmy update so 
I assume Portage is working correctly. There is no mention of EPYTHON in


emerge --info | grep EPYTHON

emerge --info lists:
PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8 -python3_9"
so I assume I have a version of Python set

I've had a look at the environment file that it references, line 5287 
and once again, makes no sense to me.


I've had a look on bugs.gentoo.org and only get one bug that lists the 
error string:


https://bugs.gentoo.org/721846

but once again, makes no sense.

	Any one else seen this error? Any one got a remedy? Thoughts greatly 
appreciated,


Andrew





[gentoo-user] A How-to to keep Python on top of its game?

2020-10-19 Thread Andrew Lowe

Hi all,
	I've just run emerge --pretend --depclean and it wants to remove Python 
3.6 - all good. But in turn it is leaving 2.7, 3.7, 3.8, 3.9.


	I'm fine with 2.7 as I have a specific use for that but three versions 
in the 3.* series? Is there somewhere a How-to or FAQ or hints & tips 
that can guide me on how to sort this out a bit and tidy things up?


Any thoughts, greatly appreciated.

    Andrew



Re: [gentoo-user] Bluetooth and KDE Connect

2020-09-20 Thread Andrew Udvare
On Sun, Sep 20, 2020, 19:46 Peter Humphrey  wrote:

> Evening all,
>
> I've plugged in a new USB Bluetooth adapter, following the instructions in
> the
> wiki: https://wiki.gentoo.org/wiki/Bluetooth . The idea is to connect to
> my
> Android phone, but I'm only getting part way.
>
> After installing bluez and broadcom-bt-firmware, then booting with the new
> kernel, Bluetooth discovery and pairing work fine, but KDE Connect on each
> device can't see the other: they both report "No Devices".
>
> That nice Mr Google doesn't help, nor do the fine manuals and KDE web
> pages.
> Has anyone succeeded with this?
>

KDE Connect works over wi-fi by having your phone and computer on the same
network. You must run the app on your phone and it should see your computer
if it is running KDE Connect.

Make sure you allow the KDE Connect ports in your firewall. 1714-1764 for
UDP and TCP.

Bluetooth services from your phone are not related to KDE Connect.

Andrew


Re: [gentoo-user] ABI_RISCV -> emerge wants to do heaps of work...

2020-09-11 Thread Andrew Lowe

On 12/9/20 1:00 am, Matt Connell (Gmail) wrote:

On Sat, 2020-09-12 at 00:49 +0800, Andrew Lowe wrote:

emerge --ask -NuD world



Is there a simple way of stopping this?


Unless I'm mistaken, this is happening because of the -N flag to
emerge.  Since the ABI changes/additions add *new USE flags* for
packages, when you tell emerge to rebuild packages on finding new/added
USE flags, it wants to rebuild them.

I usually stick with -U (--changed-use) instead, when emerging world.
  This only rebuilds packages when the flags *change*.  Give that a go.




	Ahh, I see now what's going on. The problem is that if I do a "-uD" 
now, and get just the updates, it just "kicks the 290 further down the 
road" until I next do an "-NuD", which if memory serves has always been 
the recommended way of updating - according to the gentoo wiki/doco. I 
might as well get it over and done with now...


	Yes, just tested. "-uD" -> just updates. "-NuD" -> updates + 290 odd 
rebuilds.


	It's 02:30 Saturday morning in Perth Australia So I'll just kill it for 
now and kick it off tomorrow sometime.


Thanks for the reply Matt,

Andrew



[gentoo-user] ABI_RISCV -> emerge wants to do heaps of work...

2020-09-11 Thread Andrew Lowe

Good evening all,
	Just got home from an entertaining evening in the grogshop and decided 
to do update the Gentoo install whilst winding down. I've done an:


eix-sync

followed by an

emerge --ask -NuD world

and am now confronted with a huge list of thingies that need rebuilding. 
For example,


[ebuild   R] media-video/ffmpeg-4.3.1  ABI_RISCV="-ilp32% -ilp32d%"

is amongst the 249 items that want to rebuild. I do have some valid 
updates on top of these but 249 rebuilds that appear to be triggered by 
ABI_RISCV.


Is there a simple way of stopping this? Can I just place something such 
as:

ABI_RISCV=""

in the make.conf file and that will tell portage that even though I 
think the idea of RISCV is interesting, and all power to them, I don't 
need it on an AMD 64 bit machine hence don't rebuild all my stuff.


Any guidance anyone can provide would be greatly appreciated.

Andrew






Re: [gentoo-user] What is the fastest file system for microsd?

2020-08-31 Thread Andrew Udvare
On Mon, Aug 31, 2020, 15:07 никита степанов  wrote:

> What is the fastest file system for microsd?


Any file system without journaling and other extra parts. I would place my
bets on ext2 in terms of raw speed.

There is also FAT and exFAT which should be fast enough. exFAT is optimised
for flash storage and is now in the kernel.


Re: [gentoo-user] custom mount fstab

2020-07-03 Thread Andrew Udvare
On Fri, Jul 3, 2020, 09:34 Tamer Higazi  wrote:

> Hi people,
>
> I had a problem with docker on gentoo and found the solution for all my
> problems with a custom mount command:
>
> |sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
> Can anybody of you tell me how to add that one in /etc/fstab file ?
> best, Tamer |
>

Docker on OpenRC or systemd?

Also with the new cgroups or old?

AFAIK Docker doesn't work or support the new cgroups. :/


Re: [gentoo-user] EFI booting problem - understanding it

2020-07-02 Thread Andrew Udvare
On 02/07/2020 06:56, Peter Humphrey wrote:
> But then,
> # bootctl set-default 30-gentoo-5.7.7.conf
> Failed to update EFI variable: Invalid argument

Probably the kernel is blocking write access to EFI. This is on purpose
for safety as you can damage your firmware quite easily. systemd-boot
and others do not have this restriction. You also should be careful
writing to the EFI too much as the NVRAM flash may not be of high quality.

https://lwn.net/Articles/674940/

You can try using `chattr -i` against the files like:

chattr -i /sys/firmware/efi/efivars/Boot*

Then you can try with bootctl and others, but this is not guaranteed to
work.

On my ASUS motherboard I haven't been able to write to EFI variables
from within Linux for a long time. I have to add my keys in the BIOS and
set the default in systemd-boot.

The logic to write to a file in efivars is here:

https://github.com/torvalds/linux/blob/master/fs/efivarfs/file.c#L15

If you use strace with bootctl you'll probably see one of these errno
values.

Andrew



signature.asc
Description: OpenPGP digital signature


Re: [SOLVED] [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Andrew Udvare


> On 2020-06-25, at 13:40, Valmor de Almeida  wrote:
> 
> On Thu, Jun 25, 2020 at 9:43 AM Andrew Udvare  wrote:
>> 
>> On 25/06/2020 04:59, Valmor de Almeida wrote:
>>> Hello,
>>> Does anyone know how to fix Thunderbird UI fonts on a HiDPI
>>> Gentoo/OpenBox system with no desktop?
>>> A similar problem exists with Firefox but it can be fixed using a CSS
>>> file (userChrome.css). However I can't get Thunderbird to work using a
>>> similar fix. The UI fonts are so small that the app is useless.
>>> Thanks,
>>> --
>>> Valmor
>>> 
>> 
>> Do you have an ~/.Xresources file? It can have something like:
>> 
>> Xft.dpi: 144
>> 
>> Which is also passed to Xorg for me: -dpi 144 (Plasma does this by
>> modifying SDDM service file(s) to systemd).
>> 
> 
> No I don't have it. I thought the line
> 
> xrandr --dpi 192 &
> or
> xrandr --output eDP-1 --mode "3840x2160" --scale "0.75x0.75"
> 
> in ~/.xinitrc was sufficient to fix Firefox; it doesn't fix TB.
> 
> I just added
> Xft.dpi: 192
> to ~/.Xresources and not only TB works but LibreOffice works too.
> Of course all of this defies the purpose of having an HiDPI laptop but
> it is either that or no use at all.

For Qt apps you might want these environment variables in .xinitrc:

QT_SCREEN_SCALE_FACTORS=DVI-I-0=1.5;DVI-I-1=1.5;HDMI-0=1.5;DP-0=1.5;DP-1=1.5;DP-2=1.5;DP-3=1.5;DP-4=1.5;DP-5=1.5;

(These device names are the same as what xrandr shows.)

QT_AUTO_SCREEN_SCALE_FACTOR=0

Currently I have an issue where opening Qt apps from certain contexts results 
in resetting the DPI scale to 2 instead of 1.5. Primarily this happens when 
Chrome launches a Qt-based viewer such as Kate, and sometimes it happens from 
Konsole. Have yet to file bugs.




Re: [gentoo-user] thunderbird small fonts on hidpi

2020-06-25 Thread Andrew Udvare
On 25/06/2020 04:59, Valmor de Almeida wrote:
> Hello,
> Does anyone know how to fix Thunderbird UI fonts on a HiDPI
> Gentoo/OpenBox system with no desktop?
> A similar problem exists with Firefox but it can be fixed using a CSS
> file (userChrome.css). However I can't get Thunderbird to work using a
> similar fix. The UI fonts are so small that the app is useless.
> Thanks,
> --
> Valmor
> 

Do you have an ~/.Xresources file? It can have something like:

Xft.dpi: 144

Which is also passed to Xorg for me: -dpi 144 (Plasma does this by
modifying SDDM service file(s) to systemd).



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Anyone willing to share a kernel .config file?

2020-06-18 Thread Andrew Lowe

Hi all,
	I have an AMD Ryzen 7 2700 CPU sitting in a Gigabyte X470 Aurus Ultra 
Gaming motherboard with 64GB of RAM and an nVidia graphics card. For 
some reason I've never been happy with the kernels config. Considering 
the grunt this thing should have, I am seeing nothing like what I would 
expect. By way of example, if I am running a vid through VLC on one 
screen and get Firefox to create a new tab within the browser on another 
screen, the video in VLC freezes for several seconds. Other things 
freeze when I think they shouldn't be.


	I know this problem could be related to Qt, KDE, VLC, Firefox etc, but 
I think I will take this opportunity to check that my foundations, the 
kernel, are solid in the first place before I start looking at other stuff.


	Does anyone have a physical configuration like mine, and that they 
think runs well, and are willing to share the .config file?


Regards,
    Andrew



Re: [gentoo-user] Gentoo-sources 5.7.x [FIXED]

2020-06-09 Thread Andrew Udvare
On 09/06/2020 12:07, Peter Humphrey wrote:
> On Tuesday, 9 June 2020 15:56:52 BST Peter Humphrey wrote:
> # cat /boot/loader/entries/30-gentoo-5.7.1.conf
> title Gentoo Linux 5.7.1initrd=/intel-uc.img
> linux /vmlinuz-5.7.1-gentoo
> options root=/dev/nvme0n1p4 initrd=/intel-uc.img net.ifnames=0 
> raid=noautodetect

Since you are using systemd-boot or something that fulfils that
specification[1], you can also build your kernel with EFI stub enabled
(CONFIG_EFI_STUB) and then simply put the binary in:

${ESP}/EFI/Linux/vmlinuz-5.7.1-gentoo.efi

You can then run `bootctl set-default vmlinuz-5.7.1-gentoo.efi` or on
the menu, select it and press d to set it within systemd-boot.

(My ASUS motherboard for some reason never lets me write EFI variables
from within Linux so I have to do it from within systemd-boot.)

You can specify the options in the kernel configuration as well:

CONFIG_CMDLINE="root=/dev/nvme0n1p4 initrd=/intel-uc.img net.ifnames=0
raid=noautodetect"

To add the /intel-uc.img to this configuration you either have to
include that in kernel configuration or you can use Dracut to build an
EFI image.

Kernel config:

CONFIG_INITRAMFS_SOURCE="/boot/intel_uc.img"

Or with Dracut:

dracut --force --uefi --uefi-stub
'/usr/lib/systemd/boot/efi/linuxx64.efi.stub' ...

Dracut will automatically pick up your kernel installed to /boot (from
kernel `make install`) and /boot/intel-uc.img (and other similar
things). It will also automatically place the file into

In both cases, you have to remember to update the EFI image/rebuild and
reinstall the kernel whenever you update intel-microcode.

The benefit to this is you don't have to maintain entries files, and you
keep configuration generally in one place: the kernel config. Then you
just drop in EFI binaries into the correct place and they will appear in
the menu. You could have always keep two Linux EFI binaries in
${ESP}/EFI/Linux/ in case the newest one fails.

If you want to do this semi-automatically as part of updates and with
UEFI secure boot signing, use my project: https://github.com/tatsh/upkeep

[1] https://systemd.io/BOOT_LOADER_SPECIFICATION/

--
Andrew




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo-sources 5.7.x

2020-06-08 Thread Andrew Udvare
On 08/06/2020 11:06, Peter Humphrey wrote:
> Afternoon all,
> 
> Is there something special for me to set in the kernel config to enable it to 
> find the root partition? I copied the config from 5.4.38, ran oldconfig and 
> followed most of the suggested answers; but it won't boot.

Sounds like missing drivers. oldconfig didn't do everything it was
supposed to. Moving across multiple major versions, this is to be
expected. A lot of names of things have changed.

Do a comparison of your configuration between old and new.

diff -uN old-config-file /usr/src/linux/.config

Make sure to at least enable NVME with CONFIG_BLK_DEV_NVME=y and try
booting 5.7 again. Other than that, the naming scheme may have changed
but I don't know about this. For better future-proofing, use a UUID of
your root partition rather than a device name.

root=UUID=...

You can get this UUID with the blkid command.

Andrew



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] new genkernel problem

2020-06-05 Thread Andrew Udvare
On Fri, 5 Jun 2020 at 15:02, Jack  wrote:
> Thanks for any thoughts or suggestions.
>
> Jack

I would keep GCC 9 for now. I've run into a few issues with GCC 10
compiling various packages so I have kept GCC 9 on my system. There's
not some serious detriment to not using GCC 10 for 99% of people. Most
distros still use an older version.

Also, have you considered trying Dracut for initramfs generation? I
don't know how well it works with genkernel as I don't use that (I
manually configure my kernels).



[gentoo-user] Updated world -> KDE colours have gone feral....

2020-05-31 Thread Andrew Lowe

Hi all,
	A few days ago I did an "emerge -NuD world" on my KDE based desktop 
machine. When I rebooted the machine, the colours had gone a bit weird. 
I use the Nordic scheme which is dark but now, for example, when I open 
Dolphin, the alternating horizontal stips/stripes that go from the 
dir/file name across through the Modified/Type/Size area have undergone 
a colour change with the lighter horizontal stripes now nearly the 
colour of the text hence I can't read every second row. Other 
applications also display this behaviour, it appears that the colour 
palette is being modified somehow!


	If I go into the "System Settings" and change the "Global Theme" to 
something else, say "Breeze Dark", apply, then change back to Nordic, 
hey presto the colours are back as they should be. Reboot and the dodgy 
colours are back, go to "System Settings".rinse, repeat..


	Anyone have experience with this sort of problem? Is there a way to 
reset the palette? Is there a way to refresh/reset the theme? I don't 
have a whole series of customised keystrokes etc so if it's a case of 
just blowing away a config file/dir and then the system will reset 
itself, that's not a problem.


Any thoughts are greatly appreciated,

Andrew



Re: [gentoo-user] Creating Blue-ray video discs

2020-05-29 Thread Andrew Udvare
On Fri, May 29, 2020, 05:02 Dale  wrote:

> Howdy,
>
> A few weeks ago, I ran up on a deal on a Blu-ray burner.  It's a LG and
> smartctrl -i shows this:
>
>
> === START OF INFORMATION SECTION ===
> Vendor:   HL-DT-ST
> Product:  BD-RE  WH16NS40
> Revision: 1.04
> Compliance:   SPC-3
> >> Terminate command early due to bad response to IEC mode page
> A mandatory SMART command failed: exiting. To continue, add one or more
> '-T permissive' options.
>
>
>
> Anyway, I have some HD videos I want to burn to a Blu-ray disc in HD.
> I've used Devede and Devedeng to create DVDs for a while.  I prefer the
> old Devede but the new ng version works well.  It doesn't however seem
> to create Blu-ray discs.  I googled and found how to play some of them
> at least that are commercially made.  I can't find however what software
> is used to create my own.
>
> Does anyone know what software to use to create HD video Blu-ray discs?
>

You're referring to Blu-ray authoring like creating menus and making a
video disc that works in a set-top player. There isn't any software for
Linux I know of that does this, especially the menu part. The menu part can
be in a simple format or it can be more advanced with BD-J.

Studios use Scenarist BD
https://www.scenarist.com/scenarist-bd-professional-blu-ray-disc-authoring/

There's MultiAVCHD for free. Maybe it works with Wine?


Re: [gentoo-user] Kernel config for Docker

2020-05-16 Thread Andrew Udvare
On 16/05/2020 13:12, Peter Humphrey wrote:
> I can't find any of those. Any clues for the uninitiated?

I am running Docker fine on 5.6.12 and I am missing a lot:

- CONFIG_NF_NAT_IPV4: missing
- CONFIG_IP_NF_FILTER: missing
- CONFIG_IP_NF_TARGET_MASQUERADE: missing
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: missing
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: missing
- CONFIG_NETFILTER_XT_MATCH_IPVS: missing
- CONFIG_IP_NF_NAT: missing
- CONFIG_NF_NAT_NEEDED: missing
- CONFIG_IOSCHED_CFQ: missing
- CONFIG_CFQ_GROUP_IOSCHED: missing
- CONFIG_IP_NF_TARGET_REDIRECT: missing
- CONFIG_EXT3_FS_XATTR: missing
  - CONFIG_INET_XFRM_MODE_TRANSPORT: missing
- CONFIG_NF_NAT_FTP: missing
- CONFIG_NF_CONNTRACK_FTP: missing
- CONFIG_NF_NAT_TFTP: missing
- CONFIG_NF_CONNTRACK_TFTP: missing
- CONFIG_AUFS_FS: missing
- CONFIG_BTRFS_FS: missing
- CONFIG_BTRFS_FS_POSIX_ACL: missing
- /dev/zfs: missing
- zfs command: missing
- zpool command: missing

In regards to NF options, I use nftables and I manage the firewall
manually for Docker (I set {"iptables": false} in
/etc/docker/daemon.json). Docker has been extremely slow at adopting
nftables.

You definitely do not need zfs installed to use Docker. This machine
doesn't have it.

As Victor stated, CFQ is deprecated and gone and BFQ will work fine. And
the script is basically for Red Hat (or corporate) users who still use
iptables, CFQ, ext3 apparently, and a much older kernel.

On my slightly stabler server (running 5.4.38), this is the output and
Docker still works fine. Again on that server I use nftables and manage
the firewall manually. The system has ext4 for its root and the rest of
it is ZFS.

- CONFIG_BRIDGE_NETFILTER: missing
- CONFIG_NF_NAT_IPV4: missing
- CONFIG_IP_NF_FILTER: missing
- CONFIG_IP_NF_TARGET_MASQUERADE: missing
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: missing
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: missing
- CONFIG_NETFILTER_XT_MATCH_IPVS: missing
- CONFIG_IP_NF_NAT: missing
- CONFIG_NF_NAT_NEEDED: missing
- CONFIG_IOSCHED_CFQ: missing
- CONFIG_CFQ_GROUP_IOSCHED: missing
- CONFIG_IP_NF_TARGET_REDIRECT: missing
- CONFIG_EXT3_FS: missing
- CONFIG_EXT3_FS_XATTR: missing
- CONFIG_EXT3_FS_POSIX_ACL: missing
- CONFIG_EXT3_FS_SECURITY: missing
  - CONFIG_INET_XFRM_MODE_TRANSPORT: missing
- CONFIG_NF_NAT_FTP: missing
- CONFIG_NF_CONNTRACK_FTP: missing
- CONFIG_NF_NAT_TFTP: missing
- CONFIG_NF_CONNTRACK_TFTP: missing
- CONFIG_AUFS_FS: missing
- CONFIG_BTRFS_FS: missing
- CONFIG_BTRFS_FS_POSIX_ACL: missing

Andrew



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] a day of PAIN.

2020-05-14 Thread Andrew Udvare


> On 2020-05-12, at 18:45, Alan Grimes  wrote:
> 
> Why is this not a forced-on setting for any machine with UEFI enabled? I
> can't imagine that this would be unacceptable for more than 0.001% of
> the install base.

Because not every user has UEFI and many just use the BIOS compatibility layer 
(CSM) if they don't care about UEFI and Secure Boot. The CSM is going to be 
there for a very long time.

If you don't need UEFI features, then there's nothing really wrong with using 
CSM. I am using UEFI because I like having a signed kernel and signed boot 
loader (systemd-boot).

--
Andrew


Re: [gentoo-user] NVidia-driver, RTX 2060 SUPER. Blender and NO Optix...

2020-04-03 Thread Andrew Udvare



> On Apr 4, 2020, at 00:59, Dale  wrote:
> 
> tu...@posteo.de wrote:
>> Hi,
>> 
>> I have discussed this on www.blenderartists.org and they asked
>> me to ask here to sort out, whether the problem is a Blender-thing,
>> a Linux-thing or a GENTOO-thing.
>> 
>> My setup is as follows:
>> NVidia RTX 2060 SUPER
>> 
>> NVidia-drivers:
>> [I] x11-drivers/nvidia-drivers
>> Available versions:  (~)304.137-r1(0/304)^md[1] 
>> (~)340.107-r2(0/340)^md[1] 340.108(0/340)^mtd (~)375.82-r2(0/375)^md[1] 
>> (~)378.13-r5(0/378)^md[1] (~)381.22-r3(0/381)^md[1] 
>> (~)384.130-r1(0/384)^md[1] (~)387.34-r1(0/387)^md[1] 
>> (~)390.77-r1(0/390)^md[1] (~)390.87(0/390)^md[1] 390.132-r1(0/390)^mtd 
>> (~)390.132-r2(0/390)^mtd (~)396.24-r2(0/396)^md[1] 
>> (~)396.24.10-r1(0/396.24)^md[1] (~)396.45-r1(0/396)^md[1] 
>> (~)396.51-r1(0/396)^md[1] (~)396.51.02(0/396.51)^md[1] 
>> (~)396.54(0/396)^md[1] 430.64-r1(0/430)^mtd 435.21-r1(0/435)^mtd 
>> 440.64(0/440)^mtd {+X acpi compat +driver gtk3 +kms +libglvnd multilib 
>> pax_kernel static-libs +tools uvm wayland ABI_MIPS="n32 n64 o32" 
>> ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD 
>> linux"}
>> Installed versions:  440.64(0/440)^mtd(03:03:25 AM 04/03/2020)(X driver 
>> kms libglvnd static-libs tools uvm -acpi -compat -gtk3 -multilib -wayland 
>> ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" 
>> ABI_X86="64 -32 -x32" KERNEL="linux -FreeBSD")
>> Homepage:https://www.nvidia.com/
>> Description: NVIDIA Accelerated Graphics Driver
>> 
>> Blender 2.82a (stable) and
>> Blender 2.83  (deveoper build)
>> 
>> The NVidia RTX-cards offer a new feature called "Optix" which blender
>> can use to speed up rendering and denoising.
>> 
>> When Blender is started one choose "Optix" from the user
>> Preferences->System tab and then the Optix-enabled devices of the
>> system in question are shown.
>> There is a similiar tab, if you want to use CUDA instead.
>> 
>> The CUDA tab shows my graphics card and everything behaves as
>> exsoected. Choosing "Optix" instead says "No Optix enabled
>> device".
>> 
>> Which is not quite right, since the RTX-cards are Optix enabled.

I suggest filing a bug about this regarding the nvidia-drivers package. It's 
possible it's not installing the necessary files.


Re: [gentoo-user] zoom?

2020-03-25 Thread Andrew Lowe

On 25/3/20 8:16 pm, Alarig Le Lay wrote:

On mer. 25 mars 11:51:33 2020, Jorge Almeida wrote:

Did someone try to install zoom? (relevant to many people during the
current crisis)

https://support.zoom.us/hc/en-us/articles/204206269-Installing-Zoom-on-Linux

I downloaded an archive (cannot find the URL again; the site is that
bad) and the directory doesn't even contain a REDME...)

Jorge Almeida



Why didn’t you try net-im/zoom?



n.b. Another poster here, not Jorge
***

	Wasn't there yesterday morning, 24/3, if memory serves. It was in an 
overlay which I dragged local then installed. I subsequently went to the 
local 'puter shop and got laughed at when I asked for a webcam :) They 
wouldn't even sell me the display models. Have now installed it on a 
bare bones Win10 running lappy that has camera/mic built in. Appears to 
work as advertised - don't know about the sneaky stuff, reporting back 
to base, thought.


Andrew





Re: [gentoo-user] [OFFTOPIC}: Does the MSI Tomahawk MAX is able to boot from a M2 SSD?

2020-03-19 Thread Andrew Udvare


> On Mar 19, 2020, at 23:29, tu...@posteo.de wrote:
> 
> Beside speed and cost:
> Is there any difference between using a M2 SATA SSD
> or a M2 NVMe SSD?

I can tell you there's a huge difference in speed as NVMe is essentially the 
same as plugging directly to PCI-E. m.2 SATA is basically for backward 
compatibility with older OS.
> 
> Does these drives are working with UEFI boot and
> Legacy boot when it comes to boot Linux?

You shouldn't have a problem with either. I've been booting with my own signed 
Grub for years with UEFI secure boot.

If for some reason the motherboard won't take your self-made certificates/etc, 
return it.

Andrew


Re: [gentoo-user] Gentoo on a cell?

2020-02-19 Thread Andrew Lowe

On 19/2/20 10:29 am, William Kenworthy wrote:


On 19/2/20 4:16 am, james wrote:

So,

[snip]



James




[snip]


Easier and more practical would be to install LibreOS. You can build ii
yourself and build/include your own software as needed - I did it many
times with its Cyanogenmod predecessor (I presume you still can).  There
are some other stacks suitable for phones such as sailfish and even
android can be built yourself (and you can defang/customise it while
doing it - google not needed and if you dont install GAPPS it still
works fine)


[snip]

This is the most painless way of doing this. I have been using Gentoo 
since the early naughties and love the customisation etc but on a phone, 
not worth the pain. Ride off someone else's coat tails and the one I use 
is LineageOS [1]. Except for the occasional blob for the wireless bits 
and pieces which need a bit of ferretting around for, it just runs.


    Andrew





[1] https://lineageos.org/



Re: [gentoo-user] [SOLVED] The saga of the missing Logitech drivers

2020-02-11 Thread Andrew Lowe

On 1/2/20 1:42 am, Andrew Lowe wrote:

Hi all,
 I posted something a few days ago about middle click of a mouse not 
working. In investigating this, I think I have come across something a 
bit dodgy.



[snip]

	Well this problems is solved. As someone pointed out, Jack both times, 
it was related to things not being set. To expose the Logitech drivers 
you need INPUT, HID and LEDS_CLASS all set. If you don't then Logitech 
will disappear.


	I'm sure that in the past I've had to enable things and when I tried to 
select them, I couldn't and then a look in the help indicated something 
else needed to be enabled - enable it and I could subsequent select. In 
this case, the thing, LOGITECH was not even displayed. As to whether 
this is new behaviour or not, can't select Vs hidden, I don't know. 
Menuconfig is an absolute mess and, is it too much to ask for 
alphabetical order, and the less that I need to interact with it the better.


Thanks for those who offered help,

Andrew



Re: [gentoo-user] The saga of the missing Logitech drivers

2020-02-01 Thread Andrew Lowe

On 1/2/20 1:42 am, Andrew Lowe wrote:

Hi all,
 I posted something a few days ago about middle click of a mouse not 
working. In investigating this, I think I have come across something a 
bit dodgy.




	So first off, thanks for the comments/thoughts/pointers. Unfortunately 
I basically had tried all of them, diff'd this, checked that and it 
appears the only thing is to start from scratch, which is a really 
painful thought.


	Why is "menuconfig" so badly organised? A bit of alphabetical ordering 
wouldn't go astray, a la a dir structure as displayed in Dolphin/Win 
Explorer


	Anyway, 5.5.1 is out and I've tried that as well, hoping for a fix, but 
to no avail. Logitech still disappears. Does anyone know where I could 
look for bugs on menuconfig or a non intimidating place to ask about 
this - I don't want Linus "shouting" at me on the LKML.


Regards,



[gentoo-user] The saga of the missing Logitech drivers

2020-01-31 Thread Andrew Lowe

Hi all,
	I posted something a few days ago about middle click of a mouse not 
working. In investigating this, I think I have come across something a 
bit dodgy.


	I have just updated my kernel to 5.5.0. This has the dodgy behaviour of 
the middle button not working.   A bit of Googling led me to reboot my 
machine with an older kernel, 5.4.14. The middle button worked. The 
kernel is the problem I thought. I in turn diff'd the configs for the 
two kernels. 5.4.14 has 7 lines of Logitech stuff under CONFIG_HID_. 
5.5.0 has none. The Logitech stuff appears in the 5.5.0 kernel if I 
search within the kernel config thingy, "make menuconfig". It should be 
noted that I usually roll my old config file over into the new kernel 
then run "make oldconfig".


	"make menuconfig" under 5.5.0 shows, in my situation, Device 
Drivers->HID support->Special HID drivers:


...
...
Kensington...
LC-Power
Lenovo...
Apple Magic...
Maltron...
...
...

Under 5.4.14 there would have been a Logitech between Lenovo & Magic Mouse

	With this in mind, I deleted the current config file, the one based on 
5.4.14 with "make oldconfig" and missing Logitech and then reran "make 
menuconfig". Working my way down to the mouse drivers, lo & behold, 
there are entries for the Logitech mice. When I exit "make menuconfig" 
and look at the .config file, the Logitech stuff is there.


Now the big questions are:

1) Is "make oldconfig" broken?
2) Can I no longer take my old config across and update it?
3) Am I a dill and doing something obviously wrong?

	I don't want to have to start from a fresh config file and weed out all 
the %^&^$^#^# stuff I don't need, all of the weird network cards, the 
Intel CPU stuf, I run AMD, etc etc.


Any thoughts on how to rectify this situation would be greatly 
appreciated,

Andrew



Re: [gentoo-user] Lost "middle click opens links" in KDE/Firefox combo - anyone else?

2020-01-30 Thread Andrew Lowe

On 30/1/20 1:41 pm, Andrew Lowe wrote:

Hi all,
 Yesterday afternoon, and for the last ??? years, I could be using 
Firefox, within KDE and with a Logitech M560[1] mouse, middle click on a 
link and a new tab would open containing the link.


 I did an "emerge world", which included some KDE stuff, but not 
Firefox, last night and this morning, this functionality is now gone. 
Has anyone else got this problem or come across it being mentioning in 
their wanderings of the web?


 Any thoughts greatly appreciated,

     Andrew






[1] https://tinyurl.com/u9vxqdy



	Well it appears it's the kernel Boot into my environment with the 
5.4.14 kernel, bring up FF and then happily go "middle button clicking" 
on links. Tabs with the appropriate links start popping up everywhere, 
as expected.


	Shutdown then restart using the 5.5.0 kernel and try "middle button 
clicking" and it fails. I'll have to do some more checking but it looks 
like that is the problem.


Andrew



[gentoo-user] Lost "middle click opens links" in KDE/Firefox combo - anyone else?

2020-01-29 Thread Andrew Lowe

Hi all,
	Yesterday afternoon, and for the last ??? years, I could be using 
Firefox, within KDE and with a Logitech M560[1] mouse, middle click on a 
link and a new tab would open containing the link.


	I did an "emerge world", which included some KDE stuff, but not 
Firefox, last night and this morning, this functionality is now gone. 
Has anyone else got this problem or come across it being mentioning in 
their wanderings of the web?


Any thoughts greatly appreciated,

    Andrew






[1] https://tinyurl.com/u9vxqdy



Re: [gentoo-user] qt4

2020-01-18 Thread Andrew Udvare


> On 2020-01-18, at 03:17, k...@aspodata.se wrote:
> 
> Is there a way to install qt4 without resorting to make a new 
> installation ?
> 
> This code requires qt4:
> https://github.com/thliebig/openEMS-Project

Not from what I'm seeing. The README has an outdated line for Ubuntu but the 
QCSXCAD GUI code references Qt5.

https://github.com/thliebig/QCSXCAD/blob/0dabbaf2bc1190adec300871cf309791af842c8e/CMakeLists.txt#L109




[gentoo-user] Dolphin problems...

2020-01-18 Thread Andrew Lowe

Hi all,
	I'm running an up to date KDE machine. In the last couple of weeks when 
I fire up Dolphin to browse the file system I get some weird behaviour.


	When the app first displays, I have "Places" on the LHS, the file 
system in the tree on the RHS and a shell across the bottom, in other 
words, nothing customised, basically "straight out of the box". The 
weird behaviour is that when the app first displays, if I click on any 
of the "Places" nothing happens. Normally there is a light "highlight", 
I'm using a theme that is dark in colour, that follows the mouse over 
the "Places" and a click on a "Place" will jump the tree view, and 
shell, to that part of the file system. Currently that does not happen. 
If I use the cursor keys I get movement in the tree view. I also just 
noticed that if I click in the shell it does not get focus as well.


	The interesting thing is that if I shrink/minimise the main window of 
Dolphin, it is back working as expected, the "highlight" follows the 
"Places" as I move the mouse over them, the shell can get focus if I 
click in it. Maximisings the window still has it working as expected. 
It's as though when the app first starts up, things are not getting 
mouse focus info and the shrinking/maximising then sets the focus correctly.


	Has anyone seen this behaviour before? As I said at the start this is a 
recent "feature" previously things were working as expected.


Any thoughts?

Andrew



Re: [gentoo-user] can you save a filesystem destroyed with mkswap?

2020-01-15 Thread Andrew Udvare


> On 2020-01-16, at 02:30, n952162  wrote:
> 
> Does anyone have experience with this?  Is it possible to a save an
> ext3/4 system destroyed by mkswap?
> 
> 
> 

Try app-admin/testdisk

Get to a point where you know for sure nothing is writing to the disk (or would 
be) and make an image with dd, then leave the physical disk alone. Then start 
recovery.

Andrew


Re: [gentoo-user] /usr/portage/distfiles vs /var/cache/distfiles

2020-01-14 Thread Andrew Udvare
On 14/01/2020 17:05, Paul B. Henson wrote:
> I recently installed a new server, and noticed that it is using
> /var/cache/distfiles rather than /usr/portage/distfiles. looking at the
> documentation, it seems that is the new default, and it says "new
> installations" will use it. I have older servers which are still using
> /usr/portage/distfiles. None of them have DISTDIR configured, so I am
> curious how portage is deciding between "old" and new"? If I wanted to
> migrate my older boxes to the new location without explicitly setting
> DISTDIR on them, what do I need to change?
> 
> Thanks…
> 
I attempted to do this migration on two machines but was only successful
once. Pretty sure this is because of not using 17.1 profile on the
failing machine.

The first machine is on a 17.1 profile, and migration was relatively
simple, and worked. I did it based on this post:

https://forums.gentoo.org/viewtopic-p-8373904.html?sid=5c30f451df89c01a6bbe0a8dadd77c36#8373904

On the second machine, I did not change to profile 17.1. After moving
the files around, no matter what I tried, Portage refused to check the
new DISTDIR. I haven't had time to switch this machine to 17.1 yet.

Andrew



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] safe use of .gnupg

2019-12-17 Thread Andrew Udvare



> On Dec 17, 2019, at 20:51, Philip Webb  wrote:
> 
> When encrypting a file, I was told :
> 
>  root:552 root> gpg -c  
>  gpg: WARNING: unsafe ownership on homedir '/home/purslow/.gnupg'
> 
> The file is owned by my user, ie  : .
> This seems to be the default when 'gpg' is installed.

It's probably complaining if you're running as root and you've set the GPG home 
did to be in /home/purslow/.gnupg rather than /root/.gnupg (and owned by 
root:root). Otherwise try setting that directory to 0700 permission (u+rwx 
g-rwx o-rwx).

Andrew


Re: [gentoo-user] Kernel panic on 5.4.2 - not sure of cause yet

2019-12-14 Thread Andrew Udvare
On 15/12/2019 01:54, Andrew Udvare wrote:
> On 12/12/2019 10:18, Daniel Frey wrote:
>>
>> I have just installed fresh new gentoo installs with 5.4.2 and both
>> machines use nvidia-drivers - I have not seen this at all.
>>
>> I have been doing a fair bit of compiling on one of the machines and
>> haven't had any hiccups whatsoever.
>>
>> Dan
>>
> 
> Thanks for the reply.
> 
> I think I have found the issue in another 3rd party blob-ish driver from
> Magewell, which is for my capture card. I removed the capture card
> (since this would stop the module from loading) and my system has not
> had a panic since. I have not tried to upgrade back to 5.4.2 yet but as
> I said before I was getting the error on 5.4.0 too.
> 
> Andrew
> 

For anyone interested, here are some pictures of the panics:

https://i.imgsafe.org/5e/5e20756985.jpeg (unknown)
https://i.imgsafe.org/5e/5e20754111.jpeg (find_css_set)

The driver in question is the one named ProCapture. I am fairly certain
this is the cause of the recent panics.

I have had some issues with overclocking my system (both CPU and memory)
but I do not think this is related. Just for good measure I reseated all
my RAM modules. I am currently running 3.7 GHz (from 3.5) with memory
overclocked to 2667 MHz. Does not seem to have an issue.

Andrew



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Kernel panic on 5.4.2 - not sure of cause yet

2019-12-14 Thread Andrew Udvare
On 12/12/2019 10:18, Daniel Frey wrote:
> 
> I have just installed fresh new gentoo installs with 5.4.2 and both
> machines use nvidia-drivers - I have not seen this at all.
> 
> I have been doing a fair bit of compiling on one of the machines and
> haven't had any hiccups whatsoever.
> 
> Dan
> 

Thanks for the reply.

I think I have found the issue in another 3rd party blob-ish driver from
Magewell, which is for my capture card. I removed the capture card
(since this would stop the module from loading) and my system has not
had a panic since. I have not tried to upgrade back to 5.4.2 yet but as
I said before I was getting the error on 5.4.0 too.

Andrew



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Kernel panic on 5.4.2 - not sure of cause yet

2019-12-10 Thread Andrew Udvare
I have been getting relatively consistent kernel panics on some call to
find_css_set and sometimes a stack trace that mentions cgroups.

On 5.4.0 I don't get this same crash and I added blocking of
auto-loading nvidia under the ramdisk just in case that's the issue, as
I was sometimes getting a similar crash on 5.4.0.

/etc/default/grub:

GRUB_PRELOAD_MODULES=lvm
GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd
systemd.legacy_systemd_cgroup_controller=yes rd.driver.blacklist=nvidia
rd.driver.blacklist=nvidia_modeset rd.driver.blacklist=nvidia_drm"
GRUB_GFXPAYLOAD_LINUX="keep"

The reason the legacy argument is there is because Docker won't work
under the new cgroups, for now.

I have a couple of modules, but the one that sticks out most is nvidia.
This is the one I see in the stack trace. I have not seen a bug report
on Gentoo or Nvidia's end.

For now I've masked >5.4.0 gentoo-sources.

Anyone else getting a similar issue?

Thanks
Andrew



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] app-text/foliate ebuild?

2019-12-02 Thread Andrew Udvare
On 27/11/2019 07:50, Helmut Jarausch wrote:
> Hi,
> I came across the "modern ebook reader" foliate
> (github.com/johnfactotum/foliate)
> Since I don't know about meson, I failed to write an ebuild for that.
> 
> Has anybody know about an ebuild for foliate?
> 
> Many thanks for some help,
> Helmut
> 

Use the Meson eclass.

https://devmanual.gentoo.org/eclass-reference/meson.eclass/index.html



signature.asc
Description: OpenPGP digital signature


[gentoo-user] [Sort of OT] Going old school - Doom

2019-11-23 Thread Andrew Lowe

Dear all,
	Does anyone have any suggestions as to the current "best" port of old 
school Doom? Spent ages playing this in the dim dark days and wouldn't 
mind doing a quick install and having a go again.


Andrew



Re: [gentoo-user] Noah's ArK

2019-11-17 Thread Andrew Udvare


> On 2019-11-17, at 06:19, Helmut Jarausch  wrote:
> 
> I'd like to "preserve" some packages which do require components I don't like 
> to have "regularly" installed any more like some depending on Python2 or are 
> 32bit.

For Python (any version), use wheels:

https://pypi.org/project/wheel/

You would have to clone/download the packages yourself, and then run `python 
setup.py bdist_wheel` for them. This also ensures that you preserve compiled 
versions of the packages. As time goes on, these older packages will not 
compile against newer GCC/Clang versions without patches. Most popular packages 
already have wheels, although they might not have every combination built.

For anything else, if it doesn't need stuff like hardware 3D acceleration, use 
a VM that retains the packages you want. This also leads into...

If it does need native hardware access, use chroot and/or disk images (that you 
would boot into separately). I prefer to try and create barriers between 
'production' (what I use everyday) and one-off things like some old game that 
only supports 32-bit.

You probably want to retain old versions of toolchains (GCC, binutils, Clang, 
LLVM, etc) in case you need to build anything (built with -mtune not -march). 
Use Gentoo's binpkg format for this with the `qpkg` command. These packages can 
also be deployed on non-Gentoo systems but YMMV as you look for dependencies.

I tend to keep old hardware around for running old software. You might want to 
do the same.

A lot of older (much older) x86 support is being added to MAME everyday. This 
may come in handy in the future to preserve older versions of Linux distros and 
apps/games.

https://www.mamedev.org/releases/whatsnew_0215.txt (search 386)

Andrew


Re: [gentoo-user] problem changing to 17.1 profile

2019-11-03 Thread Andrew Udvare
On 02/11/2019 01:36, John Covici wrote:
> Hi.  Well, I was finally able to do the change of profile tothe 17.1
> profile.  I have gotten all  the way almost to the end of this process
> to the final step where itwantsto emerge all the 32-bit packages.  I
> am about two from the end of that list and trying to emerge
> x11-libs/gtk+-2.24.32-r1  andI have run into this problem:
> 
> libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
> -Wall -Wl,-O1 -o decompose-bits decompose-bits.o  -Wl,--as-needed
> /usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
> -lgobject-2.0 -lglib-2.0
> /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> /usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
> collect2: error: ld returned 1 exit status
> 
> Now, I re-emerged dev-libs/atk which contains the offending
> library, but no joy.  the gtk package is pulled in by   several other
> packages, so I cannot remove it.

If you re-emerged atk successfully, then the gtk linking stage should
not fail with the same error as /usr/lib/libatk-1.0.so should now be in
the correct format (32-bit instead of 64-bit).

> 
> Thanks in advance for any suggestions asto howto proceed.
> 

You have to pull in some packages in a very specific order.

With KDE we have a sort of circular dependency on freetype[harfbuzz],
because harfbuzz itself depends on freetype. For this reason I had to do
the following:

env USE=-harfbuzz emerge -1 freetype
emerge -1 harfbuzz
emerge -1 freetype

There is currently no way for Portage to do this automatically.

Your issue sounds similar and I would suggest emerging offending
packages separately before continuing the rebuild process for /lib32,
etc. The order is going to depend on other packages you have installed.

As soon as one of these special packages errors, you need to check the
build log. Most likely it was during the configure stage where a
dependency is not being found in /lib because it has not been built yet.
Build that dependency with --oneshot and try again with the failing
package after.

--
Andrew



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Docker + systemd since cgroups v2

2019-09-10 Thread Andrew Udvare
For reference: uname -r: 5.2.13-gentoo, systemd version 
243_rc2-r1[cgroup-hybrid], ACCEPT_KEYWORDS="~amd64"

My system started failing to start running docker.service automatically and the 
logs weren't too helpful. Finally I ran dockerd on its own and found that it 
gave me this error message:

Devices cgroup isn't mounted

This is not too easy to diagnose as there seem to be a set of solutions but 
none of the main two worked for me. One involved setting 2 options on the 
kernel command line:

cgroup_enable=memory swapaccount=1

And the other was to add USE="cgroup-hybrid" to systemd. I did this, but it too 
it did not work.

The other solution is to simply mount the cgroup manually and this works but I 
did not see why I'd have to do that now when I never had to in the past.

I actually had to add this to my command line:

systemd.legacy_systemd_cgroup_controller=yes

This has been noted in other distros but from what I can tell this is solely 
because runc has not been updated to be able to use cgroups v2.

Anyone else ran into this issue? Is there something I am missing so I wouldn't 
need to pass a kernel command line option?

Reference links:

https://docs.docker.com/install/linux/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities
https://github.com/opencontainers/runc/issues/654
https://github.com/opencontainers/runc/issues/1175
https://wiki.gentoo.org/wiki/Docker#Docker_service_fails_because_cgroup_device_not_mounted_.28systemd.29


-- 
Andrew Udvare





Re: [gentoo-user] KDE machine -> Shutdown icons gone walkabout

2019-09-08 Thread Andrew Lowe

On 20/8/19 2:21 am, Andrew Lowe wrote:

Hi all,
 I recently, last week or so, did some updating of my KDE desktop 
and when I went to select "Shutdown" off the menu bar thingy, no icons 
for "Logout", "Shutdown" & "Some Other Thing" appeared as they used to. 
I in turn had to open up a shell, su and then "shutdown -t now" to bring 
the machine down. Have I missed something somewhere as to why I no 
longer get the icons? Has something been broken down into smaller bits 
and I now have to emerge something else to get the icons back?


 Thoughts greatly appreciated,

     Andrew




	A bit of a wait and a few more emerges and it appears to have fixed 
itself. Cause - unknown!!!


Thanks for the replies,
Andrew



Re: [EXTERNAL] [gentoo-user] empty cdrom drive is busy or mounted

2019-08-22 Thread Andrew Udvare


> On 2019-08-22, at 12:31, Laurence Perkins  wrote:
> 
> A common tactic is to use grep twice:
> ps auxf | grep -v grep | grep blah

Or grep with brackets:

ps aux | grep '[f]irefox'

I have a function for this:

psgrep() {
  ps aux | grep "[${1:0:1}]${1:1}";
}

This works because the ps output will have "grep [f]irefox" and the regex can't 
match that line (without escaping the [] again).


-- 
Andrew


Re: [gentoo-user] setup x11/plasma in chroot?

2019-08-22 Thread Andrew Udvare


> On 2019-08-22, at 20:13,  
>  wrote:
> 
> Can I install x11 and plasma on a new system I've chrooted into or do I have 
> to boot into the new system?  thanks. 
> -- “The whole world is watching! The whole world is watching!”
> 
You can install these things fine. Running them within the chroot can be a bit 
painful, however.


[gentoo-user] KDE machine -> Shutdown icons gone walkabout

2019-08-19 Thread Andrew Lowe

Hi all,
	I recently, last week or so, did some updating of my KDE desktop and 
when I went to select "Shutdown" off the menu bar thingy, no icons for 
"Logout", "Shutdown" & "Some Other Thing" appeared as they used to. I in 
turn had to open up a shell, su and then "shutdown -t now" to bring the 
machine down. Have I missed something somewhere as to why I no longer 
get the icons? Has something been broken down into smaller bits and I 
now have to emerge something else to get the icons back?


    Thoughts greatly appreciated,

Andrew



[gentoo-user] Music player being run from an emerge

2019-07-09 Thread Andrew Lowe

Hi all,
	This all happens on an up to date openrc machine with the profile 
default/linux/amd64/17.0/desktop/plasma


	I've added a few hooks to the emerge process via the bashrc that is in 
/etc/portage. One of the things I do upon emerge failure is kill vlc, 
which would have been playing a random song, and then attempt to start 
alsaplayer[1] with a specific song. This means that I can be pottering 
around the house/shed and if the "failure song" starts playing, I know 
something is up. The problem is getting the failure song to play.


	If I log in as my usual user, alsaplayer will run the song. If I then 
"su" into root, I'm in wheel, alsaplayer will play the song. The problem 
is that when the emerge runs, then fails, alsaplayer can't appear to 
fire up. When an emerge fails, I get the usual error listings then the 
following:


 * ACCESS DENIED:  open_wr:  /dev/snd/controlC0
 * ACCESS DENIED:  open_wr:  /dev/snd/controlC0
ALSA lib 
/var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/confmisc.c:674:(snd_determine_driver) 
could not open control for card 0
ALSA lib 
/var/tmp/portage/media-libs/alsa-lib-1.1.9/work/alsa-lib-1.1.9/src/conf.c:3572:(snd_config_hooks_call) 
function snd_config_hook_load_for_all_cards returned error: Permission 
denied


...
..
.

Amongst this stuff is a line:

LOG FILE: "/var/log/sandbox/sandbox-20431.log"

which I think confirms my suspicions that something is wrong with my 
sandbox as I also get this error when the email fails and just before 
the failure hook, running alsaplayer, is run:


ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded 
(cannot open shared object file): ignored.


	Are there any emerge/sandbox gurus out there who might have an idea as 
to what's going on? Any thoughts are greatly apreciated,


Andrew


[1] vlc won't play as root hence I tried alsaplayer



Re: [gentoo-user] version of portaudio conflicts with itsself?

2019-07-07 Thread Andrew Udvare
On 05/07/2019 22:05, Arve Barsnes wrote:
> Portage would like to install portaudio-19.06.00-r2, but audacity
> requires a version lower than that. I have the same output on my box,
> waiting for an audacity release I guess.

I have similar output especially with packages that are slotted like
wine-mono:

[U] app-emulation/wine-mono
 Available versions:
 (4.6.4) 4.6.4
 (4.7.0) (~)4.7.0
 (4.7.1) 4.7.1
 (4.7.3) (~)4.7.3
 (4.7.5) 4.7.5
 (4.8.0) (~)4.8.0
 (4.8.1) (~)4.8.1
 (4.8.3) (~)4.8.3
 (4.9.0) (~)4.9.0

   Installed versions:  4.7.5(4.7.5)(13:55:46 28/01/19)

 Homepage:
https://www.winehq.org/
 Description: Wine Mono is a replacement for the .NET
runtime and class libraries in Wine


If I run an upgrade this never gets updated. My assumption is that the
Wine ebuild is not requiring >wine-mono:4.7.5.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Anyone with experience viewing EXIF data in Dolphin?

2019-07-05 Thread Andrew Lowe

On 6/7/19 4:31 am, Mick wrote:

On Friday, 5 July 2019 21:22:31 BST Andrew Udvare wrote:

On 05/07/2019 15:37, Andrew Lowe wrote:

Hi all,
 I'm transferring my install from a spinning disk to an SSD and
decided to tidy up/customise/stuff up things as I go. I've recently
taken a lot of photo's whilst travelling and I have the Coords in the
EXIF data. What I would like is to be able to easily view this data.
There is a thingy called "ReImage"[1] which allows for a right click
within Dolphin and you can select an option to display the EXIF data in
a dialogue box.


I recall using an earlier version of this and it is a useful and easy submenu
option to apply ImageMagick on a file.



 I had to manually install this as I could find nothing on "Dolphin
Service Menus" within Portage, or the Gentoo wiki or basically on line
at all, so is there a Gentoo way of dealing with these in the first place?


Not really. You can submit a bug or PR though as some of these do make
into the tree sometimes.

$ eix --homepage store.kde.org


Shall do on this.




 Secondly, I then came across "kfilemetadata" in Portage. Without
installing this as well, does this give the same thing? If so, how do
you use this thing? Acutally, as I'm writing this, I'm still reserching
and api.kde.org[2] says it's a library, so what apps use it?


Not the same thing.

kfilemetadata is solely a library and should be pulled in by other
packages that need it.

You have to enable USE="semantic-desktop" to make Dolphin and others
pull it in and use it.


If a GUI is not necessary and a semantic database indexing is not required,
you can give exiftool a spin, which can be scripted with find to search your
files and store them according to any exif tag.



	I spent much time getting rid of the semantic desktop so that's that 
last thing I need. I've given exiftools a go before and it gave me all I 
needed so a combo of the right click and it will give me all I need.


Thanks for the comments,

Andrew




Re: [gentoo-user] Anyone with experience viewing EXIF data in Dolphin?

2019-07-05 Thread Andrew Udvare
On 05/07/2019 15:37, Andrew Lowe wrote:
> Hi all,
> I'm transferring my install from a spinning disk to an SSD and
> decided to tidy up/customise/stuff up things as I go. I've recently
> taken a lot of photo's whilst travelling and I have the Coords in the
> EXIF data. What I would like is to be able to easily view this data.
> There is a thingy called "ReImage"[1] which allows for a right click
> within Dolphin and you can select an option to display the EXIF data in
> a dialogue box.
> 
> I had to manually install this as I could find nothing on "Dolphin
> Service Menus" within Portage, or the Gentoo wiki or basically on line
> at all, so is there a Gentoo way of dealing with these in the first place?

Not really. You can submit a bug or PR though as some of these do make
into the tree sometimes.

$ eix --homepage store.kde.org

> 
> Secondly, I then came across "kfilemetadata" in Portage. Without
> installing this as well, does this give the same thing? If so, how do
> you use this thing? Acutally, as I'm writing this, I'm still reserching
> and api.kde.org[2] says it's a library, so what apps use it?

Not the same thing.

kfilemetadata is solely a library and should be pulled in by other
packages that need it.

You have to enable USE="semantic-desktop" to make Dolphin and others
pull it in and use it.



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Anyone with experience viewing EXIF data in Dolphin?

2019-07-05 Thread Andrew Lowe

Hi all,
	I'm transferring my install from a spinning disk to an SSD and decided 
to tidy up/customise/stuff up things as I go. I've recently taken a lot 
of photo's whilst travelling and I have the Coords in the EXIF data. 
What I would like is to be able to easily view this data. There is a 
thingy called "ReImage"[1] which allows for a right click within Dolphin 
and you can select an option to display the EXIF data in a dialogue box.


	I had to manually install this as I could find nothing on "Dolphin 
Service Menus" within Portage, or the Gentoo wiki or basically on line 
at all, so is there a Gentoo way of dealing with these in the first place?


	Secondly, I then came across "kfilemetadata" in Portage. Without 
installing this as well, does this give the same thing? If so, how do 
you use this thing? Acutally, as I'm writing this, I'm still reserching 
and api.kde.org[2] says it's a library, so what apps use it?


	I hope this makes sense, it's 03:33 in Perth, Australia at the moment 
and I've knocked back a fair amount of chocolate, and one or two 
fermented beverages, whilst doing this work ;) Any thoughts are greatly 
appreciated,


Andrew

[1] https://store.kde.org/p/1231579/
[2]https://api.kde.org/frameworks/kfilemetadata/html/index.html



Re: [gentoo-user] Re: Gvim icon problem

2019-06-18 Thread Andrew Udvare
On 18/06/2019 12:06, Philip Webb wrote:
> 190615 Nikos Chantziaras wrote:
>> On 15/06/2019 12:00, Philip Webb wrote:
>>> I've just upgraded to Gvim 8.1.1486 & most of the icons have disappeared.
>> Is kde-plasma/kde-gtk-config installed ?
> 
> Yes.
> 
>> Open the KDE "System Settings", and go to "Application Style".
>> Select "GNOME/Gtk Application Style".
>> Make sure "Icon Theme" is set to "Breeze" 
>> & "Fallback theme" is set to "Adwaita".  If there's no "Adwaita" option,
>> then emerge x11-themes/adwaita-icon-theme.
> 
> Done & the icons are restored (screenshot attached),
> but they're not as pretty as those before (see shot in earlier msg).

You should be able to use Oxygen as your icon theme (I do this). The
screenshot looks like you have a mix of Breeze and Adwaita icons.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Where to put Happauge capture card firmware?

2019-06-16 Thread Andrew Udvare
On 16/06/2019 04:34, J. Roeleveld wrote:
> There should be a /lib/firmware containing all the firmware files.
> See the linux-firmware ebuild for the exact location.

Thanks. Installing linux-firmware and adding this file to my initrd in
Dracut configuration solved my issue.




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Where to put Happauge capture card firmware?

2019-06-16 Thread Andrew Udvare
I get this error in my boot log:

Jun 16 03:54:55 limelight kernel: cx25840 2-0044: Direct firmware load
for v4l-cx23885-avcore-01.fw failed with error -2
Jun 16 03:54:55 limelight kernel: cx25840 2-0044: unable to open
firmware v4l-cx23885-avcore-01.fw

I can get this file, but I have not figured out where I am supposed to
put it.

Thanks



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Tracking kernel patches

2019-05-26 Thread Andrew Udvare

> On 2019-05-25, at 20:39, Adam Carter  wrote:
> 
> I need to use this patch;
> https://marc.info/?l=linux-block&m=155772952511144&w=2
> 
> Is there some way to track its progress toward inclusion in the stable 
> release?

https://github.com/torvalds/linux/commit/09324d32d2a0843e66652a087da6f77924358e62#diff-a3fadbb3daba4dd336ddc1846df3e6c8

Can also look at kernel.org.

I just dealt with this with the TRIM error and its patch.

The easiest way is to look at the patch file(s) being changed, and then go to a 
web mirror to check that file's history.

Example:
https://www.redhat.com/archives/dm-devel/2019-May/msg00104.html
https://github.com/torvalds/linux/commits/master/drivers/md/dm.c
https://github.com/torvalds/linux/commit/51b86f9a8d1c4bb4e3862ee4b4c5f46072f7520d#diff-309bcac7077137714d954d0a75c854d1

If you go to the diff for 5.1.4-5.1.5 (GitHub does not have these tags) you can 
see this patch was included in the release:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/?id=v5.1.5&id2=v5.1.4&context=3&ignorews=0&dt=0

--
Andrew Udvare


signature.asc
Description: Message signed with OpenPGP


Re: [gentoo-user] Re: New Intel CPU flaws discovered

2019-05-16 Thread Andrew Udvare
> On May 17, 2019, at 01:14, Adam Carter  wrote:
> 
> The classic one is where OPS haven't noticed that disks in a RAID array have 
> died years ago...

This really happened?


Re: [gentoo-user] Re: New Intel CPU flaws discovered

2019-05-15 Thread Andrew Savchenko
On Wed, 15 May 2019 18:42:03 +0300 Nikos Chantziaras wrote:
> On 15/05/2019 18:25, Dale wrote:
> > If my system is off, how's it going to play videos?
> 
> If your system is on, how is it going to replace vulnerable kernels with 
> patched ones?

It is possible to use kernel live patching, see [1] for details.
Most kernel bugfixes are available that way. I have not checked MDS
problem however.

[1] https://wiki.gentoo.org/wiki/Elivepatch

Best regards,
Andrew Savchenko


pgpxo2ldPrmiZ.pgp
Description: PGP signature


Re: [gentoo-user] Re: Stable gcc:7.3.0 won't build with stable glibc

2019-03-30 Thread Andrew Savchenko
On Sat, 30 Mar 2019 17:39:03 - (UTC) Grant Edwards wrote:
> On 2019-03-30, Andrew Savchenko  wrote:
> > On Sat, 30 Mar 2019 15:09:06 - (UTC) Grant Edwards wrote:
> >> On 2019-03-29, Philip Webb  wrote:
> >> > 190329 Grant Edwards wrote:
> >> >
> >> >> gcc-7.3.9-r3 is marked stable, yet it fails to build if you have the
> >> >> current stable version of glibc installed (2.28-r5).
> >> >
> >> > I've been using Gcc-8.2.0-r6 since 170302 with Glibc-2.27-r6 : no 
> >> > problems.
> >> 
> >> What I'm asking about is that 7.3.0-r3 (which is stable) won't build
> >> with glibc-2.28 (which is stable).  My question: is that considered a
> >> bug or not?
> >
> > It depends on the details of the problem, but you provided no
> > details to make further considerations.
> 
> glibc 2.27 has an include file "ustat.h" which declares a library
> function ustat(). glibc 2.28 does not have that include file (nor the
> function, AFAICT). Any application that #includes ustat.h or calls
> ustat() fails to build with glibc 2.28.

migrate to statfs() or fstatfs(), that's easy.

Best regards,
Andrew Savchenko


pgp2ce2n9eV32.pgp
Description: PGP signature


Re: [gentoo-user] Re: Stable gcc:7.3.0 won't build with stable glibc

2019-03-30 Thread Andrew Savchenko
On Sat, 30 Mar 2019 15:09:06 - (UTC) Grant Edwards wrote:
> On 2019-03-29, Philip Webb  wrote:
> > 190329 Grant Edwards wrote:
> >
> >> gcc-7.3.9-r3 is marked stable, yet it fails to build if you have the
> >> current stable version of glibc installed (2.28-r5).
> >
> > I've been using Gcc-8.2.0-r6 since 170302 with Glibc-2.27-r6 : no problems.
> 
> What I'm asking about is that 7.3.0-r3 (which is stable) won't build
> with glibc-2.28 (which is stable).  My question: is that considered a
> bug or not?

It depends on the details of the problem, but you provided no
details to make further considerations. In general it would be
considered a bug.

> One might think that the 7.3.0-r3 ebuild should require
> gblic < 2.28.  Is one allowed to tweak ebuilds like that without
> bumping the revision?
> 
> FWIW 7.3.0-r6 does build and works fine for my application which won't
> build with gcc-8 -- so it's purely an academic question.

It's better to fix your application. Fixing problem revealed by gcc
update is usually not hard.

Best regards,
Andrew Savchenko


pgp_X6SIW88OD.pgp
Description: PGP signature


Re: [gentoo-user] Unable to unshare: EINVAL

2019-03-28 Thread Andrew Savchenko
On Thu, 28 Mar 2019 01:17:01 +0100 (CET) k...@aspodata.se wrote:
> Marc Joliet:
> > Am Mittwoch, 27. März 2019, 11:01:41 CET schrieb Hervé Guillemet:
> > > Le 26/03/2019 à 14:37, k...@aspodata.se a écrit :
> > > > I sometimes get:
> > > >   Unable to unshare: EINVAL
> > > Your kernel is probably missing a features used by the new versions of
> > > portage. I'd say something like CONFIG_PID_NS from the General
> > > Setup/Namespaces support section.
> 
> Ok, I see, I don't have that, thanks for the info.
> 
> > > If you built your own kernel, try to activate this feature.
> > If you use gentoo-sources, the option GENTOO_LINUX_PORTAGE ("Gentoo Linux" 
> > -> 
> > "Gentoo Linux Support" -> "Select options required by Portage features") 
> > will 
> > automatically select them.
> 
> emerge-ing seems work, can't I just ignore the message (I don't need 
> that namespace elsewhere in the system) ?

It provides extra isolation features. If you are sure you don't need
that, ignore it.

Best regards,
Andrew Savchenko


pgpMJhV6uGoAC.pgp
Description: PGP signature


Re: [gentoo-user] New network cards default to "Y" with "make oldconfig"

2019-03-23 Thread Andrew Udvare



> On Mar 23, 2019, at 21:03, Walter Dnes  wrote:
> 
>  When setting up a new kernel with "make oldconfig", almost all new
> device drivers default to "N".  The glaring exception is network cards.
> They all seem to default to "Y".  Is this a bug or a "feature"?

This has been a 'feature' for a while. I find it very annoying.

I suppose the idea is to not have users get annoyed that their network card 
can't be used after building a (generic) kernel. And they consider it justified 
since network connectivity is crucial to get things done. More for the Ubuntu 
users than everyone else.



Re: [gentoo-user] Kernel modules and security

2019-03-22 Thread Andrew Savchenko
On Fri, 22 Mar 2019 14:46:20 + Peter Humphrey wrote:
> Hello list,
> 
> Years ago, in the days of Yggdrasil I think, the received wisdom was that 
> enabling kernel module loading was a bad idea because an attacker might be 
> able to load malicious software directly into the kernel. No modules --> one 
> more attack route closed.
> 
> What is the current thinking on this topic? I'm not trolling; I'd like to 
> know 
> which way to go with a new box.

These days one can configure kernel to load only signed modules
(with public key compiled into kernel) and refuse to load all
unsigned modules [CONFIG_MODULE_SIG_FORCE]. During normal kernel
build process all legitimate modules will be signed
[CONFIG_MODULE_SIG_ALL]. All out-of-tree modules may be signed
manually as well [scripts/sign-file]. Afterwards signing key
[certs/signing_key.pem] may be removed from the system (e.g.
encrypted or deleted).

The benefit of this approach compared to kernel without modules is:
1) out of the tree kernel modules can be used (e.g. I use openafs)
2) kernel can be made smaller and faster by removing rarely needed
functionality into modules (e.g. support for various USB devices,
network protocols or filters and other subsystems which are not used
on daily basis, but may be needed occasionally).

Best regards,
Andrew Savchenko


pgpf7bCg7yH0S.pgp
Description: PGP signature


Re: [gentoo-user] Flags for amd 6180se opteron

2019-03-09 Thread Andrew Savchenko
Hi!

On Sat, 9 Mar 2019 10:51:22 +0100 (CET)
mad.scientist.at.la...@tutanota.com wrote:
> can any one suggest flags for the make.conf file, i'm trying to build on an 
> hp dl585 g7 with 4 amd 6180se, 12 core, cpu world says k10 microarchetecture, 
> Maranello platform.
> 
> When this works, I'll be upgrading to 6380 CPUs.  All help appreciated.

Install and run app-portage/cpuid2cpuflags.

Best regards,
Andrew Savchenko


pgp2AOrdjxjhl.pgp
Description: PGP signature


  1   2   3   4   5   6   7   8   9   10   >