Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in remote ssh mode. #4

Open
RustyRaptor opened this issue May 7, 2021 · 2 comments
Open

Not working in remote ssh mode. #4

RustyRaptor opened this issue May 7, 2021 · 2 comments

Comments

@RustyRaptor
Copy link

Hi I am on Ubuntu 18.04 and I installed this. It doesn't seem to be working with my spotify music. How can I troubleshoot the amixer commands?

@RustyRaptor
Copy link
Author

Oh I just realized the reason it's not working is because I am using it in remote development mode so this whole time I've been changing the volume of my remote machine through ssh. Idk if there's a way around this? Or if we wanna find a way around this.

@RustyRaptor RustyRaptor changed the title Not working on linux. How to debug? Not working in remote ssh mode. May 7, 2021
@RubenSandwich
Copy link
Owner

RubenSandwich commented May 8, 2021

Hey @RustyRaptor,

I don't really know enough about your remote environment to be helpful here, but here bash script it runs to change the volume on Linux.

https://github.com/RubenSandwich/codeflow/blob/master/src/extension.ts#L167

As far as debugging modify this line
https://github.com/RubenSandwich/codeflow/blob/master/src/extension.ts#L184.

To
const currentVolume = execSync(getSystemVolumeScript, {stdio: 'inherit'}).toString();

Which will dump the bash stdio streams to the node console.

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

No branches or pull requests

2 participants