There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

samwwwblack

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Gnome extension on KDE?

I know the title sounds a little strange but hear me out. The time tracking software I use for work doesn’t work on Wayland, unless I’m using Gnome as my DE. They have an extension that allows it to work in this case. Personally, I don’t enjoy Gnome on my desktop (I use it on my laptop). Is there a way for me to get the...

samwwwblack ,

The GNOME extension appears to get the currently focused window information (ie name, title, PID and executable name) and make this information available over DBUS for the client binary.

The client binary calls gnome-screenshot -f and I assume gives a path that the client binary then sends to Hubstaff servers.

A janky suggestion would be to create a Kwin Script that pulls the active window information, sends it (somehow) to a DBUS service that can provide it to the client binary and create a wrapper script around spectacle to pretend to be gnome-screenshot (eg spectacle -b -f $@)

I don’t know if this would work fully though as the client binary strings seem to hint it checks the running version of GNOME Shell, and without an account I can’t see if this is a hard requirement or a “Hey, this is broken, we’ll try our best!” type thing.

samwwwblack ,

I found CryFS, the default encryption used, to become unusable if the vault is more than a few gigs in size* - gocryptfs works without issue.

  • No, you dirty minded people, I use Vaults for client information at work, not what you were thinking of.
samwwwblack ,

You can start it with systemctl start podman-auto-update.service It’ll auto update daily at 00:00.

Be aware you need to enable and start podman-auto-update.timer for this to work automatically (ie systemctl enable --now podman-auto-update.timer), this command will just update the images once only.

I don’t think this works for non-system podman images, so you’d have to do systemctl --user enable --now podman-auto-update.timer for each user.

What is easiest solution to automatically resolve missing mounts due to e.g. a power outage?

I’ve got a QNAP NAS and two Linux servers. Whenever the power goes down, the UPS kicks in and shut downs the NAS and the Linux servers, all good. The servers + NAS are automatically started when the power comes back on line using WOL. All good....

samwwwblack ,

You can use https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#RequiresMountsFor= (eg RequiresMountsFor=/media/storage-volume1) instead of manually adding .mount to After/Requires - you can then use .mount files or fstab as you’re stipulating the path rather than a potentially changeable systemd unit name.

The systemd.mount manpage also strongly recommends using fstab for human added mount points over .mount files.

Laptop keyboard unresponsive - I think my (unknown) laptop is affected by the kernel Zen IRQ regressions - how do I work around this?

I picked up a laptop a couple of months ago for the purpose of setting up Linux on (I chose NixOS for stability) to go with my existing desktop. It’s an Infinity E15-5A165-BM (Infinity being an Australian local manufacturer of gaming laptops) which features a Ryzen 5 6600H CPU and a GeForce 1650 GTX....

samwwwblack , (edited )

The 6.5 kernel should have the fix for this included, so you could try using that kernel instead of 6.1?

Cannot mount smb shared drive from the router on my Pop!_OS system. Can someone give me some assistance?

Edit: I have added the share name at the end of the IP address and now I’m getting mount error(115): Operation now in progress. I haven’t figured this one out yet either. My computer IP and the network drive IP are on the same network and within range. Both should be using the same gateway and DHCP....

samwwwblack ,

domain in this instance is the workgroup, and is optional according to the man page.

Have you tried adding –verbose before the -o? That might yield more information.

samwwwblack ,

OK, you may want to check dmesg or journalctl if there are further errors from the kernel - there is also a -v argument for mount, eg mount -t cifs -v //SERVER/$share /mnt --verbose -o… that might help.

Don’t know if you’ve found this already (and apologies if you have!) but this suggests some not obvious solutions superuser.com/…/cifs-share-mount-errors

Also (brain dumping) if you’ve successfully mounted it via the file browser, do so again and then check mount to see what arguments/options the CIFS mount is using - it might yield some important differences.

samwwwblack ,

Sorry, I was thinking file browser mounts would appear in mount, but they don’t.

You should be able to list file browser mounts in a terminal using gio mount -li after mounting via the file browser, and it will list the SMB mount it’s using, ie smb://SERVER/$share/

This annoyingly doesn’t give us the username or domain for the SMB share, and to get that if the server and share looks OK we have to run gvfs (what the file browser for PopOS uses in the background) in debug mode and re-mount the SMB share; in a terminal run pkill gvfs; pkill nautilus; LANG=C GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace 2>&1 ; this will unmount anything in the file browser but will show what username and domain the file browser is using to access the SMB share, for example after clicking on a share in the file browser, among other logs, I get;


<span style="color:#323232;">smb: do_mount - URI = smb://absolution.local/samshared
</span><span style="color:#323232;">smb: do_mount - try #0 
</span><span style="color:#323232;">smb: auth_callback - kerberos pass
</span><span style="color:#323232;">smb: auth_callback - out: last_user = 'samblack', last_domain = 'SAMBA'
</span><span style="color:#323232;">smb: do_mount - [smb://absolution.local/samshared; 0] res = -1, cancelled = 0, errno = [22] 'Invalid argument' 
</span><span style="color:#323232;">smb: do_mount - enabling NTLMSSP fallback
</span><span style="color:#323232;">smb: do_mount - try #1 
</span><span style="color:#323232;">smb: auth_callback - ccache pass
</span><span style="color:#323232;">smb: auth_callback - out: last_user = 'samblack', last_domain = 'SAMBA'
</span><span style="color:#323232;">smb: do_mount - [smb://absolution.local/samshared; 1] res = -1, cancelled = 0, errno = [22] 'Invalid argument' 
</span><span style="color:#323232;">smb: do_mount - try #2 
</span><span style="color:#323232;">smb: auth_callback - normal pass
</span><span style="color:#323232;">smb: auth_callback - reusing keyring credentials: user = 'samblack', domain = 'ABSOLUTION'
</span><span style="color:#323232;">smb: auth_callback - out: last_user = 'samblack', last_domain = 'ABSOLUTION'
</span><span style="color:#323232;">smb: do_mount - [smb://absolution.local/samshared; 2] res = 0, cancelled = 0, errno = [0] 'Success' 
</span><span style="color:#323232;">smb: do_mount - login successful
</span><span style="color:#323232;">smb: send_reply(0x55ea6ffe5450), failed=0 ()
</span>

This should give the username and domain that connects and can be used in the credential file.

Once this is done, you can exit the terminal with gvfs running and you should be able to close and re-open the file browser and the mounts should just re-appear normally.

Hopefully this will give enough information as to why the file browser mount works and the mount command doesn’t.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines