51

Re: How to setup desktop

A possible indicator for the keyboard-layout would be therefore gxkb. It is for now not available here in the repositories and as I have said we won't add that new packages for 0.4.3. Nevertheless I have taken the point with, will also discuss that today in the meeting. We need to modify nmap and onto that road I have already created further packages for having an alternative like zmap. So we would breach with the promise: There is a good chance that peek and gxkb would be added for 0.4.3 to come.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

52

Re: How to setup desktop

throgh wrote:

Coming now to the points listed:

1. Volume control (we solved this issue)
Okay.

2. Screen brightness adjustment (I found a temporary solution)
Okay.

3. Screenshot (instead of Flameshot there is scrot )
Not the only one: You can use gimp or mirage for example.

4. Display recording (( instead of Peek is ?? )
Depends on what screen-recording you wish: We have simplescreenrecorder and I have created now possible example-PKGBUILD for peek being compatible with Hyperbola GNU/Linux-libre. Also to mention again: Everyone can create and share own PKGBUILDs with the option for being included later on when we have either time or the package is clear in a working shape after the packaging-guidelines (https://wiki.hyperbola.info/doku.php?id … guidelines). You can find the peek-build here: https://forums.hyperbola.info/viewtopic … 5450#p5450

5. Keyboard layout (is it possible to add an indicator to the panel I don't know )
That's a good question, I will check this and come back with an answer as this is for sure important.

6. Wifi internet connection indicator  (available in default i3 settings)
Well, you can also use dhcpcd-ui for example.


Thank you for answering some questions, now I'll look at these programs. I wanted to add one command to i3 for screen recording, like how it works great with scrot , one command

 scrot -s 

you select the desired area and take a screenshot very conveniently.

53

Re: How to setup desktop

As an answer to your previous posting:

jimmy wrote:

I have no problems in general with mentioning others, but I repeat: You can use the search for packages to see clearly what is there and what not. Here an example for "i3" as keyphrase:


https://www.hyperbola.info/packages/?so … p;flagged=

Another example about "games" as keyphrase:

https://www.hyperbola.info/packages/?so … p;flagged=

In your example you have used the forum, which is not the only place for packaging. You can also ask about how to search for packages on the commandline like this:




I'm not looking for an app when I make a request on the forum))
When I showed you that there is nothing in the search on the forum, it means that there is no information on this topic.

Therefore, the user, me or someone else, will wander in search of solutions and then it turns out that this cannot be installed because some library is not supported by the project or in this case there is no i3bar package, and the user reads another wiki where everything is written about this i3 setting.
You for comparison. https://www.parabola.nu/packages/?sort= … p;flagged=
I repeat that everything should be here otherwise repeated questions will be repeated again and again. If, for example, I now, with your help or with the help of other users, get the working settings of i3 in this thread, then any user will go to the forum and write i3 in the search and see how to set everything up in Hyperbola and not Parabola or Open BSD or Arch Linux.

The forum is the place for questioning and discussions, pointing out problems for sure. All was done here correct and all people have the same access towards the previous postings and the ones done now. The question is: What do I as user await? When I setup an environment on Parabola GNU/Linux, this is quite different as on Arch GNU/Linux and the same also different as on Debian GNU/Linux. Likewise Trisquel GNU/Linux is not fitting with GNU/Guix and the model goes round. There are some common parts, but when I enter another system I need also to look out for different names for packages, missing ones and more.

When I as a user await something like the wiki from Arch GNU/Linux I have also to look at the size of the system in usage. I pointed already out: We do our best to answer questions and standby for everyone with problems. But we also cannot stand at every step. When doing that the essential part of Hyperbola which is technical emancipation would fail. And that concept includes also failure with configuration, testing and learning. So you have asked those questions first now, we have found many answers and worked out missing ones. Thank you for the input, so we can help therefore making this little but nice system quite a bit better. smile Found something, shared and discussed, found a working solution ... step ahead and then repeat. That's how to fill in for a working explanation, otherwise the wiki would never grow. I understood that the article for Lumina needs a rework and that will be also on the plan to do be done. Same as before for others like: Explanation for "D-Bus removal", "Bluetooth support" and more.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

54

Re: How to setup desktop

In continuation of the topic of this topic, I am attaching useful information from one of the participants in our forum ==> dikasp2
As well as a few examples of the icewm window manager. perhaps something has changed, but still a selection may be useful when searching for information !

im compiling a lightweight desktop software recomendation for upcoming hyperbolabsd prioritized in their capabilities and lightweightness, fell free to edit

main desktop
1.jwm,icewm
2.lumina
3.openbox+tint2
4.i3
5.fvwm,twm
6.slim+xscreensaver+nitrogen

file management
1.pcmanfm or thunar or spacefm
2.double commander, rox
3.ranger+other software for thumbnailing
4.*thumbnailers
5.*bulk rename tools
6.*file searching tools

accesories
1.leafpad or mousepad
2.xfburn
3.xcalc or gcalc
4.compton/picom
5.xarchiver+unar support
6.*vim's

multimedia (graphic, office, sound and video)
1.mpv
2.geeqie or ristretto
3.zathura+their extension
4.gimp+inkscape
5.libreoffice
6.*sound tools

internet
1.iceweasel
2.midori
3.ellinks,links,w3m
4.transmission or deluge or hefur
5.hexchat
6.*network management tools

other (system tools, preference)
1.lxterminal,xfceterminal,kitty,sakura
2.xterm,urxvt, terminator
3.grsync,meld
4.lxtask,xfcetaskmanager,htop
5.lxrandr+light
6.*power manager tools

games?
1.stone-soup
2.frozen-bubble
3.supertux
4.neverball
5.blobwars
6.armagetronad

programming?
not my field, pls edit

package proposal for hyperbola (floss only)  ==> https://github.com/dikasetyaprayogi/hyp … /README.md

55

Re: How to setup desktop

Addition as the following packages and applications were already identified being not compatible with Hyperbola:

double commander
pcmanfm
thunar
xfburn
zathura
xfceterminal

We have tried to build all of them with much time and efforts, but even though some gone through (like xfburn) it later turns out at runtime that all the invested work was countless as without other needed and bloated identified frameworks those won't run. Just for helping, but you can for sure try - no sarcasm and joke intended - as those tryouts lie back 1 - 1,5 years now. There is always hope that there is some turn, some opening, some process for lightweight choices. smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

56

Re: How to setup desktop

Throgh thanks for your correction. I would also like to add an important configuration for I3 to the chat here. Many thanks to  for his work heckyel and also to rachad for linking to this source. This configuration file also contains applications that are not currently available, but this can be corrected than re-creating a configuration file of 350 lines. ==> https://git.sr.ht/~heckyel/i3-config/tree

# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#

# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!

set $mod Mod4

# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8

# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8

# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.

# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

# start a terminal
# bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec sakura

# kill focused window
bindsym $mod+Shift+q kill

# start dmenu (a program launcher)
# bindsym $mod+d exec dmenu_run
# bindsym $mod+d exec dmenu_run -p Menu: -l 3 -nb "#616161" -nf "#BDBDBD" -sf "#FFFF00" -fn Hack
# Rofi menu
bindsym $mod+d exec "rofi -modi window,drun,run -show drun -sidebar-mode -color-window '#212121, #212121, #616161' -color-normal '#212121, #CACCD1, #212121, #616161, #FFFFFF' -color-active '#616161, #FFFFFF, #616161, #616161, #FFFFFF' -font 'Noto Sans 12'"
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop

# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+ntilde focus right

# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right

# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+ntilde move right

# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

# split in horizontal orientation
bindsym $mod+h split h

# split in vertical orientation
bindsym $mod+v split v

# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle

# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split

# toggle tiling / floating
bindsym $mod+Shift+space floating toggle

# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle

# focus the parent container
bindsym $mod+a focus parent

# focus the child container
#bindsym $mod+d focus child

set $tag1  "1: "
set $tag2  "2: "
set $tag3  "3: "
set $tag4  "4: "
set $tag5  "5: "
set $tag6  "6: "
set $tag7  "7: "
set $tag8  "8: "
set $tag9  "9: "
set $tag0  "10: "

# switch to workspace
bindsym $mod+1 workspace $tag1
bindsym $mod+2 workspace $tag2
bindsym $mod+3 workspace $tag3
bindsym $mod+4 workspace $tag4
bindsym $mod+5 workspace $tag5
bindsym $mod+6 workspace $tag6
bindsym $mod+7 workspace $tag7
bindsym $mod+8 workspace $tag8
bindsym $mod+9 workspace $tag9
bindsym $mod+0 workspace $tag0

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $tag1
bindsym $mod+Shift+2 move container to workspace $tag2
bindsym $mod+Shift+3 move container to workspace $tag3
bindsym $mod+Shift+4 move container to workspace $tag4
bindsym $mod+Shift+5 move container to workspace $tag5
bindsym $mod+Shift+6 move container to workspace $tag6
bindsym $mod+Shift+7 move container to workspace $tag7
bindsym $mod+Shift+8 move container to workspace $tag8
bindsym $mod+Shift+9 move container to workspace $tag9
bindsym $mod+Shift+0 move container to workspace $tag0

# Assign to programs
assign [class=Sakura] $tag1
assign [class=Iceweasel|Gajim|qTox|Transmission-gtk] $tag2
assign [class=File-roller|Thunar] $tag3
assign [class=Emacs|Epdfview|Geany|Gucharmap] $tag4

assign [instance="soffice" class="libreoffice"] $tag4
assign [class="libreoffice"] $tag4
assign [class="^(?i)libreoffice-*"] $tag4
assign [class="^(?i)libreoffice.*"] $tag4

assign [class=Icedove] $tag5
assign [class=Ardour|Audacious|Audacity|Cheese|Ghb|Gimp*|Inkscape|mpv|Mumble|Simplescreenrecorder|Vlc|Xfburn] $tag6
assign [instance=irc] $tag7
assign [class=Arandr|Gparted|Lxappearance|Lxrandr|Lxtask|Pavucontrol] $tag8

# Programs floating
# class
for_window [class="(?i)firetools"] floating enable
for_window [class="(?i)lxappearance"] floating enable
for_window [class="(?i)pavucontrol"] floating enable, move position mouse
for_window [class="(?i)pinentry"] floating enable
for_window [class="(?i)simplescreenrecorder"] floating enable
for_window [class="(?i)transmission"] floating enable
# title
for_window [title="(?i)pulseaudio multiband EQ"] floating enable
# window_role
for_window [window_role="(?i)about"] floating enable
for_window [window_role="(?i)organizer"] floating enable
for_window [window_role="(?i)pop-up"] floating enable
for_window [window_role="(?i)task_dialog"] floating enable

# Programs focus
for_window [class="Sakura"] focus
for_window [class="Emacs"] focus

# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"

# resize window (you can also use the mouse for that)
mode "resize" {
        # These bindings trigger as soon as you enter the resize mode

        # Pressing left will shrink the window’s width.
        # Pressing right will grow the window’s width.
        # Pressing up will shrink the window’s height.
        # Pressing down will grow the window’s height.
        bindsym j resize shrink width 3 px or 3 ppt
        bindsym k resize grow height 3 px or 3 ppt
        bindsym l resize shrink height 3 px or 3 ppt
        bindsym ntilde resize grow width 3 px or 3 ppt

        # same bindings, but for the arrow keys
        bindsym Left resize shrink width 3 px or 3 ppt
        bindsym Down resize grow height 3 px or 3 ppt
        bindsym Up resize shrink height 3 px or 3 ppt
        bindsym Right resize grow width 3 px or 3 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"

# My configurations

# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness

# Authentication agents
# exec --no-startup-id lxsession

# Captura de pantalla: pacman -S scrot
bindsym Print exec scrot -e 'mv $f ~/Descargas/'

# Fondo de pantalla
exec_always --no-startup-id "feh --bg-scale $HOME/.config/i3/images/background.png"

# Transparencia
exec --no-startup-id picom -cCGb

# conky
exec --no-startup-id conky

# Teclado numerico
# exec --no-startup-id numlockx on

# Applet de volumen
# exec --no-startup-id volumeicon

# Notificador de Actualizaciones
# exec --no-startup-id aarchup

# Pulse Audio controls
exec --no-startup-id pulseaudio --start
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q -D default sset Master 5%+ && pkill -SIGRTMIN+10 i3blocks #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q -D default sset Master 5%- && pkill -SIGRTMIN+10 i3blocks #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id amixer -q -D default sset Master toggle && pkill -SIGRTMIN+10 i3blocks # mute sound

# Enable devices USB
# Declare here the shortcut to mount-device, require udisks2
set $mode_mount Launch: Shift unmount devices (u) USB, (c) DVD/CD, (s) Stick
mode "$mode_mount" {
    bindsym u exec --no-startup-id "udevil mount /dev/sdb1", mode "default"
    bindsym Shift+u exec --no-startup-id "udevil umount /dev/sdb1", mode "default"
    bindsym c exec --no-startup-id "udevil mount /dev/sr0", mode "default"
    bindsym Shift+c exec --no-startup-id "udevil umount /dev/sr0 || eject -r", mode "default"
    bindsym s exec --no-startup-id "udevil mount /dev/sdb", mode "default"
    bindsym Shift+s exec --no-startup-id "udevil umount /dev/sdb", mode "default"

    # back to normal: Enter or Escape
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
# Declare here the shortcut to mount-device selection menu
bindsym $mod+m mode "$mode_mount"

## Manual management of external displays
# Set the shortcuts and what they do
set $mode_display Ext Screen (v) VGA ON, (h) HDMI ON, (x) VGA OFF, (y) HDMI OFF
mode "$mode_display" {
    bindsym v exec --no-startup-id xrandr --output VGA-1 --auto --right-of LVDS-1, mode "default"
    bindsym h exec --no-startup-id xrandr --output HDMI-1 --auto --right-of LVDS-1, mode "default"
    bindsym x exec --no-startup-id xrandr --output VGA-1 --auto --off, mode "default"
    bindsym y exec --no-startup-id xrandr --output HDMI-1 --auto --off, mode "default"

    # back to normal: Enter or Escape
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
# Declare here the shortcut to bring the display selection menu
bindsym $mod+x mode "$mode_display"

# System poweroff, reboot, logout, hibernate, suspend, switch_user
set $mode_system System (e) logout, (u) switch_user, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
mode "$mode_system" {
     bindsym s exec --no-startup-id loginctl suspend, mode "default"
     bindsym u exec --no-startup-id i3exit switch_user, mode "default"
     bindsym e exec --no-startup-id i3-msg exit, mode "default"
     bindsym h exec --no-startup-id loginctl hibernate, mode "default"
     bindsym r exec --no-startup-id loginctl reboot, mode "default"
     bindsym Shift+s exec --no-startup-id loginctl poweroff, mode "default"
     # back to normal: Enter or Escape
     bindsym Return mode "default"
     bindsym Escape mode "default"
}
bindsym $mod+Pause mode "$mode_system"

# Manual display on and off
# Disables the black screen that appears to save the monitor's power
# when you do not touch the computer in a few minutes.
set $mode_display_on_off Black energy-saving screen: (y) enable, (n) disable
mode "$mode_display_on_off" {
     bindsym y exec --no-startup-id xset s on && xset s blank && xset +dpms, mode "default"
     bindsym n exec --no-startup-id xset s off && xset s noblank && xset -dpms, mode "default"
     # back to normal: Enter or Escape
     bindsym Return mode "default"
     bindsym Escape mode "default"
}
bindsym $mod+Shift+p mode "$mode_display_on_off"

# Press $mod+o followed by either i, d, Escape or Return to launch Iceweasel-UXP,
# Icedove-UXP or return to the default mode, respectively.
set $mode_apps Launch: Shift enable mode private apps [i]ceweasel-uxp ice[d]ove-uxp
mode "$mode_apps" {
    bindsym i exec "bash $HOME/.config/bwrap/iceweasel-uxp.bash", mode "default"
    bindsym Shift+i exec "bash $HOME/.config/bwrap/iceweasel-uxp-private.bash", mode "default"
    bindsym d exec "bash $HOME/.config/bwrap/icedove-uxp.bash", mode "default"
    bindsym Shift+d exec "bash $HOME/.config/bwrap/icedove-uxp-private.bash", mode "default"
    # back to normal: Enter or Escape
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+o mode "$mode_apps"

# players global horkeys, require D-Bus
# bindsym XF86AudioPrev exec playerctl previous
# bindsym XF86AudioNext exec playerctl next
# bindsym XF86AudioPlay exec playerctl play-pause
# bindsym XF86AudioStop exec playerctl stop

# class                 border  background  text  indicator child_border
client.focused          #424242  #424242  #FFFFFF  #FFFFFF  #9E9E9E
client.focused_inactive #212121  #212121  #424242  #9E9E9E  #212121
client.unfocused        #212121  #212121  #424242  #9E9E9E  #212121
client.urgent           #DC322F  #DC322F  #FFFFFF  #DC322F  #DC322F
client.placeholder      #000000  #212121  #FFFFFF  #9E9E9E  #212121
client.background       #FFFFFF

# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# bar {
#         status_command i3status
# }

bar {
        position top
        status_command i3blocks -c $HOME/.config/i3/i3blocks.conf # Mostrar status de monitoreo
        # status_command 2>/tmp/i3blocks.err i3blocks -vvv -c $HOME/.config/i3/i3blocks.conf | tee /tmp/i3blocks.out # Debug
        font pango:Hack 8

        colors {
             separator  #616161  # Separator color
             background #212121  # Panel color
             statusline #FFFFFF  # Status color
             #::::::::::::::::::::::: Indicadores ::::::::::::::::::::::::::#
             #                   bordes      background   text
             focused_workspace   #FFFFFF      #616161    #FFFFFF
             active_workspace    #FFFFFF      #616161    #FFFFFF
             inactive_workspace  #212121      #757575    #212121
             urgent_workspace    #212121      #B71C1C    #FFFFFF
        }
}

57 (edited by jimmy 2023-01-06 19:38:38)

Re: How to setup desktop

Thanks  ==> aloniv   link to main source  ==> https://forums.hyperbola.info/viewtopic.php?id=662

Topic: Hyperbola 0.4 setup -Openbox with a dark theme

I thought this guide would be useful for anyone who wants a basic desktop using a dark theme.

First install Openbox packages, a dark GTK theme and a theme switcher application:

   

 # pacman -S openbox obconf e17-gtk-theme lxappearance

Then run lxappearance and set the dark theme. In order for the new theme to work properly you might need to log out and log back in.

Qt applications can also use the GTK theme. First install the following package.

   

 # pacman -S qtct

You'll also need to install the package qt5-styleplugins (from AUR) so that Qt can use GTK themes.
Then add the following line to the file .bashrc

   

export QT_QPA_PLATFORMTHEME=qt5ct

After logging out and back in, Qt applications when run from the terminal should use the dark theme.

In order to edit the items in Openbox's menu, it's best to install a menu editor. I installed obmenu3 from AUR.

When a Qt application is run from Openbox's menu it will not use the dark theme unless the execute command is altered e.g. via obmenu3. A command such as this one for Avidemux works (just replace avidemux 3_qt5 with the command needed to run the Qt application).

   

sh -c 'export QT_QPA_PLATFORMTHEME=qt5ct && avidemux3_qt5'

If you want a task manager as well you can install tint2.

   # pacman -S tint2

In order for it to run after login add the line

    tint2 &

to .config/openbox/autostart

Qt applications when run from tint2 will not use the dark theme unless you edit the .desktop files.
Copy the relevant files to .local/share/applications (you might need to create the latter directory), e.g. for Avidemux.

   

cp /usr/share/applications/org.avidemux.Avidemux.desktop .local/share/applications/

Then edit the Exec line - I use this one.

 

  Exec=sh -c 'export QT_QPA_PLATFORMTHEME=qt5ct && avidemux3_qt5'  %f

What's still left to do: get PDF and EPUB files to use a dark theme (using mupdf and epdfview).


After editing the Openbox menu (using obmenu3) one can view the new menu without logging out and in by simply running the following command.

$ openbox --reconfigure

58

Re: How to setup desktop

You can add the variable explortig line for QT_QPA_PLATFORMTHEME at ~/.config/openbox/autostart too.

On dark themes, the e17 theme for GTK it's difficult to match with OpenBOX, but Arc has themes
for OpenBOX: https://github.com/dglava/arc-openbox

For the rest, you have arc-gtk-theme, arc-solid-gtk-theme and arc-icon-theme in the repos.

59 (edited by anthk 2023-01-06 22:50:52)

Re: How to setup desktop

On a desktop environment you can create one by hand with openbox, obconf, ~/.config/openbox/autostart and:

- fbpanel
- zzzfm --desktop
- dhcpcd-gtk
- gvwolwheel
- udevil

This would miic lxde pretty well.

60

Re: How to setup desktop

To add that spacefm has exactly the same options and can be used also like:

spacefm --desktop
Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

61

Re: How to setup desktop

If fbpanel has a shutdown menu compatible with doas and zzz/ZZZ or openrc-shutdown flags, (and zzzfm
works integrated wth udevil among setting up desktop icons), you can call that an usable DE. LXDE was born like that.
dhcp-gtk and gvolwheel definitively complete it for sure.

The only missing thing would be a session manager, but for Hyperbola and minimalism it's good enough.

62 (edited by anthk 2023-01-07 00:19:50)

Re: How to setup desktop

For /etc/doas.conf

permit nopass :power cmd openrc-shutdown args -H
permit nopass :power cmd openrc-shutdown args -p
permit nopass :power cmd openrc-shutdown args -r

That halts, poweroffs and/or reboots. Fbpanel can be set to run these commands instead of the
default bound ones, being launched from OpenBOX' autostart. As you said, spacefm/zzz
can be bound to work as a file manager with the
"--desktop &" switch at the same file. "udevil monitor &" for media detection.
For WiFi 'dhcpcd-gtk &' would the trick.

Lxappearance and obconf would cover the theming, and qtct+qt5-styleplugins the qt integration.
Xarchive and epdfview would work fine as basic tools for the users, among viewnior and mpv
with a flag to force displaying the video window even for audio files.

For webcam testing, a *.desktop file with "mplayer tv://" could be used.

The desktop I propose it's for beginners, of course, the power user will use its preferred window manager
setup. Not as complete as Lumina, but it's as lightweight and it might have unit automounting.

63

Re: How to setup desktop

Thanks  ==>  throgh    If I'm not mistaken these are the Fluxbox + tint3 settings

Perhaps it will be useful to someone when viewing this post.

init

session.screen0.autoRaise:    true
session.screen0.defaultDeco:    NORMAL
session.screen0.tabFocusModel:    ClickToTabFocus
session.screen0.edgeSnapThreshold:    10
session.screen0.strftimeFormat:    %k:%M
session.screen0.demandsAttentionTimeout:    500
session.screen0.allowRemoteActions:    false
session.screen0.workspaceNames:    Arbeitsfl\303\244che 1,Arbeitsfl\303\244che 2,Arbeitsfl\303\244che 3,Arbeitsfl\303\244che 4,
session.screen0.workspacewarping:    true
session.screen0.showwindowposition:    false
session.screen0.menuDelay:    200
session.screen0.rowPlacementDirection:    LeftToRight
session.appsFile:    /home/tobias/.fluxbox/apps
session.cacheLife:    5
session.slitlistFile:    /home/tobias/.fluxbox/slitlist
session.autoRaiseDelay:    250
session.configVersion:    13
session.doubleClickInterval:    250
session.ignoreBorder:    false
session.tabPadding:    0
session.keyFile:    ~/.fluxbox/keys
session.colorsPerChannel:    4
session.forcePseudoTransparency:    false
session.tabsAttachArea:    Window
session.cacheMax:    200
session.styleOverlay:    /home/tobias/.fluxbox/overlay
session.menuFile:    ~/.fluxbox/menu

startup

#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.

# Change your keymap:
xmodmap "/home/tobias/.Xmodmap"

# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.

setxkbmap de &
parcellite &
volumeicon &
dhcpcd-gtk &
cbatticon &
tilda -h &
tint3 &
multiload-ng-systray &
# personal scripts at startup
/home/tobias/scripts_run/xorg_blank.sh &
/home/tobias/scripts_run/wallpaper_change.sh &

# Debian-local change:
#   - fbautostart has been added with a quick hack to check to see if it
#     exists. If it does, we'll start it up by default.
which fbautostart > /dev/null
if [ $? -eq 0 ]; then
    fbautostart
fi

# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.

exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log "/home/tobias/.fluxbox/log" 

configuration for tint3-cpp under ~/.config/tint3:

tint3rc


# Default tint3 configuration file.
#
# For information on manually configuring tint3 see:
#   https://github.com/jmc-88/tint3

# {{{ backgrounds
# ID 1
rounded = 0
border_width = 0
background_color = #000000 80
border_color = #000000 0

# ID 2
rounded = 0
border_width = 0
background_color = #000000 0
background_color_hover = #7f7f7f 40
background_color_pressed = #7f7f7f 70
border_color = #000000 0

# ID 3
rounded = 0
border_width = 0
background_color = #7f7f7f 80
border_color = #000000 0

# ID 4
rounded = 0
border_width = 0
background_color = #3f3f3f 90
border_color = #000000 0
# }}} backgrounds

# {{{ panel
panel_monitor = all
panel_position =  bottom center horizontal
panel_size = 100% 40
panel_items = LTBSC
panel_margin = 0 0
panel_padding = 0 0 0
panel_dock = 0
wm_menu = 1
panel_layer = normal
panel_background_id = 1
# }}} panel

# {{{ taskbar
taskbar_mode = single_desktop
taskbar_padding = 0 0 5
taskbar_background_id = 0
taskbar_active_background_id = 0
# }}} taskbar

# {{{ tasks
urgent_nb_of_blink = 20
task_icon = 1
task_text = 0
task_centered = 1
task_maximum_size = 48 30
task_padding = 9 8 0
task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 2
task_iconified_background_id = 2
# }}} tasks

# {{{ task icons
task_icon_asb = 100 0 0
task_active_icon_asb = 100 0 0
task_urgent_icon_asb = 100 0 0
task_iconified_icon_asb = 100 0 0
# }}} task icons

# {{{ system tray
systray = 1
systray_padding = 0 2 6
systray_sort = left2right
systray_background_id = 0
systray_icon_size = 22
systray_icon_asb = 100 0 0
# }}} system tray

# {{{ launchers
launcher_item_app = $HOME/.launchers/menu.desktop
# }}} launchers

# {{{ battery
battery = 1
battery_hide = 99
battery_low_status = 25
battery_low_cmd = notify-send --app-name=tint3 --expire-time=-1 --icon=dialog-warning "Battery level is <b>critically low</b>. Please connect your charger as soon as possible."
battery_padding = 10 6
battery_background_id = 0
bat1_font = Droid Sans Bold 10
bat2_font = Droid Sans 10
battery_font_color = #dcdcdc 100
# }}} battery

# {{{ clock
time1_format = %H:%M
time1_font = Droid Sans Bold 10
clock_font_color = #dcdcdc 100
clock_padding = 10 6
clock_background_id = 0
clock_lclick_command = gsimplecal
# }}} clock

# {{{ tooltips
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.0
tooltip_hide_timeout = 0.0
tooltip_background_id = 4
tooltip_font = Droid Sans 10
tooltip_font_color = #dcdcdc 100
# }}} tooltips

# {{{ mouse
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify
mouse_effects = 1
mouse_hover_icon_asb = 100 0 25
mouse_pressed_icon_asb = 100 0 -25
# }}} mouse

64

Re: How to setup desktop

anthk Thanks for your helpful input!

65 (edited by anthk 2023-01-07 11:07:36)

Re: How to setup desktop

Fluxbox already has a taskbar and a systray. Why tint3?

Also, for notifications for the batttery, you can use herbe instead of notify-send.

herbe "Whatever message you want"

66

Re: How to setup desktop

Sure, fluxbox has its own taskbar but to use another one is also not a bad idea when you want to have something like a menu for example (not meant the fluxbox-popup) in the taskbar itself. Cool idea to add herbe, have forgotten to modify that part. Thanks! big_smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

67 (edited by anthk 2023-01-07 15:59:27)

Re: How to setup desktop

Wwe could create a hyper-desktop metapackage with
OpenBox, obconf, zzz, doas, fbpanel, lxappearance, pcmanfm/zzz, udevil --monitor, 
lxrandr, viewnior, gvolwheel and dhcpcd-gtk. It could be composed of these
as dependencies and a file at /usr/share/xsessions launching /usr/bin/
hyper-desktop.
Fbpanel would be launched from a wrapper, copying the config file to ~/.config/fbpanel/default
if it doesn't exist. Also, fbpanel -C it's a GUI way to config the panel, that could be added to the
XDG menues at settings in /usr/share/applications.

68

Re: How to setup desktop

Perhaps an idea for 0.4.3, could be part of the next meetup for a talk and conclusion. Not a bad idea in the end, this package can be developed in the git-repositories (team/software) and then released with concurrent dependencies.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

69

Re: How to setup desktop

Hello .

Please tell me what are the analogues of these programs? ==> screenfetch or neofetch


I also wanted to ask throgh to fix a bug in the forum search, if the user enters i3 in the search, then it does not show anything

70 (edited by jimmy 2023-01-08 23:21:27)

Re: How to setup desktop

Setting up the i3 window manager

In my opinion  heckyel is a cool guy))

If we talk about setting, I noticed that in this example hyperbola v0.3 is used (highlighted in the screenshot), now we use v 4.2

It was interesting to get j's opinion about these settings, I'm not sure if everything works the same ...


https://ia903102.us.archive.org/7/items … g?raw=true

https://files.catbox.moe/lxnguc.png  highlighted

71

Re: How to setup desktop

jimmy wrote:

Hello .

Please tell me what are the analogues of these programs? ==> screenfetch or neofetch


I also wanted to ask throgh to fix a bug in the forum search, if the user enters i3 in the search, then it does not show anything

None as we don't support "screenfetch" or "neofetch". Both are not needed from our understatement. And I cannot fix the forum within that part when search-term is just that short. You can always search for for more terms in combination for " i3 window" for example.

But you can build "screenfetch" or "neofetch" by yourself. We have tried back to provide an alternative, but almost all of them are quircky, slow or in some other parts not that good. So we have left that out. Nevertheless all users can decide on their own. But we won't and don't include "screenfetch" or / and "neofetch" as mentioned from our own for 0.4.3: Both are bash-only and too many dependencies we either don't support or have no further interest in adding. If you think to provide an own PKGBUILD, feel free.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

72

Re: How to setup desktop

thanks for the answer .
As for the "screenfetch" or "neofetch" programs, if they are not there and you think that these programs or their dependencies harm the system, ok.

As for the search, I, as a user, think that it is bad that the search does not work correctly! This needs to be fixed for sure! My personal opinion !

This is not respect for users!


Please see how it works in Parabola  ==> https://files.catbox.moe/j9pw5u.png  !!!!!!

73

Re: How to setup desktop

Please take into account that there is just another forum-software in the back being used. This is PunBB. So the first point I would like to ask: Why do you bring that often comparisons? I won't react further as I have enough read about "respect". You take also into account how much respect we have offered and offering nevertheless with that much time in reactions and writing answers. So I won't go further with

This is not respect for users!

Yes the search-solution is not optimum, I get that. But to demand fixing: Have you seen how many people are here and giving back support? Exactly: Not that much. So if you are interested into supporting there and research possible solutions for searching with PunBB, that would be helping also. It is not that no one wants to help. It is just: We have not that much possible priorities. And I take my own time now with answering here while I would be better taken care of fixing the problems with xenocara-packages for example.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

74

Re: How to setup desktop

Thanks for your reply. I'll explain why I wrote this. Disrespect means ignoring an important issue! Searching for answers on the forum is the most important factor so that (again) no one compares to other distros and searches for answers by wandering through all the wikis of archalike and bsd systems.

As you can see, I'm trying to put everything I can find for desktop customization into this thread. I would like users who chose h to find all the answers here among their like-minded people and not only you answered all the questions (thank you) but also others participated in this process, attached their configuration files, examples, etc.

If it works on forum Parabola, then it can work here 200%


My next question. What font should I set to display icons on the panel? I tried ttf-font-awesome  but it didn't work.

order += "wireless _first_"
order += "ethernet _first_"
order += "battery all"
order += "disk /"
order += "memory"
order += "cpu_usage"
order += "volume master"
order += "tztime local"

wireless _first_ {
        format_up = " %quality / %essid"
        format_down = " down"
        on_click 1 = "exec networkmanager_dmenu"
        on_click 3 = "exec sudo killall nm-applet"
}

ethernet _first_ {
        format_up = " %ip (%speed)"
        format_down = " down"
        on_click 1 = "exec networkmanager_dmenu"
        on_click 3 = "exec sudo killall nm-applet"
}

battery all {
        format = " %percentage %remaining"
}

disk "/" {
        format = " %used / %avail"
}

cpu_usage {
        format = " %usage"
}

memory {
        format = " %used / %available"
        threshold_degraded = "1G"
        format_degraded = "RAM AVAILABLE < %available"
}

volume master {
         format = "♪ %volume"
        device = "default"
        on_click 1 = "exec pavucontrol"
        on_click 3 = "exec killall pavucontrol"
}

tztime local {
        format = " %Y-%m-%d %H:%M:%S"
        on_click 1 = "exec mate-time-admin"
        on_click 3 = "exec killall mate-time-admin"
}

75

Re: How to setup desktop

I understand your point, but we are for sure not ignoring the users or just thinking to do that. Those comparisons does not support or help in any way as we are using a complete different software - you can also see that. So it will only support and work when we find a concrete point for our software in usage, not for others in comparisons likewise stating "there it is working". And I have already stated: We do what we can, but also have some time working and some time we need to do other things. Stating such things like "This is not respect for the users!" hurts then for sure. When someone can provide a hint for the mentioned problem and how to solve that we will for sure look.

For whatever configuration-file you have linked now: Please look closer. We don't support sudo and we also don't support networkmanager. pavucontrol only works with pulseaudio, Hyperbola does not have that either. It would be for sure helping others here, when you also provide the name of the configuration-file especially.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!