laskobar

joined 1 year ago
[–] [email protected] 1 points 10 months ago

According to the linked wiki, try to go to https://nouveau.freedesktop.org/CodeNames.html.

Check on your laptop with dmesg | grep -i chipset the codename of your graphic card. With this you can check which driver is the best on https://wiki.archlinux.org/title/NVIDIA. There is a paragraph, explaining which driver is the best.

If I understand it right, the nvidia package is the correct one for 1050. So you can use pacman -S nvidia with root privileges. All dependencies should be resolved automatically.

I would recommend to reboot, in case there are changed kernel modules.

2 things i have to note: Using Wayland is a total mess with nvidia. Specially on Arch Linux. I have screen flickering in GUI and games, the performance is so lala and tools like KeePass which needs access to the text in window titles did not work complete. On Manjaro, the flickering doesn't exist, but the other symptoms do. Maybe im missing some packages on Arch.

Second with Vulkan i have some tearing in games. I have not looked further in to that.

On the other hand, games like Satisfactory or Elder Scrolls Online, have more FPS with the same settings as on Windows.

Currently i test Arch and Manjaro in parallel on the same Laptop. But I tend to keep Manjaro and remove Arch. There are light pro's and con's, but overall, I'm more happy with Manjaro. But this has nothing to do with you're issue.

[–] [email protected] 10 points 10 months ago (3 children)

I have a 1050 in my Laptop and it works fine with the nvidia package AS proprietary driver

[–] [email protected] 1 points 11 months ago (1 children)

Yes. Because some games work only with proper privileges. This can get complicated on NTFS.

[–] [email protected] 6 points 11 months ago (4 children)

Keep a minimum of 30GB free, for Windows update processes on the windows system partition. I don't how much the windows installation counts in space, but add that to the 30gb free space. I would recommend to have a extra partition for the games on NTFS and move your steam, epic, ubisoft, whatever library to that partition.

I have tried to use the same gaming partition between Linux and Windows, but failed every time. In the worst case this can alter your Windows privileges. At least I had this issue.

Currently I'm using Windows only for 2 games: Space Engineers and Empyrion. The rest works with better performance on Linux. Satisfactory, Ark survival, Elder Scrolls Online have more FPS on Linux with the same settings. I have to use a nvidia 1050 Ti in my laptop. With a AMD GPU the situation is a lot better on Linux.

I'm not a hardcore gamer, mostly im coding here and there. But sometimes gaming is a must have.

[–] [email protected] 9 points 11 months ago

OK, many thx for the tips. Since my script in the service file is already doing some logging, i will try to use the last log entry, to find out, when it was last time running and exit the script, if it is not in the timeframe of 1 week.

 

I try to create a timer unit for weekly and daily backups. For example with the weekly unit, it should be executed once in a week, some minutes after login. If the unit was successful, it should shutdown and not start again until the next week. If a start of this unit was missing, it should be start again some minutes after the next login.

But for some unknown reason, the current unit starts after every login when I reboot the laptop. I am relatively sure that this timer unit is set up wrong, but unfortunately I don't know how I can implement such a unit better with the functions mentioned above.

[Unit]
Description=Run backup weekly
Requires=backup.service

[Timer]
Unit=backup.service
OnCalendar=weekly
RandomizedDelaySec=120
Persistent=true

[Install]
WantedBy=timers.target
[–] [email protected] 1 points 11 months ago

Oh there is a APK, when using Chrome or Samsung Internet (installed via Samsung Store). The store is generating and signing the APK. Only with such a signed APK OS Level functions will work. A good example is the share_target functionality. If this is enabled by the PWA and installed as APK, you can share text and links with the PWA. The same applies for PWAs on the Desktop, for example with Edge on Windows.

If you use the same PWA with Firefox or Samsung Internet installed from Play Store, it can only add a shortcut on the home screen, without share_target functionality.

Additionally some service worker functionality is very basic on some browsers. On one hand this is bad for functionality, but good for privacy. Assume a PWA uses a background sync service for example. This can exchange a lot data and sync it with any target in the web, without user consent. This is only a small part where service workers do not respect users privacy.

If you look at that we come in fast steps to this insane and total crazy manifest v3 webextensions. They are completely privacy nightmare at least how Chromium designed them. The Mozilla implementation is a lot better, but incompatible to Chromium.

Welcome to the ugly world of new web technologies.

 

I have installed Davx5 from F-Droid, from IzzyOnDroid Repo. Today I have checked for updates with the Google playstore and the App was updated to the playstore variant. I thought this isn't possible? What's going on here?

[–] [email protected] 1 points 1 year ago

I absolutely never trust blindly in such things. I have never seen a plausible explanation why this is a security feature.

When there are dev's from X11 involved, this is fine and it seems that this leads to decisions which prevent from current X11 issues. But it absolutely is no guarantee that everything is trustable. I'm not that expert, but your mentioned link points in the right direction. But as long this isn't supported in the wide mass, it's only a wish...

[–] [email protected] 1 points 1 year ago (2 children)

That window titles can be easily changed is quite true, so all applications I know monitor such changes and abort the autotype on request when a change is made. But as already said, this is not a security feature, at least not a useful one.

Monitoring the application itself makes no sense for a password manager. As you write yourself, it's easy to customize the title. All applications make use of this. It is already changed when the tab in the browser changes, a new page is loaded or similar. The same is true for non-browser applications. Windows also allows read access to window titles.

What the Wayland developers do is, in my opinion, gross mischief or ignorance regarding window titles. The password manager needs a simple way to assign a window to an entry, which should be the same for all applications. This should be the same for all DE's, window managers and OS. The simplest is the window title. The status bar makes no sense and an API would have to be the same or at least similar across all DE's, window managers and OS. Such a thing does not exist. To implement something like that only for KDE is too niche. This would have to be implemented and established, if already for the broad mass. So also for Gnome, Mate, Cinnamon and all the others. Not to forget, this must also work for Windows and MacOS in a similar way.

[–] [email protected] 1 points 1 year ago

Unfortunately no SFTP. On the other hand, it has WebDAV support.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (4 children)

This is because Wayland doesn't allow it to read window titles. Keepass and KeepassXC uses the window title to identify which entry to use. If you have no title, you can't find the entry. That's why it will not work with Wayland and never will work, until Wayland allows it to read window titles.

XWayland, which is forced with your workaround, is not Wayland.

That's at least for me, the main reason not to switch to Wayland. I have no idea why Wayland doesn't allow reading window titles. There is absolutely no security or performance benefit of this behavior. For me it's either a bug or a design failure. Or simply bad behavior.

[–] [email protected] 1 points 1 year ago

Regarding SFTP. You can have the server on the PC or the phone. It's up to you which fit's better your needs. Having the server on the PC is more common. Then you can use any file manager to get the needed files from your server/PC. You can also use USB, Samba or other services, but at least here SFTP is the fastest variant.

[–] [email protected] 1 points 1 year ago (1 children)

Media Monkey uses SQLite as database. I have used Media monkey to, before I switched to Linux. So I extracted the last played timestamp and play count with a simple SQL select and migrated this info to strawberry, which uses also SQLite. But be aware that both stores the date in an incompatible way. It's not that easy to spot in Media monkey database.

You can also use a Windows program like Media Monkey or Musicbee on Linux through Wine. So you don't have to migrate your database. Syncing will work for both with Media Monkey and Musicbee.

 

Is there some way to set the keyboard layout on GFN in the browser, or at least use the system keyboard layout from Gnome?

According to the Arch Wiki, i should start Chromium with --disable-features=UserAgentClientHint` and spoof the UserAgent to Windows, but this doesn't work anymore. There are no Keyboard area in the settings.

If I use GFN on Windows, the area for keyboard layout is working.

Or is there some way to copy the settings from windows via Cookies or any other storage method?

 

A similar question was raised some day's ago from a other person, but with different background. In this case, I would like to buy a nice gaming laptop. Of course I would use it for office and coding to, but primary I'm searching recommendations for gaming. I would like to play Wine/Proton game's and also native Linux games. As OS, I like to use Manjaro Gnome.

Should I better buy all of AMD (if yes, which CPI, GPU) or Intel/Nvidia? Or Intel CPU and AMD GPU? Which combination is the right one with best performance for a casual gamer? I prefer FPS games, if that's important...

1
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I'm on Manjaro Linux with Gnome. When I attach a USB HDD to my laptop, it mounts as /run/media/username/uuid. But for some reason, it is mounted as root and not with the owner set to the currently logged in user. For that reason, I can't create new directory's on this HDD, after I attached this to the laptop.

I can only switch to root, create the folder and change ownership of this new folder to the currently logged in user.

Is there any way to automount the USB hdd/stick with ownership of the currently logged in user?

 

Hello together. I try to use a systemd path unit, to monitor a directory structure. But as of now, I was only successful for the top level directory. The unit should be triggered, if a new file is written to either the top level of the monitored directory and also, if there is a new file in any of its subdirectories. I don't know how to do that. Any ideas?

Additionally, the triggered service unit should be delayed for some time. Background is, that I automatically upload sometimes more than one file in a batch. So I will give the script triggered by the service unit the chance, to wait until the upload of all files is finished, so that I can work with all the new files with one script call, instead of multiple calls for every file. Is that possible?

view more: next ›