Author Topic: PCLXDE 2010  (Read 3956 times)

Offline jmirles

  • Full Member
  • ***
  • Posts: 66
PCLXDE 2010
« on: January 29, 2010, 07:47:25 AM »
How soon after PCLINUXOS 2010 do you think it will be before the LXDE edition comes out? Will there be public betas?

Also would it be possible to have the HALEVT script included? It sounds like the perfect answer to automounting MP3 palyers and Digital cameras.

I am fast falling in love with PC LXDE! It is simple but very elegant! With halevt added in, I was able to replace KDE3.

Offline ka9yhd

  • Hero Member
  • *****
  • Posts: 1318
Re: PCLXDE 2010
« Reply #1 on: February 01, 2010, 11:14:35 PM »
Hello and welcome.

Sorry to sound like a broken record, but here goes  ;D.................... when it is ready.

I am sure Neal is paying close attention to what happens with LXDE from their developers and any updates to LXDE will be brought into PClos-LXDE when they are ready.
Intelligence is knowing that a tomato is a fruit.
However, wisdom is knowing not to put a tomato in a fruit salad.

Offline jmirles

  • Full Member
  • ***
  • Posts: 66
Re: PCLXDE 2010
« Reply #2 on: February 02, 2010, 07:12:57 AM »
Good Morning (well it is morning here!)

I figured as much. Still I was hoping to hint on including HALEVT.

Hint, hint..

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: PCLXDE 2010
« Reply #3 on: February 04, 2010, 05:13:48 PM »
Nice feature this halevt,

it looks like the entries in the xml file are generic, I would assume a rpm could be built with all the information in the sticky post on halevt - I'll gladly take a look at it and build it if necessary,

cheers,
MBantz

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: PCLXDE 2010
« Reply #4 on: February 04, 2010, 06:03:18 PM »
PCLXDE-2010 will follow PCLinuxOS-2010 as closely as is possible.

Patience. Okay, folks?

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: PCLXDE 2010
« Reply #5 on: February 05, 2010, 04:07:15 AM »
Oh, not to rush things, by all means  :)

On the other hand, let me know if I can help out with packaging for LXDE (having thoughts about adding pkgutils to LXDE if you're interested :-)

cheers,
MBantz

Offline jmirles

  • Full Member
  • ***
  • Posts: 66
Re: PCLXDE 2010
« Reply #6 on: February 05, 2010, 08:12:05 AM »
Neal

Didn't mean to sound impatient. I am excited that an alternative to KDE4/Gnome is available, that's all. I know you will have it ready when it is ready, as ka9yhd stated.

MBantz, thanks for offering to help out. I wish I knew more of RPM packaging. Always been a Debian/Slackware guy! I hope HALEVT and pkgutils are included in the next version.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: PCLXDE 2010
« Reply #7 on: February 05, 2010, 10:06:11 AM »
Oh, not to rush things, by all means  :)

On the other hand, let me know if I can help out with packaging for LXDE (having thoughts about adding pkgutils to LXDE if you're interested :-)

cheers,
MBantz

Thanks, Martin. Go ahead and do pkgutils for LXDE, if you will and halevt, too.


Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: PCLXDE 2010
« Reply #8 on: February 05, 2010, 10:14:30 AM »
superduper,

stay tuned for packages coming up :-)

Jmirles, I hope you're in for helping -me- testing this stuff AND I can give you tips on packaging if you want ;-)

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: PCLXDE 2010
« Reply #9 on: February 06, 2010, 06:27:23 PM »
Neal,

I've just updated pkgutils to include servicemenus for Thunar - works quite well, and I made sure it can run in both gnome and kde! Thunar does update the file-list properly and feel snappier (way snappier) - in Dolphin I constantly have to refresh the filelist with F5. I think I stick to this build instead of Dolphin (why these fish names...;-) in KDE. I wonder when someone create a Whale file manager :-)

I also prepared the XML commandline inserts in the specfile to include translations, and translated it to danish.

I looked at PCMan, they probably have service menus, but no documentation - so I choose Thunar,

uploaded to Dropbox (srpm) - I will get full use of it when I create a build environment with LXDE,

moving on to the other package, in a little while, this was teeeni difficult to create :-)

cheers,
MBantz

Offline macemm

  • PCLinuxOS Tester
  • Full Member
  • *******
  • Posts: 215
Re: PCLXDE 2010
« Reply #10 on: February 06, 2010, 10:17:04 PM »
I think I stick to this build instead of Dolphin (why these fish names...;-) in KDE. I wonder when someone create a Whale file manager :-)


Whales and Dolphins are mammals - although Thunar could be pronounced like Tuna. Fishy indeed.

Yours faithfully,

Board Pedant
Dell Inspiron 560;
IntelĀ® PentiumĀ® Dual Core E5500(2.80GHz,800MHz,2MB);
4GB DDR3;
Nvidia GeForce 310;
ST2320L 23-inch Full HD WLED Widescreen Monitor (VGA, DVI-D and HDMI)
HP DeskJet F2200 series
3.2.18-pclos2.bfs

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: PCLXDE 2010
« Reply #11 on: February 07, 2010, 05:29:37 AM »
Well thanks macemm :-) always nice to be accurate :-)

I just tried to find out why Thunar is named as it is, their logos are Viking and stone hammer (looks like Thor's hammer) motives, no fish there :-) but could not find info on their site.

I'm sure though that if I ever is going to write a filemanager I'll call it Whale ;-)

cheers,
MBantz

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: PCLXDE 2010
« Reply #12 on: February 07, 2010, 06:03:40 AM »
Thank you, Martin. :D

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: PCLXDE 2010
« Reply #13 on: February 07, 2010, 09:39:35 AM »
Youre welcome Neal, glad to give efforts back to PCLinux :-)

I've just built the other rpm, named it: lxde-halevt-additions and dropped the srpm in Tex's toybox (a.k.a. dropox:-),

I've added the necessary dependencies to the programs mentioned in the xml file - as well as icon theme and libxml2.

I have -not- tampered with the users fstab - I assume the defaults from a new install. I'm also not sure what the user need the libxml-devel files for as stated in the sticky post on halevt - should not be needed and I have not included it.

To let jmirles be able to test it as well, I've put it in my Dropbox and the -test- rpm can be found at:

http://dl.dropbox.com/u/2546717/lxde-halevt-additions-0.1-1pclos2010.i586.rpm

Jmirles, to let you know how this is built - we use a SPEC file to handle compilation and packaging. Here there is no compilation, only textfiles and I've included it here for you to study. If you ever want to try out packaging just ask away :-)

If any issues/wishes arises with this package please start a new thread in this forum or PM me directly,

cheers
MBantz

Code: [Select]
%define name lxde-halevt-additions
%define version 0.1
%define release %mkrel 1

Name: %{name}
Version:        %{version}
Release:        %{release}
Summary: To make LXDE behave like KDE or Gnome with auto events with plugged-in devices
Group: File tools
License: GPL
URL: http://www.pclinuxos.com/forum/index.php/topic,66775.0.html
Requires: halevt libxml2_2 libnotify1 notification-daemon
#Need same requires as in the XML file
Requires: pcmanfm xmms libxine1 gnomebaker gtkam tango-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
To make LXDE behave like KDE or Gnome (auto events with plugged-in devices like digicams, dvb-t-adapters,
usb-devices or inserted CD/DVD with Audio, Video, datas) you can use this package

%install
rm -rf $RPM_BUILD_ROOT

%__mkdir_p %buildroot%{_sysconfdir}/halevt
cat >> %buildroot%{_sysconfdir}/halevt/halevt.xml << EOF
<?xml version="1.0" encoding="UTF-8"?>
<halevt:Configuration version="0.1" xmlns:halevt="http://www.environnement.ens.fr/perso/dumas/halevt.html">

<halevt:Device match="hal.volume.disc.has_data = true">
<halevt:Insertion exec="pcmanfm"/>
</halevt:Device>

<halevt:Device match="hal.volume.disc.has_audio = true">
<halevt:Insertion exec="xmms /mnt/cdrom"/>
<halevt:Removal exec="killall xmms"/>
</halevt:Device>

<halevt:Device match="hal.volume.disc.has_video = true">
<halevt:Insertion exec="xine dvd://"/>
<halevt:Removal exec="killall xine"/>
</halevt:Device>

<halevt:Device match="hal.volume.disc.is_videodvd = true">
<halevt:Insertion exec="xine dvd://"/>
<halevt:Removal exec="killall xine"/>
</halevt:Device>

<halevt:Device match="hal.info.udi = /org/freedesktop/Hal/devices/volume_empty_cd_r">
<halevt:Insertion exec="gnomebaker"/>
</halevt:Device>

<halevt:Device match="hal.info.udi = /org/freedesktop/Hal/devices/volume_empty_cd_rw">
<halevt:Insertion exec="gnomebaker"/>
</halevt:Device>

<halevt:Device match="hal.info.udi = /org/freedesktop/Hal/devices/volume_empty_dvd">
<halevt:Insertion exec="gnomebaker"/>
</halevt:Device>

<halevt:Device match="hal.info.category = storage &amp; hal.storage.bus = usb">
            <halevt:Insertion exec="pcmanfm"/>
          </halevt:Device>

<halevt:Device match="hal.info.category = camera">
            <halevt:Insertion exec="gtkam"/>
          </halevt:Device>

<halevt:Device match="hal.info.udi = /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_AC">
            <halevt:Property name="hal.ac_adapter.present">
            <halevt:Action value="true" exec="notify-send -t 5000 -i /usr/share/icons/Tango/scalable/status/info.svg 'The AC adapter is connected now ...'"/>
           </halevt:Property>
          </halevt:Device>

<halevt:Device match="hal.info.udi = /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_AC">
            <halevt:Property name="hal.ac_adapter.present">
            <halevt:Action value="false" exec="notify-send -t 5000 -i /usr/share/icons/Tango/scalable/status/info.svg 'The AC adapter was removed ...'"/>
           </halevt:Property>
          </halevt:Device>

</halevt:Configuration>
EOF


#TODO?:
#Make sure to have a mountpoint /mnt/cdrom, if you want to play AudioCDS with xmms and my halevt.xml!
#Remove all lines concerning CD/DVD/CDRW/DVDRW devices in your /etc/fstab, so that pcmanfm is allowed to mount CDs/DVDs with datas and or pictures using hal!


%clean
rm -rf $RPM_BUILD_ROOT

%post
echo @halevt >> %{_sysconfdir}/xdg/lxsession/LXDE/autostart


%files
%{_sysconfdir}/halevt/halevt.xml

%changelog
* Sun Feb 07 2010 MBantz <martin dot bantz at gmail dot com> 0.1-1
- Initial build

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: PCLXDE 2010
« Reply #14 on: February 07, 2010, 05:41:40 PM »
oooh, couldn't help myself - I have added the option to tar.bz2 a folder with stripping svn info to right-click servicemenu (very handy when you're updating using subversion), and an option to Build All with full log,

cheers,
MBantz

Neal,

I've just updated pkgutils to include servicemenus for Thunar - works quite well, and I made sure it can run in both gnome and kde! Thunar does update the file-list properly and feel snappier (way snappier) - in Dolphin I constantly have to refresh the filelist with F5. I think I stick to this build instead of Dolphin (why these fish names...;-) in KDE. I wonder when someone create a Whale file manager :-)

I also prepared the XML commandline inserts in the specfile to include translations, and translated it to danish.

I looked at PCMan, they probably have service menus, but no documentation - so I choose Thunar,

uploaded to Dropbox (srpm) - I will get full use of it when I create a build environment with LXDE,

moving on to the other package, in a little while, this was teeeni difficult to create :-)

cheers,
MBantz