Search found 37 matches

by arivas_2005
Mon Apr 19, 2021 1:17 am
Forum: Hardware
Topic: How to share wifi(internet) from laptop?
Replies: 11
Views: 2226

Re: How to share wifi(internet) from laptop?

Hello
Thanks for the quick reply.
Excuses for confusing description.
Well
I have comp.(1) with cable internet with eth0
I want to distribute signal wifi (wlan0). with/from comp.(1)
-----
From what I read, the script create_ap uses hostapd, dnmask and iproute packets.
then
script create_ap creates an ...
by arivas_2005
Sun Apr 18, 2021 3:36 am
Forum: Hardware
Topic: How to share wifi(internet) from laptop?
Replies: 11
Views: 2226

Re: How to share wifi(internet) from laptop?

Well
what I try is to pass the cable internet through eth0 and share it to several computers or mobiles in a classroom through Wi-Fi (something like the telephone routers).
With the create_ap command cell phones and PCs recognize the AP, but the internet from the eth0 wired computer is not broadcast ...
by arivas_2005
Sat Apr 17, 2021 5:39 pm
Forum: Hardware
Topic: How to share wifi(internet) from laptop?
Replies: 11
Views: 2226

Re: How to share wifi(internet) from laptop?

Greetings..

I still have not advanced in my situation
Today it is like this:

===> Internet ==> eth0 ==> PC ==> wlan0

I want to share internet through wlan0.

I found a small script that creates the AP well and is seen on the clients, but does not share the internet
send error
Not Internet ...
by arivas_2005
Mon Mar 29, 2021 3:13 pm
Forum: Programming
Topic: Variable for the whole session
Replies: 17
Views: 1842

Re: Variable for the whole session

Thanks for the explanation of how the processes and variables work.
Possibly insist on something not possible.
I want to save a data in a variable (and not in a file) to share it with other scripts during and after the variable with the data is declared, in the same session.
Example:
in script 1 ...
by arivas_2005
Sun Mar 28, 2021 12:56 am
Forum: Hardware
Topic: How to share wifi(internet) from laptop?
Replies: 11
Views: 2226

How to share wifi(internet) from laptop?

Greetings
a curiosity.
It will be possible to pass Wi-Fi internet from a mobile (point 1) to a laptop (point 2) and then distribute the Wi-Fi signal from a laptop, but the laptop only has one (1 card) wlan. (In the same wlan would enter signal (from 1) and also shared (point 2) to the others mobiles ...
by arivas_2005
Sat Mar 27, 2021 4:23 pm
Forum: Programming
Topic: Variable for the whole session
Replies: 17
Views: 1842

Variable for the whole session

My greeting
I want to create a variable in a script and leave it defined to be able to deposit data and rescue it in another script:
If in script1 I do
MOMENT1 = `# date" +% H% m% s "`
(instead of for example date "+% H% m% s"> /tmp/tmpfile)
in another script, at another time after I can retrieve ...
by arivas_2005
Thu Feb 18, 2021 2:21 pm
Forum: Programming
Topic: how to freeze the display screen?
Replies: 21
Views: 1473

Re: how to freeze the display screen?

Thanks MochiMoppel for your guidance
It's a great .. curiosity!
Is that I found how to freeze(disable) the mouse pointer with xinput, .. and also on keyboard (for a period) and then activate it again.
Then, the question appeared to me .. if you can freeze(disable) the mouse, the keyboard(disable ...
by arivas_2005
Wed Feb 17, 2021 2:42 pm
Forum: Programming
Topic: how to freeze the display screen?
Replies: 21
Views: 1473

how to freeze the display screen?

Greetings,
Another curiosity:
about using xdotool
How can I freeze the screen (not turn off) .. just freeze it to see.
just put it in disable and after the processes, re-enable

Thanks

by arivas_2005
Sun Feb 07, 2021 1:47 am
Forum: Programming
Topic: How know the coordinates of the text cursor (not mouse pointer)?
Replies: 5
Views: 701

Re: How know the coordinates of the text cursor (not mouse pointer)?

Hello puppy_apprentice,
well
thanks for the support!

by arivas_2005
Sat Feb 06, 2021 2:39 pm
Forum: Programming
Topic: How know the coordinates of the text cursor (not mouse pointer)?
Replies: 5
Views: 701

Re: How know the coordinates of the text cursor (not mouse pointer)?

Hello puppy_apprentice,
thanks for the support.

What I need to know is in which of the two boxes the text cursor is
Know if it is in the top (1) or the bottom (2).

That's my kid with this page.

The use of tab is when I already know which box the cursor is in. But before that, I must know in which ...
by arivas_2005
Thu Feb 04, 2021 1:34 am
Forum: Programming
Topic: How know the coordinates of the text cursor (not mouse pointer)?
Replies: 5
Views: 701

Re: How know the coordinates of the text cursor (not mouse pointer)?

Hello
adding a more specific detail.
Is there a way to know using a command if the cursor-text (no cursor mouse) is in position 1 or in position 2 (the coordinates in both cases)
(see Figure)
thanks

by arivas_2005
Wed Feb 03, 2021 1:55 am
Forum: Programming
Topic: How know the coordinates of the text cursor (not mouse pointer)?
Replies: 5
Views: 701

How know the coordinates of the text cursor (not mouse pointer)?

Regards,
I am very curious:
I found that to know the coordinates of the mouse pointer is used
xdotool getmouselocation --shell
... there is a way to know the coordinates of the cursor (of text) in a window (example, in a "text field -multiline" or in a text editor (not in terminal), to know in ...
by arivas_2005
Tue Jan 12, 2021 1:17 am
Forum: Programming
Topic: How to make a Rox window invisible while it is resized?
Replies: 4
Views: 484

Re: How to make a Rox window invisible while it is resized?

MochiMoppel:
I appreciate your explanation.
There is so much information to learn ... but little by little I advance in such extensive knowledge even through those monstrous command lines.
In my limited knowledge I assumed that there was the possibility of opening an app in a hidden way
# command ...
by arivas_2005
Sun Jan 10, 2021 8:03 pm
Forum: Programming
Topic: How to make a Rox window invisible while it is resized?
Replies: 4
Views: 484

How to make a Rox window invisible while it is resized?

Cheers
I am trying to open a folder with rox and resize window-rox
but I want to prevent it from moving and being visible already until it is resized
But it's not working

esexfat1=/mnt/exfat1" ; ancho30=250 ; alto85=1250
rox "$esexfat1" &
abiertal=`wmctrl -lp | grep -e $esexfat1 | grep -e "+AT ...
by arivas_2005
Sun Jan 10, 2021 7:53 pm
Forum: Programming
Topic: I want to write programs in java
Replies: 13
Views: 1829

Re: I want to write programs in java

Cheers
and what is the command equivalent to javac and java in OpenJDK
thanks

by arivas_2005
Fri Jan 08, 2021 10:58 pm
Forum: Programming
Topic: I want to write programs in java
Replies: 13
Views: 1829

Re: I want to write programs in java

thanks puppy_apprentice!

I already took the first step

I run the following commands:
#javac MyFirstJavaProgram.java
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel

#java MyFirstJavaProgram
Picked up _JAVA_OPTIONS: -Dawt ...
by arivas_2005
Fri Jan 08, 2021 10:38 pm
Forum: Sounds
Topic: How to capture audio from speaker in Bionic64?
Replies: 11
Views: 2905

Re: How to capture audio from speaker in Bionic64?

greetings!
I do not progress on my problem

output from SimpleScreenRecorder

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
==================== SSR iniciado ...
by arivas_2005
Fri Jan 08, 2021 2:16 am
Forum: Sounds
Topic: How to capture audio from speaker in Bionic64?
Replies: 11
Views: 2905

Re: How to capture audio from speaker in Bionic64?

ltados de traducción
have a good year 2021
I come again requesting support to solve my difficulty with saving the audio
The problem is that only the audio from the microphone can be stored and I can't find a way to capture the audio from the applications
trying options I installed mageia 5 32 bits ...
by arivas_2005
Fri Jan 08, 2021 2:05 am
Forum: Programming
Topic: I want to write programs in java
Replies: 13
Views: 1829

Re: I want to write programs in java

Thanks for the suggestions!
puppy_apprentice,
I already downloaded and loaded jdk ..sfs (and .. jre..sfs) with Load-sfs on the fly
but to command
#javac MyFirstJavaProgram.java
--> gives the message -->> bash: javac: command not found
in which path is the javac file located?
Thank you again
by arivas_2005
Wed Jan 06, 2021 10:27 pm
Forum: Programming
Topic: I want to write programs in java
Replies: 13
Views: 1829

I want to write programs in java

Cheers
congratulations on a new year.
I want to learn to write coding in Java language
if you offer me suggestions of where to find the "jdk" for puppy bionic 64 and where to find tutorial to install it ..
also where you could find tutorials to write the scripts,with simple examples to get the idea ...
by arivas_2005
Tue Dec 29, 2020 7:29 pm
Forum: Programming
Topic: How to get space used and unused for all partitions?
Replies: 14
Views: 1892

Re: get space used and unused for all partitions (and all disks in pc)

Thanks puppy_apprentice

a question.
Partview mount partition before using df?
(and obviously then disassembles it I guess!)

Thank you again

by arivas_2005
Tue Dec 29, 2020 5:53 pm
Forum: Programming
Topic: How to get space used and unused for all partitions?
Replies: 14
Views: 1892

Re: get space used and unused for all partitions (and all disks in pc)

Thanks for the prompt response.

just comment that I'm looking for something to see used and unused space of all partitions at once .. without mounting.
for example ... a disk with 7 partitions ... see at once the sizes, and used and free spaces of each one without having to mount them first.

A ...
by arivas_2005
Tue Dec 29, 2020 5:08 pm
Forum: Programming
Topic: How to get space used and unused for all partitions?
Replies: 14
Views: 1892

How to get space used and unused for all partitions?

Greetings

I can't find a command (or a mini-script) to list the used and unused space of all partitions, mounted or not. (as gparted ... show the used or unused space for each partition in disk)
something like it is not shown space used, not used, only total.
the commands I have checked are: lsblk ...
by arivas_2005
Sat Dec 12, 2020 1:24 am
Forum: Programming
Topic: How to color the gtk window?
Replies: 3
Views: 536

Re: How to color the gtk window?

Thank you
I already made the correction.
After several experiments, I found that it depends on the chosen gtk-theme. This is because after I changed the theme "Fusion" to another, the coloring of the tree frame already appeared.
So the coloring of the windows .. also depends on the gtk- puppy theme
by arivas_2005
Thu Dec 10, 2020 3:26 am
Forum: Programming
Topic: How to color the gtk window?
Replies: 3
Views: 536

How to color the gtk window?

I want to color the whole window ..
especially .. background color to list
with the code that I have ..

#!/bin/bash

export LISTADO="UNO
DOS
TRES
CUATRO
CINCO
"

echo 'style "blackbg" {
font_name="DejaVu Sans 8"
bg[NORMAL] = "cyan"
fg[NORMAL] = "green"
base[NORMAL] = "blue"
bg[ACTIVE ...
by arivas_2005
Mon Dec 07, 2020 3:37 am
Forum: Sounds
Topic: How to capture audio from speaker in Bionic64?
Replies: 11
Views: 2905

Re: How to capture audio from speaker in Bionic64?

Thanks
I have already made the suggested changes and in the apps if you see the sound monitoring bars that fluctuate, but in the file that is created there is only deafening noise (minimal noise) .. and nothing of the sounds

by arivas_2005
Mon Dec 07, 2020 3:10 am
Forum: Programming
Topic: sed command: effect to the letter
Replies: 6
Views: 924

Re: sed command: effect to the letter

Thanks!
And is there any URL or documentation where you can find the combinations, like these?
\xCD\x9F
\xCC\xB6
\xcc\xb8

by arivas_2005
Sun Dec 06, 2020 7:27 pm
Forum: Programming
Topic: sed command: effect to the letter
Replies: 6
Views: 924

sed command: effect to the letter

I found these two lines (internet -gtk-dialogs info.)

echo "subrayando" | sed "s/./&\xCD\x9F/g" >>/text #
echo "tachando" | sed "s/./&\xCC\xB6/g" >> /text #

that modify the letter effect and I ask if there are more effects like these and if it can also be colored using the same model
For ...
by arivas_2005
Sun Dec 06, 2020 6:40 pm
Forum: Sounds
Topic: How to capture audio from speaker in Bionic64?
Replies: 11
Views: 2905

How to capture audio from speaker in Bionic64?

Cheers
I have puppy bionic 64 installed and I can't capture the sound coming out of the speaker
i have installed mhwave, audacity, pavrecord, baconrecorder, precord
neither one can capture the audio.
I have only managed to capture the audio from the microphone with the line
arecord -vv -fdat /foo ...

Go to advanced search