The officially official Devuan Forum!

You are not logged in.

#101 Off-topic » syntax highlighting » 2022-02-04 12:22:31

hevidevi
Replies: 10

I was wondering what kinds of syntax highlighting folks here like and use?

Ive recently read about only having comments highlighted in a program file , config, script etc and have given it a try in geany and it sort of makes sense that to understand the code, comments are better off highlighted than the actual code itself. So for example, a bashrc, config, C  file will only have the comments in blue and the rest of the input witll be white, so lets say black background, blue syntax foreground and white code foreground for example, only 3 colors used in that order.

thoughts??

example:

2022-02-04-222724-1366x768-scrot.png

#102 Re: Devuan » A Possible Future For Devuan and Linux » 2022-02-04 08:20:19

andyprough wrote:
hevidevi wrote:

I play around with a few linux but my main machine runs encrypted openbsd and dwm / suckless setup. I think in future i will base most of my computer needs around if it will work properly on openbsd first. I like where Devuan is heading being init free but that is just the tip of the iceberg when it comes to the future of computing.

Regarding DWM, I'm assuming you can just 'git clone' and 'make install' like on Devuan? Does openbsd have all the libxft-dev libx11-dev and libxinerama-dev dependencies?

that is what i do, just git clone that way i can update it via git if there is a version change, update, etc.

openbsd needs no extra packages to make dwm, you just need to uncomment a few lines in the config.mk file that openbsd needs to run and the config.mk file tells you what to do via comments.

I comment out the Xinerama fields in the config.mk as i dont use more than one screen so not needed in my case.

      1 # dwm version
      2 VERSION = 6.3
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = ${PREFIX}/share/man
      9 
     10 X11INC = /usr/X11R6/include
     11 X11LIB = /usr/X11R6/lib
     12 
     13 # Xinerama, comment if you don't want it
     14 XINERAMALIBS  = -lXinerama
     15 XINERAMAFLAGS = -DXINERAMA
     16 
     17 # freetype
     18 FREETYPELIBS = -lfontconfig -lXft
     19 FREETYPEINC = /usr/include/freetype2
     20 # OpenBSD (uncomment)
     21 #FREETYPEINC = ${X11INC}/freetype2
     22 
     23 # includes and libs
     24 INCS = -I${X11INC} -I${FREETYPEINC}
     25 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
     26 
     27 # flags
     28 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
     29 #CFLAGS   = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
     30 CFLAGS   = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
     31 LDFLAGS  = ${LIBS}
     32 
     33 # Solaris
     34 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
     35 #LDFLAGS = ${LIBS}
     36 
     37 # compiler and linker
     38 CC = cc

#103 Re: Devuan » A Possible Future For Devuan and Linux » 2022-02-03 13:36:01

I play around with a few linux but my main machine runs encrypted openbsd and dwm / suckless setup. I think in future i will base most of my computer needs around if it will work properly on openbsd first. I like where Devuan is heading being init free but that is just the tip of the iceberg when it comes to the future of computing.

#104 Re: Installation » Changing UUID of /root? » 2022-02-03 13:28:08

clone the system then chroot into it and change the UUID, depends on use case scenario. If grub is not finding the uuid then you have not update the grub.cfg inside the chroot it would seem?

Ive done this in the past using rsync, i rsync the root file system to a usb stick or other partition, chroot into it via /mnt using arch-install-scripts the do all the work from there. Grub is key though, as i said depends on scenario, dual boot, boot from stick, other hard disk on other machine etc etc...

#105 Re: ARM Builds » [SOLVED] gnome-totem causes kernel video error » 2022-02-01 12:08:21

Possibly a codec issue, what was the video format you were trying to play or is all formats. But get a backtrace as mentioned.

#106 Re: Off-topic » Show your desktop (rebooted) » 2022-01-31 07:35:39

Head_on_a_Stick wrote:
Ogis1975 wrote:

I also use emacs

With only 4GiB of RAM? That must be a squeeze... tongue

Anyway, Devuan chimaera with a fully functional GNOME Wayland desktop?

https://i.postimg.cc/WFL8gC8Q/Screenshot-from-2022-01-30-12-16-12.png

Oh yes. The Wastebasket in nautilus even works. And with a proper text editor as well big_smile

This should be an option in the netinstall tasksel section IMO. I know it's perverse but some users like that.

EDIT: changed full size link to show just the image with no adverts or irritating javascript.

EDIT2: changed to JetBrains Mono terminal font.

Yeah ive no issues with it on Chimaera.

daedalus/ceres is a different story, bugs abound which is to be expected. Yet on Artix linux (systemd free arch fork) gnome just works.

My daily driver is a dwm window manager only though, but i like to see how gnome is progressing.

#109 DIY » Revert Firefox Proton to Photon Compact » 2022-01-24 07:54:34

hevidevi
Replies: 0

Thought i would share this in case anyone is interested in getting back the look of a few elements of firefox qantum, especially the compact mode.

https://github.com/intrnl/firefox-revert-proton

This involves copying these files to ~/.mozilla/firefox/<your-profile>/chrome/

Im using firefox 91 esr and this works fine.

#110 Re: Hardware & System Configuration » authorization problems possibly due to frankendevuan (attn: fsmithred) » 2022-01-21 14:34:07

bitcrashr wrote:
hevidevi wrote:

could this maybe be an initramfs issue when running a read only live iso?

I do have an initrd image in /boot, but, interestingly, the initrd.img_pre-snapshot file typically present in / after snapshot is not there. How would initramfs be involved in a problem such as this though?

I also just noticed that even when using sudo to get nm-applet/NetworkManager to connect to a previously saved AP, it connects to the AP and has speed stats, but can't ping or transfer any packets beyond that. Maybe unrelated.

possibly due to updating the initramfs not being able to complete successfully due to read only filesystem.

not sure on NetworkManager issue. I dont believe NM should be run as root either??

#111 Re: Hardware & System Configuration » authorization problems possibly due to frankendevuan (attn: fsmithred) » 2022-01-21 14:24:32

the way i see it is i dont believe the update-initramfs will update/ugrade a live read only root file system, so you will be stuck with an initrd that is always going to use ascii authorization tools. I could be wrong here but that is my take on it unless refracta-snapshot can bypass this hurdle?

im going to test this myself with a live iso upgrade, im intrigued by it now.

#112 Re: Hardware & System Configuration » authorization problems possibly due to frankendevuan (attn: fsmithred) » 2022-01-21 14:04:55

could this maybe be an initramfs issue when running a read only live iso?

Bit old link but provides some details.

https://superuser.com/questions/903142/ … otable-usb

you should have a read of how tails linux updates.

https://tails.boum.org/doc/upgrade/index.en.html

#113 Re: Hardware & System Configuration » authorization problems possibly due to frankendevuan (attn: fsmithred) » 2022-01-20 14:24:30

bitcrashr wrote:
hevidevi wrote:

you cannot upgrade/dist-upgrade a live iso unless you remaster it.

How not? When you can update literally every package in the distro?

Meaning what are the specific technical blocks to it?

There are many subtle differences in what is considered a persistent operating system and a live build aka an iso that can be run inside ram. I dont have all the answers but im sure fsmithred will fill you in on this.

#114 Re: Hardware & System Configuration » authorization problems possibly due to frankendevuan (attn: fsmithred) » 2022-01-20 14:16:36

bitcrashr wrote:

As I said, I had tried to upgrade to beowulf previously and had the same problem; skipping beowulf was not a material part of the problem.

you cannot upgrade/dist-upgrade to a new release (ascii to beowulf) with a live iso unless you remaster it.

#115 Re: Hardware & System Configuration » authorization problems possibly due to frankendevuan (attn: fsmithred) » 2022-01-20 14:07:51

so you snapshot a live snapshot every few months while remaining on the ascii branch but you decided to leapfrog over to Beowulf? There is your problem, you cant imo make drastic changes to live system snapshots such as this, you need to upgrade to the beowulf live iso and that means downloading the beowulf live iso and starting again as you are not working with a persistent operating system.

#116 Re: Other Issues » [SOLVED] youtube-dl upgrade problem » 2022-01-20 13:05:24

alexkemp wrote:
hevidevi wrote:

i used pip to install it which should give the latest version.

The version in the Repository is identical to that currently available under GitHub (I checked before install). In addition, yt-dlp -U will auto-update (just like youtube-dl) and without any of that local-bin nonsense - I have two youtube-dl's because of delays in Jessie updates, but have fixed that in Chimaera by making use of backports.

good to know alexkemp. Ive alway used pip to stay up to date with youtube-dl,(now yt-dlp).. just my preference.

#117 Re: Other Issues » [SOLVED] youtube-dl upgrade problem » 2022-01-20 12:06:05

alexkemp wrote:

I just used Synaptic to install yt-dlp from Devuan repository (under Chimaera, using stable-backports). Problem solved. After all, all these weeks later youtube-dl has still not fixed the slowdown-issue (yt-dlp has fixed it, as have others).

ha, just found this out today myself and can confirm yt-dlp has better speeds than youtube-dl, must be something to do with API.

i used pip to install it which should give the latest version.

pip3 install yt-dlp --user

need to make sure $HOME/.local/bin is on your $PATH

#118 Re: Devuan » Devuan look and feel » 2022-01-19 08:21:34

apologies for going off topic golinux. You can close this thread if you like, i was just asking some simple questions and being curious.

#120 Re: Devuan » Devuan look and feel » 2022-01-18 11:39:05

What should the color scheme be when the Daedalus release arrives?

#121 Re: Devuan » Devuan look and feel » 2022-01-15 07:40:49

golinux wrote:

With all that needs to be done, changing the wallpaper is definitely not on the to TODO list.

Fair enough, just an idea for future reference maybe.

#122 Re: Documentation » zram service » 2022-01-15 07:33:56

i found this also if you are interested in looking through it EDX-0, It has some service files for openrc and runit mentioned on the readme.
Not sure if it would port over to devuan as i installed this one on my artixlinux machine that uses openrc init.

https://github.com/atweiden/zramen

#123 Re: Off-topic » Music » 2022-01-14 08:04:47

Megadeth - Rust In Peace

https://www.youtube.com/watch?v=3fwtx6KQEnI

Best metal album of that century imo.

#124 Re: Documentation » zram service » 2022-01-14 08:00:21

EDX-0 wrote:

for the script in the repo i added a couple extra facilites like restarting and status along loading a config file, u know to facilitate things a little for the folks that do intend to use this.

yeah that is why yours is probably a little more user friendly. Anyway, thanks ill give your script a try.

#125 Devuan » Devuan look and feel » 2022-01-14 07:53:07

hevidevi
Replies: 23

just an idea for the wallpaper, maybe get the community involved and have a contest for the next one?

I dont have the expertise to do any theming and i dont have the time either.

Board footer

Forum Software