regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.5k stars 31 forks source link

moving i3 bar to top of screen #81

Closed chaseydog closed 5 years ago

chaseydog commented 5 years ago

I'd like to move i3 bar to the top of the screen. I tried modifying ~/.config/i3-regolith, and then reloading i3, but the bar remains on the bottom bar { position top ...existing bar config }

chaseydog commented 5 years ago

Looks like I should have been editing ~/.config/i3-regolith/config-4.16-labuntu18ppa10 and not ~/.config/i3-regolith/config Working now as expected

kgilmer commented 5 years ago

Yep, you got it @chaseydog . If you have any ideas to make it more obvious which file is the one to be edited, please let me know. :smile:

chaseydog commented 5 years ago

Thanks Ken,

Now that I've moved the bar to the top I need to preposition Conky. I tried editing /etc/conky/conky.conf but that didn't work. What file do I need to edit?

On Sat, Aug 3, 2019 at 10:11 PM Ken Gilmer notifications@github.com wrote:

Yep, you got it @chaseydog https://github.com/chaseydog . If you have any ideas to make it more obvious which file is the one to be edited, please let me know. 😄

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/regolith-linux/regolith-desktop/issues/81?email_source=notifications&email_token=AHHMU7M2B2YWLPRH5ZDJCHLQCY3GVA5CNFSM4IJDEKH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PZAVQ#issuecomment-517967958, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHMU7MMVOW7RJ5PF4QU7V3QCY3GVANCNFSM4IJDEKHQ .

-- Bob Chaseydog Modding chaseydog.net

kgilmer commented 5 years ago

/etc/xdg/conky/config is the file you want. It's mentioned here: https://regolith-linux.org/internals.html

However you could also find it (not easily, granted) by seeing this in your i3-config file: exec --no-startup-id /usr/bin/regolith-ftue.sh. This script shows this get launched: /usr/bin/conky-toggle.sh. That script shows conky gets run: /usr/bin/conky -q -c /etc/xdg/conky/config

chaseydog commented 5 years ago

Thanks. Funny thing is I almost looked at regality-flue.sh. Guess I should have followed through. I’ll take a good look at the intervals page as well. Thanks again for the help.

On Sun, Aug 4, 2019 at 5:28 PM Ken Gilmer notifications@github.com wrote:

/etc/xdg/conky/config is the file you want. It's mentioned here: https://regolith-linux.org/internals.html

However you could also find it (not easily, granted) by seeing this in your i3-config file: exec --no-startup-id /usr/bin/regolith-ftue.sh. This script shows this get launched: /usr/bin/conky-toggle.sh. That script shows conky gets run: /usr/bin/conky -q -c /etc/xdg/conky/config

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/regolith-linux/regolith-desktop/issues/81?email_source=notifications&email_token=AHHMU7N7N4GWJXY4F3UNZOTQC5CYFA5CNFSM4IJDEKH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3QKBUI#issuecomment-518037713, or mute the thread https://github.com/notifications/unsubscribe-auth/AHHMU7JLSGPSKLA5ZVIDQH3QC5CYFANCNFSM4IJDEKHQ .

-- Bob Chaseydog Modding chaseydog.net

ldesousa commented 1 year ago

I just installed Regolith on Ubuntu 22.04 and would like to move the bar to its natural place too. However, there is no file like the one referenced above. In fact there is no i3-regolith folder inside .config.

$ aptitude search regolith-desktop
i   regolith-desktop            - metapackage for Regolith desktop envi
v   regolith-desktop-meta       -                                      
v   regolith-desktop-session    -     

$ ls ~/.config/i3-regolith/config*
ls: cannot access '/home/lads/.config/i3-regolith/config*': No such file or directory

$ ls ~/.config/i3-regolith
ls: cannot access '/home/lads/.config/i3-regolith': No such file or directory
ferdinandyb commented 1 year ago

Regolith 2 has it's config under .config/regolith2. It also uses i3 partials now so please check the documentation!

ldesousa commented 1 year ago

Thank you @ferdinandyb for the swift reply. There is no config file in the folder you mention:

$ ls -la .config/regolith2
total 16
drwxrwxr-x  3 lads lads 4096 dec 10 16:02 .
drwx------ 12 lads lads 4096 dec  9 21:54 ..
drwxrwxr-x  2 lads lads 4096 dec  9 21:52 flags
-rw-rw-r--  1 lads lads  104 dec 10 16:02 Xresources

The documentation page mentioned above thred is no longer available (https://regolith-linux.org/internals.html). There is a configuration section in the manual but it does not reference a config file.

ferdinandyb commented 1 year ago

On Sat Dec 10, 2022 at 16:12, Luís de Sousa wrote:

The documentation page mentioned above thred is no longer available (https://regolith-linux.org/internals.html). There is a configuration section in the manual but it does not reference a config file.

Please read this section on how to configure regolith with i3 partials: https://regolith-desktop.com/docs/using-regolith/configuration/#i3-features

Especially the part below the table.

ldesousa commented 1 year ago

I finally located the i3 bar settings in Regolith 2, they are in /usr/share/regolith-look/default/i3-wm, outside the partials folder. What would be the canonical way of costumising these?

kgilmer commented 1 year ago

For configuration elements like these, Xresources is the primary way of specifying values. The xrdb command can be used to view existing settings and discover keys. Ex

$ xrdb -query | grep bar
...
i3-wm.bar.position: bottom

So to put the bar on top, we would add a line to your user Xresource override file to specify an alternative value:

$ echo "i3-wm.bar.position: top" >> ~/.config/regolith2/Xresources

Similar to how one might make the bar be hidden by default, documented here: https://regolith-desktop.com/docs/howtos/hide-i3-bar-by-default/

If you prefer, you could also make this change at the i3 config level. This page describes the details there, but it essentially amounts to coping the default values into your user directory and uninstalling the base package (to prevent conflicts).

ldesousa commented 1 year ago

Thank you Ken, that worked.

-- Luís

Sent with Proton Mail secure email.

------- Original Message ------- On Saturday, March 18th, 2023 at 7:39 PM, Ken Gilmer @.***> wrote:

For configuration elements like these, Xresources is the primary way of specifying values. The xrdb command can be used to view existing settings and discover keys. Ex

$ xrdb -query

|

grep bar ... i3-wm.bar.position: bottom

So to put the bar on top, we would add a line to your user Xresource override file to specify an alternative value:

$

echo

"

i3-wm.bar.position: top

"

~

/.config/regolith2/Xresources

Similar to how one might make the bar be hidden by default, documented here: https://regolith-desktop.com/docs/howtos/hide-i3-bar-by-default/

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

ldesousa commented 1 year ago

Dear all,

reading the manual I understand the user can definite its own key bindings by copying and modifying one of the config files in /usr/share/regolith/i3/config.d. I tried a couple of custom bindings (see below) but even though the config reload reports no errors, none of the bindings thus defined function. What would be the correct method of doing so?

Thank you.

$ cat ~/.config/regolith2/i3/config.d/10_user_bindings ###############################################################################

User key bindings

###############################################################################

Launch // Firefox // <ï…º> x

set_from_resource $i3-wm.binding.firefox i3-wm.binding.firefox Shift+x bindsym $mod+$i3-wm.binding.firefox exec --no-startup-id gtk-launch firefox

Launch // Diodon // m

set_from_resource $i3-wm.binding.diodon i3-wm.binding.brave Mod1+Control+m bindsym $i3-wm.binding.diodon exec --no-startup-id gtk-launch /usr/bin/diodon

-- Luís

Sent with Proton Mail secure email.

ldesousa commented 1 year ago

Hi all,

this morning a workspace 11 appeared on the status bar. What is it? How can I access it? Never seen something like it on i3.

Thank you.

-- Luís

ldesousa commented 1 year ago

Dear all,

the past few days the keyboard layout is being modified automatically. It mostly happens when returning from sleep mode or from a locked screen, but it has also happened changing workspace.

I can reset the layout with setxkbmap, but it would be preferable to disable alternative layouts, and/or fix the layout I am used to. However, I cannot find how to this on the Regolith DE. What am I missing?

Thank you.

Regolith 4.3 on Ubuntu 22.04

-- Luís

Sent with Proton Mail secure email.

ferdinandyb commented 1 year ago

@ldesousa could you please open a new issue for unrelated problems?

ldesousa commented 1 year ago

Hi Bence,

are you trying to reply to my e-mail about the keyboard layout (sent some minutes ago)? Somehow your reply is appearing in an old thread closed months ago, not in the new thread.

I don't want to open an issue, at this moment I can't say if this is bug or not.

Thank you.

-- Luís

Sent with Proton Mail secure email.

------- Original Message ------- On Monday, November 6th, 2023 at 12:46 PM, Bence Ferdinandy @.***> wrote:

@.***(https://github.com/ldesousa) could you please open a new issue for unrelated problems?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

ferdinandyb commented 1 year ago

You are replying to a github issue via email, so it is still on the same issue: https://github.com/regolith-linux/regolith-desktop/issues/81#issuecomment-1794677057

Regolith doesn't have a mailing list, for discussions there is the github discussions (https://github.com/orgs/regolith-linux/discussions) and slack, with possible a matrix room coming up.

-- +36305425054 bence.ferdinandy.com