Search found 510 matches

by dcung
Wed Mar 26, 2025 7:27 pm
Forum: DebianDogs
Topic: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)
Replies: 18
Views: 528

Re: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)


Maybe I don't understand well, anyway...
No repeating necessary IM0, probably works OOTB if you make a new build (including gvfs) with libglib2.0-bin and inotify-tools installed and add the startup script from here https://forum.puppylinux.com/viewtopic.php?p=145405#p145405 in chroot/root/Startup ...
by dcung
Tue Mar 25, 2025 9:20 pm
Forum: DebianDogs
Topic: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)
Replies: 18
Views: 528

Re: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)

fredx181 wrote: Tue Mar 25, 2025 7:17 pm

I think what the second poster of https://forum.xfce.org/viewtopic.php?id=16903 calls "tough" may be right:

Yes...
The 'good thing' is that I seem to use LXQT DE more now than DDOG DE ... :D
It used to be the other way around.

by dcung
Tue Mar 25, 2025 4:51 pm
Forum: DebianDogs
Topic: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)
Replies: 18
Views: 528

Re: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)


It's default in KLV (with XFCE) that you get "untrusted" message after you copy a .desktop launcher to the Desktop and run it.
A reboot might help for already existing launchers, but if you add a new one (and run it), the warning dialog appears again.


That's why I think XDG_DATA_DIRS way is ...
by dcung
Tue Mar 25, 2025 4:43 pm
Forum: DebianDogs
Topic: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)
Replies: 18
Views: 528

Re: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)


@dcung A hard one to crack ! :?
Tested now with gvfs and I think that I found a solution/workaround.
Following from here https://forum.xfce.org/viewtopic.php?id=16903 works for me to make all launchers "trusted", but needs gio (edit: from package libglib2.0-bin):
for f in /root/Desktop/*.desktop ...
by dcung
Tue Mar 25, 2025 8:23 am
Forum: DebianDogs
Topic: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)
Replies: 18
Views: 528

Re: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)


@dcung Strange... a .desktop launcher that's made executable shouldn't give the 'untrusted' warning.
I tested on DDOG with the XDG_DATA_DIRS set to /root/Desktop and it works without problems without needing to do anything else, e.g. Thunar --daemon & .


Yes, that's because your conf is using ...
by dcung
Tue Mar 25, 2025 8:01 am
Forum: DebianDogs
Topic: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)
Replies: 18
Views: 528

Re: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)


Could it be that only new added launchers become 'trusted' after setting XDG_DATA_DIRS env ?

Probably not, since if I do manually
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/root/Desktop
Thunar --daemon &
and run them, all existing .desktop are okay.
No "Untrusted application launcher" message ...
by dcung
Tue Mar 25, 2025 7:41 am
Forum: DebianDogs
Topic: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)
Replies: 18
Views: 528

Re: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)


@dcung Adding to ~/.bashrc works for me, e.g. :

Or just echo 'export XDG_DATA_DIRS=$HOME/Desktop/' >> .bashrc
Check after re-login:
root@live:~# echo $XDG_DATA_DIRS
/root/Desktop/
root@live:~#


I added to ~/.bashrc as above, and check that the variable XDG_DATA_DIRS has correct value after ...
by dcung
Tue Mar 25, 2025 3:25 am
Forum: DebianDogs
Topic: Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)
Replies: 18
Views: 528

Untrusted application launcher problem (Bookworm DDOG - XFCE/Thunar 4.18)

Hi fredx181

I experienced this in DDOG DE, I have same issue like what is described here.
https://forum.xfce.org/viewtopic.php?id=16903

But I have my .desktop files in /root/Desktop instead.
I tried as suggested (suggestion 2) in the link above and it works.

thunar -q
export XDG_DATA_DIRS ...
by dcung
Mon Mar 17, 2025 5:55 pm
Forum: Other Distros
Topic: Boot stanza question - how to specify save location for Linux Mint iso booting.
Replies: 4
Views: 291

Re: Boot stanza question - how to specify save location for Linux Mint iso booting. <SOLVED>

fredx181

That works Fred, thanks!

Dumb dumb me, I created a FAT32 partition called "writeable" and also a savefile called "writeable".
So, 2 devices both called "writeable" are shown... :lol:
Anyway, it works, I managed to put wifi driver - hence using this Linux Mint to post this reply ...
by dcung
Sun Mar 16, 2025 10:04 pm
Forum: Other Distros
Topic: Boot stanza question - how to specify save location for Linux Mint iso booting.
Replies: 4
Views: 291

Boot stanza question - how to specify save location for Linux Mint iso booting.

Is there a way that I can boot Linux Mint iso and specify where to save changes?
This is my current boot stanza. Boot okay, but no save. I'd like to add wifi driver, and reboot.

menuentry "linuxmint-22.1-xfce-64bit.iso" {
set isopath="/iso/linuxmint-22.1-xfce-64bit.iso"
set uuid="bb94d387-3044 ...
by dcung
Thu Mar 13, 2025 6:58 pm
Forum: DebianDogs
Topic: How to send line feed to printer? <SOLVED>
Replies: 14
Views: 395

Re: How to send line feed to printer? <SOLVED>


Excellent. So after repeating that pair of lines, you could end with:
echo -e "\f" | busybox nc x.x.x.x 9100
and get a page eject?


I ended up doing

5x
cat Epson-nozzlecheck.SPL | tr "\f" "\n" | busybox nc x.x.x.x 9100

And the page eject by itself. - ie. page full
Bonus!

So I get 5 sets of ...
by dcung
Thu Mar 13, 2025 6:47 pm
Forum: DebianDogs
Topic: How to send line feed to printer? <SOLVED>
Replies: 14
Views: 395

Re: How to send line feed to printer?


Maybe: cat Epson-nozzlecheck.SPL | tr -d "\f" | busybox nc x.x.x.x 9100


Wow..you're a God sent Bill!

I just tried this
cat Epson-nozzlecheck.SPL | tr "\f" "\n" | busybox nc x.x.x.x 9100
and...no form feed.

cat Epson-nozzlecheck.SPL | tr "\f" "\n" | busybox nc x.x.x.x 9100
echo -e "\n\n ...
by dcung
Thu Mar 13, 2025 6:06 pm
Forum: DebianDogs
Topic: How to send line feed to printer? <SOLVED>
Replies: 14
Views: 395

Re: How to send line feed to printer?

rcrsn51 wrote: Thu Mar 13, 2025 6:02 pm

Does that end with a formfeed?

Yes

I need to figure out removing formfeed from Epson-nozzlecheck.SPL content.

by dcung
Thu Mar 13, 2025 6:01 pm
Forum: DebianDogs
Topic: How to send line feed to printer? <SOLVED>
Replies: 14
Views: 395

Re: How to send line feed to printer?


Or maybe: cat Epson-nozzlecheck.SPL | busybox nc x.x.x.x 9100


This works.
So same as lp Epson-nozzlecheck.SPL -d my-printer-name
[Edit] Why 9100 works and 515 doesn't. What's the difference?

But now I can do
cat Epson-nozzlecheck.SPL | busybox nc x.x.x.x 9100
echo -e "\n\n\n\n\n" | busybox ...
by dcung
Thu Mar 13, 2025 5:43 pm
Forum: DebianDogs
Topic: How to send line feed to printer? <SOLVED>
Replies: 14
Views: 395

Re: How to send line feed to printer?


You could also try: cat Epson-nozzlecheck.SPL > /dev/usb/lp0


I actually have came across and tested
cat Epson-nozzlecheck.SPL > /dev/lp0
cat Epson-nozzlecheck.SPL > /dev/usb/lp0
didn't work. I thought they wouldn't.
I suppose they would work if I connect the printer to USB (or LPT1), but it's ...
by dcung
Thu Mar 13, 2025 5:14 pm
Forum: DebianDogs
Topic: How to send line feed to printer? <SOLVED>
Replies: 14
Views: 395

Re: How to send line feed to printer?

I have been wanting to 'improve' the way I did the maintenance, but as always 'laziness' gets in the way. I am thinking of doing something now.

I 'over-simplified' when I described my maintenance method above.
The Epson-nozzlecheck.SPL, prints the pattern and form-feed.
So, I have batch files print ...
by dcung
Thu Mar 13, 2025 3:54 pm
Forum: DebianDogs
Topic: How to send line feed to printer? <SOLVED>
Replies: 14
Views: 395

Re: How to send line feed to printer?


Using PeasyGlue, make a grid of the image and save it as a single file. Then print that file.


I don't know the validity of this (?).
I was led to believe that using the file will force all 255 nozzles of each color to be used. Since it is the same 'command' as if I use the printer panel to do ...
by dcung
Thu Mar 13, 2025 9:27 am
Forum: DebianDogs
Topic: How to send line feed to printer? <SOLVED>
Replies: 14
Views: 395

How to send line feed to printer? <SOLVED>

In Windows, I used to regularly send 'nozzle check' pattern to my printer.
I keep the file that Epson maintenance software created - i.e. I grab it from Windows spooler.
It's only a 139 bytes file, that print this.

nozzle-check-1.png
.
.
.

So that I don't waste too much papers, I just have batch ...
by dcung
Tue Mar 11, 2025 6:56 pm
Forum: DebianDogs
Topic: Adding CUPS printer - command line help. <SOLVED>
Replies: 3
Views: 340

Re: Adding CUPS printer - command line help. <SOLVED>


...but it sounds like you can't get the PPDs just by running lpadmin.


I think this is the key part.

I was able to use a copy of PPD file generated by CUPS browser interface.
And I also have tested that I can use the PPD file generated by your python script.


lpadmin -p Epson-WF2760 -E -v lpd ...
by dcung
Tue Mar 11, 2025 3:00 am
Forum: DebianDogs
Topic: Adding CUPS printer - command line help. <SOLVED>
Replies: 3
Views: 340

Adding CUPS printer - command line help. <SOLVED>

Note - my builds has printer-driver-escpr package, so Epson drivers is (always) included.
I can use CUPS browser interface to add the printer - tested, working.
I'd like to be able to do so via command line.
Need help constructing the command.

My reading on the net points to lpadmin, lpstat, lpinfo ...
by dcung
Tue Mar 04, 2025 8:03 am
Forum: DebianDogs
Topic: How to delete multiple changes subdir at once ? <SOLVED>
Replies: 6
Views: 1298

Re: How to delete multiple changes subdir at once ? <SOLVED>


Btw, just curious, what is exactly your purpose by the "refreshing" so many builds frequently ?
(probably you said once, but can't remember what)
And isn't the "pseudo full" install perhaps more convenient way for you then ? (as then the 'refresh' is done "in place", e.g. when doing apt upgrade ...
by dcung
Mon Mar 03, 2025 8:26 pm
Forum: DebianDogs
Topic: How to delete multiple changes subdir at once ? <SOLVED>
Replies: 6
Views: 1298

Re: How to delete multiple changes subdir at once ? <SOLVED>

fredx181
I use my kid scripting skill combined with what you have provided in the past (run-in-xterm very useful for me) + google, to make this (and other scripts actually).
It let me see what's to be deleted before continuing.

If you see things to improve/shorten, let me know.

#!/bin/bash ...
by dcung
Sun Mar 02, 2025 7:23 am
Forum: DebianDogs
Topic: How to delete multiple changes subdir at once ? <SOLVED>
Replies: 6
Views: 1298

Re: How to delete multiple changes subdir at once ? <SOLVED>

fredx181 wrote: Sun Mar 02, 2025 6:47 am

Would this be ok ? (will delete every changes dir it can find in bookworm-2025-02-28)
find /mnt/sda3/bookworm-2025-02-28 -type d -name changes | xargs rm -r

That did it.
Thanks! Save me from manual labour... :thumbup2:

2025-03-02-182013_810x389_scrot.png
2025-03-02-182013_810x389_scrot.png (293.4 KiB) Viewed 1241 times
by dcung
Sun Mar 02, 2025 1:15 am
Forum: DebianDogs
Topic: How to delete multiple changes subdir at once ? <SOLVED>
Replies: 6
Views: 1298

How to delete multiple changes subdir at once ? <SOLVED>

This probably should be in scripting section, but take less effort for me to explain to @fredx181 what I'm trying to do. So, I post it here. Apology.

When I do a refresh, I end up with a directory like this.
2025-03-02-112505_934x740_scrot-1.png
.
.
.
I then do some test/tinkering, and the ...
by dcung
Sun Feb 16, 2025 6:07 pm
Forum: DebianDogs
Topic: Error for 32 bit (Bookworm) builds with vim-common/vim-tiny. <SOLVED>
Replies: 2
Views: 528

Re: Error for 32 bit (Bookworm) builds with vim-common/vim-tiny. <SOLVED>

Thanks! @fredx181 for the explanation & solution.

by dcung
Sat Feb 15, 2025 9:39 pm
Forum: DebianDogs
Topic: Error for 32 bit (Bookworm) builds with vim-common/vim-tiny. <SOLVED>
Replies: 2
Views: 528

Error for 32 bit (Bookworm) builds with vim-common/vim-tiny. <SOLVED>

fredx181

I saw this error when I refreshed last time (few weeks ago).
Only for 32bit builds that have vim-common vim-tiny in the conf file.
No prob with 64 bit builds.

The following packages have unmet dependencies:
vim-tiny : Depends: vim-common (= 2:9.0.1378-2) but 2:9.0.1378-2+deb12u1 is to ...
by dcung
Sat Feb 01, 2025 5:02 am
Forum: DebianDogs
Topic: What overwrites /etc/resolv.conf on every boot? <SOLVED>
Replies: 9
Views: 6245

Re: What overwrites /etc/resolv.conf on every boot? <SOLVED>

I shorten my lease time to 5 mins to test it.
And ...
/etc/udhcpc/default.script
is the default location.

When lease expired - it refreshed using the script.
<I put dummy DNS in /etc/resolv.conf.head and it gets updated with it>

@rcrsn51 Thank you.

by dcung
Sat Feb 01, 2025 4:35 am
Forum: DebianDogs
Topic: What overwrites /etc/resolv.conf on every boot? <SOLVED>
Replies: 9
Views: 6245

Re: What overwrites /etc/resolv.conf on every boot?


Try this: Put a copy of the above script at /etc/udhcpc/default.script
This is the default location of the script and might run when udhcpc renews a lease by itself.


I guess this the default location of the script is what I'm looking for.

In the link I put in first post, they mentioned /usr ...
by dcung
Sat Feb 01, 2025 3:45 am
Forum: DebianDogs
Topic: What overwrites /etc/resolv.conf on every boot? <SOLVED>
Replies: 9
Views: 6245

Re: What overwrites /etc/resolv.conf on every boot?


If it's PeasyWifi, you can override DNS with: echo "nameserver 1.1.1.1" > /etc/resolv.conf.head
Reboot.


I am using PeasyWifi. Learnt something about PeasyWifi today... :)
I tried it and it works - sort of.

I don't turn off my laptop, only put it to sleep.
And I noticed when it wakes up ...
by dcung
Fri Jan 31, 2025 11:36 pm
Forum: DebianDogs
Topic: What overwrites /etc/resolv.conf on every boot? <SOLVED>
Replies: 9
Views: 6245

What overwrites /etc/resolv.conf on every boot? <SOLVED>

Lately, I noticed that my browsing pages were slow to appear.
I tracked the issue to /etc/resolv.conf , ie. it's fast when I used DNS server not supplied by my DHCP - so I just changed it manually for now.

I probably could do a script and put in Startup (not tried yet), but I'd like to know other ...

Go to advanced search