linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

DangerousInternet, in Add YOUR city to the Gnome weather app [Solved]
@DangerousInternet@lemmy.world avatar

deleted_by_author

  • Loading...
  • ademir,
    @ademir@lemmy.eco.br avatar

    For me it does, the creator said he adjusted it, maybe you tried when it was still wrong?

    I have checked my temp. Against the source (norway service) and it was right.

    I am on my phone now but i can print the page later.

    lemann, in brand new rice

    Very relaxing colour scheme, I like 👌

    skullgiver, (edited ) in Automatic backups of inode tables and partition info for easier data recovery
    @skullgiver@popplesburger.hilciferous.nl avatar

    deleted_by_author

  • Loading...
  • Violet_McQuasional,
    @Violet_McQuasional@feddit.uk avatar

    This is why I love having luks covering my entire system disk. If I want to upgrade the system with a new drive or move the drive to a different pc or sell it or dispose of it I just dd the first couple of gigs to obliterate the luks header.

    It’s obviously essential to have a backup strategy, of course, but full disk encryption is the only way to go for me.

    luthis,

    Great tips, thanks!

    I’m using ext4 across everything I think.

    Can you enable superblocks after you’ve already formatted the drive?

    Fdisk saves the offsets so keeping a record of that at least sounds like a good idea.

    Hairyblue, in What's the best way to remote into a linux machine?
    @Hairyblue@kbin.social avatar

    If you were looking for a Remote Desktop program to help a customer or other user, TeamViewer worked for me on Ubuntu. It was a great way to fix an issue remotely with a Windows user.

    But you may not be looking for this type of connection.

    Pantherina,

    RustDesk is a great alternative, FOSS and in Rust. Both only support X11

    Bitrot, in [Q] Removing/deep cleanup of installed package doesn't work as expected. (remove, purge, autoremove)
    @Bitrot@lemmy.sdf.org avatar

    It is a very typical way of doing things, you just have to read the output and make sure no important packages are in the list.

    Your command should be working. It won’t remove manually installed dependencies but should take care of automatic ones. You can check an individual package with apt show and look at the APT-Manual-Installed field.

    deepdive,

    Hi thanks for your quick response !

    I already checked with apt show emacs and the output clearly shows emacs-gtk as depends on. And while installing the emacs package with: sudo apt-get install emacs it installed a ~400Mo package and all dependencies.

    So why doesn’t sudo apt remove --purge --autoremove emacs removes everything ? I thought this command would be the exact opposite of sudo apt install package-name

    Bitrot, (edited )
    @Bitrot@lemmy.sdf.org avatar

    Ah, I can duplicate this behavior too. I think it is probably related to emacs being a metapackage. It does not include emacs itself but forces the install of emacs-gtk. In my mind removing the metapackage should allow you to autoremove dependencies, but people have broken their systems badly with this behavior so it may have been changed or it’s stuck behind some configuration option.

    Removing emacs-gtk itself will work as you expect. You can also install emacs-nox for a cli-only one that is smaller.

    Edit: there is a setting called APT::Never-MarkAuto-Sections that by default includes meta packages and I think is the cause of this.

    deepdive,

    Thank you very much for your enlighten answer :D !

    Removing emacs-gtk itself will work as you expect

    Yes that’s what I found out with apt show emacs-gtk, it shows all the dependencies but I found it quiet odd behavior (lack of knowledge).

    I wasn’t aware of metapackages, something new to put into my knowledge database.

    Edit: While writing my replay and searching through the web and my console, even though I wouldn’t have had understood it while reading it… It actually tells me in the description that emacs is a metapackage… Bad reading skills :/ sorry about that !

    Description: GNU Emacs editor (metapackage) GNU Emacs is the extensible self-documenting text editor. This is a metapackage that will always depend on the latest recommended Emacs variant (currently emacs-gtk).


    If you don’t mind I have a last question. Imagine I want to remove docker-ce, which depends on iptables among others, if I sudo apt remove --purge --autoremove docker-ce, this isn’t going to remove iptables and break my system right? Because it’s used by other packages, system… I guess, no?

    I think a more general question would be how can I be sure I not going to fuck my system while removing packages? Maybe I’m to paranoïd and today it’s relatively safe to do so, compared to years ago??

    Thank you :)

    Bitrot,
    @Bitrot@lemmy.sdf.org avatar

    If something else depends on it then it shouldn’t be removed, it’s only removing things that are not used elsewhere.

    Usually just reading through the packages it’s listing and double check what it’s doing is enough. If something is removing a ton of gnome and you’re not trying to remove gnome, that would be an issue. If something is trying to remove the kernel (unless it’s an old kernel) or grub that’s also worth digging into. I’ve never run into problems with it, I don’t think it’s common these days.

    ICastFist, in Why didn't anyone remind me the dual booting exists?
    @ICastFist@programming.dev avatar

    Use Grub2Win (sourceforge.net/projects/grub2win/) whenever Windows manages to break dual booting. It’ll stop fucking up afterwards, as it’ll be installed within one of the windows boot partitions.

    TimeSquirrel, (edited ) in The Unity Desktop Environment an Underrated Masterpiece
    @TimeSquirrel@kbin.social avatar

    I'm old school. I've been using GUI based OSes since Windows 3.11 and 95, and prefer KDE due to its similarity. Unity feels like what they did with Windows 8, where they tried to turn a desktop OS into a tablet OS. And it just feels "klunky", for lack of a better term. Too much bling for not enough benefit. KDE strikes a nice balance between eye-candy and responsiveness.

    Grass, in The Unity Desktop Environment an Underrated Masterpiece

    As a long time Ubuntu hater, no. They did so much weird de shit that I eventually had to fuck off and I’ve been happier(in regards to computers only) ever since.

    Whom, (edited ) in The Unity Desktop Environment an Underrated Masterpiece

    Unity started with pretty awful performance (much like GNOME 3) and coincided with some infamous decisions on the part of Canonical, namely that whole business with the Amazon integration, so it’s permanently tainted in the minds of many. It also meant that the largest distro in town was suddenly using a desktop that was much less inviting to newcomers than the familiar GNOME 2.

    I’m glad it’s being kept alive as it does have a unique vibe to it, but I always found the workflow a bit awkward and much prefer GNOME for something modern and xfce or MATE for when I want something traditional.

    Mohamad20ZX,

    Ok so do you still recommend it for other specific users

    MigratingtoLemmy, in 13" or smaller Linux laptop - best replacement for aging chromebook?

    Dell inspiron 15, unfortunately. Going for about $300 the last time I checked, add in another stick of RAM and an SSD, perfect linux machine right there

    0x4E4F, in Best practices in mounting NAS shares?

    Mounting it in fstab is a bad idea… in home even worse.

    Just make some desktop entries with the shares and that should be enough.

    Tiuku,

    What’s so wrong with fstab?

    0x4E4F, (edited )

    Well, for one, it’s network attached storage. If it’s not present in the network for one reason or another, guess what, your OS doesn’t boot… or it errors during boot, depending on how the kernel was compiled and what switches your bootloader sends to the kernel during boot. Second, this is an easy way for malware to spread, especially if it’s set to run after user logon.

    Molecular0079,

    I agree, for most cases just mount it via your File Manager of choice. If you’re using it as a backing storage for another server, then that’s a use case where fstab is fine.

    NotAnArdvark,

    I’ve found that Dolphin, at least, is much slower with network mounts than a CLI-based “mount”.

    Molecular0079,

    Lately performance has improved dramatically. A year ago, it used to be about half-speed, but now it’s basically on par with a CLI-mount.

    dtrain,

    If I mount it in the file manager, how do I reference that location in the terminal to say do copy operations to it?

    0x4E4F,

    It has to have a mount point somewhere. Just double click the desktop entry, that will mount it wherever you told it to and then you can copy to that location, easy peasy 😉.

    Molecular0079,

    Which file manager are you using?

    In Nautilus, you can right click anywhere and click Open in Console, at which point it will open up a terminal leading to a gvfs mount directory.

    In KDE, it is slightly more annoying because there’s no right click option to quickly open it in terminal, but like gvfs, there’s a mount directory that you can access at /run/user//kio-fuse-/smb/.

    BaroqueInMind, in How to see enabled services that have been stopped [systemd]
    @BaroqueInMind@kbin.social avatar

    systemctl status | grep stopped

    luthis,

    I think you’re thinking of

    systemctl list-units --type=service --state=stopped

    status gives the state of the system and a cgroup tree

    hanke, in How to take actions on multiple docker containers at once

    I often just do

    
    <span style="color:#323232;">docker ps | awk "{print $1}" | xargs docker stop
    </span>
    

    Add some filtering in there and you’re golden

    crmsnbleyd,
    @crmsnbleyd@sopuli.xyz avatar

    This is what I do as well

    MangoPenguin,
    @MangoPenguin@lemmy.blahaj.zone avatar

    How tf do you remember that lol, I’m always amazed by CLI focused people being able to remember so much!

    hanke,

    I think it has to do with creativity!

    The CLI tools are just small simple tools. The power comes from having the understanding of how each tool works and how they can be combined.

    I don’t remember this string of commands, I know docker, awk and xargs. When I need this, that is the solution I always end up with.

    luthis,

    Dude, I use the CLI all day, every day and I can’t freakin remember half the commands I need.

    If it’s something I use often, I’ll make an alias even if it’s just so I can run ‘alias’ in the terminal to get a list of things I use often.

    Sophia7Inches, in what caused you to get into Linux?

    Certain games wouldn’t run in Windows, but ran perfectly fine on Linux. This was the tipping point for me to fully switch to Linux. Gaming never been so smooth and pleasant for me as it is on Linux now. No more random crashes, driver shit, etc.

    somegeek, in I finally switched back to Linux as my daily driver after a couple of years of being on nothing but Windows.

    Mint is just lovely

    Diplomjodler,

    It’s a breath of fresh air…

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #