Skip to content

Linux changes - #5

Merged
adamierymenko merged 2 commits into
zerotier:masterfrom
capitar:linux-changes
Nov 3, 2021
Merged

adamierymenko merged 2 commits into
zerotier:masterfrom
capitar:linux-changes

Conversation

@janjaapbos

@janjaapbos janjaapbos commented Nov 3, 2021 •

Copy link
Copy Markdown
Contributor

For clipboard usage: apt install xclip.

In order to run the app as the desktop user, the user must have read access to /var/lib/zerotier-one/authtoken.secret. This can .e.g. be done by:

sudo chgrp usergroup /var/lib/zerotier-one/authtoken.secret
sudo chmod g+r /var/lib/zerotier-one/authtoken.secret

@adamierymenko
adamierymenko merged commit e5338f6 into zerotier:master Nov 3, 2021
@janjaapbos
janjaapbos deleted the linux-changes branch November 3, 2021 18:39
Comment thread src/main.rs
Command::new("/usr/bin/xclip").output().map_or_else(|_| String::new(), |out| String::from_utf8(out.stdout).map_or_else(|_| String::new(), |s| s))
}

#[cfg(windows)]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think your question is related to the issue (#8) you opened for Wayland support? We probably can use a rust library for cross-platform copy paste including Wayland support. I will mention that in the opened issue.

Or did you mean something else?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or did you mean something else?

I meant the above line specifically #[cfg(windows)], it seems potentially out of place/like an accidental inclusion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants