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

Didn't ask for Admin priviliges (newbie to arch) #450

Open
m9henri opened this issue Nov 12, 2024 · 7 comments
Open

Didn't ask for Admin priviliges (newbie to arch) #450

m9henri opened this issue Nov 12, 2024 · 7 comments

Comments

@m9henri
Copy link

m9henri commented Nov 12, 2024

Describe the bug

It didn't ask me for admin priviliges, idk how i can let it ask for me. (sry if this issue is already solved, or a duplicated one)

System Information
Bildschirmfoto_20241112_193350

Additional context

Bildschirmfoto_20241112_192725

@m9henri
Copy link
Author

m9henri commented Nov 18, 2024

Update:
When I build or use the pre-build, it shows me the wallpaper selection in the settings, but when I select a wallpaper and press apply, there's only a black background.

@TurnedUpSideDown
Copy link

If you have not already, run the install command with sudo. if you took the set of commands and put them into a .sh file, run that with sudo.

@m9henri
Copy link
Author

m9henri commented Nov 21, 2024

If you have not already, run the install command with sudo. if you took the set of commands and put them into a .sh file, run that with sudo.

I have already tried to run it with sudo and it didn't work.

@TurnedUpSideDown
Copy link

I have already tried to run it with sudo and it didn't work.

I'm sorry if you have already done this. have you taken the whole command set and pasted it into a text file.

# Download source
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git
cd wallpaper-engine-kde-plugin

# Download submodule
git submodule update --init --force --recursive

# Configure, build and install
# 'USE_PLASMAPKG=ON': using kpackagetool tool to install plugin
cmake -B build -S . -GNinja -DUSE_PLASMAPKG=ON
cmake --build build
cmake --install build

# Install package (ignore if USE_PLASMAPKG=OFF for system-wide installation)
cmake --build build --target install_pkg

After you have pasted the the above set of commands, change the file to a .sh, make it executable, and run the file with sudo.
chmod u+x File.sh
I initially ran it without sudo and ran into your issue. running it with sudo after the first run resolved the problem.
If you have done this, and have not already, make sure you restart KDE after installing the plugin.
systemctl --user restart plasma-plasmashell.service
You may need to restart KDE when changing to some wallpapers from my experience.

@m9henri
Copy link
Author

m9henri commented Nov 22, 2024

I have already tried to run it with sudo and it didn't work.

I'm sorry if you have already done this. have you taken the whole command set and pasted it into a text file.

# Download source
git clone https://github.com/catsout/wallpaper-engine-kde-plugin.git
cd wallpaper-engine-kde-plugin

# Download submodule
git submodule update --init --force --recursive

# Configure, build and install
# 'USE_PLASMAPKG=ON': using kpackagetool tool to install plugin
cmake -B build -S . -GNinja -DUSE_PLASMAPKG=ON
cmake --build build
cmake --install build

# Install package (ignore if USE_PLASMAPKG=OFF for system-wide installation)
cmake --build build --target install_pkg

After you have pasted the the above set of commands, change the file to a .sh, make it executable, and run the file with sudo. chmod u+x File.sh I initially ran it without sudo and ran into your issue. running it with sudo after the first run resolved the problem. If you have done this, and have not already, make sure you restart KDE after installing the plugin. systemctl --user restart plasma-plasmashell.service You may need to restart KDE when changing to some wallpapers from my experience.

That sadly didn't work either, when I did that, it did nothing in the terminal.
image
image

@TurnedUpSideDown
Copy link

TurnedUpSideDown commented Nov 22, 2024

That sadly didn't work either, when I did that, it did nothing in the terminal.

My instructions were poorly written sorry
chmod u+x File.sh
That command did not need to be run with sudo. Running chmod makes the file executable
sudo ./File.sh
You need to run the file with sudo as shown in the command above.
after running that with sudo (may need to run it twice) run
systemctl --user restart plasma-plasmashell.service

@1-off-projects
Copy link

homosexual

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

3 participants