The problem is mostly with pup-volume-monitor, though thunar has its share too (try to see what is in your /proc folder)Scooby wrote: What was the problem with Thunar anyway, never understood it?
ArchPup - First Puppy with pacman for installing apps
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Here is one good news!
I've managed to patch viewnior to allow setting wallpaper in ArchPup. Wallpaper is set with
my old script wallpaper.sh: actually using small application imlibsetroot in background.
No need to mention - this will replace gpicview for next version.
Package is bellow, remove false gz and install with pacman -U pkgname. What do you think?
I've managed to patch viewnior to allow setting wallpaper in ArchPup. Wallpaper is set with
my old script wallpaper.sh: actually using small application imlibsetroot in background.
No need to mention - this will replace gpicview for next version.
Package is bellow, remove false gz and install with pacman -U pkgname. What do you think?
- Attachments
-
- viewnior-1.3-1-i686.pkg.tar.xz.gz
- (61.17 KiB) Downloaded 262 times
What does pup-volume-monitor do, detect usb when you plugg it?mavrothal wrote: The problem is mostly with pup-volume-monitor, though thunar has its share too (try to see what is in your /proc folder)
I dont know what you mean check /proc. Upon check I saw nothing special?
simargl
I tried viewnior. Set a background, it worked. Wanted to set it back. I opened 3601.jpg
in /usr/share/backgrounds folder, tried to set it as backround, failed. furthermore when I checked that folder both 3601.jpg and default.jpg was gone?
Wot happened?
Yes. If you install thunar volman instead is much bigger with all the dependencies.Scooby wrote:What does pup-volume-monitor do, detect usb when you plugg it?
Do you see anything? Mine shows an empty directory. Apparently a known bug of thunar 1.6Scooby wrote:I dont know what you mean check /proc. Upon check I saw nothing special?
I can confirm that.Scooby wrote:Set a background, it worked. Wanted to set it back. I opened 3601.jpg
in /usr/share/backgrounds folder, tried to set it as backround, failed. furthermore when I checked that folder both 3601.jpg and default.jpg was gone?
Simargl, did you test it in 12.12.2 or in the upcoming 132?
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Hi Scooby, script wallpaper.sh allows only 2 files in /usr/share/backgrounds: one is default.jpg that is used as wallpaper and second
$RANDOM.jpg, that is wallpaper used before you set new one.I thought it would be bad to for example, if someone change 20
wallpapers, store them all in /usr/share/backgrounds and use some 10 MB in save file. So as images folder use anything except /usr/share/backgrounds.
$RANDOM.jpg, that is wallpaper used before you set new one.I thought it would be bad to for example, if someone change 20
wallpapers, store them all in /usr/share/backgrounds and use some 10 MB in save file. So as images folder use anything except /usr/share/backgrounds.
Here is my patch to wallpaper.shsimargl wrote:Maybe this script needs some polishing .
Code: Select all
--- a/usr/sbin/wallpaper.sh 2013-01-07 23:30:06.000000000 +0200
+++ b/usr/sbin/wallpaper.sh 2013-01-30 19:29:26.000000000 +0200
@@ -2,13 +2,11 @@
wallpaper="$1"
[ ! $wallpaper ] && wallpaper=$(yad --window-icon="image-x-generic" --width 800 --height 600 --file --title="Select the image file")
-old=$RANDOM
walldir="/usr/share/backgrounds"
set_wallpaper() {
- for i in $(ls $walldir --hide default.jpg); do rm $walldir/$i; done
- if [ -f "$walldir/default.jpg" ]; then mv "$walldir/default.jpg" "$walldir/$old.jpg"; fi
- cp $wallpaper $walldir/default.jpg
+ if [ -f "$walldir/default.jpg" ] && [ ! -L "$walldir/default.jpg" ]; then mv "$walldir/default.jpg" "$walldir/default_original.jpg"; fi
+ ln -sf $wallpaper $walldir/default.jpg
imlibsetroot -p c -s f $walldir/default.jpg
if [ "$(pidof conky)" ]; then
killall conky; conky
With this viewnior works fine as background setter
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
612Kb VS ~60 Kb pup-volume-monitormavrothal wrote: Yes. If you install thunar volman instead is much bigger with all the dependencies.
yeah a bit different. Maybe I can tolerate it, have to think about that
somehow spacefm doesnt sit well with me
I think I can live without automatic detection of plugging of USB
I mounted a USB m
anually but it didnt show after reload in thunar?
Why is this?
Mine shows? Maybe cause I fixed dbus when questing for battery monmavrothal wrote:
Do you see anything? Mine shows an empty directory. Apparently a known bug of thunar 1.6
- Attachments
-
- thunar.jpg
- thunar image
- (170.9 KiB) Downloaded 382 times
Great marvothal, simple and perfect. No need to copy anything just symlink image, thanks once again.
Scooby, for me thunar showed USB drive only if it's plugged in on boot, but when I remove it, it would still
be shown in devices panel. Also newly inserted USB would never show.
I reported problem to pup-volume-monitor developer, but he never responded, so we must switch to other file manager
with proper USB drives handling.
Spacefm is very good for me, and it has some functions that are missing in Thunar like "Compress folder to archive"
Scooby, for me thunar showed USB drive only if it's plugged in on boot, but when I remove it, it would still
be shown in devices panel. Also newly inserted USB would never show.
I reported problem to pup-volume-monitor developer, but he never responded, so we must switch to other file manager
with proper USB drives handling.
Spacefm is very good for me, and it has some functions that are missing in Thunar like "Compress folder to archive"
Not really! I could break it by trying to link to itself.simargl wrote: simple and perfect.
Here is a better patch that will prevent that.
Code: Select all
--- a/usr/sbin/wallpaper.sh 2013-01-07 23:30:06.000000000 +0200
+++ b/usr/sbin/wallpaper.sh 2013-01-30 20:18:11.000000000 +0200
@@ -2,16 +2,16 @@
wallpaper="$1"
[ ! $wallpaper ] && wallpaper=$(yad --window-icon="image-x-generic" --width 800 --height 600 --file --title="Select the image file")
-old=$RANDOM
walldir="/usr/share/backgrounds"
+[ "`basename $wallpaper`" = "default.jpg" ] && exit 0
+
set_wallpaper() {
- for i in $(ls $walldir --hide default.jpg); do rm $walldir/$i; done
- if [ -f "$walldir/default.jpg" ]; then mv "$walldir/default.jpg" "$walldir/$old.jpg"; fi
- cp $wallpaper $walldir/default.jpg
+ if [ -f "$walldir/default.jpg" ] && [ ! -L "$walldir/default.jpg" ]; then mv "$walldir/default.jpg" "$walldir/default_original.jpg"; fi
+ ln -sf $wallpaper $walldir/default.jpg
imlibsetroot -p c -s f $walldir/default.jpg
if [ "$(pidof conky)" ]; then
- killall conky; conky
+ killall conky; conky &
fi
}
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
I mounted a usb from commandline and left computer for half an hoursimargl wrote: Scooby, for me thunar showed USB drive only if it's plugged in on boot, but when I remove it, it would still
be shown in devices panel. Also newly inserted USB would never show.
When I came back it showed on thunar?
Spacefm is fine with original. I'm saying I probably could live with Thunars shortcomings.
Did you do something special on install or could I pacaman it on 132?
Applied this new patch, also I remembered something more. What if someone mount a partition, then
set wallpaper located on that partition. On reboot default.jpg symbolic link would be broken. Should we think of that case?
@Scooby: You can install thunar using pacman, no problem. Actually I was patching thunar to
1.hide root warnings and 2.allow directly removing files without sending them to trash.
Found that patch in thunar-notrash in AUR.
set wallpaper located on that partition. On reboot default.jpg symbolic link would be broken. Should we think of that case?
@Scooby: You can install thunar using pacman, no problem. Actually I was patching thunar to
1.hide root warnings and 2.allow directly removing files without sending them to trash.
Found that patch in thunar-notrash in AUR.
People can do strange things...simargl wrote:Applied this new patch, also I remembered something more. What if someone mount a partition, then
set wallpaper located on that partition. On reboot default.jpg symbolic link would be broken. Should we think of that case?
I guess /root/.start can be changed to something like this
Code: Select all
if [ -f /usr/share/backgrounds/default.jpg ] ; then
imlibsetroot -p c -s f /usr/share/backgrounds/default.jpg &
else
imlibsetroot -p c -s f /usr/share/backgrounds/default_original.jpg &
fi
Code: Select all
imlibsetroot -p c -s f /usr/share/backgrounds/default.jpg ; [ $? -ne 0 ] && imlibsetroot -p c -s f /initrd/pup_a/usr/share/backgrounds/default.jpg
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
more dbus errors of same variety but different application
installed udiskie
when run get error (same as with batti)
bus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper:
I did som reaearch and
did
chmod +x /usr/lib/dbus-1.0/dbus-daemon-launch-helper
and then get a step further with error
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 127
Seems like there is a general problem with dbus?
installed udiskie
when run get error (same as with batti)
bus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program /usr/lib/dbus-1.0/dbus-daemon-launch-helper:
I did som reaearch and
did
chmod +x /usr/lib/dbus-1.0/dbus-daemon-launch-helper
and then get a step further with error
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 127
Seems like there is a general problem with dbus?
scooby,
if you keep messing around with the udiskie/gvfs...it'll work. it's what i'm using. i used on the dbus-helper file "chmod +us" and restarting dbus-daemon and restarting x...and soon u'll see the combination and order that works. u also have to create the folder /run/media/root. that's where the drives get's mounted.
i like that volume monitor better because i like thunar better. Also because i use gvfs-smb...to browse the samba shares from my other computers. using thunar's intergrated "Network" icon.
another command i was using to check for errors is:
I'll try to find the exact order and let you know what it is, if i can find it before you do.
if you keep messing around with the udiskie/gvfs...it'll work. it's what i'm using. i used on the dbus-helper file "chmod +us" and restarting dbus-daemon and restarting x...and soon u'll see the combination and order that works. u also have to create the folder /run/media/root. that's where the drives get's mounted.
i like that volume monitor better because i like thunar better. Also because i use gvfs-smb...to browse the samba shares from my other computers. using thunar's intergrated "Network" icon.
another command i was using to check for errors is:
Code: Select all
udisks --enumerate
wrong post
Last edited by mavrothal on Wed 13 Feb 2013, 20:02, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
From what I see, not so sure...stifiling wrote:will you be doing the frequent updates like you were before?
At least not here.
Hopefully is about something/someone else.
- Attachments
-
- simargl.jpg
- (79.64 KiB) Downloaded 765 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==