Posts: 1,028
SamK
Joined: 21 Aug 2011
#61
Re: Default Desktop Wallpaper


I am unsure whether this has been reported previously. I cannot find a post about it.


The default wallpaper is partly obscured by the taskbar (panel) presented in the default desktop.
Poor presentation of antiX via default desktop wallpaper
Poor presentation of antiX via default desktop wallpaper
This looks unpolished and promotes an impression of lack of care.

Suggestions
  • Rework default desktop wallpaper image file
  • Default desktop file avoid geometrical shapes that obviously distort (circle/globe)
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#62
Using XFburn on the T23 to burn a live iso cd. Errors out but but burned the cd just fine.

Image

After closing error message.

Image
rokytnji
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#63
32 gig USB pendrive plugged into pcmcia usb 2.0 cardbus in IBM T23 does not automount.
I can see it with fdisk -l

Code: Select all

$ sudo fdisk -l
[sudo] password for harry: 

Disk /dev/sda: 80 GB, 80023749120 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1               1        1045     8393931   83  Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sda3            1045        3395    18876375   83  Linux
Warning: Partition 3 does not end on cylinder boundary.
/dev/sda4            3395        9469    48789405    5  Extended
Warning: Partition 4 does not end on cylinder boundary.
/dev/sda5            3395        9469    48789405   83  Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sda2            9469        9730     2096482   82  Linux swap
Warning: Partition 2 does not end on cylinder boundary.

Disk /dev/sdb: 32 GB, 32169070080 bytes
255 heads, 63 sectors/track, 3911 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdb1               1        3912    31423108    c  FAT32 LBA
Warning: Partition 1 does not end on cylinder boundary.
So to bypass this. I 1st did in root terminal

Code: Select all

mkdir /media/sdb1
to make my folder sdb1 in /media

Tried as root in terminal

Code: Select all

mount /dev/sdb1 /media/sdb1
but that only mounted the pen drive as root and I could not transfer files from ~/home/harry to it because of root permissions.

So I did as root in terminal

Code: Select all

umount /dev/sdb1 /media/sdb1
to unmount the pendrive. Then went into antixcc>drives>mount connected drives.
Image

That mounted the pendrive OK and I could insert what I wanted as user now.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#64
rokytnji wrote:32 gig USB pendrive plugged into pcmcia usb 2.0 cardbus in IBM T23 does not automount.
I can see it with fdisk -l
spacefm daemon is not running all the time...only if you have the spacefm desktop turned on or if you launch it manually. I bet your stick would automount with the daemon running.

that's the sucky part of the rox desktop as it stands...usb drives not only don't mount, but they don't even get a folder to mount to. its all manual. There is probably a way to do this with a udev rule, but I'm not sure how at the moment.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#65
spacefm daemon is not running all the time...only if you have the spacefm desktop turned on or if you launch it manually. I bet your stick would automount with the daemon running.
Will give that a try after a reboot D_O.
anticapitalista
Site Admin
Joined: 11 Sep 2007
#66
To get automount of usb sticks in rox desktop, just add spacefm -d & to either the startup files you use for each wm, or in etc/desktop-session/startup
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#67
anticapitalista wrote:To get automount of usb sticks in rox desktop, just add spacefm -d & to either the startup files you use for each wm, or in etc/desktop-session/startup
the will open in spacefm but you can configure (in the spacefm preferences) to open in rox-filer if you want.

one other cool trick...udisks --mount /dev/devicename will autocreate the mount point in /media based on device label and then by uuid. this can be run as a regular user.

udisks --unmount /dev/devicename will unmount and remove the directory.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#68
Ok. Will try those also. Just what I found so far. I can mount /dev/sdb1 via pcmcia usb port in l/h section of spacefm where it shows. It will take files from home as a user. However. Rox file manager /media/sdb1 stays empty and unmountusb.sh sees no mounted drive to unmount . Just info boys. I guess you you need a ancient laptop, a pcmcia usb 2 port cardbus,
and a pendrive to understand what I am talking about.

The pendrive has a lot of hoops to jump through like"yenta" and such before making it into the file managers.
I am just mentioning this when new users with cave man gear start posting threads like these.
I hope I remember. But in case I don't. I hope you guys remember.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#69
@ D_O

Are you talking about editing udevil.conf?
Posts: 1,062
Dave
Joined: 20 Jan 2010
#70
dolphin_oracle wrote:
anticapitalista wrote:To get automount of usb sticks in rox desktop, just add spacefm -d & to either the startup files you use for each wm, or in etc/desktop-session/startup
the will open in spacefm but you can configure (in the spacefm preferences) to open in rox-filer if you want.

one other cool trick...udisks --mount /dev/devicename will autocreate the mount point in /media based on device label and then by uuid. this can be run as a regular user.

udisks --unmount /dev/devicename will unmount and remove the directory.

Take that command and put it in a udev rule for block devices. That will keep the depends only to udisks and not entirely spacefm. Iirc there is a udev rules there for build fstab for the live system auto mounting. If that is the case copy that rule and change out the command to udisks which I think would be the easiest
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#71
rokytnji wrote:@ D_O

Are you talking about editing udevil.conf?

no, udevil is a mounting app. the spacefm configuration is in it settings somewhere. I'll have to find it. Somewhere on the forum I posted a how to on changing the file manager.

***edit*** check out this vid ("Spacefm tricks) and the text under it.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#72
How about this in etc/udev/rules.d/90-usb-semiauto.rules (might need a logout or reboot)

KERNEL!="sd*[1-9]*", GOTO="exit"

# Import FS infos
SUBSYSTEMS=="usb", IMPORT{program}="/sbin/blkid -o udev -p %N"

# Get a label if present, otherwise specify one
SUBSYSTEMS=="usb", ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
SUBSYSTEMS=="usb", ENV{ID_FS_LABEL}=="", ENV{dir_name}="usb-%k"

# Global mount options
SUBSYSTEMS=="usb", ACTION=="add", ENV{pmount_options}="--noatime"

# File system specific mount options to avoid auto probing
SUBSYSTEMS=="usb", ACTION=="add", ENV{ID_FS_TYPE}=="ntfs|vfat", ENV{pmount_options}="%E{pmount_options} --umask 007 --charset utf8"
SUBSYSTEMS=="usb", ACTION=="add", ENV{ID_FS_TYPE}=="ntfs", ENV{pmount_options}="%E{pmount_options} -t ntfs-3g"
SUBSYSTEMS=="usb", ACTION=="add", ENV{ID_FS_TYPE}=="vfat", ENV{pmount_options}="%E{pmount_options} -t vfat"
SUBSYSTEMS=="usb", ACTION=="add", ENV{ID_FS_TYPE}=="ext2", ENV{pmount_options}="%E{pmount_options} -t ext2"
SUBSYSTEMS=="usb", ACTION=="add", ENV{ID_FS_TYPE}=="ext3", ENV{pmount_options}="%E{pmount_options} -t ext3"
SUBSYSTEMS=="usb", ACTION=="add", ENV{ID_FS_TYPE}=="ext4", ENV{pmount_options}="%E{pmount_options} -t ext4"

# Mount the device
SUBSYSTEMS=="usb", ACTION=="add", RUN+="/bin/su nn -c '/usr/bin/pmount $env{pmount_options} /dev/%k /media/%E{dir_name}'"

# Clean up after removal
SUBSYSTEMS=="usb", ACTION=="remove", ENV{dir_name}!="", RUN+="/usr/bin/pumount /dev/%k"

# Exit
LABEL="exit"
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#73
Dave wrote: Take that command and put it in a udev rule for block devices. That will keep the depends only to udisks and not entirely spacefm. Iirc there is a udev rules there for build fstab for the live system auto mounting. If that is the case copy that rule and change out the command to udisks which I think would be the easiest
wow, that was bizarrely easy.

here is / etc/udev/rules.d/11-usb-automount.rules

Code: Select all

ACTION=="add",KERNEL=="sd??" RUN+="/usr/bin/udisks --mount /dev/%k"
my two partition thumb drive now automounts both partitions in /media. one by label and one by uuid (one of the partitions doens't have a label, so makes a good test).

***edit*** never mind...only worked on first insertion. that longer one anti posted probably takes care of stuff like that.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#74
d_0 if you use pmount instead in your version?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#75
I don't know why I removed that udev rule from antiX.