Search found 1100 matches

by MochiMoppel
Mon May 06, 2024 2:58 pm
Forum: Beginners Help
Topic: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)
Replies: 27
Views: 494

Re: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)

X thinks the monitor is still turned on, in my case. Question was if the display visibly turns off or not. Does it? X will tell you that the display is still "connected" and "enabled", and that's not a contradiction. Where did you find what X "thinks"? Don't know if th...
by MochiMoppel
Mon May 06, 2024 2:22 pm
Forum: Beginners Help
Topic: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)
Replies: 27
Views: 494

Re: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)

t turns off and disables the internal display on lid close Third attempt: Marv 's Fujitsus (and my Fujitsu, Acer, HP and Lenovo) all turn off the internal display without the need for any software. I read that this is done via magnets in the display frame. Or are you saying that this mechanism does...
by MochiMoppel
Mon May 06, 2024 1:27 pm
Forum: Beginners Help
Topic: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)
Replies: 27
Views: 494

Re: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)

@MochiMoppel The current code should address your concerns I tried my best to answer all your questions. In return it would have been nice to have my own questions answered here in the forum. This is what the forum is for. One of my questions was What is the benefit of running something like xrandr...
by MochiMoppel
Mon May 06, 2024 6:45 am
Forum: Scripts
Topic: How to handle carriage return input in sed?
Replies: 8
Views: 223

Re: How to handle carriage return input in sed?

geo_c I think I now understand your problem. Your original code is fine, however when the user, after the ' Enter text to insert' prompt, just pushed the Enter key, without entering any other text, the INSERTTEXT variable remains empty, And when this variable remains empty, then sed just sees a <nu...
by MochiMoppel
Mon May 06, 2024 3:51 am
Forum: Scripts
Topic: How to handle carriage return input in sed?
Replies: 8
Views: 223

Re: How to handle carriage return input in sed?

geo_c wrote: Mon May 06, 2024 2:21 am

adds a slash and space to the beginning of all inserted lines:

...because that's what you instructed sed to do.

Try

Code: Select all

sed -i "${LINENUM}i${INSERTTEXT}" ${TASKS_DIR}"${*}"
by MochiMoppel
Wed May 01, 2024 12:21 am
Forum: Fossapup64
Topic: How to make a sound every time you click something?
Replies: 8
Views: 450

Re: How to make a sound every time you click something?

Alright, I asked around and a xbindkeys expert gave me this tip: You have to prevent xbindkeys to grab the key before replaying the mouse click. Something like this should do the trick : "pkill xbindkeys; sleep 0.1; xdotool click 1; play sound.mp3 & xbindkeys" b:1 This is a little bit...
by MochiMoppel
Tue Apr 30, 2024 1:11 am
Forum: Users
Topic: How to convert PNG image to PDF?
Replies: 11
Views: 372

Re: How to convert PNG image to PDF?

As for the changes in dc:
I suggest to replace this tool with something more "stable", to make the code backward compatible, e.g. with bc (provided the syntax hasn't changed as well).
Even better - and faster - would be to use POSIX compatible shell arithmetic and substitution.

by MochiMoppel
Tue Apr 30, 2024 12:17 am
Forum: Users
Topic: How to convert PNG image to PDF?
Replies: 11
Views: 372

Re: How to convert PNG image to PDF?

This one from my repo probably, (gtk3 supported version .deb package from rcrsn51), perhaps someone can make it "Puppy-compatible" :?: https://github.com/doglinux/book-worm/raw/master/amd64/peasypdf-gtk3_5.0_all.deb Maybe the same person who made it Puppy-incompatible ;) ? Xdialog3 .. no ...
by MochiMoppel
Mon Apr 29, 2024 11:18 pm
Forum: Forum Organization & Structure Council
Topic: Slow access times....
Replies: 58
Views: 2475

Re: Slow access times....

Jasper wrote: Mon Apr 29, 2024 2:42 pm

This was the jpg upload ..... LibreWolf as the browser

You should read the link I posted :roll:

In the linked thread MochiMoppel wrote: Sun Sep 17, 2023 1:58 pm

Solved for me in LibreWolff (Menu -> Settings -> LibreWolf -> uncheck "Enable ResistFingerprinting")

by MochiMoppel
Mon Apr 29, 2024 10:42 am
Forum: Forum Organization & Structure Council
Topic: Slow access times....
Replies: 58
Views: 2475

Re: Slow access times....

Jasper wrote: Mon Apr 29, 2024 8:41 am

I did try to add the picture as an attachment (jpg) but it does not display correctly.

This problem?

by MochiMoppel
Mon Apr 29, 2024 8:02 am
Forum: Users
Topic: How to convert PNG image to PDF?
Replies: 11
Views: 372

How to convert PNG image to PDF?

My tax office requires all attachments to be in PDF format. I now have various image files in PNG format which I want to convert. The challenge: The resulting PDFs should have exactly the same dimensions as the source files. Normally PDF printing/converting offers to select a page size, e.g. A4 or l...
by MochiMoppel
Sun Apr 28, 2024 5:05 am
Forum: Beginners Help
Topic: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)
Replies: 27
Views: 494

Re: How to prevent suspend when laptop lid closed?

The question is not connected or not but enabled or not. I made it the question.because it seems to me that this is the only question that a user and the code can reliably answer. "Enabled" is very ambiguous. One example, tested on a netbook (HP Mini 210) and a notebook (Acer Aspire ONE 7...
by MochiMoppel
Sat Apr 27, 2024 2:13 pm
Forum: Beginners Help
Topic: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)
Replies: 27
Views: 494

Re: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)

https://github.com/puppylinux-woof-CE/woof-CE/pull/4278 I hope the logic is correct, this will need some testing :) Maybe something like this, before or after the initial case "$DISABLE_SUSPEND" ... esac command: # Do not suspend if external monitor connected [ $(xrandr -q | grep -c ' con...
by MochiMoppel
Sat Apr 27, 2024 1:08 am
Forum: Beginners Help
Topic: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)
Replies: 27
Views: 494

Re: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)

I was not aware that it does not work in F96-CE_4 . I didn't have a computer that has a lid to close at the time the distro was being developed. My current PC doesn't have a lid either and on netbooks I usually have an external monitor attached where I keep the lid open to improve cooling. I never ...
by MochiMoppel
Fri Apr 26, 2024 2:57 am
Forum: Beginners Help
Topic: BookwormPup: how to prevent suspend when laptop lid closed? (Solved)
Replies: 27
Views: 494

Re: Prevent suspend when laptop lid closed

I don't use BookwormPup64 ..but it might be similar to other puppies. I use Fossapup64 and on this system - and all the previous puppies I've used - there has been a file called 00000080 in the directory /etc/acpi/LID On previous puppies it has been this file which controls what happens when the LI...
by MochiMoppel
Fri Apr 19, 2024 2:20 am
Forum: Beginners Help
Topic: How to prevent rox from opening when mounting a drive? (solved)
Replies: 6
Views: 723

Re: How to prevent rox from opening when mounting a drive?

wizard I went through your linked posts and I noticed, that the most simple solution (click on a drive icon to mount) was dismissed by a user who doesn't use drive icons. However if I understand dellus correctly he uses the drive icons to mount. The only annoyance is the automatic opening of a ROX ...
by MochiMoppel
Mon Apr 15, 2024 1:07 am
Forum: Off-Topic Area
Topic: Microsoft Forever!
Replies: 6
Views: 493

Microsoft Forever!

@MochiMoppel Is this the keyboard you are referring to? .... Mind you it did take up a lot of space. No.Your photo shows the "Elite", the successor that had a different key layout, which made it 5 cm less wide than the original model. This is mine: NaturalKeyboard.jpg It also comes with a...
by MochiMoppel
Sat Apr 13, 2024 2:24 am
Forum: Off-Topic Area
Topic: Microsoft Forever!
Replies: 6
Views: 493

Microsoft Forever!

Over the years I used various PCs, quite a number of storage devices and all kinds of mice and trackballs. Sooner or later they all ended up as garbage. With one exception: my keyboard. Yesterday I noticed that it is its 30th birthday. A Microsoft Natural Keyboard, manufactured 1994, "MICROSOFT...
by MochiMoppel
Fri Apr 12, 2024 1:48 am
Forum: Scripts
Topic: terminal todo list
Replies: 33
Views: 1909

Re: terminal todo

williwaw wrote: Thu Apr 11, 2024 10:42 pm

a simple terminal todo list that could be improved
mkdir -P ~/todo/do ~/todo/done
paste the code into your .bashrc

Did you test? Should be mkdir -p ~/todo/do ~/todo/done
Small letter p !

by MochiMoppel
Wed Apr 10, 2024 1:04 am
Forum: woof-CE
Topic: Global icons generator
Replies: 5
Views: 602

Re: Global icons generator

i realize i just need globicons in /root/.config/rox.sourceforge.net/ROX-Filer/globicons so my question to you "if you know the anser" is why is there 2 globicons in different places ? Because Puppy devs love to ride dead horses? :lol: Seriously, I don't know. ROX deprecated the /root/Cho...
by MochiMoppel
Tue Apr 09, 2024 1:28 am
Forum: Users
Topic: Persistently Strange Behavior.... (Open location after running Pfind) [SOLVED]
Replies: 14
Views: 653

Re: Persistently Strange Behavior.... (Open location after running Pfind) [SOLVED]

But what about the rox-filer itself? It's my favorite file manager and it worked well until this forum thread. Now I've opened it, selected a file, right-clicked another one, and - déjà vu! - got the context menu for the first. You understand the gtk mechanics far better than me. Do you have any th...
by MochiMoppel
Tue Apr 09, 2024 12:42 am
Forum: woof-CE
Topic: Global icons generator
Replies: 5
Views: 602

Re: Global icons generator

AntonioPt wrote: Mon Apr 08, 2024 3:24 pm

And Finaly JWM well Global icons from what i get it are rules that are control by JWM or im wrong ?

Yes.

by MochiMoppel
Mon Apr 08, 2024 1:52 am
Forum: Beginners Help
Topic: Keyboard Shortcuts to Open and Close Apps? (Solved)
Replies: 7
Views: 476

Re: Keyboard Shortcuts to Open and Close Apps?

GNU2Linux wrote: Mon Apr 08, 2024 1:20 am

To close an already opened app it seems like CTRL + Q usually works for most apps I have tried, but it's not consistent. For example I couldn't find a key combination yet that would close MPV.

Alt+F4 (almost) always works.

by MochiMoppel
Mon Apr 08, 2024 1:24 am
Forum: woof-CE
Topic: Global icons generator
Replies: 5
Views: 602

Re: Global icons generator

Hello all while i was running LunarPup and HunPup i notice that the file globicons in /root/Choices/ROX-filer/globicons and /root/.config/rox.sourceforce.net/ROX-filer/globicons have some wrong info about the files and paths so i decide to make a globicons generate to fix that issue Firstly: Nice a...
by MochiMoppel
Sun Apr 07, 2024 7:13 am
Forum: F96-CE
Topic: what's a pnm file, how do i read it, pls?
Replies: 7
Views: 354

Re: what's a pnm file, how do i read it, pls?

It's just a normal and valid PNM file, readable with mtPaint, Viewnior and - of course - MMview :mrgreen:

by MochiMoppel
Sat Apr 06, 2024 4:32 am
Forum: Beginners Help
Topic: Problem with Youtube in Palemoon
Replies: 11
Views: 631

Re: Problem with Youtube in Palemoon

mikewalsh wrote: Sat Apr 06, 2024 4:11 am

I suspect Moonchild has just got a bug here,

Methinks @atmega is talking about a failing ytd-app, i.e. a Youtube dowloader. This would have nothing to do with Pale Moon, right?

by MochiMoppel
Tue Apr 02, 2024 1:14 am
Forum: Programming
Topic: Drawing a line on screen
Replies: 28
Views: 2457

Re: Drawing a line on screen

Not a joke anymore: Lines for Puppy 4.x Looking back at the original post, this was the challenge: " What we need for a horizontal line is a window with a colored background, no text, no decoration, 1px high and as wide as the screen. " We now know what does not work: urxvt, yad and step ...
by MochiMoppel
Sat Mar 30, 2024 2:04 pm
Forum: BookwormPup
Topic: BookwormPup64 10.0.6
Replies: 830
Views: 177223

Re: BookwormPup64 10.0.6

BKWP64 v10.0.6.jpg Neofetch reads /etc/os-release , symlinked to /usr/lib/os-release , which is outdated in more than one way: NAME=Puppy VERSION=" 10.0.5 " ID=debian VERSION_ID=10.0.5 PRETTY_NAME="BookwormPup64 10.0.5" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:puppy:pup...
by MochiMoppel
Sat Mar 30, 2024 8:13 am
Forum: Graphics
Topic: ScreenLiner - draws lines on screen
Replies: 0
Views: 293

ScreenLiner - draws lines on screen

This is a little utility that was inspired by this user request and subsequently developed and discussed here Primarily meant to create guide lines to assist in reading data tables etc., it can be used for other purposes, e.g. as a poor-man's screen blanker (just make the line thickness larger than ...

Go to advanced search