8000 GitHub - cmsxbc/rofi-run-as-user
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cmsxbc/rofi-run-as-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Run GUI Application as another user in rofi

Great thanks to ivanbartsov and Matija Nalis for their idea, which is the base to achieve this.

Notices: X only.

Usage

  1. Put askpass-rofi.sh and run-gui-as.sh to your environment PATH.
  2. Run rofi -show drun -run-command 'run-gui-as.sh {cmd}'
  3. [Optional] set evnironment RUN_GUI_AS_NOLOGIN to show user which set to nologin, but the application maybe cannot run.

Known Issues & Solutions

Audio

If you need audio, redirect the audio of the program's running user to your logind user.

For example, my login user use pipewire and target running user using pulseaudio. I just start a pipewire-pulse server which listen on localhost:port, and change the default pulseaudio server to 'localhost:port' in /etc/pulse/client.conf

Check your distrubition documents and pipewire/pulseaudio or other audio server for these infomation.

input method.

I have not yet found a way to use fcitx.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0