Author Topic: LXautostart  (Read 3329 times)

uncleV

  • Guest
Re: LXautostart
« Reply #45 on: September 17, 2010, 11:42:44 AM »
I'm also kind of wondering about the choice of Thunar, since PCManFM is the default file manager in LXDE.

parnote
Imagine someone would want it.
PCManFM can't do any file search, for instance. Only because of it I installed Gnome commander in my LXDE.

Offline parnote

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4436
  • The truth is out there ... PCLinuxOS!
Re: LXautostart
« Reply #46 on: September 17, 2010, 11:47:26 AM »
I'm also kind of wondering about the choice of Thunar, since PCManFM is the default file manager in LXDE.

parnote
Imagine someone would want it.
PCManFM can't do any file search, for instance. Only because of it I installed Gnome commander in my LXDE.

If we're going to let our imaginations run wild here, then we might possibly want to list every one of the 12,000+ applications in the PCLinuxOS repository ... imagining that maybe someone would want it.

My other method, of using the file selection dialog, IMHO, offers maximum flexibility for all the different autostart configurations there are likely to be.

parnote

EDIT (further explanation): There are bound to be as many ideas on what to autostart as there are users. I am aware that PCManFM fails miserably with file searches. But let's not forget that LXDE also comes with SearchMonkey already pre-installed ... I presume that's to overcome PCManFM's file search shortcomings.

If someone is savvy enough to properly install Thunar on their copy of LXDE, along with all of its Xfce dependencies, then they ought to also be savvy enough to be able to pick thunar out of a list of applications that are installed in /usr/bin.

parnote
« Last Edit: September 17, 2010, 11:54:38 AM by parnote »
PCLinuxOS Magazine Chief Editor

Linux Registered User #485009

In a world without walls, who needs Windows?

PCLinuxOS Wiki: Contribute tips/tricks/how-to's!

uncleV

  • Guest
Re: LXautostart
« Reply #47 on: September 17, 2010, 11:49:02 AM »
Leiche?

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: LXautostart
« Reply #48 on: September 17, 2010, 11:56:06 AM »

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: LXautostart
« Reply #49 on: September 18, 2010, 05:16:28 AM »
Leiche?
What?
Sorry but what is your issues?

Would you like, to change PCManFM to Thunar, with lxautostart, this need more configuration as only to type thunar in the autostart file.

@Neal
Had you not wrote the way to change PCManFM to Thunar?

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXautostart
« Reply #50 on: September 18, 2010, 05:25:42 AM »
Leiche?
What?
Sorry but what is your issues?

Would you like, to change PCManFM to Thunar, with lxautostart, this need more configuration as only to type thunar in the autostart file.

@Neal
Had you not wrote the way to change PCManFM to Thunar?

 ??? ??? ??? No.

uncleV

  • Guest
Re: LXautostart
« Reply #51 on: September 18, 2010, 05:53:13 AM »
Leiche?
What?
Sorry but what is your issues?

Would you like, to change PCManFM to Thunar, with lxautostart, this need more configuration as only to type thunar in the autostart file.

@Neal
Had you not wrote the way to change PCManFM to Thunar?

No issue here, Leiche. I just don't need autostart in my LXDE but tried lxautostart in order to help.
What I asked with my "Leiche?" was do you thing lxautostart needs improvements we were discussing.
If "yes" I could try to make a list of LXDE applications to be included.
If "no" - then no. :D

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: LXautostart
« Reply #52 on: September 18, 2010, 06:46:18 AM »
Yes  ;D

Make a list, i will see how it added  ;)

uncleV

  • Guest
Re: LXautostart
« Reply #53 on: September 18, 2010, 06:56:08 AM »
I will do it on Monday because my LXDE machine is at work.
I plan to choose the more frequent used applications for LXDE.

Another aproach is the script to read the installed applications on the machine and to cat from the *.desktop files the lines containing Name and Exec and put them in a list.
?

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: LXautostart
« Reply #54 on: September 18, 2010, 07:08:18 AM »
That will be a big list...
Code: [Select]
find /usr/share/applications -name "*.desktop" | zenity --list --width=800 --height=400 --text $"Select a starter\n<b>Notice:</b> Close <i>PCLOS</i> LX-Autostarter with the cancel button" --title $"TEST" --column $"Starter.desktop"  
Maybe it's help  ;)

EDIT:
removed "!" out the command, because
Quote from: terminal output
> find /usr/share/applications -name "*.desktop" | zenity --list --width=800 --height=400 --text $"Select a starter\nNotice: Close PCLOS LX-Autostarter with the cancel button!" --title $"TEST" --column $"Starter.desktop!"
bash: !": event not found

 :)

« Last Edit: September 18, 2010, 07:14:37 AM by Leiche »

uncleV

  • Guest
Re: LXautostart
« Reply #55 on: September 18, 2010, 07:33:35 AM »
Another aproach is the script to read the installed applications on the machine
Well.. "installed by the user action". May be there's a list (in Synaptic?) what was installed by the user decision?

Online daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3730
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: LXautostart
« Reply #56 on: September 18, 2010, 07:40:54 AM »
This is, was is installed by all user.
Only by one user, will not gone, because all applications is store in /usr/share/applications.


Offline parnote

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4436
  • The truth is out there ... PCLinuxOS!
Re: LXautostart
« Reply #57 on: September 18, 2010, 08:21:40 PM »
That will be a big list...
Code: [Select]
find /usr/share/applications -name "*.desktop" | zenity --list --width=800 --height=400 --text $"Select a starter\n<b>Notice:</b> Close <i>PCLOS</i> LX-Autostarter with the cancel button" --title $"TEST" --column $"Starter.desktop"  
Maybe it's help  ;)

EDIT:
removed "!" out the command, because
Quote from: terminal output
> find /usr/share/applications -name "*.desktop" | zenity --list --width=800 --height=400 --text $"Select a starter\nNotice: Close PCLOS LX-Autostarter with the cancel button!" --title $"TEST" --column $"Starter.desktop!"
bash: !": event not found

 :)





I like that, Leiche! It makes it easier for users who may not know the name of an application or where their apps are stored to add applications to their LXAutostart.

parnote
PCLinuxOS Magazine Chief Editor

Linux Registered User #485009

In a world without walls, who needs Windows?

PCLinuxOS Wiki: Contribute tips/tricks/how-to's!

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: LXautostart
« Reply #58 on: September 19, 2010, 12:53:52 AM »
That will be a big list...
Code: [Select]
find /usr/share/applications -name "*.desktop" | zenity --list --width=800 --height=400 --text $"Select a starter\n<b>Notice:</b> Close <i>PCLOS</i> LX-Autostarter with the cancel button" --title $"TEST" --column $"Starter.desktop"  
Maybe it's help  ;)

EDIT:
removed "!" out the command, because
Quote from: terminal output
> find /usr/share/applications -name "*.desktop" | zenity --list --width=800 --height=400 --text $"Select a starter\nNotice: Close PCLOS LX-Autostarter with the cancel button!" --title $"TEST" --column $"Starter.desktop!"
bash: !": event not found

 :)





I like that, Leiche! It makes it easier for users who may not know the name of an application or where their apps are stored to add applications to their LXAutostart.

parnote


Paul has an idea here, Leiche. A good one, I think.

uncleV

  • Guest
Re: LXautostart
« Reply #59 on: September 19, 2010, 02:22:25 AM »
A filter could be added for more convenience. Here I added grep okular | after find command.:

Code: [Select]
find /usr/share/applications -name "*.desktop" | grep okular | zenity --list --width=800 --height=400 --text $"Select a starter\n<b>Notice:</b> Close <i>PCLOS</i> LX-Autostarter with the cancel button" --title $"TEST" --column $"Starter.desktop"
In the window "Select a starter" a search tool appears when you start typing letters. But it doesn't find the string.