<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.nerdmage.ca/index.php?action=history&amp;feed=atom&amp;title=Linux_-_Customizations</id>
	<title>Linux - Customizations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nerdmage.ca/index.php?action=history&amp;feed=atom&amp;title=Linux_-_Customizations"/>
	<link rel="alternate" type="text/html" href="https://wiki.nerdmage.ca/index.php?title=Linux_-_Customizations&amp;action=history"/>
	<updated>2026-05-19T07:05:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.nerdmage.ca/index.php?title=Linux_-_Customizations&amp;diff=585&amp;oldid=prev</id>
		<title>Tinker: Created page with &quot;= PATH addition to allow your own scripts &amp; programs to run = Sometimes, you&#039;ll want to have some executable stuff of your very own. These things don&#039;t need to be accessible to all users on the machine. But, it&#039;s be nice to be able to run them without specifying the complete path...  Create a &lt;code&gt;bin&lt;/code&gt; directory in your home directory:  * &lt;code&gt;mkdir ~/bin&lt;/code&gt; Then edit your &lt;code&gt;.bashrc&lt;/code&gt; file:  * &lt;code&gt;vim ~/.bashrc&lt;/code&gt; and add the following line:  *...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nerdmage.ca/index.php?title=Linux_-_Customizations&amp;diff=585&amp;oldid=prev"/>
		<updated>2022-01-27T20:55:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= PATH addition to allow your own scripts &amp;amp; programs to run = Sometimes, you&amp;#039;ll want to have some executable stuff of your very own. These things don&amp;#039;t need to be accessible to all users on the machine. But, it&amp;#039;s be nice to be able to run them without specifying the complete path...  Create a &amp;lt;code&amp;gt;bin&amp;lt;/code&amp;gt; directory in your home directory:  * &amp;lt;code&amp;gt;mkdir ~/bin&amp;lt;/code&amp;gt; Then edit your &amp;lt;code&amp;gt;.bashrc&amp;lt;/code&amp;gt; file:  * &amp;lt;code&amp;gt;vim ~/.bashrc&amp;lt;/code&amp;gt; and add the following line:  *...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= PATH addition to allow your own scripts &amp;amp; programs to run =&lt;br /&gt;
Sometimes, you&amp;#039;ll want to have some executable stuff of your very own. These things don&amp;#039;t need to be accessible to all users on the machine. But, it&amp;#039;s be nice to be able to run them without specifying the complete path...&lt;br /&gt;
&lt;br /&gt;
Create a &amp;lt;code&amp;gt;bin&amp;lt;/code&amp;gt; directory in your home directory:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;mkdir ~/bin&amp;lt;/code&amp;gt;&lt;br /&gt;
Then edit your &amp;lt;code&amp;gt;.bashrc&amp;lt;/code&amp;gt; file:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;vim ~/.bashrc&amp;lt;/code&amp;gt;&lt;br /&gt;
and add the following line:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;export PATH=&amp;quot;$HOME/bin:$PATH&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
(you can activate this change immediately by:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;source .bashrc&amp;lt;/code&amp;gt;&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
Place your scripts &amp;amp; executables in this directory &amp;amp; you can now execute them as if they were regular system executables.&lt;br /&gt;
&lt;br /&gt;
= Extend (or eliminate) the sudo timeout =&lt;br /&gt;
Once a user has been authenticated, [...] the user may then use sudo without a password for a short period of time (5 minutes unless overridden by the timestamp_timeout option).&lt;br /&gt;
&lt;br /&gt;
To change this universally (i.e.: for all users)&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo visudo&amp;lt;/code&amp;gt;&lt;br /&gt;
To change it for a specific user:&lt;br /&gt;
* &amp;lt;code&amp;gt;sudo visudo -f &amp;#039;&amp;#039;&amp;#039;USERNAME&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
then add the line&lt;br /&gt;
&lt;br /&gt;
 Defaults        timestamp_timeout=&amp;#039;&amp;#039;&amp;#039;30&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
where &amp;#039;&amp;#039;&amp;#039;30&amp;#039;&amp;#039;&amp;#039; is your preferred timeout (in minutes).&lt;br /&gt;
&lt;br /&gt;
To always require a password, set it to &amp;#039;&amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;#039;. To set an infinite timeout, set the value to be negative. (i.e.: &amp;#039;&amp;#039;&amp;#039;-1&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
= Visually Improving the Terminal =&lt;br /&gt;
* [[Bash - Changing the colours{{!}}Changing the colours in bash]]&lt;br /&gt;
&lt;br /&gt;
= Some Links =&lt;br /&gt;
== Mouse ==&lt;br /&gt;
* [https://help.ubuntu.com/community/MouseCustomizations Mouse Customizations] (Ubuntu Documentation)&lt;br /&gt;
* [https://forums.linuxmint.com/viewtopic.php?t=241162 Mouse Button Mapping] (Mint Forums)&lt;br /&gt;
* [https://www.linux.org/threads/cool-tricks-with-xinput-device.10345/ Cool Tricks with Xinput Device]&lt;br /&gt;
* [https://antoine-galataud.github.io/linux/hardware/x11/2015/01/06/mouse-mappings.html Binding mouse buttons on Linux]&lt;br /&gt;
* [https://help.ubuntu.com/community/ManyButtonsMouseHowto Many Buttons Mouse HowTo] (Ubuntu Documentation)&lt;br /&gt;
[[Category:Linux]]&lt;br /&gt;
[[Category:Knowledge]]&lt;/div&gt;</summary>
		<author><name>Tinker</name></author>
	</entry>
</feed>