Difference between revisions of "Pi4"
Line 56: | Line 56: | ||
______allowing you to connect two separate monitors. | ______allowing you to connect two separate monitors. | ||
+ | |||
+ | <big><big> | ||
+ | No menu bar with root.</big> | ||
+ | |||
+ | "I set a password for root " | ||
+ | |||
+ | "When I login as root, no menu bar" | ||
+ | |||
+ | |||
+ | Make your own menu bar | ||
+ | |||
+ | I often use FileManager as root | ||
+ | |||
+ | /usr/share/raspi-ui-overides/applications/ ??pcman | ||
+ | |||
+ | - copy file-manager to desktop | ||
+ | |||
+ | |||
+ | |||
+ | "Simple answer is 'Don't do it.' " | ||
+ | |||
+ | Dougie | ||
+ | |||
+ | That is not a valid answer. | ||
+ | |||
+ | That is advice. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | "Debian does NOT have a root login" | ||
+ | |||
+ | "No distribution allows root to use a GUI." | ||
+ | |||
+ | Not true | ||
+ | |||
+ | Check linux mint. I do it all of the time. | ||
+ | |||
+ | "there should be no need to ever login as root." | ||
+ | |||
+ | I bet you also do not root your phone. | ||
+ | |||
+ | How would you copy a file from one directory to another? | ||
+ | |||
+ | Do you use a terminal or a GUi ? | ||
+ | |||
+ | Fresh install of mediawiki | ||
+ | |||
+ | it saves LocalSettings.php in ~/Downloads/ | ||
+ | |||
+ | It needs to go in /var/lib/mediawiki/ | ||
+ | |||
+ | You can do it with a terminal | ||
+ | |||
+ | but is easier with FileManager | ||
+ | |||
+ | If you try to do it with FileManager | ||
+ | |||
+ | you do not have permission | ||
+ | |||
+ | how do you use sudo to call FileManager | ||
+ | |||
+ | do you drop to a terminal to call sudo filemanager | ||
+ | |||
+ | I am not sure this even works | ||
+ | |||
+ | or just run your mouse over to the FileManager icon | ||
+ | |||
+ | Wait, stupid pi does not have an icon with root | ||
+ | |||
+ | |||
+ | How do you edit a config file? | ||
+ | |||
+ | Probably use nano. | ||
+ | |||
+ | How would you use geany to edit LocalSettings.php | ||
+ | |||
+ | Change workspace ctl+alt+F2 | ||
+ | |||
+ | login as root | ||
+ | |||
+ | startx | ||
+ | |||
+ | FileManager | ||
+ | |||
+ | change to directory | ||
+ | |||
+ | click on the file | ||
+ | |||
+ | open with geany | ||
+ | |||
+ | make edits | ||
+ | |||
+ | save | ||
+ | |||
+ | |||
+ | "why are you logging in as root? | ||
+ | |||
+ | On modern Linux/Unix systems generally the root user is disabled " | ||
+ | |||
+ | So, how does one enable it? | ||
+ | |||
+ | "it may be missing various configuration files | ||
+ | |||
+ | and these may need to be created. " | ||
+ | |||
+ | like what? | ||
+ | |||
+ | "Of course if you have a reason for logging in as root, " | ||
+ | |||
+ | "then there's no problem with that - " | ||
+ | |||
+ | It is the problem. Finding the files. | ||
+ | |||
+ | " the desktop is not designed to run as root." | ||
+ | |||
+ | "You might not like it, but it's how things are set up." | ||
+ | |||
+ | and how does one change the set up? | ||
+ | |||
+ | "there is no good reason to change this" | ||
+ | |||
+ | You own my computer | ||
+ | |||
+ | check | ||
+ | |||
+ | .config/.lxsession | ||
+ | |||
+ | |||
+ | |||
[[--]] | [[--]] |
Revision as of 15:48, 16 October 2023
Very Limited Supply
Pi 4 - for rent ==
Pi 4 for sale 75 cents ∆
Run dual monitors
It needs a pair of microHDMI cables
4 ft micro HDMI
to HDMI cable 15 cents ∆
Fan 12 cents
______microSD card & software 75 cents∆
______Raspberry Pi4 75 cents∆
______A USB-C power supply 15 cents∆
______TV with HDMI input out of stock
______Raspberry Pi4 has two microHDMI ports
______allowing you to connect two separate monitors.
No menu bar with root.
"I set a password for root "
"When I login as root, no menu bar"
Make your own menu bar
I often use FileManager as root
/usr/share/raspi-ui-overides/applications/ ??pcman
- copy file-manager to desktop
"Simple answer is 'Don't do it.' "
Dougie
That is not a valid answer.
That is advice.
"Debian does NOT have a root login"
"No distribution allows root to use a GUI."
Not true
Check linux mint. I do it all of the time.
"there should be no need to ever login as root."
I bet you also do not root your phone.
How would you copy a file from one directory to another?
Do you use a terminal or a GUi ?
Fresh install of mediawiki
it saves LocalSettings.php in ~/Downloads/
It needs to go in /var/lib/mediawiki/
You can do it with a terminal
but is easier with FileManager
If you try to do it with FileManager
you do not have permission
how do you use sudo to call FileManager
do you drop to a terminal to call sudo filemanager
I am not sure this even works
or just run your mouse over to the FileManager icon
Wait, stupid pi does not have an icon with root
How do you edit a config file?
Probably use nano.
How would you use geany to edit LocalSettings.php
Change workspace ctl+alt+F2
login as root
startx
FileManager
change to directory
click on the file
open with geany
make edits
save
"why are you logging in as root?
On modern Linux/Unix systems generally the root user is disabled "
So, how does one enable it?
"it may be missing various configuration files
and these may need to be created. "
like what?
"Of course if you have a reason for logging in as root, "
"then there's no problem with that - "
It is the problem. Finding the files.
" the desktop is not designed to run as root."
"You might not like it, but it's how things are set up."
and how does one change the set up?
"there is no good reason to change this"
You own my computer
check
.config/.lxsession