Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-08-01 18:15:36

himanshu.parmar13
Member
Registered: 2019-08-01
Posts: 2

XFCE configuration by commands

I want to set up pretty desktop experience using commands on terminal, not by UI.

I don't users to go through any pain for setting up desktop for their need.

I am looking for commands help for:

1) adding some shortcuts on desktop to launch necessary apps

2) launch some apps when user is connected (new session is initiated)

3) improve resolution of desktop

Offline

#2 2019-08-01 18:42:37

ctac
Member
Registered: 2017-05-08
Posts: 57

Re: XFCE configuration by commands

Hi and wellcome.
Perhaps, you can tell what you try ?

Offline

#3 2019-08-02 08:06:26

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: XFCE configuration by commands

I don't do any of this from the CLI, but my understanding is that these are the usual ways:

himanshu.parmar13 wrote:

1) adding some shortcuts on desktop to launch necessary apps

You have to make a link to the desktop from the existing desktop file [existing ones are in /usr/share/applications (global), and ~/.local/share/applications (local)] --or create a new desktop file (and make it executable), if it doesn't exist.

More info in this answer: https://askubuntu.com/a/1014261

himanshu.parmar13 wrote:

2) launch some apps when user is connected (new session is initiated)

Similar to the previous, you have to link or place the desired desktop files in /etc/xdg/autostart (global) or ~/.config/autostart (local).

Example: http://tillamookrage.blogspot.com/2007/ … e-way.html

himanshu.parmar13 wrote:

3) improve resolution of desktop

Using xrandr: https://ubuntuforums.org/showthread.php?p=8595940

Offline

#4 2019-08-02 08:07:30

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: XFCE configuration by commands

Yeah, and welcome to the forum!

Offline

#5 2019-08-09 18:52:04

himanshu.parmar13
Member
Registered: 2019-08-01
Posts: 2

Re: XFCE configuration by commands

Thanks guys for your response and I apologize for not able to respond earlier.

Originally I am trying to setup a nice desktop experience to all my users and I want to build an image with all these XFCE4 configurations running as shell script at the time of building of this Ubuntu image.

I will try as per above response.

Currently, I am facing slowness issue. As soon as user connects to my Ubunut using VNC client, they can see only partial desktop. After 40-50 seconds entire desktop comes up with background image and few shortcuts on desktop.

So what could be the reason to take 40-50 seconds before complete desktop brings up?

I want to upload some image here for better clarification but I couldn't see any option.

Last edited by himanshu.parmar13 (2019-08-09 18:53:26)

Offline

#6 2019-08-10 10:16:03

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: XFCE configuration by commands

To embed images, see https://forum.xfce.org/help.php#img and you'll get something like this:

FluxBB bbcode test

The VNC problem should be in its own thread, please start a new one!

Offline

#7 2019-08-10 17:02:56

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: XFCE configuration by commands

alcornoqui wrote:

To embed images, see https://forum.xfce.org/help.php#img and you'll get something like this:

https://forum.xfce.org/img/test.png

Might be helpful to add that images are to be hosted on a third-party image hosting website and the IMG tags used to link to it. The forum help FAQ shows an onsite image link. I assume this was done either because the author wasn't thinking or because he/she didn't want to depend on an example image from such a website being accessible in perpetuity... In which case he/she probably wasn't thinking, lol (or this clarification would have been occurred in the FAQ instead of this post wink ).

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#8 2019-08-10 23:59:21

alcornoqui
Member
Registered: 2014-07-28
Posts: 831

Re: XFCE configuration by commands

Thanks for the info, MDM!

Offline

Board footer

Powered by FluxBB