You are not logged in.

#1 2022-12-19 15:51:53

meret1001
New Member
Registered: 2022-12-19
Posts: 2

desktop icons

good evening, thanks for accepting me, I need to know how I can put the icons of some chromium-type programs on the desktop, I've never used this operating system, thanks to anyone who helps me

Offline

#2 2022-12-19 17:52:40

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,113
Website

Re: desktop icons

meret1001 wrote:

good evening, thanks for accepting me, I need to know how I can put the icons of some chromium-type programs on the desktop, I've never used this operating system, thanks to anyone who helps me

As far as I know, you will need to use a third party program like wbar to put icons on the desktop itself.  Plank, wbar, and gnome-pie are a few different dock apps for launching icons on the desktop. Plank is probably the most popular. Wbar is just neat if you want full control, but not sure it has any active development. Make sure to grab wbar-config if using it for easier editing.

Another possibility is to add a launcher to the tint2 panel for your own use. There are other ways as well depending on what you are really looking for. A custom dmenu or rofi would also serve.

Last edited by sleekmason (2022-12-19 17:54:15)

Offline

#3 2022-12-20 02:11:14

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,666
Website

Re: desktop icons

If you want to have a ~/Desktop folder and show its contents on your desktop, one way is to install xfdesktop4. That's what I use, but it's a bigger install than the alternatives that @sleekmason suggested, and brings some dependencies.

See here: https://forums.bunsenlabs.org/viewtopic.php?id=5370
Some of those annoyances no longer exist, especially #5.
OTOH #4 about default display settings doesn't work any more because it's shifted to GTK3.
Some xfce4 forum threads on this subject:
https://forum.xfce.org/viewtopic.php?id=13284
https://forum.xfce.org/viewtopic.php?id=13105
https://forum.xfce.org/viewtopic.php?id=11878

So it might be a bit messy to set up, but once it's done it works OK.
GmqdMmTt.jpg


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#4 2022-12-20 02:36:26

jeffreyC
Member
Registered: 2019-09-07
Posts: 192

Re: desktop icons

Another way to do it is to use a file manager that can manage the desktop, such as PCManFM or zzzFM for examples.

Offline

#5 2022-12-20 03:18:54

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,673

Re: desktop icons

jeffreyC wrote:

Another way to do it is to use a file manager that can manage the desktop, such as PCManFM or zzzFM for examples.

Or switch to a desktop environment that supports desktop icons. Xfce would be the easiest since some of its tools are already installed.


You must unlearn what you have learned.
    -- yoda

Offline

#6 2022-12-20 08:31:42

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,169
Website

Re: desktop icons

Desktop icons are for n00bs, just use the provided Desktop folder!

Just kidding. Another option is Nautilus file manager (Files in GNOME), it also can provide desktop icons, IIRC.


I don't care what you do at home. Would you care to explain?

Offline

#7 2022-12-20 16:59:05

meret1001
New Member
Registered: 2022-12-19
Posts: 2

Re: desktop icons

Thanks for all the answers I managed with the xfdesktop command to put the icons on the destop but they are temporary, help me with this command where I should change, sorry again but I have never used.
Note the package name is xfdesktop4, but the command to launch it is xfdesktop. roll
So edit ~/.config/openbox/autostart:

Offline

#8 2022-12-20 23:11:39

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,113
Website

Re: desktop icons

meret1001 wrote:

Thanks for all the answers I managed with the xfdesktop command to put the icons on the destop but they are temporary, help me with this command where I should change, sorry again but I have never used.
Note the package name is xfdesktop4, but the command to launch it is xfdesktop. roll
So edit ~/.config/openbox/autostart:

You will need to edit ~/.config/bunsen/autostart for your changes.  Looks like the xfdesktop line already exists to be uncommented around line 110 or so in the autostart file.

Offline

#9 2022-12-20 23:56:45

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,113
Website

Re: desktop icons

Here's a possibility for those that want to give pcmanfm for desktop control a try.

This isn't really for those unsure of what they are doing unless they understand the risks and don't mind picking up the pieces if something breaks.

For an better solution, johnraffs info above seems the ideal way to go.
Anyway:

sudo apt install pcmanfm

In ~/.config/bunsen/autostart, comment out the "nitrogen --restore" line, and add:
pcmanfm --desktop --profile LXDE &

Log out and back in.  Not quite done yet.  Logging out and back in should add another folder 'LXDE' to ~/.config/pcmanfm, with the file 'desktop-items-0.conf' If the right click menu doesn't work, don't panic, it will after the next change, or you can also just use the tint2 menu path if you want.

Replace the info in desktop-items-0.conf with the following:

[*]
wallpaper_mode=crop
wallpaper_common=1
wallpaper=/usr/share/images/bunsen/wallpapers/default/Beryllium-1920x1080.jpg
desktop_bg=#000000
desktop_fg=#a1c3c2
desktop_shadow=#000000
desktop_font=Sans 12
show_wm_menu=1
sort=mtime;ascending;
show_documents=0
show_trash=1
show_mounts=1

[trash:///]
x=2
y=2

Log out and in again.  Change the wallpaper size to whatever suits best.  Make a new folder in your $HOME folder named 'Desktop' if not already present.   Add folders to the desktop folder and they will appear on the main screen.

There are other considerations here, like losing the middle click menu, and the wallpaper is only controlled by the new file, and does not seem to accept the $HOME/Pictures path.Possibly other caveats as well.  Just another option to explore.

pcmanfm.png

Last edited by sleekmason (2022-12-21 00:24:29)

Offline

#10 2022-12-21 01:26:42

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,666
Website

Re: desktop icons

sleekmason wrote:
meret1001 wrote:

I managed with the xfdesktop command to put the icons on the destop but they are temporary
...edit ~/.config/openbox/autostart:

You will need to edit ~/.config/bunsen/autostart for your changes.  Looks like the xfdesktop line already exists to be uncommented around line 110 or so in the autostart file.

That's the file to edit, but line 110 is only a suggestion for people who switch to xfwm4 instead of openbox for window manager. That section of the file should only work if xfwm4 is being used.

A better place to put xfdesktop is probably around line 93 in the openbox section, commenting out 'nitrogen --restore' (xfdesktop4 draws the wallpaper) and adding (what I'm using now):

     ( sleep 3; xfdesktop >/dev/null 2>&1 ) &

The sleep seems to be needed so some things can settle down first (forget what they were) and the redirection to /dev/null keeps ~/.xsession-errors a little bit cleaner.

I styled the appearance of xfdesktop icons by adding some code to ~/.config/gtk-3.0/gtk.css, on the basis of those xfce forum posts I linked above. It might work as a starting point for your own preferences:

/* xfdesktop rubberband */
XfdesktopIconView.view .rubberband {

/* left-click mouse drag line */
  border: 1px solid #1a74d3;
  border-radius: 0;
  background-color: rgba(26, 116, 211, 0.2); }

/* default state */
XfdesktopIconView.view {
  -XfdesktopIconView-ellipsize-icon-labels: 1;
  -XfdesktopIconView-tooltip-size: 64;
  -XfdesktopIconView-cell-spacing: 0;
  -XfdesktopIconView-cell-padding: 0;
  -XfdesktopIconView-cell-text-width-proportion: 2.5;
  background: transparent;
/* letters colors */
  color: #FFFFFF;
/* radius, letter box corners */
  border-radius: 3px; }

/* active (selected) state */
  XfdesktopIconView.view:active {
    background: rgba(0, 0, 0, 0);
    text-shadow: 0 1px 1px black; }

/* default label state */
  XfdesktopIconView.view .label {
    color: #dddddd;
    background: rgba(0, 0, 0, 0);
    text-shadow: 1px 1px 2px #222222; }

/* active (selected) label state */
  XfdesktopIconView.view .label:active {
    color: white;
    background: rgba(0, 0, 0, 0.2);
    text-shadow: 0px 1px 1px black; }

...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#11 2022-12-21 01:46:56

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,113
Website

Re: desktop icons

^ Thank you for the correct placement and line for xfdesktop and the cool info for  ~/.config/gtk-3.0/gtk.css.

*edit - Just added the xfdesktop option and it is pretty dang cool for the amount of control allowed:)

Last edited by sleekmason (2022-12-21 02:05:06)

Offline

Board footer

Powered by FluxBB