App locker in Ubuntu

kr flag

I wanna lock a software application (for example, CS: GO); so I want an app locker.

Can you please help me find an app locker?

24601 avatar
in flag
please read [ask] then [edit] accordingly in particular state your version of ubuntu
cn flag
  • You can hide certain applications from non-techy users by hidding the menu entries in the Application overview for these accounts. You can do so by setting Hidden=true in the application's desktop file in the .local/share/applications folder of the user. Removing user right access will prevent a somewhat techy user that has no root access to revert this.
  • You can hide terminal commands from such users by changing their search $PATH. You can setup a restricted shell to make it more difficult for somewhat techy users to change this.
  • You can change groups and execute permissions of selected executables to allow execution only by specific users.

Sufficiently skilled users having physical access to the hardware can always circumvent, but the tools above are sufficient to "keep honest people out".

For the first point, if you want to restrict strongly, you can hide any application launcher in /usr/share/applications: copy all to /urs/local/share/applications and hide the copies. Then you can enable selected applications with a copy of the .desktop file in the user's home folder.

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.