I am trying to disable my laptops internal keybord. I used xinput float to disable it. But it stays working again on restart and prevents me from booting. I want the xinput command to be included in start up and disable the internal keyboard permanently.
You can add the command to your ~/.profile
file so it immediately runs at login.
How? please give me the command
You can use the command that you previously successfully used:
Paste it into your ~/.profile
file. If you do not see the .profile
in your File Manager, tap the ctrl+h
keyboard shortcut to reveal hidden files.
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
where???
Right at the very bottom, after that last fi
will work. Just place the cursor there, hit enter once to drop down to a new line and paste in your xinput float command just as you had run it in your terminal previously.
Save the file when done.
1 Like
thanks will try
1 Like
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.