Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-11-2018, 07:39 PM   #1
LQ Newbie
Registered: Jun 2018
Posts: 4

Rep: Reputation: Disabled
How to run commands at the start up and how to disable password for enabling wifi

Hello, I'm kinda new in Linux (I use Kubuntu) and I have two questions.

I want to run these two commands everytime I startup my laptop:
xinput set-prop 14 "libinput Accel Speed" -0.3
xinput disable 11
And I want to skip the password for enabling wifi when I start up my laptop, I think is KDE wallet or something like that

This might help:

OS: Ubuntu 18.04 bionic
Kernel: x86_64 Linux 4.15.0-24-generic
Uptime: 16m
Packages: 2500
Shell: bash 4.4.19
Resolution: 1366x768
DE: KDE 5.44.0 / Plasma 5.12.6
WM: KWin
WM Theme: Breeze
GTK Theme: Breeze [GTK2/3]
Icon Theme: breeze
Font: Noto Sans Regular
CPU: Intel Pentium 987 @ 2x 1.5GHz [79.0C]
GPU: intel
RAM: 1388MiB / 3828MiB

Thanks and sorry for bad English (?)
Old 07-12-2018, 03:42 AM   #2
LQ Addict
Registered: Dec 2013
Posts: 9,696
Blog Entries: 7

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
  • every desktop environment has a gui utility to add commands to autostart, sometimes also called startup applications. must be hidden in the menu somewhere.
  • every desktop environment has a gui utility for network management that should enable you to save the settings for a connection so that the password is NOT asked for over and over.
Old 07-12-2018, 05:02 AM   #3
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,060

Rep: Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596
On KDE, you should have a net_applet icon in the extreme lower right of the Desktop. Right click the icon and you should see wireless connections and that should show wireless connections available to you. Select yours and you will likely be prompted for the root (sudo) password, enter that and you should see a window with your wireless connection, click the configure tab, enter the passphrase and click OK.

In KDE, in your user /home directory you should have two directories names autostart and autostart-scripts. The are in a hidden directory named .config so you will need to select either the View or Control tab at the top of the file manager (that's in dolphin) and select Show hidden files.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enabling Intel(R) WiFi Link 5100 AGN on Backtrack 4 run on VMWare wrkstation 6.51 shafeeqsali Linux - Hardware 1 06-30-2010 07:25 AM
[SOLVED] Sudo problem - Run all commands with password except these uncle-c Linux - Newbie 1 02-16-2010 11:02 AM
Creating a script that will log into root and enter password and then run commands. tananthulus Linux - Newbie 8 11-02-2009 05:37 PM
dbx command for corrosponding commands disable or disable on gdb bshankha AIX 0 09-26-2006 09:38 AM
Making some commands run everytime I start Linux (Slack 9.1) Agna Linux - Newbie 7 08-26-2005 09:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration