Linux Lite 7.8 RC1 has been released - Click here


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 7,865
» Latest member: asabinney
» Forum threads: 9,445
» Forum posts: 62,329

Full Statistics

Online Users
There are currently 1341 online users.
» 0 Member(s) | 1337 Guest(s)
Applebot, Baidu, Bing, Google

Latest Threads
Not Able to Install Googl...
Forum: Installing Software
Last Post: Orson_Yancey
6 hours ago
» Replies: 17
» Views: 764
Can't test LinuxLite 7.6 ...
Forum: Installing Linux Lite
Last Post: SharkyEXE
Yesterday, 12:24 PM
» Replies: 24
» Views: 11,356
Can't test LinuxLite 7.6 ...
Forum: Installing Linux Lite
Last Post: SharkyEXE
Yesterday, 08:10 AM
» Replies: 0
» Views: 29
Cant find up-to-date driv...
Forum: Video Cards
Last Post: justsumrandomcreture
01-13-2026, 02:18 AM
» Replies: 0
» Views: 83
update error - PPA (stace...
Forum: Updates
Last Post: stevef
01-12-2026, 11:19 AM
» Replies: 1
» Views: 110
trying to update (while) ...
Forum: Installing Linux Lite
Last Post: stevef
01-11-2026, 08:27 AM
» Replies: 1
» Views: 106
Troubles installing 7.6 o...
Forum: Installing Linux Lite
Last Post: stevef
01-09-2026, 01:59 PM
» Replies: 3
» Views: 240
redshift-gtk
Forum: Other
Last Post: di0lh0
01-09-2026, 01:31 AM
» Replies: 1
» Views: 149
Linux Lite 7.8 RC1 Releas...
Forum: Release Announcements
Last Post: sqwuade
01-08-2026, 08:01 PM
» Replies: 23
» Views: 4,222
why that change in system...
Forum: Installing Linux Lite
Last Post: valtam
01-02-2026, 11:49 PM
» Replies: 3
» Views: 534

 
  Changing loging shell and/or terminal prompt
Posted by: Moltke - 09-17-2018, 11:34 PM - Forum: Tutorials - Replies (2)

Hi everyone! Hope you're all having a nice life! Smile

Today I'd like to share with you some basics on how to change the login shell and/or terminal prompt. It's a completely and entirely safe procedure which will make no harm to your system, because that's how smart Linux is Smile However, if it makes you feel better/safer, you can make a backup of your .bashrc file located in your home folder 

Code:
$ cp ~.bashrc .bashrc.bak
but it's really not neccesary. Like I said, Linux's smart enough not to let you screw things up  ;D

In order to change your login shell simply type in your terminal:

Code:
$ chsh -l

If the command above doesn't work you may use:

Code:
$ cat /etc/shells

One or the other  will list all installed/available shells in your system, to change the current shell for one of those available type:

Code:
$ chsh -s desired shell's name

for example

Code:
chsh -s /bin/zsh

You'll be asked to type your password, do so then logout/login back, open a terminal and type:

Code:
echo $SHELL
your new shell's name should be displayed. In our example it'd show:

Code:
$ /bin/zsh

[Image: 5bvaz4.jpg]

Changing the terminal prompt is quite easy using the command
Code:
$ PS1=ARGS
  for example, this is how my terminal prompt is configured:
Code:
$ PS1='\[\e[1;36m\][\t \u \[\e[0m\]\W \$]'
where; \e= An ASCII escape character (033), 1;36m\= bold font and cyan color, \t= current time, \u= current logged user, \W= current working directory, \$= current prompt symbol.
resulting in this:


[Image: 25ewhhh.jpg]


However, this is only temporary and it will be back to defaults in your next login, if you want to make it permanent edit your .bashrc file to make it so:
Code:
$ nano .bashrc #change nano for your preferred editor, i.e; vi
and add something like this: export PS1='\[\e[1;36m\][\t \u \[\e[0m\]\W \$] '


Well, that's it. This is the basics for changing the login shell and/or terminal prompt. Here's a couple of links to some very instructional sites/articles on these topics
https://bash.cyberciti.biz/guide/Changing_bash_prompt
https://wiki.archlinux.org/index.php/Com...ive_shells

Hope you find this helpful! Smile

Print this item

  Hello
Posted by: Shanti - 09-17-2018, 08:34 PM - Forum: Introductions - Replies (3)

Hello
I seen Linux Lite last year for first time. I been looking around it, tonight is my first time online using it. I like it coz its nice and is fast.



Print this item

  Tunnel Gre problem between two hosts (vps and dedicated server)
Posted by: AleDevite - 09-17-2018, 02:52 PM - Forum: Other - Replies (10)

Hello guys i need to resolve this problem (all server have installed centos 7): i'm trying to create a gre tunnel through vps (in Italy - OpenVZ)
and a dedicated server (in Germany), but they do not communicate internally (ping and ssh command tests).
Next i create a gre tunnel trought vps (in Italy - OpenVZ) and vps (in France - KVM OpenStack) and their communicate, i next i had create a tunnel trought vps (in France - KVM OpenStack) and a dedicated server (in Germany) their communicate.
I can not understand why the vps (in Italy - OpenVZ) and the dedicated server (in Germany) do not communicate,
ideas on how I can fix (I also tried with iptables disabled, firewalld is not enable)? Thanks

Quote: 1. VPS command for tunnel:
  •       echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.conf
          iptunnel add gre1 mode gre local VPS_IP remote DEDICATED_SERVER_IP ttl 255
          ip addr add 192.168.168.1/30 dev gre1 ip link set gre1 up

2. Dedicated server command for tunnel:
  •       iptunnel add gre1 mode gre local DEDICATED_SERVER_IP remote VPS_IP ttl 255
          ip addr add 192.168.168.2/30 dev gre1
          ip link set gre1 up


Quote:[root@VPS ~]# ping 192.168.168.2
PING 192.168.168.2 (192.168.168.2) 56(84) bytes of data.
^C
--- 192.168.168.2 ping statistics ---
89 packets transmitted, 0 received, 100% packet loss, time 87999ms

[root@DE ~]# ping 192.168.168.1
PING 192.168.168.1 (192.168.168.1) 56(84) bytes of data.
^C
--- 192.168.168.1 ping statistics ---
92 packets transmitted, 0 received, 100% packet loss, time 91001ms


Quote:[root@VPS ~]# lsmod | grep gre
ip_gre                  4242  -2
ip_tunnel              4242  -2 sit,ip_gre
gre                    4242  -2 ip_gre


[root@DE ~]# lsmod | grep gre
ip_gre                22707  0
ip_tunnel              25163  1 ip_gre
gre                    13144  1 ip_gre

Print this item

  Hi! A newbie from the Philippines here
Posted by: pandaeyedcat - 09-17-2018, 08:20 AM - Forum: Introductions - Replies (4)

I'm using a very old laptop with a not so good specs and I've decided to switch from Windows 7 to Linux Lite to maximize it. I'm a complete noob, don't know any codes whatsoever but I would like to learn.
How do I install Linux Lite using a virtual machine? I've been watching videos on YouTube but all of them already have a VM which confuses me if I have to download a VM or it is automatic if I click the install for Linux Lite link.
And what should I put in it?

My laptop specs:

laptop specs Acer Aspire 4730z

  1. processor Intel ® Pentium ® Dual CPU T3400 @ 2.16 GHz 2.17 GHz

    RAM 3.00 Gb

    System type 64-bit OS

    local disk 79.4

    yeah my laptop sucks, but it's working so I deal with it  Wink

Print this item

  Pro Bash Programming
Posted by: bitsnpcs - 09-17-2018, 02:06 AM - Forum: Scripting and Bash - Replies (2)

I heard about this book kindly from [member=7109]Moltke[/member]

Thread for everyone to discuss learning from this book.

Chapter 1 highlight so far -
making the Hello World file using the terminal directly and saving to the bin folder, then altering its permissions, and running in terminal from its filename alone, gave me a big smile, it is so very concise and efficient a method. 8)

Print this item

  Linux Shell Scripting Cookbook
Posted by: bitsnpcs - 09-17-2018, 01:53 AM - Forum: Scripting and Bash - Replies (10)

I heard about this book kindly from [member=7109]Moltke[/member]

Thread for everyone to discuss bash learning from this book.

Print this item

  Day has been turn upside down
Posted by: bluzeo - 09-16-2018, 04:36 PM - Forum: Off Topic - Replies (1)

Hey guys my day has suck and I’m over here listening to both sides but I agree with my grandpa i wasn’t treated right and left that job even though I was trying to keep that bridge open


God Not dead.

Print this item

  Can't get Epson WF-2760 Scanner to work in Linux Lite 4.0
Posted by: Abw - 09-16-2018, 04:51 AM - Forum: Printing and Scanning - Replies (2)


Hi, In my time with linux (all the way back to 2004) scan detection has always been an issue.. You got to wonder why it is no one has figured out how to make it full proof right out of the box. (Like Windows does) Anyway I'm liking Linux Lite over Ubuntu! surprise huh.My WF-2760 prints but the scanner is not detected. I'm not interested in config files being wrongly setup nor am I interested in any complicated solution. I'm to old to figure all this out. Does anyone have a simple solution? Real simple? If you think you can figure it out I'd be willing to give you the ID and temp password to Teamviewer so you can  get on and get the scanner going, how bout that? This would be very much appreciated.

Thanks for helping, Andrew

Print this item

  Keyboard layout for Acer Aspire One(not sure where to post)
Posted by: Domenico Crimaldi - 09-16-2018, 04:51 AM - Forum: Installing Linux Lite - Replies (2)

Hi!
I love Linux.I am looking for the perfect distro suited to my needs.I am trying Linux Lite Live.I tried to use @ but was unable to.Then I changed the keyboard layout.But I still can't use the keyboard normally as I was used to.What shuold I change?Standard pc101?What?Thanks

Print this item

  Keyboard layout for Acer Aspire One
Posted by: Domenico Crimaldi - 09-16-2018, 04:49 AM - Forum: Other - Replies (1)

Hi!
I love Linux.I am looking for the perfect distro suited to my needs.I am trying Linux Lite Live.I tried to use @ but was unable to.Then I changed the keyboard layout.But I still can't use the keyboard normally as I was used to.What shuold I change?Standard pc101?What?Thanks

Print this item