LinuxConsole.org https://www.linuxconsole.org A lighweight distribution for children and kids Fri, 28 Apr 2023 09:55:08 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.2 New git repository for ydfs https://www.linuxconsole.org/2023/04/new-git-repository-for-ydfs/ Fri, 28 Apr 2023 09:54:14 +0000 https://www.linuxconsole.org/?p=670 https://github.com/yledoare/ydfs

Used to build LinuxConsole 2023

]]>
Using apt-get to install new software https://www.linuxconsole.org/2023/01/using-apt-get-to-install-new-software/ Sun, 08 Jan 2023 21:51:38 +0000 https://www.linuxconsole.org/?p=664 An apt-get wrapper is available, to install new software

This is experimental, an sometime doesn’t works

But if you want to try it, for exemple, launch “apt-get install nano”

It will be asked “Install libncursesw6 ?”, you should always say “no” for dependencies.

When you package is installed, just run it by commande line

If you see something askded like “thepackage-comon” you sould say “Yes”

For exemple, if you want to install geany with apt-get install, only say “Yes” to install “geany-common”

]]>
Install conky (2022-RC1) https://www.linuxconsole.org/2022/10/install-conky-2022-rc1/ Mon, 03 Oct 2022 15:10:07 +0000 https://www.linuxconsole.org/?p=656 opkg-cl update

opkg-cl install conky

]]>
Copy ISO to USB https://www.linuxconsole.org/2021/05/copy-iso-to-usb/ Sat, 08 May 2021 06:26:10 +0000 https://www.linuxconsole.org/?p=631 LASTDISK=dmesg |grep "Attached SCSI removable disk" | cut -d '[' -f3 | cut -d']' -f1 | tac | head -1 [ ! -f "$1" ] && echo "$1 not found" && exit 1 echo "Write $1" to $LASTDISK ? Y/n read key if [ "$key" = "Y" ] then echo dd if=$1 of=/dev/$LASTDISK bs=4M status=progress oflag=sync dd if=$1 of=/dev/$LASTDISK bs=4M status=progress oflag=sync sync echo done else echo cancel fi ]]> Add swap for LinuxConsole https://www.linuxconsole.org/2019/12/add-swap-for-linuxconsole/ Wed, 18 Dec 2019 21:37:31 +0000 https://www.linuxconsole.org/?p=559 If you need some swap :

  • boot from liveCD
  • umount the filesystem
  • create a swap partition with mkswap command line

https://www.youtube.com/watch?v=YEljYeOLxuQ&feature=youtu.be

]]>
Install LinuxConsole ISO from Windows https://www.linuxconsole.org/2018/11/install-linuxconsole-iso-from-windows/ Fri, 16 Nov 2018 13:20:48 +0000 https://www.linuxconsole.org/?p=554 You can do it with Windows XP/Vista/7

Sometimes in Windows 10 (not if booting UEFI)

1 – Download ISO

2 – Download installer inside the same directory

3 – Run installer .. and enjoy

]]>
Install Nvidia drivers https://www.linuxconsole.org/2018/10/install-nvidia-drivers/ Wed, 24 Oct 2018 21:53:18 +0000 https://www.linuxconsole.org/?p=535 First, to see available drivers :

opkg-cl list |grep nvidia

You can see :

nvidia-304 – 304.137 – Nvidia 304 series driver
nvidia-340 – 340.104 – Nvidia 340 serie Driver
nvidia-384 – 384.98 – Nvidia 384 serie drivers

Then, you can try latest drivers :

opkg-cl install nvidia-384

Downloading now http://opkg.linuxconsole.org/linuxconsole/2.6/x86_64/nvidia-384_384.98_x86_64.ipk.
Configuring nvidia-384.

Try this :

 insmod /usr/lib/modules/nvidia.ko

Run :

dmesg | grep NVDRM

if :

[ 501.708307] NVRM: The NVIDIA GeForce 210 GPU installed in this system is
[ 501.708307] NVRM: supported through the NVIDIA 340.xx Legacy drivers. Please
[ 501.708307] NVRM: visit http://www.nvidia.com/object/unix.html for more
[ 501.708307] NVRM: information. The 384.98 NVIDIA driver will ignore
[ 501.708307] NVRM: this GPU. Continuing probe…
[ 501.708310] NVRM: No NVIDIA graphics adapter found!

then try another driver :

Ex

opkg-cl remove nvidia-384

opkg-cl install nvidia-340

insmod /usr/lib/modules/nvidia.ko

if :

[ 665.310647] NVRM: The NVIDIA probe routine was not called for 1 device(s).
[ 665.310649] NVRM: This can occur when a driver such as:
[ 665.310649] NVRM: nouveau, rivafb, nvidiafb or rivatv
[ 665.310649] NVRM: was loaded and obtained ownership of the NVIDIA device(s).
[ 665.310651] NVRM: Try unloading the conflicting kernel module (and/or
[ 665.310651] NVRM: reconfigure your kernel without the conflicting
[ 665.310651] NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 665.310651] NVRM: again.
[ 665.310652] NVRM: No NVIDIA graphics adapter probed!

It’s ok , your driver is good (there is an error because nouveau is loaded)

Then, you have to do this, then reboot :

install -d /root/.ydfs/fixydfs/
echo "modprobe drm
insmod /usr/lib/modules/nvidia.ko || exit 1
echo OK
grep nvidia /etc/profile || echo 'export LD_LIBRARY_PATH=/usr/lib32/nvidia/:/usr/lib/nvidia:\$LD_LIBRARY_PATH' >> /etc/profile
. /etc/profile
mount /usr/lib/nvidia/xorg/libglx.so /usr/lib/xorg/modules/extensions/libglx.so -o bind
nvidia-xconfig" > /root/.ydfs/fixydfs/nvidia

After rebooting,

Run this

ln -s /usr/lib/nvidia/libGL.so.* /usr/lib/nvidia/libGL.so.1

and you can try :

glxinfo |grep NVIDIA

server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL core profile version string: 3.3.0 NVIDIA 340.104
OpenGL core profile shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL version string: 3.3.0 NVIDIA 340.104
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL ES profile version string: OpenGL ES 2.0 NVIDIA 340.104 340.104

]]>
Install teamviewer https://www.linuxconsole.org/2018/01/install-teamviewer/ Mon, 08 Jan 2018 17:13:01 +0000 https://www.linuxconsole.org/?p=531 As root, run :

/ydfs/add/software teamviewer

Then you can use it (if you are root or not)

]]>
Running Scratch https://www.linuxconsole.org/2018/01/running-scratch/ Sat, 06 Jan 2018 20:03:22 +0000 https://www.linuxconsole.org/?p=527 To Run scrach, download scratch 1.4 and install it (with wine)

Then, have fun !

Note : You can delete shortcut from desktop, it doesn’t works, run Scratch from “Other” menu

]]>
Install Mame https://www.linuxconsole.org/2018/01/install-mame/ Sat, 06 Jan 2018 06:42:15 +0000 https://www.linuxconsole.org/?p=524 As root :

opkg-cl install mame

Then run mame with :

/home/linuxconsole2018/opkg/share/mame/mame

]]>