You are not logged in.
Got the Rotate Image extension for pcmanfm working along with the Resize Image, burned a 2nd run last night and looks pretty good, wrapping up stuff by tomorrow hopefully and uploading Vuu-do 1.0.4 isos, there's a ton of work into this version already, it's niiiiiiiiiiiiiice. ![]()
"rot" makes a copy of the target image, rotates it the specified amount, and prepends the resulting copy with "rotated". Always better to make a copy when working with images like this, modding an image in place destroys the original.
For anyone interested here's the prototype (not fully tested yet) of the rot script:
#!/bin/sh
rotbox=$(yad --form --title="Rotate Image" --field="Rotate:":CB --width=300 --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 'rotated-%f' '%[filename:copy]'And the .desktop that goes with it, haven't tested with a .bmp yet, but .png and .jpg work fine:
[Desktop Entry]
Type=Action
Name=Rotate Image
Tooltip=Rotate image
Icon=edit-redo
Profiles=rot;
[X-Action-Profile rot]
Exec=sh -c 'cd %d && rot %f'
MimeTypes=image/bmp;image/jpeg;image/png;The thread I made in DIY has the code for the resizer.
Thanks Ralph, i'll keep messing with it, right now can't get the locker to work with it (i3lock) no matter what I do.
And doesn't look like there's a way to mod the XFCE power manager to run the proper commands, it offers close/lid options but they don't work. This is what's really needed IMO, but I guess the power manager would need to be modded and re-compiled.
Just a quick update. The above method worked for me, but I used obsession-exit to suspend since it's already on my systems, bonus: didn't have to give sudo privilege to user to do it this way.
#!/bin/bash
if [ "$3" = "close" ] ; then
/usr/bin/obsession-exit -s
fiI imagine you can just add " && [lock program or command] " to that command and it will lock as well?
Thanks guys, got a good link from another awesome Devuanista on IRC and found the way, had to use another double .desktop command, added a cd first to tell the shell where to execute the shrink script, so the exec line in shrink.desktop now is:
Exec=sh -c 'cd %d && shrink2 %f'And it works great now, cool little extension for Pcmanfm I think, quick too, I just wanted something so you don't have to open gimp just to do a quick re-size.
I'll edit first post and mark solved.
But now i'm doing a similar extension just to rotate images, works but for some reason Pcmanfm isn't replacing the thumbnail preview with the correct rotated one, but that's for another post I guess. ![]()
*EDIT* Solved, below code boxes have been updated to the code that works, thanks!
So I am working on a small script to use for a right-click option in Pcmanfm, it uses Imagemagick and Yad and is simply an image re-sizer, when you hover over an image in Pcmanfm it offers you the option "Resize Image For Web". Clicking it causes a small yad dialog to open and prompts you to enter a size, then the Imagmagick Convert script resizes it and converts it to a jpg, and adds the new size in the new copy's filename. (i.e. image.png becomes image-800x600.jpg).
It all works fine with one exception, currently when called with the .desktop action file, it drops the copy into the users Home folder instead of the current directory.
However it works perfectly if you open a terminal in the folder where the image is, and use
shrink2 name-of-image.whatever (target image file name)it will spit out the copy right where you are at.
Any help would be greatly appreciated, no combination of output specifiers works so far in the convert command, no amount of $PWD or %f seem to work.
Here's the .desktop that calls it (*this is what I had to fix*)
[Desktop Entry]
Type=Action
Name=Resize Image For Web
Tooltip=Shrink image and convert to jpg
Icon=gprename
Profiles=resize;
[X-Action-Profile resize]
Exec=sh -c 'cd %d && shrink2 %f'
MimeTypes=image/bmp;image/gif;image/jpeg;image/png;And here's the script which for some reason pluma (my text editor) thinks is a perl script, but that's another issue for another day, lol:
#!/bin/sh
sizebox=$(yad --form --title="Resize Image" --field="Resize to:" --width=400 --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'A short stint with Ubuntu years ago cured me of the sudo disease.
You and me both.
Never understood the use of sudo, on a list of "worst ideas ever for linux" it ranks right up there with dconf and systemd IMO.
JoshuaFlynn wrote:greenjeans wrote:I kept thinking about this project yesterday, and it struck me that the very detailed listings in that script would be perfect for a live-sdk "blend" file too, that may be something to look at.
I've never heard of a live-sdk blend file before, could you tell me more about it?
Simple Distro Kit (SDK) is a Devuan thing. There's a lot on info on the devuan.org site.
Yep, and still in development though it works now, here's the link to Fsmithred's tutorial: https://dev1galaxy.org/viewtopic.php?id=551
In short, it's a semi-automated live-build system for rolling your own distro/iso. Blend files are similar to your script in that they list packages/programs to be installed on the iso, as well as customizations to be applied.
Mind if I join the party?
To be explicit, with the exception of the Devuan logo (obviously), the images are created from scratch and are both released into the public domain. Credit would be nice but is not mandatory.
Devuan plasma theme:
https://i.imgur.com/azPgZMF.jpg
Devuan planet/moon theme:
https://i.imgur.com/fthDWyr.png
Feedback appreciated.
That top one is gorgeous, Devuan-Hulk approves. ![]()
I kept thinking about this project yesterday, and it struck me that the very detailed listings in that script would be perfect for a live-sdk "blend" file too, that may be something to look at.
Your basic template you have up now works pretty good as a base, i'm trying to document the changes I make to things better so I can write a blend myself at some point, not necessarily for my own project but something more targeted at just basic improvements, connecting installed programs and making the user environment better, dotting the i's and crossing the T's so to speak.
I totally get using file-roller over x-archiver, I swapped it too with engrampa mainly because engrampa supported more file types out-of-the-box and the user interface seems a tad better too.
Can I try out the modular conversion system?
Those who want to try out the modular conversion script and convert a Devuan install from scratch, first download the Devuan Jessie amd64 desktop ISO (note: the install script may work on other ISO types [including 32-bit] but your mileage may vary and we're not responsible if it goes wrong). Install Devuan using the default settings. Then on the target OS, go to:
https://github.com/JoshuaFlynn/Modules/ … ing-Pigeon
Copy down the King-Pigeon.sh file to your desktop, go into terminal, make yourself root, CD to where the script is and execute the bash script (bash ./King-Pigeon.sh). Make sure you have an internet connection on the target machine, otherwise things might go awry. You're welcome to eyeball the script but chances are you'll find most of what it's doing is fairly obvious (I've added comments where possible). Please be aware the script may change from time to time as bugs are found and improvements are made (we need to improve the purging of XFCEs trailing dependencies).
Once script conversion has started, it's inadvisible to interrupt the process, as the King-Pigeon script rips out the guts of the system, and an early interruption might result in it being left in an unusable state. It will automatically reboot from Devuan into King-Pigeon once it's finished, and your main tip-off it's succeeded with be the giant Pigeon staring at you in the login screen after reboot. Note, this is only known to work on default from new installs.
Please be aware I will be extremely busy with real life, so updates here will be slow.
All feedback from whatever tests you conduct will be greatly appreciated, as well as suggestions for improvements.
1. Seems like it might be easier just to use the Devuan netinstall iso and unselect everything but LXDE? But I haven't tried the netinstall isos in a while, is LXDE not an option?
2. line 201 and 202 : Thundar is a barbarian, not a file manager.
(sorry, virgo OCD ya know)
3. So you were able to purge libsystemd0 completely and the keyboard and mouse etc. all still worked?
4. File-roller? Gonna drag in a lot of gnome crap isn't it? Maybe some nasty gtk3? I would try Engrampa, same thing but more Mate-ish than Gnome-ish.
5. Would love to try out an iso when you have one ready, I love minimalism, and some of your chosen apps are some of my favorites too.
6. Is Pcmanfm the default file-manager of LXDE? If so I have some cool extensions if you're interested in such.
Looking forward to future development of this, very interesting ideas. ![]()
Hi will there be further releases?
Oh yeah, working on the next one now. ![]()
But I still need to update the 32 bit Openbox iso as that's behind. I won't be updating the Mate versions any time soon, probably wait and revisit that when there's an ascii beta, but I think i'm pretty much done with Mate, will be focusing on making Openbox even better.
New 64 bit Openbox iso's up today, minimal and maximal : https://sourceforge.net/projects/vuu-do/files/Openbox/
This fixes a couple of bugs I made happen, lol, had inadvertently left the backports repo uncomnmented in sources.list on the maximal version.
Also had a version of Yad with the GTK3-sickness, Fsmithred came to my rescue (again) with a custom upgraded version that plays nice with GTK2.
Updated Palemoon to latest version.
And some minor tweaks that shave a few mb off the maximal iso and some other minor fixes.
Happy hacking!
Problem #1: It's os-prober that's the issue with grub calling Devuan "unknown linux", easy fix: /usr/lib/os-probes/mounted/90linux-distro and replace/rewrite that file to include Devuan. The version I modded and use is in below codebox.
Problem #2 The control center app isn't updated properly for devuan, but it works perfectly in Devuan, just choose the "Debian" option at that first pop-up and it will work fine.
#!/bin/sh
# Test for linux distributions.
set -e
. /usr/share/os-prober/common.sh
partition="$1"
dir="$2"
type="$3"
# This test is inaccurate, but given separate / and /boot partitions and the
# fact that only some architectures have ld-linux.so, I can't see anything
# better. Make sure this test has a high number so that more accurate tests
# can come first.
# Unless volumes to checked are already mounted, they will be mounted using
# GRUB's own filesystems through FUSE. Since these ATM doesn't support
# symlinks we need to also check in $dir/usr/lib* for distributions that
# moved /lib* to /usr and only left symlinks behind.
# TODO: look for ld-linux.so on arches that have it
# Modded by greenjeans to add Devuan and Vuu-do and strip old invalid entries. September-2017
if (ls "$dir"/lib*/ld*.so* || ls "$dir"/usr/lib*/ld*.so*) >/dev/null 2>/dev/null; then
if [ -e "$dir/etc/debian_version" ]; then
short="Debian"
long="$(printf "Debian GNU/Linux (%s)\n" "$(cat "$dir/etc/debian_version")")"
# RPM derived distributions may also have a redhat-release or
# mandrake-release, so check their files first.
elif [ -e "$dir/etc/devuan_version" ]; then
short="Devuan"
long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat "$dir/etc/devuan_version")")"
elif [ -e "$dir/etc/vuudo_version" ]; then
short="Vuu-do"
long="$(printf "Vuu-do GNU/Linux (%s)\n" "$(cat "$dir/etc/vuudo_version")")"
elif [ -e "$dir/etc/altlinux-release" ]; then
short="ALTLinux"
long="$(cat "$dir/etc/altlinux-release")"
elif [ -e "$dir/etc/magic-release" ]; then
short="Magic"
long="$(cat "$dir/etc/magic-release")"
elif [ -e "$dir/etc/blackPanther-release" ]; then
short="blackPanther"
long="$(cat "$dir/etc/blackPanther-release")"
elif [ -e "$dir/etc/ark-release" ]; then
short="Ark"
long="$(cat "$dir/etc/ark-release")"
elif [ -e "$dir/etc/arch-release" ]; then
short="Arch"
long="$(cat "$dir/etc/arch-release")"
elif [ -e "$dir/etc/vine-release" ]; then
short="Vine"
long="$(cat "$dir/etc/vine-release")"
elif [ -e "$dir/etc/pld-release" ]; then
short="PLD"
long="$(cat "$dir/etc/pld-release")"
elif [ -e "$dir/etc/fedora-release" ]; then
short="Fedora"
long="$(cat "$dir/etc/fedora-release")"
elif [ -e "$dir/etc/redhat-release" ]; then
short="RedHat"
long="$(cat "$dir/etc/redhat-release")"
elif [ -e "$dir/etc/SuSE-release" ]; then
short="SuSE"
long="$(head -n 1 "$dir/etc/SuSE-release")"
elif [ -e "$dir/etc/gentoo-release" ]; then
short="Gentoo"
long="$(cat "$dir/etc/gentoo-release")"
elif [ -e "$dir/etc/turbolinux-release" ]; then
short="Turbolinux"
long="$(cat "$dir/etc/turbolinux-release")"
elif [ -e "$dir/etc/pardus-release" ]; then
short="Pardus"
long="$(cat "$dir/etc/pardus-release")"
elif [ -e "$dir/etc/kanotix-version" ]; then
short="Kanotix"
long="$(cat "$dir/etc/kanotix-version")"
elif [ -e "$dir/etc/slackware-version" ]; then
short="Slackware"
long="$(printf "Slackware Linux (%s)\n" "$(cat "$dir/etc/slackware-version")")"
elif [ -e "$dir/sbin/pkgtool" ]; then
short="Slackware"
long="Slackware Linux"
elif [ -e "$dir/etc/frugalware-release" ]; then
short="Frugalware Linux"
long="$(cat "$dir/etc/frugalware-release")"
elif [ -e "$dir/etc/lfs-release" ]; then
short="LFS"
long="$(printf "Linux From Scratch (%s)\n" "$(cat "$dir/etc/lfs-release")")"
else
short="Linux"
long="unknown Linux distribution"
fi
label="$(count_next_label "$short")"
result "$partition:$long:$label:linux"
exit 0
else
exit 1
fiMy project (Vuu-do) is certainly not a bully pulpit and I don't use it as such...but some days I just can't help but slide in an opinion somewhere obscure that only a wandering geek would find.....

![]()
PLEASE CAN SOMEONE TELL ME HOW TO CREATE A ISSUE???
Easy, get a job at redhat or gnome, write some terrible code, and the issues will literally create themselves. ![]()
Systemd is proposed to work like MS Registry, controlling most things from one encrypted file - totally against unix & linux principles.
Not for nothing, but I never see anyone mention dconf, but it's essentially the systemd of config and was there before systemd even got here, to me it was really one of the first big shots fired against the unix/linux principles you mention, and still is.
A binary config file in userspace ,that you can't read, that controls every bit of configuration in your system, and will in some circumstances replace ALL your configuration with some basic crap it dredges up that it thinks is best.
It's like hitler and sauron got together and decided to forge one config to rule them all, but they were drunk so what came out was just a village idiot on meth driving a bulldozer.
IMO dconf needs to go bye-bye almost as badly as systemd does.
Well not really a bug, just a typo in the manual, somebody typed in an extra jwm.
I installed JWM and the global config file does not exist. The manual lists it as: /etc/jwm/jwm/system.jwmrc
which it does not exist.The correct file is at: /etc/jwm/system.jwmrc
I copied it to my /home:
$ cp /etc/jwm/system.jwmrc .jwmrc
and edited as USER:
$ nano .jwmrc
and configured and solved the problem.
Hope it helps somebody
Now I got it to reproduce, my bad, I assumed you meant adding/subtracting a tab vs. a pane , it does it here too.
Got a dollar says this has been around for years, more bad gnome code that never got fixed. Redundant in the first place, really no difference between running 2 panes and two tabs.
Really disappointed that Mate never fixed any of this stuff at least by the version we're using in jessie (1.8.2), I thought that was part of the point of Mate in the first place.
Stuff like this is why i'm pretty much done with Mate unless subsequent versions address some of this. I completely expect the refusal to acknowledge (much less fix) bugs mentality from the goobers that brought us dconf (the systemd of configuration) , I had hoped for better from Mate.
Thanks for posting this bug, it's small but needs to be dealt with, not swept under the rug.
Not happening here. Cannot reproduce on two different machines.
I just discovered that this crash only occurs in List View. It does not occur in Icon View, or Compact View.
Still can't reproduce here. Are you on jessie? hardware?
The steps to reproduce the crash:
- Open any caja file manager window.
- Press F3 to open a split pane.
- Press F3 to close the split pane.
- Go to the menu: Edit > Preferences.
- Crash.
Not happening here. Cannot reproduce on two different machines.
I think I would have tried re-installing before I went to the trouble of compiling my own. I can't remember Caja ever crashing on me now that I think about it. And believe me, I do some crazy crap with it, and constantly.
What is holding me back at this point is the age of the software.
Long term support from Devuan for jessie, i've heard until 2020 or so.
LTS kernel 3.16 too, projected end-of-life is April 2020
Software age overall doesn't mean much except for certain newer hardware that's been extensively microsofted to try and keep us out, lol, I understand totally if you need new drivers and firmware etc.
I use gpicview for a picture viewer on my systems, hasn't been actively developed since 2007 when the dev abandoned it and recommended everybody use something else since he wouldn't be adding to it or supporting it anymore.
A decade later and still nobody has made anything any better, it still works perfectly, lightning-quick and light on resources.
There is such a thing as homeostasis in a piece of (simple) software, when it reaches a point where it does everything you could ask of it, has no bugs, and just works indefinitely with no more maintenance required.
And that's about the time the developer gets bored with it and looks for some new stuff that's buggy as hell and overly complex, because that's more fun. ![]()
{...sigh....}
Caja is the MATE desktop's file browsing app. I want to compile and debug caja to fix a crash I found. However, my compiled caja looks different than devuan's installed caja. My caja has no menu, no toolbar, and no keyboard shortcuts.
I followed the warning message: "Unable to load ui file caja-shell-ui.xml" through the code. Eventually, I figured out that for my compiled caja, the DATADIR macro was defined as "/usr/local/share". But caja installs its files under "/usr/share".
The solution is that when I run autogen.sh to create the Makefile, I specify the DATADIR path, like this:
./autogen.sh --datadir="/usr/share"But my larger question is: If I want to be sure my compiled code is the same as Devuan's compiled code, how do I know what cmd line options Devuan used to compile code? This is not just for caja, but for any other package I might compile and debug in the future.
Curious if you located the source of the crash (bug) and what it was?
Several bugs in caja that I have lived with for years going back to when it was nautilus in gnome2. But it never crashes on me, that sounds more like dconf crapping out (again).
All in one, so it's a printer too correct?
The other config tool that always works for me is the system-config-printer package, been many many years since I had to work hard to set up a printer, I install that package and printer-drivers-all and it has worked on all debian or Devuan systems.
Hmmm, don't use a scanner much, but i've had the best luck using the Xsane frontend for saned.
New Openbox-64-minimal uploaded today: https://sourceforge.net/projects/vuu-do … 4-minimal/
I probably should have tested it a bit more, but it seems very nice, lol!
Added a tiny bit to it, lxrandr, the same additional alsa packages I added to the maximal, and I threw in bluetooth firmware because the package is pretty small and I really want stuff to work for folks out-of-the-box if at all possible.
Plus all the new changes I made to the maximal as far as menu, conky, icons etc.
Got a reply from the Osmo dev on my question, he was trying to clarify what I wanted and so I did, hope that feature I requested is feasible! Osmo isn't in the mini, and for right now in the maximal I have it set to startup minimized to tray when you left-click the clock (it's actually a switch like I do with conky, a second left-click shuts it down).
The way I want it to run is autostarted but minimized to invisibility, then i'll write a little minimize/maximize switch and attach it to the clock's left-click, so it works just like gsimplecal does in the mini.