You are not logged in.
johnraff wrote:1. Browser icon
What icon name would you recommend for a generic web browser, which is available in most icon themes? Changing to that would be no problem.I'd go with internet-web-browser.
Thanks. That name works with Paper, Papirus and Faenza at least, but that gave me the idea of testing web-browser - it seems to be supplied by more icon themes.
Try this command to check for icon theme support for a particular name:
john@bunsen1:~$ for name in internet-web-browser web-browser browser; do echo -e "\nChecking '${name}': "; find /usr/share/icons/ -name "${name}*" | sed -r 's|^/usr/share/icons/([^/]*)/.*$|\1|' | sort -u;done
# result on my system
Checking 'internet-web-browser':
Faenza
oxygen
Paper
Papirus
Checking 'web-browser':
Adwaita
ePapirus
Faenza
Faenza-Bunsen-common
gnome
Paper
Papirus
Papirus-Adapta
Papirus-Adapta-Nokto
Papirus-Dark
Papirus-Light
Checking 'browser':
ePapirus
Faenza
Faenza-Darker
Faenza-Darkest
Paper
Papirus
Papirus-Adapta
Papirus-Adapta-Nokto
Papirus-Dark
Papirus-Light
I'd opt for hiding the icon on desktop PCs per default as it's not necessary. For laptops there's the right one (small, with changing colors per battery state) already used. So adding the fix to xfce4-power-manager.xml to /etc/skel/ could help fixing the problem with deactivated icon but still being showed.
The option to show the icon only for laptops doesn't seem to be available. I tried removing the user's xfce4-power-manager config file on a laptop, to see what the default setting would be, and after logging out/in the icon was not displayed. When clicking the box to display the icon, yes with a battery it's nice and subdued. We could set the icon display to off by default (or just not supply a config file) but that would mean laptop users would have to go to the menu (Preferences > Power Management) to enable it.
...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 )
Offline
Apt is still considered unstable for programmatic usage
This is it. bl-welcome uses the output of apt-get, and apt's output is less dependable. Also the visual decorations like progress bars would make parsing more tricky. Anyway, apt is just a front-end to apt-get.
SCRIPT USAGE
The apt(8) commandline is designed as a end-user tool and it may change
the output between versions. While it tries to not break backward
compatibility there is no guarantee for it either. All features of apt(8)
are available in apt-cache(8) and apt-get(8) via APT options. Please
prefer using these commands in your scripts.
...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 )
Offline
1. Browser icon
That name works with Paper, Papirus and Faenza at least, but that gave me the idea of testing web-browser - it seems to be supplied by more icon themes.
Try this command to check for icon theme support for a particular name:john@bunsen1:~$ for name in internet-web-browser web-browser browser; do echo -e "\nChecking '${name}': "; find /usr/share/icons/ -name "${name}*" | sed -r 's|^/usr/share/icons/([^/]*)/.*$|\1|' | sort -u;done
I just checked with my Xubuntu with similar results, so web-browser is the best solution.
We could set the icon display to off by default (or just not supply a config file) but that would mean laptop users would have to go to the menu (Preferences > Power Management) to enable it.
Just a quick idea: we could check if task-laptop is installed or if there's a battery present at /sys/class/power_supply and then enable/disable the icon respectively.
Offline
For the web browser icon, and admittedly this is a pie in the sky idea, it’d be cool to have the tint2 icon change to be whatever the default web browser is. I.e. it’s a Firefox icon by default, and if you change your default browser to chrome, it becomes that.
That would be nice. Other people have commented on the clash between the generic icons in the launcher and the actual app icons that come up. I think it might be possible, but not yet sure how to do it neatly and cleanly... (Maybe a system of debian-alternatives "slave" links, the same way man pages are handled? EDIT: No, maybe not that - alternatives have to point to a file path, while icons are just a name that gets looked up later by apps. EDIT2: It might work, in fact, if the slave links pointed to the app's *.desktop file...)
A simpler solution would be to remove the four launchers and put in a button that calls up the openbox menu instead? Those four apps are at the top.
Last edited by johnraff (2018-03-29 06:25:07)
...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 )
Offline
johnraff wrote:1. Browser icon
I just checked with my Xubuntu with similar results, so web-browser is the best solution.
OK changed in bunsen-configs - it will arrive with the next package version.
johnraff wrote:We could set the icon display to off by default (or just not supply a config file) but that would mean laptop users would have to go to the menu (Preferences > Power Management) to enable it.
Just a quick idea: we could check if task-laptop is installed or if there's a battery present at /sys/class/power_supply and then enable/disable the icon respectively.
In fact, the default system should already have the package laptop-detect which makes that job easy. It could be put in the debian-installer late command script. Just as long as there are no hidden snags... EDIT: hmm... actually, the edit has to be in the user configs, so it wouldn't be too easy. Debian-installer has already set up the user at the point the script is run.
Last edited by johnraff (2018-03-29 08:18:26)
...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 )
Offline
A simpler solution would be to remove the four launchers and put in a button that calls up the openbox menu instead? Those four apps are at the top.
^ I really like that idea, the launchers have never appealed to me because they look the same as the launched program icons and make the panel too busy (IMO).
Offline
^Having a button to click on with a left click in order to open the openbox menu is a bit strange, if someone can get the same menu with a right click on anywhere (even if a window is maximized, anywhere on tint2). Not that I like those launchers, the opposite actually.
Offline
A simpler solution would be to remove the four launchers and put in a button that calls up the openbox menu instead? Those four apps are at the top.
Yeah, I use jgmenu for this. I’ve never been a huge fan of those icons to be honest. Clicking one of them doesn’t change the icon to look “active” when the program is launched; an additional program icon is added to tint2 instead, and it’s not even the same icon. Kinda sloppy IMO, I’d prefer our default desktop not have them.
Offline
tried installing the alpha 6 on a lenovo x240 (had checked the iso integrity before creating a usb stick) had a filure during the "system install" step would go to 15% then throw up an error. could not workaround this .. any suggestions?
Offline
First question is always... did you use cp or dd to write the ISO to USB, or did you use uNetbootin? The latter won't work with Debian Live ISO images, such as ours.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
1. Browser icon
OK changed in bunsen-configs - it will arrive with the next package version.
Cool, thanks!
EDIT: hmm... actually, the edit has to be in the user configs, so it wouldn't be too easy. Debian-installer has already set up the user at the point the script is run.
I assume using /sys/class/power_supply is the more safe way to go with less work to do then?
Offline
johnraff wrote:EDIT: hmm... actually, the edit has to be in the user configs, so it wouldn't be too easy. Debian-installer has already set up the user at the point the script is run.
I assume using /sys/class/power_supply is the more safe way to go with less work to do then?
It's not about how to determine if the machine is a laptop or not - in fact laptop-detect runs through a whole series of tests of that nature - but where to apply the change to xfpm's configuration.
Actually, on still further thought, although at the point where the d-i late_command script is run a user has been set up, it's still a basic user account without all the config files. They are imported from skel only when that user starts X for the first time, so at the debian-installer stage we could apply an edit to /usr/share/bunsen/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml and it should work.
Meanwhile I took your second earlier suggested icon:
and reworked it a bit (it was a bit too tight to the edges I thought), made a set of different sized images and put them in bunsen-paper-icon-theme, so now the icon looks OK anyway. Thanks!
...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 )
Offline
tried installing the alpha 6 on a lenovo x240 (had checked the iso integrity before creating a usb stick) had a filure during the "system install" step would go to 15% then throw up an error. could not workaround this .. any suggestions?
I had the same thing. What worked for me was this: https://forums.bunsenlabs.org/viewtopic … 665#p69665
Offline
First question is always... did you use cp or dd to write the ISO to USB, or did you use uNetbootin? The latter won't work with Debian Live ISO images, such as ours.
Hi hhh .. I used dd to write the image to the drive
This however has worked for me >> @Hyacinth >> I had the same thing. What worked for me was this: https://forums.bunsenlabs.org/viewtopic … 665#p69665
Last edited by DustyB (2018-03-30 17:03:55)
Offline
What worked for me was this: https://forums.bunsenlabs.org/viewtopic … 665#p69665
Great. I've never had any problems with the installer's partitioner, but we'll try to remember to post a warning in the Release Notes when we, er, release it.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
guys, what kind of problem is this with some linux iso's (sadly also Debian & BL) that they do not check partition to load itself during boot?
I'm in hospital and just making some tests for fun, I have Xubuntu, Tails and Helium on successive usb partitions. Sadly when trying to boot Helium (both live or to ram) it is starting and loading Tails unfortunately. I know my configuration & usage is seriously beyond average user anyway?
Last edited by dobl (2018-03-31 19:26:30)
Offline
what kind of problem is this with some linux iso's (sadly also Debian & BL) that they do not check partition to load itself during boot?
AFIUI, a boot flag is only needed for Windows, I don't have one on my drive but it still starts:
alpine:~$ sudo parted --list
Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 85.9GB 85.9GB primary sun-ufs
2 85.9GB 118GB 32.2GB primary xfs
3 118GB 120GB 1921MB primary linux-swap(v1)
alpine:~$
Offline
AFIUI, a boot flag is only needed for Windows, I don't have one on my drive but it still starts:
Flag(s) has nothing to do with OS, more with UEFI if we forget finally legacy booting - of course for UEFI no any flags needed.
By partition check I mean kernel and initrams are loaded and then they start to load system from previous partition - not the partition they originate.
Last edited by dobl (2018-03-31 19:31:23)
Offline
Flag(s) has nothing to do with OS, more with UEFI if we forget finally legacy booting
Well, there's no such thing as a "flag" in a GPT/UEFI system, the partition code is used to identify the ESP.
What *exactly* are you trying to do? Multi-boot the ISO image?
Offline
Well, there's no such thing as a "flag" in a GPT/UEFI system, the partition code is used to identify the ESP.
No any partition code for ESP in UEFI, just fat32 and bootx64.efi (for x64) in proper dir with GPT part. table of course.
What *exactly* are you trying to do? Multi-boot the ISO image?
; ) rather boot from multi-boot.
Will describe tomorrow.
Last edited by dobl (2018-03-31 19:40:26)
Offline