The officially official Devuan Forum!

You are not logged in.

#1001 Re: Documentation » Woo-hoo! Got my print server/printer working on Daedulus » 2023-10-24 15:37:16

@Golinux: lol, i'm a guy, we don't read the directions. big_smile

I say this yet I wrote a whole book of user notes for vuu-do, wink

#1002 Re: Documentation » Woo-hoo! Got my print server/printer working on Daedulus » 2023-10-24 15:07:06

I'm guessing that was it Glenn, wasn't aware of the "su - " deal, I have always just used su and it has always worked before, got a message after I first tried to use dpkg complaining that what it needed was not in the path, so I fixed the path as I posted earlier, your way though is shorter and more elegant, think i'll add that too just to avoid any other future issues. Thanks!

EDIT: Edited my original post to mention the most pertinent Canon-specific packages I had to install. wink

#1003 Documentation » Woo-hoo! Got my print server/printer working on Daedulus » 2023-10-23 17:11:09

greenjeans
Replies: 4

So, working off an old 4-port switch that has a USB print server function, we have had a little Canon pixma ts-3122 that we got on a wally world black friday deal for like 15 bucks a few years ago, never used it until now.

I never use a printer, but the wife-unit wanted to be able to print out dress patterns, could have just hooked it up to her machine, but ya know, so much cooler to make it available on the lan, lol.

I won't go into a lot of detail unless somebody wants help, but a few things:

Loaded additional CUPS programs from the repo and the config printer packages, especially libcupsimage2 was vital.

This model was not on the big list of models already on the system after that, so had to go to Canon's website for downloads, fortunately Canon is with the program and offers source, debs, and rpms's and also for different architecure (64,32, ARMS etc.).

https://www.usa.canon.com/support/p/pixma-ts3122

Selected the version 5.50 deb and downed it (tar.gz), extracted and dpkg'ed the deb for 64 bit, note that I had to go into her machine and add a line to .bashrc like I did to mine to be able to manually use dpkg. Not sure why that isn't already in there by default, a proper PATH is pretty important.

export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin

Then I had to extract the ppd file for the machine from the .deb I just installed as it needed to be input manually through the printer-config program. PIXMA TS-3100 series, (it had a LOT of different PPD's in that file, probably a 100 or more models).

Now all is good, can print from any machine in the house, kinda cool I guess for folks who use printers, funny thing is that it all works at all, both our laptops are 12-13 years old and were low-spec even back then, and the 4-port switch has got to be close to 20 years old.

Nice work Devuan!

EDIT: For Canon-specific printer a couple more packages I had to install just for reference:
cups-backend-bjnp
cnijfilter2 (this was the one that needed libcupsimage2, a dependency).

#1004 Re: Devuan » Installed Daedalus! » 2023-10-14 14:31:16

Well I looked at it again this morning after a couple cups of coffee, it was complaining that it couldn't find a couple of items in the PATH, so had to add a line in .bashrc

export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin

Then dpkg worked fine, got Exaile installed, but wouldn't start from menu, tried in terminal and got this:

ERROR   : Unhandled exception
Traceback (most recent call last):
  File "/usr/lib/exaile/xl/main.py", line 551, in __init__
    self.mainloop_init()
  File "/usr/lib/exaile/xl/main.py", line 866, in mainloop_init
    import dbus
ModuleNotFoundError: No module named 'dbus'

Which is perplexing, dbus is installed, maybe some python/dbus library i'm missing?

#1005 Devuan » Installed Daedalus! » 2023-10-13 22:11:12

greenjeans
Replies: 6

Hey y'all!

Got around to installing the new Devuan last night, first Devuan i've used since the first one (Jessie), yep i've been rolling with the first edition (as VUU-do) since 2017. I think that speaks volumes about the stability and longevity of this distro.

Excellent work guys, runs fine except for momentary weird video glitches during bootup and shutdown. This thing is HUGE, to me at least, first time in many years i've run a distro that big!

Installer is VERY complete, lol, a tad lengthy too. So let me here just re-iterate my undying respect and admiration for Refracta-installer which is what i'm used to using!  Installed the MATE version on sda1 of my machine and grub to the MBR and it went very smoothly, recognized my other two Devuan partitions and existing swap just fine.

One issue: I was sorry to see my favorite music player Exaile wasn't in the repo, no biggie I went and downloaded a package, but when I tried to install it via dpkg, it refused to let me do so for some reason ( and I forgot to copy the reason it gave, dangit, it was late and I was wiped out). Hopefully I can figure that out, but would like to request it as a package for Devuan, great little player.

So thanks again to all the people who work hard on making my favorite distro, just moved and broke as hell, lol, but let me get another paycheck under my belt and i'll be sending a donation!

Cheers!
~texpat

#1006 Re: Off-topic » Hello Folks » 2023-10-11 16:44:29

Hi, welcome to Devuan!

#1007 Re: Off-topic » Hi all! Back again after many adventures! » 2023-10-07 14:56:07

Duuuuuuude! I got it but wasn't sure how to reply, it's great to hear from you too, sorry for my own incommunicado but I had my head buried in work for the last 4 years, it sucked but it was the only way to make sure that I would have free time in the future again. I thought about all of y'all a lot, every day I still use the OS I made that started with inspiration from you and Fsmithred, and the next one I make will still have those roots!

#1008 Re: Off-topic » Hi all! Back again after many adventures! » 2023-10-06 16:23:38

zephyr wrote:

Wow! All last week I kept thinking about where and what happened to you, It is good to know all is well with you!

Welcome back! smile

cheers

zephyr

Man that is kinda strange, because at the same time roughly I was thinking about you, we were still at the old place and in the last week we were there I was trying hard to find an iso that was small enough for me to be able to download on the extremely low bandwidth of the public library, remembered yours and 1 gig seemed possible, but I tried and no joy, was going to take like 5 hours so had to blow it off.

Love my new place and our fast internets, gonna pickup a copy of Crowz today and check it out, seriously fun to see what everybody has been doing!

#1009 Re: Off-topic » Lennart Poettering (Systemd) Lands at Microsoft After Leaving Red Hat » 2023-10-06 16:05:11

Gone but still screwing up my life/linux...

I don't watch videos online generally, so didn't know, but wife wanted to listen to some music on youtube yesterday, so, quick backstory:

Still using Vuu-do I finished in early 2018, works great and very stable, but of course outdated and no repo anymore. Browser started having issues so found and downed a Firefox 116 appimage, works fine EXCEPT, it apparently requires friggin Pulseaudio to deliver sound, which does not exist on my beautiful pure ALSA system.

Got a lil geek fury going on right now, arrrrrgh. Stupid Mozilla. Audio works fine in Chromium without crappy pottyhead yuckware.

#1010 Re: Off-topic » The Joke Thread » 2023-10-05 20:21:07

The-Amnesiac-Philosopher wrote:
greenjeans wrote:
sgage wrote:

Why did the chicken only cross halfway across the road?

She wanted to lay it on the line.'

Q: Why did the libertarian chicken cross the road?

A: None of your business, am I being detained?

MR. GREENJEANS!!! big_smile

Man...how I've missed you! I hope you're okay man!

Missed you too my friend! Doing great as a matter of fact, other than getting old as dust probably the best i've ever been! Good to be back and tinkering with Devuan again.

#1011 Re: Off-topic » The Joke Thread » 2023-10-05 15:05:24

sgage wrote:

Why did the chicken only cross halfway across the road?

She wanted to lay it on the line.'

Q: Why did the libertarian chicken cross the road?

A: None of your business, am I being detained?

#1012 Re: Off-topic » Hi all! Back again after many adventures! » 2023-10-02 21:11:09

Thanks y'all! Will give it a shot tomorrow. Fsmithred I downed a copy of the newest Refracta also to see what you've been up to, gonna throw that on sda2 and nose around for a while before I start thinking about making me a new chop-job wink

Golinux, sure is good to be back doing something I really enjoy, missed our conversations sister smile

Ugh, so much to do though, last Vuu-do was my love-song to an older simpler time in Linux, GTK2, pure ALSA etc. Hopefully GTK3 has improved some since last I messed with it, lol.

#1013 Off-topic » Hi all! Back again after many adventures! » 2023-10-02 18:15:17

greenjeans
Replies: 13

Hi everyone!

Whew, been a long few years, life got in the way of my Linux, but happy to report that after 40+ years of renting, the wife and I finally bought a house!!! And after 10 years of using coffeeshop and library wi-fi ( one of the ways we saved money to buy a house), we have internets at home again, fast too, they actually have fiber in our tiny town so we got 300mbps which is kinda freaking me out as I have never used internet with that kinda speed! Missed all of y'all big-time but we had to work our butts off to make this happen.

So now I finally have time to do all the things I love, one of which is playing with Devuan, going to sit down soon and start building a new Vuu-do, but first i'm downloading the new Devuan to familiarize myself with all the new stuff.

So couple questions as I am rusty as heck amd my memory is starting to really suck.
1. Can I use the new Devuan with the MBR and GRUB I already have on my laptop or do I need to convert to GPT?
2. I have 3 partitions plus swap on the machine, was wanting to drop new Devuan on sda1 in place of old vuu-do build, can I do that without wiping the other partitions? Because I really need one of them, has all my files on it, I could backup on a stick and wipeout all if need be but rather not if possible.
3. I already have swap on it, so no need to re-format that right? Can I just bypass that on install?

Thanks!
~greenjeans

#1014 Re: DIY » Lowest memory footprint obtained. » 2021-03-25 20:46:57

At idle when first booted, my Vuu-do runs right around 130mb or just a little less. Openbox/Tint2/Pcmanfm.

#1015 Re: Off-topic » What are you reading/want to read ? » 2021-03-25 20:44:09

Currently reading the collected verse of Rudyard Kipling. Good stuff!

"...We know that the tail must wag the dog, as the horse is drawn by the cart;   
But the Devil whoops, as he whooped of old: "It's clever, but is it Art?"...."

#1016 Re: DIY » Minimalism Tips » 2021-03-24 20:19:44

Dang, some of you guys really like it minimal!

My full-size Vuu-do iso is only around 560 mb, my style of minimalism is to get rid of mountains of useless cruft i'll never use or need. And believe me, there's a LOT! Too much to detail really.

Here's one I use, instead of loading a calendar program, if you just want a simple basic calendar for Tint2 , enter this in the slot for it in the Tint2 config gui:

yad --calendar --undecorated --button=gtk-close:0 --skip-taskbar --borders=5 --posx=-1 --posy=-1 --width=300 --on-top

#1017 Re: Other Issues » [SOLVED] Need a lil coding help with an extension (shell script), openbox/pcman » 2021-03-20 20:44:26

Man i'm glad I posted these things...we don't have internet at the house, using the library wi-fi now that they finally opened back up, so for months all i've had to work with are man pages, and nobody to ask to look at something for me, it's amazing how a fresh set of eyes can spot so quickly little mistakes that have been staring me in the face for days, lol.

Thanks Head_on_a_stick, all that was needed on that second script was to double-quote the $1 (plus the change to the .desktop) and the whole thing works perfectly now!

You guys rock!

#1018 Re: Other Issues » [SOLVED] Need a lil coding help with an extension (shell script), openbox/pcman » 2021-03-20 20:37:07

Head_on_a_Stick wrote:

Have you tried changing this line:

greenjeans wrote:
convert $1 -strip -rotate "$rot" -set filename:copy '%t-rotated.%e' '%[filename:copy]'

To this:

convert "$@" -strip -rotate "$rot" -set filename:copy '%t-rotated.%e' '%[filename:copy]'

If the file name is separated by spaces then it will be interpreted as multiple arguments for the script and "$@" will pass them all through whereas $1 (or "$1", as it should be) will only pass the first part of the file name, which won't be recognised.

Wow, good eye, I never noticed that I hadn't quoted the $1 in the second script...huh, but still worked other than the spaces issue...I made these like 4 years ago and was in a hurry to get 'em working, I sell a lot of stuff online and the re-size option is a huge time-saver for me, and the rotater is nice for the occasional cell-phone pic that needs to be rotated.

Okay, trying stuff now, lol, BRB.

#1019 Re: Other Issues » [SOLVED] Need a lil coding help with an extension (shell script), openbox/pcman » 2021-03-20 19:48:24

Okay so, even stranger....

Last night when I got home and started messing with it, I decided to double-check whether quoting changes would help, and I must never have tried replacing the single-quoted string in the .desktop with double quotes, and lo and behold it fixed it!  but....

1. I don't know why that would fix it and would really like to understand why...no biggie but....

2. I have an almost identical extension that works the same way only it provides a "rotate image" function instead of re-sizing, so after fixing the first one I thought YAY this should fix the other too...but it didn't, still fails on spaces in file/folder names...what the actual heck???

Here's the new re-size .desktop and it works perfectly, zero issues now:

[Desktop Entry]
Type=Action
Name=Resize Image
Comment=Shrink image and convert to jpg
Icon=edit-cut
Profiles=resize;

[X-Action-Profile resize]
Exec=sh -c "cd %d && shrink2 %f"
MimeTypes=image/bmp;image/jpeg;image/png;

And here's the .desktop for the rotater,did the same thing, changed the single quotes to double quotes, again the only change I made:

[Desktop Entry]
Type=Action
Name=Rotate Image
Comment=Make rotated copy of image
Icon=edit-redo
Profiles=rot;

[X-Action-Profile rot]
Exec=sh -c "cd %d && rot %f"
MimeTypes=image/bmp;image/jpeg;image/png;

As you can see, pretty much identical...dunno why it won't work here when it did on the other...here's the script for the rotater:

#!/bin/sh

rotbox=$(yad --fixed --window-icon=edit-redo --form --title="Rotate Image" --field="Rotate:":CB --width=300 --text-align=center --text="Select rotation (clockwise, in degrees)" '90!180!270')

rot=$(echo $rotbox | awk 'BEGIN {FS="|" } { print $1 }')

convert $1 -strip -rotate "$rot" -set filename:copy '%t-rotated.%e' '%[filename:copy]'

# Depends: yad, imagemagick
# (note: later versions of imagemagick may require a different command than 'convert')

# DESCRIPTION:
# This script makes a copy of an image file (JPG, BMP, PNG), rotates the copy to
# selection entered in yad dialog (90, 180 or 270 degrees clockwise), adds "rotated" to 
# the original filename, and outputs the copy into the same directory as the original. 
# It is intended to be used with a .desktop file for activation in PcmanFM to offer a "Rotate Image"
# option when you right-click an image file, but can also be used in terminal: rot [img file]

#1020 Re: Other Issues » [SOLVED] Need a lil coding help with an extension (shell script), openbox/pcman » 2021-03-19 20:30:56

Thanks y'all!

First thing I tried was all kinds of quotes around the %f and %d and didn't work for me, but will go back and try again to be sure, normally that works in terminal but seems like it wouldn't work here because the entire command string is quoted.

@dice: cd is to first change the directory to current one, or it will drop all output into the home folder regardless of what directory you're in.

Okay, just tried the recommended double quotes again, still no joy.

@Golinux: Hi there Lady! Hope all is well down there, FYI we may be moving back home soon, so maybe i'll get to see ya! ;-)

#1021 Other Issues » [SOLVED] Need a lil coding help with an extension (shell script), openbox/pcman » 2021-03-18 21:14:14

greenjeans
Replies: 10

Hey guys, been out of touch for a long time now, big moves, covid, etc. been getting in the way of my linux'ing...anyhoo, had a question about some extensions i've been using and working on again and need some help if anybody has time. I'm still a terrible rookie coder, lol, trying to leanr more though.

Here's the main one, it's a right-click context menu extension for pcmanfm that re-sizes pics using imagemagick for the backend and yad, super-handy and fast, and works perfectly...except...spaces in file or folder names break it, and can't seem to fix it with usual methods. I can finagle it into working with spaces in filenames but then it drops all output into home folder instead of current directory and no amount of cd or mv commands seems to make it work right. I'm pretty good about not putting spaces in file/folder names, but ya know, would be nice if it didn't break script.

Here's the code, a .desktop file that goes into /home/user/.local/share/file-manager/actions and the script I made (usr/bin):

[Desktop Entry]
Type=Action
Name=Resize Image
Comment=Shrink image and convert to jpg
Icon=edit-cut
Profiles=resize;

[X-Action-Profile resize]
Exec=sh -c 'cd %d && shrink2 %f'
MimeTypes=image/bmp;image/jpeg;image/png;
#!/bin/sh

sizebox=$(yad --fixed --window-icon=edit-cut --form --title="Resize Image" --field="Resize to:" --width=400 --text-align=center --text="Enter new size (W x H in pixels, i.e. 800x600, 1024x768 etc.)")

size=$(echo $sizebox | awk 'BEGIN {FS="|" } { print $1 }')

convert "$1" -resize "$size" -set filename:copy '%t-%wx%h' '%[filename:copy].jpg'

# Depends: yad, imagemagick
# (note: later versions of imagemagick may require a different command than 'convert')

# DESCRIPTION:
# This script makes a copy of an image file (JPG, BMP, PNG), resizes the copy to whatever
# dimensions are entered, converts it to a JPEG, adds the new dimensions to the original
# filename, and outputs the copy into the same directory as the original. It is intended to
# be used with a .desktop file for activation in PcmanFM to offer a "Resize Image"
# option when you right-click an image file, but can also be used in terminal: shrink2 [img file]

Thanks!
~greenjeans

#1022 Re: Off-topic » Did anyone else come from crunchbang? » 2019-02-11 20:18:55

I loved me some Crunchbang, favorite distro for several years, it's part of what made me want to make Vuu-do, and it is unabashedly crunchbang-ish. Only thing I didn't like was dealing with the menu, that's why I went with obmenu-generator.

#1023 Re: Devuan Derivatives » Vuu-do Linux! *New Openbox-64 iso's (1.0.7) up 2-02-18*!! » 2019-02-09 22:18:06

Hey guys, long time, you know how life gets in the way of linux sometimes, lol.

Just updating my intentions in case anyone is still interested in Vuu-do, I originally made Vuu-do to be an ultra-stable LTS version, with both parent distro (Devuan) and the kernel being LTS until 2020, and that's what it still is, haven't made any updated isos in a year, but all my machines on it are still running very smoothly, so I haven't seen a need. I usually just roll these mini-distros for myself once about every 3-5 years anyway.

I haven't messed with Devuan 2.0 much, and haven't seen a need to do so as i'm not quite ready to start making a new Vuu-do, so most likely scenario for the next Vuu-do will be Beowulf (Devuan 3) or even the version after that, depends on the support level for both the distro and the kernel, really wanting to stick with building on a stable LTS platform.

So though i'm gonna start playing with the new stuff this year, it will be early 2020 most likely before there is a new Vuu-do version. Takes me a ridiculously long time to do this stuff, lol, so it will probably take all year for me to get it right.

Hope everybody has been doing well! Have missed hanging out with y'all!

Much love,
~greenjeans

#1024 Re: Devuan Derivatives » [MiyoLinux] MiyoLinux Accessories website » 2018-03-13 20:40:00

Hey I zipped up the extensions I use in pcmanfm and they are on my SF section, feel free to add them to your accessories if you feel like anyone could use them.

I need to document a tad better, also need to update a little code to work with newer Imagemagick before I make an ascii version of a couple of them, the current stuff all works 100% with jessie.

#1025 Re: Devuan Derivatives » Refracta Installer needs testers. » 2018-03-12 22:00:33

ON IT!

If you had donate button somewhere, i'd send you beer money wink Thanks for all you do FSR!

Board footer

Forum Software