Search Results

Search: Posts Made By: DevuanFan
8,206
Posted By DevuanFan
I solved this with an environmental variable: ...
I solved this with an environmental variable:

export G_FILENAME_ENCODING=UTF-8

Putting it in my ~/.profile makes it permanent.

I figured this out when I stumbled into section 81.2 here:...
Forum: Hardware 11-19-2019
4,518
Posted By DevuanFan
Neo, here you go: # echo serio1...
Neo, here you go:
# echo serio1 >/sys/bus/serio/drivers/psmouse/unbind
# echo serio2 >/sys/bus/serio/drivers/psmouse/bind
bash: echo: write error: No such device

By the way, I found a hardware...
Forum: Hardware 11-19-2019
4,518
Posted By DevuanFan
That's an excellent idea. It would be a nice...
That's an excellent idea. It would be a nice solution if I could get it to work.

# echo serio1 >/sys/bus/serio/drivers/psmouse/unbind
# echo serio1 >/sys/bus/serio/drivers/psmouse/bind

The...
Forum: Hardware 11-19-2019
4,518
Posted By DevuanFan
How to *completely* disable laptop touchpad, without disabling trackpoint?
I run Devuan ASCII on my T400 laptop. I only use the trackpoint ("nipple mouse"). To me, the touchpad is just a nuisance.

I've discovered (by monitoring output of sudo cat /dev/input/event5) that...
Forum: Programming 11-12-2019
20,976
Posted By DevuanFan
Thank you, Jim. That's a great tutorial. In...
Thank you, Jim. That's a great tutorial.

In case this helps other newbies, I moved the getstring function to a separate file containing custom functions. Also, I changed getstring's logic to go...
Forum: Programming 11-11-2019
20,976
Posted By DevuanFan
Andrew, thank you so much for your beautiful...
Andrew, thank you so much for your beautiful explanation. I understand the issue and can confirm that this works exactly as expected:

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
...
2,736
Posted By DevuanFan
YES! That works. Is there a way to generalize...
YES! That works. Is there a way to generalize this solution (e.g., at the level of the shell), so that things keep flowing down the pipe?

--- Post updated at 04:09 PM ---

Thank you, RudiC and...
2,248
Posted By DevuanFan
That's a good idea, but I wanted something more...
That's a good idea, but I wanted something more real-time, so I came up with a hack. If I put this in both ~/.kshrc and /root/.kshrc, I get what I want:



prompt_commands()
{
if [ $(id -u)...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 05:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy