Linux

6808 readers
127 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
1
2
 
 

cross-posted from: https://lemmy.zip/post/35294960

And it's all down to an improved NTsync driver.

3
4
5
6
7
8
 
 

Basically title. I want to control a bare metal debian machine on a separate monitor (that always has this debian machine) from my windows gaming machine.

Edit: it's called Synergy and the apt package is called deskflow. I'll try it later and see if I can make it work.

9
10
11
 
 

Anubis provides protection against bots scraping websites and DDoSing projects.

This blog post is about Xe’s reasoning for originally only providing docker packages and their work to provide native packages.

12
13
 
 

The big set of open-source graphics driver updates for Linux 6.15 have been merged but Linux creator Linus Torvalds isn't particularly happy with the pull request. In particular, he's unhappy with some new "hdrtest" testing code being built as part of full kernel builds and the "turds" it leaves behind and this code "needs to die" at least from the perspective of non-DRM driver developers.

14
15
16
17
18
19
 
 

I've been using the terminal for 5 years.

99% of attempts at keeping valuable code snippets failed. Or having a useful command history.

Finally, I looked up how to send a line to terminal.

I use vscode since Atom was discontinued (looking forward to zed). But in the meanwhile, I just added

{
    "key": "ctrl+enter",
    "command": "workbench.action.terminal.runSelectedText",
    "when": "terminalProcessSupported && editorTextFocus && editorLangId =~ /shell|bash|zsh|fish/"
  }

Maybe it helps someone :)

With this, I can finally keep a history of all useful commands I run. Like I can have a systemd shell file where I store the commands that I ran. Or a file to store all my podman commands. Now I do not have to type them anymore, I can just run them.

20
21
22
23
15
submitted 4 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
 

SOLVED If any lost souls find themselves here in a similar situation let it be known that the file that worked for me was creating a file at '%h/.config/systemd/user/google-drive-ocamlfuse.service' with the following content:

[Unit]
Description=FUSE filesystem over Google Drive
After=network.target

[Service]
ExecStart=google-drive-ocamlfuse %h/googledrive
ExecStop=fusemount -u %h/googledrive
Restart=always
RestartSec=300
Type=forking

[Install]
WantedBy=default.target

Howdy, I have very recently installed Opensuse Tumbleweed alongside Windows 10 (On a seperate drive) and am trying to get things setup to where I can fully transition to linux. One of the first things I have hit a wall on is getting a file to execute on boot using systemd.

I am trying to use this package to be able to access my google drive from Dolphin. And so far it works okay. Except that it doesn't survive a reboot. I have to run the command:

google-drive-ocamlfuse ~/googledrive

after each reboot in order for the google drive directories to be accessible. So I googled how to make that happen automagically on boot and found this guide that helped me get a startup script going.

I created /usr/local/bin/ocamlfuseStartup.sh as a file that contains the command from before:

google-drive-ocamlfuse ~/googledrive

and verified that it works as intended when I enter ./ocamlfuseStartup.sh from that directory.

I then created another file at /usr/lib/systemd/system/startup.service that contains the following:

[Unit]
Description=Startup Script

[Service]
ExecStart=/bin/bash /usr/local/bin/ocamlfuseStartup.sh

[Install]
WantedBy=multi-user.target

I have no idea what the /bin/bash portion is for because I found it from a googling but without it I get the following error:

startup.service: Main process exited, code=exited, status=203/EXEC

However with it I get this error:

startup.service: Main process exited, code=exited, status=2/INVALIDARGUMENT

which I take to mean that there is something wrong with my ocamlfuseStartup.sh file maybe? But since it works when I manually execute the file I'm kind of at a loss.

I found this thread where it seemed like someone else was having a similar issue but I didn't really grok what they were talking about.

Any and all help is greatly appreciated!

24
25
view more: next ›